mshtml: Add IMarkupServices::CreateMarkupPointer implementation.
[wine.git] / configure
blob0cff0025aa56e8a9ded0c0372e47c17f2fe42fcd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.11'
584 PACKAGE_STRING='Wine 5.11'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_libraryloader_l2_1_0
975 enable_api_ms_win_core_localization_l1_1_0
976 enable_api_ms_win_core_localization_l1_2_0
977 enable_api_ms_win_core_localization_l1_2_1
978 enable_api_ms_win_core_localization_l1_2_2
979 enable_api_ms_win_core_localization_l2_1_0
980 enable_api_ms_win_core_localization_obsolete_l1_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_2_0
982 enable_api_ms_win_core_localization_obsolete_l1_3_0
983 enable_api_ms_win_core_localization_private_l1_1_0
984 enable_api_ms_win_core_localregistry_l1_1_0
985 enable_api_ms_win_core_memory_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_1
987 enable_api_ms_win_core_memory_l1_1_2
988 enable_api_ms_win_core_memory_l1_1_4
989 enable_api_ms_win_core_misc_l1_1_0
990 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
991 enable_api_ms_win_core_namedpipe_l1_1_0
992 enable_api_ms_win_core_namedpipe_l1_2_0
993 enable_api_ms_win_core_namespace_l1_1_0
994 enable_api_ms_win_core_normalization_l1_1_0
995 enable_api_ms_win_core_path_l1_1_0
996 enable_api_ms_win_core_privateprofile_l1_1_1
997 enable_api_ms_win_core_processenvironment_l1_1_0
998 enable_api_ms_win_core_processenvironment_l1_2_0
999 enable_api_ms_win_core_processthreads_l1_1_0
1000 enable_api_ms_win_core_processthreads_l1_1_1
1001 enable_api_ms_win_core_processthreads_l1_1_2
1002 enable_api_ms_win_core_processthreads_l1_1_3
1003 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1004 enable_api_ms_win_core_profile_l1_1_0
1005 enable_api_ms_win_core_psapi_ansi_l1_1_0
1006 enable_api_ms_win_core_psapi_l1_1_0
1007 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1008 enable_api_ms_win_core_quirks_l1_1_0
1009 enable_api_ms_win_core_realtime_l1_1_0
1010 enable_api_ms_win_core_registry_l1_1_0
1011 enable_api_ms_win_core_registry_l2_1_0
1012 enable_api_ms_win_core_registry_l2_2_0
1013 enable_api_ms_win_core_registryuserspecific_l1_1_0
1014 enable_api_ms_win_core_rtlsupport_l1_1_0
1015 enable_api_ms_win_core_rtlsupport_l1_2_0
1016 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1017 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1019 enable_api_ms_win_core_shutdown_l1_1_0
1020 enable_api_ms_win_core_sidebyside_l1_1_0
1021 enable_api_ms_win_core_string_l1_1_0
1022 enable_api_ms_win_core_string_l2_1_0
1023 enable_api_ms_win_core_string_obsolete_l1_1_0
1024 enable_api_ms_win_core_stringansi_l1_1_0
1025 enable_api_ms_win_core_stringloader_l1_1_1
1026 enable_api_ms_win_core_synch_ansi_l1_1_0
1027 enable_api_ms_win_core_synch_l1_1_0
1028 enable_api_ms_win_core_synch_l1_2_0
1029 enable_api_ms_win_core_synch_l1_2_1
1030 enable_api_ms_win_core_sysinfo_l1_1_0
1031 enable_api_ms_win_core_sysinfo_l1_2_0
1032 enable_api_ms_win_core_sysinfo_l1_2_1
1033 enable_api_ms_win_core_threadpool_l1_1_0
1034 enable_api_ms_win_core_threadpool_l1_2_0
1035 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1036 enable_api_ms_win_core_threadpool_private_l1_1_0
1037 enable_api_ms_win_core_timezone_l1_1_0
1038 enable_api_ms_win_core_toolhelp_l1_1_0
1039 enable_api_ms_win_core_url_l1_1_0
1040 enable_api_ms_win_core_util_l1_1_0
1041 enable_api_ms_win_core_version_l1_1_0
1042 enable_api_ms_win_core_version_l1_1_1
1043 enable_api_ms_win_core_version_private_l1_1_0
1044 enable_api_ms_win_core_versionansi_l1_1_0
1045 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1046 enable_api_ms_win_core_winrt_error_l1_1_0
1047 enable_api_ms_win_core_winrt_error_l1_1_1
1048 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1049 enable_api_ms_win_core_winrt_l1_1_0
1050 enable_api_ms_win_core_winrt_registration_l1_1_0
1051 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1052 enable_api_ms_win_core_winrt_string_l1_1_0
1053 enable_api_ms_win_core_winrt_string_l1_1_1
1054 enable_api_ms_win_core_wow64_l1_1_0
1055 enable_api_ms_win_core_wow64_l1_1_1
1056 enable_api_ms_win_core_xstate_l1_1_0
1057 enable_api_ms_win_core_xstate_l2_1_0
1058 enable_api_ms_win_crt_conio_l1_1_0
1059 enable_api_ms_win_crt_convert_l1_1_0
1060 enable_api_ms_win_crt_environment_l1_1_0
1061 enable_api_ms_win_crt_filesystem_l1_1_0
1062 enable_api_ms_win_crt_heap_l1_1_0
1063 enable_api_ms_win_crt_locale_l1_1_0
1064 enable_api_ms_win_crt_math_l1_1_0
1065 enable_api_ms_win_crt_multibyte_l1_1_0
1066 enable_api_ms_win_crt_private_l1_1_0
1067 enable_api_ms_win_crt_process_l1_1_0
1068 enable_api_ms_win_crt_runtime_l1_1_0
1069 enable_api_ms_win_crt_stdio_l1_1_0
1070 enable_api_ms_win_crt_string_l1_1_0
1071 enable_api_ms_win_crt_time_l1_1_0
1072 enable_api_ms_win_crt_utility_l1_1_0
1073 enable_api_ms_win_devices_config_l1_1_0
1074 enable_api_ms_win_devices_config_l1_1_1
1075 enable_api_ms_win_devices_query_l1_1_1
1076 enable_api_ms_win_downlevel_advapi32_l1_1_0
1077 enable_api_ms_win_downlevel_advapi32_l2_1_0
1078 enable_api_ms_win_downlevel_kernel32_l2_1_0
1079 enable_api_ms_win_downlevel_normaliz_l1_1_0
1080 enable_api_ms_win_downlevel_ole32_l1_1_0
1081 enable_api_ms_win_downlevel_shell32_l1_1_0
1082 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1083 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1084 enable_api_ms_win_downlevel_user32_l1_1_0
1085 enable_api_ms_win_downlevel_version_l1_1_0
1086 enable_api_ms_win_dx_d3dkmt_l1_1_0
1087 enable_api_ms_win_eventing_classicprovider_l1_1_0
1088 enable_api_ms_win_eventing_consumer_l1_1_0
1089 enable_api_ms_win_eventing_controller_l1_1_0
1090 enable_api_ms_win_eventing_legacy_l1_1_0
1091 enable_api_ms_win_eventing_provider_l1_1_0
1092 enable_api_ms_win_eventlog_legacy_l1_1_0
1093 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1094 enable_api_ms_win_mm_joystick_l1_1_0
1095 enable_api_ms_win_mm_misc_l1_1_1
1096 enable_api_ms_win_mm_mme_l1_1_0
1097 enable_api_ms_win_mm_time_l1_1_0
1098 enable_api_ms_win_ntuser_dc_access_l1_1_0
1099 enable_api_ms_win_ntuser_rectangle_l1_1_0
1100 enable_api_ms_win_ntuser_sysparams_l1_1_0
1101 enable_api_ms_win_perf_legacy_l1_1_0
1102 enable_api_ms_win_power_base_l1_1_0
1103 enable_api_ms_win_power_setting_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1106 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1107 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1111 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1112 enable_api_ms_win_security_audit_l1_1_1
1113 enable_api_ms_win_security_base_l1_1_0
1114 enable_api_ms_win_security_base_l1_2_0
1115 enable_api_ms_win_security_base_private_l1_1_1
1116 enable_api_ms_win_security_credentials_l1_1_0
1117 enable_api_ms_win_security_cryptoapi_l1_1_0
1118 enable_api_ms_win_security_grouppolicy_l1_1_0
1119 enable_api_ms_win_security_lsalookup_l1_1_0
1120 enable_api_ms_win_security_lsalookup_l1_1_1
1121 enable_api_ms_win_security_lsalookup_l2_1_0
1122 enable_api_ms_win_security_lsalookup_l2_1_1
1123 enable_api_ms_win_security_lsapolicy_l1_1_0
1124 enable_api_ms_win_security_provider_l1_1_0
1125 enable_api_ms_win_security_sddl_l1_1_0
1126 enable_api_ms_win_security_systemfunctions_l1_1_0
1127 enable_api_ms_win_service_core_l1_1_0
1128 enable_api_ms_win_service_core_l1_1_1
1129 enable_api_ms_win_service_management_l1_1_0
1130 enable_api_ms_win_service_management_l2_1_0
1131 enable_api_ms_win_service_private_l1_1_1
1132 enable_api_ms_win_service_winsvc_l1_1_0
1133 enable_api_ms_win_service_winsvc_l1_2_0
1134 enable_api_ms_win_shcore_obsolete_l1_1_0
1135 enable_api_ms_win_shcore_scaling_l1_1_1
1136 enable_api_ms_win_shcore_stream_l1_1_0
1137 enable_api_ms_win_shcore_thread_l1_1_0
1138 enable_api_ms_win_shell_shellcom_l1_1_0
1139 enable_api_ms_win_shell_shellfolders_l1_1_0
1140 enable_apphelp
1141 enable_appwiz_cpl
1142 enable_atl
1143 enable_atl100
1144 enable_atl110
1145 enable_atl80
1146 enable_atl90
1147 enable_atlthunk
1148 enable_atmlib
1149 enable_authz
1150 enable_avicap32
1151 enable_avifil32
1152 enable_avrt
1153 enable_bcrypt
1154 enable_bluetoothapis
1155 enable_browseui
1156 enable_bthprops_cpl
1157 enable_cabinet
1158 enable_capi2032
1159 enable_cards
1160 enable_cdosys
1161 enable_cfgmgr32
1162 enable_clusapi
1163 enable_combase
1164 enable_comcat
1165 enable_comctl32
1166 enable_comdlg32
1167 enable_compstui
1168 enable_comsvcs
1169 enable_concrt140
1170 enable_connect
1171 enable_credui
1172 enable_crtdll
1173 enable_crypt32
1174 enable_cryptdlg
1175 enable_cryptdll
1176 enable_cryptext
1177 enable_cryptnet
1178 enable_cryptui
1179 enable_ctapi32
1180 enable_ctl3d32
1181 enable_d2d1
1182 enable_d3d10
1183 enable_d3d10_1
1184 enable_d3d10core
1185 enable_d3d11
1186 enable_d3d12
1187 enable_d3d8
1188 enable_d3d9
1189 enable_d3dcompiler_33
1190 enable_d3dcompiler_34
1191 enable_d3dcompiler_35
1192 enable_d3dcompiler_36
1193 enable_d3dcompiler_37
1194 enable_d3dcompiler_38
1195 enable_d3dcompiler_39
1196 enable_d3dcompiler_40
1197 enable_d3dcompiler_41
1198 enable_d3dcompiler_42
1199 enable_d3dcompiler_43
1200 enable_d3dcompiler_46
1201 enable_d3dcompiler_47
1202 enable_d3dim
1203 enable_d3drm
1204 enable_d3dx10_33
1205 enable_d3dx10_34
1206 enable_d3dx10_35
1207 enable_d3dx10_36
1208 enable_d3dx10_37
1209 enable_d3dx10_38
1210 enable_d3dx10_39
1211 enable_d3dx10_40
1212 enable_d3dx10_41
1213 enable_d3dx10_42
1214 enable_d3dx10_43
1215 enable_d3dx11_42
1216 enable_d3dx11_43
1217 enable_d3dx9_24
1218 enable_d3dx9_25
1219 enable_d3dx9_26
1220 enable_d3dx9_27
1221 enable_d3dx9_28
1222 enable_d3dx9_29
1223 enable_d3dx9_30
1224 enable_d3dx9_31
1225 enable_d3dx9_32
1226 enable_d3dx9_33
1227 enable_d3dx9_34
1228 enable_d3dx9_35
1229 enable_d3dx9_36
1230 enable_d3dx9_37
1231 enable_d3dx9_38
1232 enable_d3dx9_39
1233 enable_d3dx9_40
1234 enable_d3dx9_41
1235 enable_d3dx9_42
1236 enable_d3dx9_43
1237 enable_d3dxof
1238 enable_davclnt
1239 enable_dbgeng
1240 enable_dbghelp
1241 enable_dciman32
1242 enable_ddraw
1243 enable_ddrawex
1244 enable_devenum
1245 enable_dhcpcsvc
1246 enable_dhtmled_ocx
1247 enable_difxapi
1248 enable_dinput
1249 enable_dinput8
1250 enable_directmanipulation
1251 enable_dispex
1252 enable_dmband
1253 enable_dmcompos
1254 enable_dmime
1255 enable_dmloader
1256 enable_dmoguids
1257 enable_dmscript
1258 enable_dmstyle
1259 enable_dmsynth
1260 enable_dmusic
1261 enable_dmusic32
1262 enable_dnsapi
1263 enable_dplay
1264 enable_dplayx
1265 enable_dpnaddr
1266 enable_dpnet
1267 enable_dpnhpast
1268 enable_dpnlobby
1269 enable_dpvoice
1270 enable_dpwsockx
1271 enable_drmclien
1272 enable_dsdmo
1273 enable_dsound
1274 enable_dsquery
1275 enable_dssenh
1276 enable_dsuiext
1277 enable_dswave
1278 enable_dwmapi
1279 enable_dwrite
1280 enable_dx8vb
1281 enable_dxdiagn
1282 enable_dxerr8
1283 enable_dxerr9
1284 enable_dxgi
1285 enable_dxguid
1286 enable_dxva2
1287 enable_esent
1288 enable_evr
1289 enable_explorerframe
1290 enable_ext_ms_win_authz_context_l1_1_0
1291 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1292 enable_ext_ms_win_dwmapi_ext_l1_1_0
1293 enable_ext_ms_win_gdi_dc_create_l1_1_0
1294 enable_ext_ms_win_gdi_dc_create_l1_1_1
1295 enable_ext_ms_win_gdi_dc_l1_2_0
1296 enable_ext_ms_win_gdi_devcaps_l1_1_0
1297 enable_ext_ms_win_gdi_draw_l1_1_0
1298 enable_ext_ms_win_gdi_draw_l1_1_1
1299 enable_ext_ms_win_gdi_font_l1_1_0
1300 enable_ext_ms_win_gdi_font_l1_1_1
1301 enable_ext_ms_win_gdi_render_l1_1_0
1302 enable_ext_ms_win_kernel32_package_current_l1_1_0
1303 enable_ext_ms_win_kernel32_package_l1_1_1
1304 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1305 enable_ext_ms_win_ntuser_draw_l1_1_0
1306 enable_ext_ms_win_ntuser_gui_l1_1_0
1307 enable_ext_ms_win_ntuser_gui_l1_3_0
1308 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1309 enable_ext_ms_win_ntuser_message_l1_1_0
1310 enable_ext_ms_win_ntuser_message_l1_1_1
1311 enable_ext_ms_win_ntuser_misc_l1_1_0
1312 enable_ext_ms_win_ntuser_misc_l1_2_0
1313 enable_ext_ms_win_ntuser_misc_l1_5_1
1314 enable_ext_ms_win_ntuser_mouse_l1_1_0
1315 enable_ext_ms_win_ntuser_private_l1_1_1
1316 enable_ext_ms_win_ntuser_private_l1_3_1
1317 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1318 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1319 enable_ext_ms_win_ntuser_window_l1_1_0
1320 enable_ext_ms_win_ntuser_window_l1_1_1
1321 enable_ext_ms_win_ntuser_window_l1_1_4
1322 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1323 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1324 enable_ext_ms_win_oleacc_l1_1_0
1325 enable_ext_ms_win_ras_rasapi32_l1_1_0
1326 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1327 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1328 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1330 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1331 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1332 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1333 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1336 enable_ext_ms_win_security_credui_l1_1_0
1337 enable_ext_ms_win_security_cryptui_l1_1_0
1338 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1339 enable_ext_ms_win_shell_comdlg32_l1_1_0
1340 enable_ext_ms_win_shell_shell32_l1_2_0
1341 enable_ext_ms_win_uxtheme_themes_l1_1_0
1342 enable_faultrep
1343 enable_feclient
1344 enable_fltlib
1345 enable_fltmgr_sys
1346 enable_fntcache
1347 enable_fontsub
1348 enable_fusion
1349 enable_fwpuclnt
1350 enable_gameux
1351 enable_gdi32
1352 enable_gdiplus
1353 enable_glu32
1354 enable_gphoto2_ds
1355 enable_gpkcsp
1356 enable_hal
1357 enable_hhctrl_ocx
1358 enable_hid
1359 enable_hidclass_sys
1360 enable_hlink
1361 enable_hnetcfg
1362 enable_http_sys
1363 enable_httpapi
1364 enable_iccvid
1365 enable_icmp
1366 enable_ieframe
1367 enable_ieproxy
1368 enable_imaadp32_acm
1369 enable_imagehlp
1370 enable_imm32
1371 enable_inetcomm
1372 enable_inetcpl_cpl
1373 enable_inetmib1
1374 enable_infosoft
1375 enable_initpki
1376 enable_inkobj
1377 enable_inseng
1378 enable_iphlpapi
1379 enable_iprop
1380 enable_irprops_cpl
1381 enable_itircl
1382 enable_itss
1383 enable_joy_cpl
1384 enable_jscript
1385 enable_jsproxy
1386 enable_kerberos
1387 enable_kernel32
1388 enable_kernelbase
1389 enable_ksecdd_sys
1390 enable_ksproxy_ax
1391 enable_ksuser
1392 enable_ktmw32
1393 enable_l3codeca_acm
1394 enable_loadperf
1395 enable_localspl
1396 enable_localui
1397 enable_lz32
1398 enable_mapi32
1399 enable_mapistub
1400 enable_mciavi32
1401 enable_mcicda
1402 enable_mciqtz32
1403 enable_mciseq
1404 enable_mciwave
1405 enable_mf
1406 enable_mf3216
1407 enable_mferror
1408 enable_mfmediaengine
1409 enable_mfplat
1410 enable_mfplay
1411 enable_mfreadwrite
1412 enable_mfuuid
1413 enable_mgmtapi
1414 enable_midimap
1415 enable_mlang
1416 enable_mmcndmgr
1417 enable_mmdevapi
1418 enable_mountmgr_sys
1419 enable_mp3dmod
1420 enable_mpr
1421 enable_mprapi
1422 enable_msacm32_drv
1423 enable_msacm32
1424 enable_msado15
1425 enable_msadp32_acm
1426 enable_msasn1
1427 enable_mscat32
1428 enable_mscms
1429 enable_mscoree
1430 enable_mscorwks
1431 enable_msctf
1432 enable_msctfp
1433 enable_msdaps
1434 enable_msdelta
1435 enable_msdmo
1436 enable_msdrm
1437 enable_msftedit
1438 enable_msg711_acm
1439 enable_msgsm32_acm
1440 enable_mshtml_tlb
1441 enable_mshtml
1442 enable_msi
1443 enable_msident
1444 enable_msimg32
1445 enable_msimsg
1446 enable_msimtf
1447 enable_msisip
1448 enable_msisys_ocx
1449 enable_msls31
1450 enable_msnet32
1451 enable_mspatcha
1452 enable_msports
1453 enable_msrle32
1454 enable_msscript_ocx
1455 enable_mssign32
1456 enable_mssip32
1457 enable_mstask
1458 enable_msvcirt
1459 enable_msvcm80
1460 enable_msvcm90
1461 enable_msvcp100
1462 enable_msvcp110
1463 enable_msvcp120
1464 enable_msvcp120_app
1465 enable_msvcp140
1466 enable_msvcp60
1467 enable_msvcp70
1468 enable_msvcp71
1469 enable_msvcp80
1470 enable_msvcp90
1471 enable_msvcr100
1472 enable_msvcr110
1473 enable_msvcr120
1474 enable_msvcr120_app
1475 enable_msvcr70
1476 enable_msvcr71
1477 enable_msvcr80
1478 enable_msvcr90
1479 enable_msvcrt
1480 enable_msvcrt20
1481 enable_msvcrt40
1482 enable_msvcrtd
1483 enable_msvfw32
1484 enable_msvidc32
1485 enable_mswsock
1486 enable_msxml
1487 enable_msxml2
1488 enable_msxml3
1489 enable_msxml4
1490 enable_msxml6
1491 enable_mtxdm
1492 enable_ncrypt
1493 enable_nddeapi
1494 enable_ndis_sys
1495 enable_netapi32
1496 enable_netcfgx
1497 enable_netio_sys
1498 enable_netprofm
1499 enable_newdev
1500 enable_ninput
1501 enable_normaliz
1502 enable_npmshtml
1503 enable_npptools
1504 enable_ntdll
1505 enable_ntdsapi
1506 enable_ntoskrnl_exe
1507 enable_ntprint
1508 enable_objsel
1509 enable_odbc32
1510 enable_odbcbcp
1511 enable_odbccp32
1512 enable_odbccu32
1513 enable_ole32
1514 enable_oleacc
1515 enable_oleaut32
1516 enable_olecli32
1517 enable_oledb32
1518 enable_oledlg
1519 enable_olepro32
1520 enable_olesvr32
1521 enable_olethk32
1522 enable_opcservices
1523 enable_openal32
1524 enable_opencl
1525 enable_opengl32
1526 enable_packager
1527 enable_pdh
1528 enable_photometadatahandler
1529 enable_pidgen
1530 enable_powrprof
1531 enable_printui
1532 enable_prntvpt
1533 enable_propsys
1534 enable_psapi
1535 enable_pstorec
1536 enable_pwrshplugin
1537 enable_qasf
1538 enable_qcap
1539 enable_qdvd
1540 enable_qedit
1541 enable_qmgr
1542 enable_qmgrprxy
1543 enable_quartz
1544 enable_query
1545 enable_qwave
1546 enable_rasapi32
1547 enable_rasdlg
1548 enable_regapi
1549 enable_resutils
1550 enable_riched20
1551 enable_riched32
1552 enable_rpcrt4
1553 enable_rsabase
1554 enable_rsaenh
1555 enable_rstrtmgr
1556 enable_rtutils
1557 enable_rtworkq
1558 enable_samlib
1559 enable_sane_ds
1560 enable_sapi
1561 enable_sas
1562 enable_scarddlg
1563 enable_sccbase
1564 enable_schannel
1565 enable_schedsvc
1566 enable_scrobj
1567 enable_scrrun
1568 enable_scsiport_sys
1569 enable_sechost
1570 enable_secur32
1571 enable_security
1572 enable_sensapi
1573 enable_serialui
1574 enable_setupapi
1575 enable_sfc
1576 enable_sfc_os
1577 enable_shcore
1578 enable_shdoclc
1579 enable_shdocvw
1580 enable_shell32
1581 enable_shfolder
1582 enable_shlwapi
1583 enable_slbcsp
1584 enable_slc
1585 enable_snmpapi
1586 enable_softpub
1587 enable_spoolss
1588 enable_srclient
1589 enable_sspicli
1590 enable_stdole2_tlb
1591 enable_stdole32_tlb
1592 enable_sti
1593 enable_strmbase
1594 enable_strmdll
1595 enable_strmiids
1596 enable_svrapi
1597 enable_sxs
1598 enable_t2embed
1599 enable_tapi32
1600 enable_taskschd
1601 enable_tdh
1602 enable_tdi_sys
1603 enable_traffic
1604 enable_twain_32
1605 enable_tzres
1606 enable_ucrtbase
1607 enable_uianimation
1608 enable_uiautomationcore
1609 enable_uiribbon
1610 enable_unicows
1611 enable_updspapi
1612 enable_url
1613 enable_urlmon
1614 enable_usbd_sys
1615 enable_user32
1616 enable_userenv
1617 enable_usp10
1618 enable_utildll
1619 enable_uuid
1620 enable_uxtheme
1621 enable_vbscript
1622 enable_vcomp
1623 enable_vcomp100
1624 enable_vcomp110
1625 enable_vcomp120
1626 enable_vcomp140
1627 enable_vcomp90
1628 enable_vcruntime140
1629 enable_vcruntime140_1
1630 enable_vdmdbg
1631 enable_version
1632 enable_vga
1633 enable_virtdisk
1634 enable_vssapi
1635 enable_vulkan_1
1636 enable_wbemdisp
1637 enable_wbemprox
1638 enable_wbemuuid
1639 enable_wdscore
1640 enable_webservices
1641 enable_wer
1642 enable_wevtapi
1643 enable_wiaservc
1644 enable_wimgapi
1645 enable_windowscodecs
1646 enable_windowscodecsext
1647 enable_winealsa_drv
1648 enable_wineandroid_drv
1649 enable_winebus_sys
1650 enable_winecoreaudio_drv
1651 enable_winecrt0
1652 enable_wined3d
1653 enable_winegstreamer
1654 enable_winehid_sys
1655 enable_winejoystick_drv
1656 enable_winemac_drv
1657 enable_winemapi
1658 enable_wineoss_drv
1659 enable_wineps_drv
1660 enable_winepulse_drv
1661 enable_wineqtdecoder
1662 enable_wineusb_sys
1663 enable_winevulkan
1664 enable_winex11_drv
1665 enable_wing32
1666 enable_winhttp
1667 enable_wininet
1668 enable_winmm
1669 enable_winnls32
1670 enable_winscard
1671 enable_winspool_drv
1672 enable_winsta
1673 enable_wintab32
1674 enable_wintrust
1675 enable_winusb
1676 enable_wlanapi
1677 enable_wlanui
1678 enable_wldap32
1679 enable_wmasf
1680 enable_wmcodecdspuuid
1681 enable_wmi
1682 enable_wmiutils
1683 enable_wmp
1684 enable_wmphoto
1685 enable_wmvcore
1686 enable_wnaspi32
1687 enable_wpc
1688 enable_wpcap
1689 enable_ws2_32
1690 enable_wsdapi
1691 enable_wshom_ocx
1692 enable_wsnmp32
1693 enable_wsock32
1694 enable_wtsapi32
1695 enable_wuapi
1696 enable_wuaueng
1697 enable_x3daudio1_0
1698 enable_x3daudio1_1
1699 enable_x3daudio1_2
1700 enable_x3daudio1_3
1701 enable_x3daudio1_4
1702 enable_x3daudio1_5
1703 enable_x3daudio1_6
1704 enable_x3daudio1_7
1705 enable_xapofx1_1
1706 enable_xapofx1_2
1707 enable_xapofx1_3
1708 enable_xapofx1_4
1709 enable_xapofx1_5
1710 enable_xaudio2_0
1711 enable_xaudio2_1
1712 enable_xaudio2_2
1713 enable_xaudio2_3
1714 enable_xaudio2_4
1715 enable_xaudio2_5
1716 enable_xaudio2_6
1717 enable_xaudio2_7
1718 enable_xaudio2_8
1719 enable_xaudio2_9
1720 enable_xinput1_1
1721 enable_xinput1_2
1722 enable_xinput1_3
1723 enable_xinput1_4
1724 enable_xinput9_1_0
1725 enable_xmllite
1726 enable_xolehlp
1727 enable_xpsprint
1728 enable_xpssvcs
1729 enable_fonts
1730 enable_include
1731 enable_port
1732 enable_wine
1733 enable_wpp
1734 enable_loader
1735 enable_nls
1736 enable_po
1737 enable_arp
1738 enable_aspnet_regiis
1739 enable_attrib
1740 enable_cabarc
1741 enable_cacls
1742 enable_chcp_com
1743 enable_clock
1744 enable_cmd
1745 enable_conhost
1746 enable_control
1747 enable_cscript
1748 enable_dism
1749 enable_dpnsvr
1750 enable_dxdiag
1751 enable_eject
1752 enable_expand
1753 enable_explorer
1754 enable_extrac32
1755 enable_fc
1756 enable_find
1757 enable_findstr
1758 enable_fsutil
1759 enable_hh
1760 enable_hostname
1761 enable_icacls
1762 enable_icinfo
1763 enable_iexplore
1764 enable_ipconfig
1765 enable_lodctr
1766 enable_mofcomp
1767 enable_mshta
1768 enable_msidb
1769 enable_msiexec
1770 enable_msinfo32
1771 enable_net
1772 enable_netsh
1773 enable_netstat
1774 enable_ngen
1775 enable_notepad
1776 enable_oleview
1777 enable_ping
1778 enable_plugplay
1779 enable_powershell
1780 enable_presentationfontcache
1781 enable_progman
1782 enable_reg
1783 enable_regasm
1784 enable_regedit
1785 enable_regini
1786 enable_regsvcs
1787 enable_regsvr32
1788 enable_rpcss
1789 enable_rundll32
1790 enable_sc
1791 enable_schtasks
1792 enable_sdbinst
1793 enable_secedit
1794 enable_servicemodelreg
1795 enable_services
1796 enable_shutdown
1797 enable_spoolsv
1798 enable_start
1799 enable_subst
1800 enable_svchost
1801 enable_systeminfo
1802 enable_taskkill
1803 enable_tasklist
1804 enable_taskmgr
1805 enable_termsv
1806 enable_uninstaller
1807 enable_unlodctr
1808 enable_view
1809 enable_wevtutil
1810 enable_where
1811 enable_whoami
1812 enable_wineboot
1813 enable_winebrowser
1814 enable_winecfg
1815 enable_wineconsole
1816 enable_winedbg
1817 enable_winedevice
1818 enable_winefile
1819 enable_winemenubuilder
1820 enable_winemine
1821 enable_winemsibuilder
1822 enable_winepath
1823 enable_winetest
1824 enable_winhlp32
1825 enable_winmgmt
1826 enable_winver
1827 enable_wmic
1828 enable_wmplayer
1829 enable_wordpad
1830 enable_write
1831 enable_wscript
1832 enable_wuauserv
1833 enable_wusa
1834 enable_xcopy
1835 enable_server
1836 enable_tools
1837 enable_sfnt2fon
1838 enable_widl
1839 enable_winebuild
1840 enable_winedump
1841 enable_winegcc
1842 enable_winemaker
1843 enable_wmc
1844 enable_wrc
1846 ac_precious_vars='build_alias
1847 host_alias
1848 target_alias
1850 CFLAGS
1851 LDFLAGS
1852 LIBS
1853 CPPFLAGS
1855 CXXFLAGS
1858 OBJC
1859 OBJCFLAGS
1860 OBJCPP
1861 XMKMF
1862 XML2_CFLAGS
1863 XML2_LIBS
1864 XSLT_CFLAGS
1865 XSLT_LIBS
1866 INOTIFY_CFLAGS
1867 INOTIFY_LIBS
1868 DBUS_CFLAGS
1869 DBUS_LIBS
1870 HAL_CFLAGS
1871 HAL_LIBS
1872 GNUTLS_CFLAGS
1873 GNUTLS_LIBS
1874 SANE_CFLAGS
1875 SANE_LIBS
1876 USB_CFLAGS
1877 USB_LIBS
1878 GPHOTO2_CFLAGS
1879 GPHOTO2_LIBS
1880 GPHOTO2_PORT_CFLAGS
1881 GPHOTO2_PORT_LIBS
1882 LCMS2_CFLAGS
1883 LCMS2_LIBS
1884 FREETYPE_CFLAGS
1885 FREETYPE_LIBS
1886 PULSE_CFLAGS
1887 PULSE_LIBS
1888 GSTREAMER_CFLAGS
1889 GSTREAMER_LIBS
1890 UDEV_CFLAGS
1891 UDEV_LIBS
1892 UNWIND_CFLAGS
1893 UNWIND_LIBS
1894 SDL2_CFLAGS
1895 SDL2_LIBS
1896 FAUDIO_CFLAGS
1897 FAUDIO_LIBS
1898 CAPI20_CFLAGS
1899 CAPI20_LIBS
1900 CUPS_CFLAGS
1901 CUPS_LIBS
1902 FONTCONFIG_CFLAGS
1903 FONTCONFIG_LIBS
1904 KRB5_CFLAGS
1905 KRB5_LIBS
1906 GSSAPI_CFLAGS
1907 GSSAPI_LIBS
1908 JPEG_CFLAGS
1909 JPEG_LIBS
1910 PNG_CFLAGS
1911 PNG_LIBS
1912 TIFF_CFLAGS
1913 TIFF_LIBS
1914 MPG123_CFLAGS
1915 MPG123_LIBS
1916 NETAPI_CFLAGS
1917 NETAPI_LIBS
1918 VKD3D_CFLAGS
1919 VKD3D_LIBS
1920 LDAP_CFLAGS
1921 LDAP_LIBS'
1924 # Initialize some variables set by options.
1925 ac_init_help=
1926 ac_init_version=false
1927 ac_unrecognized_opts=
1928 ac_unrecognized_sep=
1929 # The variables have the same names as the options, with
1930 # dashes changed to underlines.
1931 cache_file=/dev/null
1932 exec_prefix=NONE
1933 no_create=
1934 no_recursion=
1935 prefix=NONE
1936 program_prefix=NONE
1937 program_suffix=NONE
1938 program_transform_name=s,x,x,
1939 silent=
1940 site=
1941 srcdir=
1942 verbose=
1943 x_includes=NONE
1944 x_libraries=NONE
1946 # Installation directory options.
1947 # These are left unexpanded so users can "make install exec_prefix=/foo"
1948 # and all the variables that are supposed to be based on exec_prefix
1949 # by default will actually change.
1950 # Use braces instead of parens because sh, perl, etc. also accept them.
1951 # (The list follows the same order as the GNU Coding Standards.)
1952 bindir='${exec_prefix}/bin'
1953 sbindir='${exec_prefix}/sbin'
1954 libexecdir='${exec_prefix}/libexec'
1955 datarootdir='${prefix}/share'
1956 datadir='${datarootdir}'
1957 sysconfdir='${prefix}/etc'
1958 sharedstatedir='${prefix}/com'
1959 localstatedir='${prefix}/var'
1960 runstatedir='${localstatedir}/run'
1961 includedir='${prefix}/include'
1962 oldincludedir='/usr/include'
1963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1964 infodir='${datarootdir}/info'
1965 htmldir='${docdir}'
1966 dvidir='${docdir}'
1967 pdfdir='${docdir}'
1968 psdir='${docdir}'
1969 libdir='${exec_prefix}/lib'
1970 localedir='${datarootdir}/locale'
1971 mandir='${datarootdir}/man'
1973 ac_prev=
1974 ac_dashdash=
1975 for ac_option
1977 # If the previous option needs an argument, assign it.
1978 if test -n "$ac_prev"; then
1979 eval $ac_prev=\$ac_option
1980 ac_prev=
1981 continue
1984 case $ac_option in
1985 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1986 *=) ac_optarg= ;;
1987 *) ac_optarg=yes ;;
1988 esac
1990 # Accept the important Cygnus configure options, so we can diagnose typos.
1992 case $ac_dashdash$ac_option in
1994 ac_dashdash=yes ;;
1996 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1997 ac_prev=bindir ;;
1998 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1999 bindir=$ac_optarg ;;
2001 -build | --build | --buil | --bui | --bu)
2002 ac_prev=build_alias ;;
2003 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2004 build_alias=$ac_optarg ;;
2006 -cache-file | --cache-file | --cache-fil | --cache-fi \
2007 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2008 ac_prev=cache_file ;;
2009 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2010 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2011 cache_file=$ac_optarg ;;
2013 --config-cache | -C)
2014 cache_file=config.cache ;;
2016 -datadir | --datadir | --datadi | --datad)
2017 ac_prev=datadir ;;
2018 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2019 datadir=$ac_optarg ;;
2021 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2022 | --dataroo | --dataro | --datar)
2023 ac_prev=datarootdir ;;
2024 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2025 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2026 datarootdir=$ac_optarg ;;
2028 -disable-* | --disable-*)
2029 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2030 # Reject names that are not valid shell variable names.
2031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2032 as_fn_error $? "invalid feature name: $ac_useropt"
2033 ac_useropt_orig=$ac_useropt
2034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2035 case $ac_user_opts in
2037 "enable_$ac_useropt"
2038 "*) ;;
2039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2040 ac_unrecognized_sep=', ';;
2041 esac
2042 eval enable_$ac_useropt=no ;;
2044 -docdir | --docdir | --docdi | --doc | --do)
2045 ac_prev=docdir ;;
2046 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2047 docdir=$ac_optarg ;;
2049 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2050 ac_prev=dvidir ;;
2051 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2052 dvidir=$ac_optarg ;;
2054 -enable-* | --enable-*)
2055 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2056 # Reject names that are not valid shell variable names.
2057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2058 as_fn_error $? "invalid feature name: $ac_useropt"
2059 ac_useropt_orig=$ac_useropt
2060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2061 case $ac_user_opts in
2063 "enable_$ac_useropt"
2064 "*) ;;
2065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2066 ac_unrecognized_sep=', ';;
2067 esac
2068 eval enable_$ac_useropt=\$ac_optarg ;;
2070 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2071 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2072 | --exec | --exe | --ex)
2073 ac_prev=exec_prefix ;;
2074 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2075 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2076 | --exec=* | --exe=* | --ex=*)
2077 exec_prefix=$ac_optarg ;;
2079 -gas | --gas | --ga | --g)
2080 # Obsolete; use --with-gas.
2081 with_gas=yes ;;
2083 -help | --help | --hel | --he | -h)
2084 ac_init_help=long ;;
2085 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2086 ac_init_help=recursive ;;
2087 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2088 ac_init_help=short ;;
2090 -host | --host | --hos | --ho)
2091 ac_prev=host_alias ;;
2092 -host=* | --host=* | --hos=* | --ho=*)
2093 host_alias=$ac_optarg ;;
2095 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2096 ac_prev=htmldir ;;
2097 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2098 | --ht=*)
2099 htmldir=$ac_optarg ;;
2101 -includedir | --includedir | --includedi | --included | --include \
2102 | --includ | --inclu | --incl | --inc)
2103 ac_prev=includedir ;;
2104 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2105 | --includ=* | --inclu=* | --incl=* | --inc=*)
2106 includedir=$ac_optarg ;;
2108 -infodir | --infodir | --infodi | --infod | --info | --inf)
2109 ac_prev=infodir ;;
2110 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2111 infodir=$ac_optarg ;;
2113 -libdir | --libdir | --libdi | --libd)
2114 ac_prev=libdir ;;
2115 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2116 libdir=$ac_optarg ;;
2118 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2119 | --libexe | --libex | --libe)
2120 ac_prev=libexecdir ;;
2121 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2122 | --libexe=* | --libex=* | --libe=*)
2123 libexecdir=$ac_optarg ;;
2125 -localedir | --localedir | --localedi | --localed | --locale)
2126 ac_prev=localedir ;;
2127 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2128 localedir=$ac_optarg ;;
2130 -localstatedir | --localstatedir | --localstatedi | --localstated \
2131 | --localstate | --localstat | --localsta | --localst | --locals)
2132 ac_prev=localstatedir ;;
2133 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2134 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2135 localstatedir=$ac_optarg ;;
2137 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2138 ac_prev=mandir ;;
2139 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2140 mandir=$ac_optarg ;;
2142 -nfp | --nfp | --nf)
2143 # Obsolete; use --without-fp.
2144 with_fp=no ;;
2146 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2147 | --no-cr | --no-c | -n)
2148 no_create=yes ;;
2150 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2151 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2152 no_recursion=yes ;;
2154 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2155 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2156 | --oldin | --oldi | --old | --ol | --o)
2157 ac_prev=oldincludedir ;;
2158 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2159 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2160 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2161 oldincludedir=$ac_optarg ;;
2163 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2164 ac_prev=prefix ;;
2165 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2166 prefix=$ac_optarg ;;
2168 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2169 | --program-pre | --program-pr | --program-p)
2170 ac_prev=program_prefix ;;
2171 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2172 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2173 program_prefix=$ac_optarg ;;
2175 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2176 | --program-suf | --program-su | --program-s)
2177 ac_prev=program_suffix ;;
2178 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2179 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2180 program_suffix=$ac_optarg ;;
2182 -program-transform-name | --program-transform-name \
2183 | --program-transform-nam | --program-transform-na \
2184 | --program-transform-n | --program-transform- \
2185 | --program-transform | --program-transfor \
2186 | --program-transfo | --program-transf \
2187 | --program-trans | --program-tran \
2188 | --progr-tra | --program-tr | --program-t)
2189 ac_prev=program_transform_name ;;
2190 -program-transform-name=* | --program-transform-name=* \
2191 | --program-transform-nam=* | --program-transform-na=* \
2192 | --program-transform-n=* | --program-transform-=* \
2193 | --program-transform=* | --program-transfor=* \
2194 | --program-transfo=* | --program-transf=* \
2195 | --program-trans=* | --program-tran=* \
2196 | --progr-tra=* | --program-tr=* | --program-t=*)
2197 program_transform_name=$ac_optarg ;;
2199 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2200 ac_prev=pdfdir ;;
2201 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2202 pdfdir=$ac_optarg ;;
2204 -psdir | --psdir | --psdi | --psd | --ps)
2205 ac_prev=psdir ;;
2206 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2207 psdir=$ac_optarg ;;
2209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2210 | -silent | --silent | --silen | --sile | --sil)
2211 silent=yes ;;
2213 -runstatedir | --runstatedir | --runstatedi | --runstated \
2214 | --runstate | --runstat | --runsta | --runst | --runs \
2215 | --run | --ru | --r)
2216 ac_prev=runstatedir ;;
2217 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2218 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2219 | --run=* | --ru=* | --r=*)
2220 runstatedir=$ac_optarg ;;
2222 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2223 ac_prev=sbindir ;;
2224 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2225 | --sbi=* | --sb=*)
2226 sbindir=$ac_optarg ;;
2228 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2229 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2230 | --sharedst | --shareds | --shared | --share | --shar \
2231 | --sha | --sh)
2232 ac_prev=sharedstatedir ;;
2233 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2234 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2235 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2236 | --sha=* | --sh=*)
2237 sharedstatedir=$ac_optarg ;;
2239 -site | --site | --sit)
2240 ac_prev=site ;;
2241 -site=* | --site=* | --sit=*)
2242 site=$ac_optarg ;;
2244 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2245 ac_prev=srcdir ;;
2246 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2247 srcdir=$ac_optarg ;;
2249 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2250 | --syscon | --sysco | --sysc | --sys | --sy)
2251 ac_prev=sysconfdir ;;
2252 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2253 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2254 sysconfdir=$ac_optarg ;;
2256 -target | --target | --targe | --targ | --tar | --ta | --t)
2257 ac_prev=target_alias ;;
2258 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2259 target_alias=$ac_optarg ;;
2261 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2262 verbose=yes ;;
2264 -version | --version | --versio | --versi | --vers | -V)
2265 ac_init_version=: ;;
2267 -with-* | --with-*)
2268 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2269 # Reject names that are not valid shell variable names.
2270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2271 as_fn_error $? "invalid package name: $ac_useropt"
2272 ac_useropt_orig=$ac_useropt
2273 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2274 case $ac_user_opts in
2276 "with_$ac_useropt"
2277 "*) ;;
2278 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2279 ac_unrecognized_sep=', ';;
2280 esac
2281 eval with_$ac_useropt=\$ac_optarg ;;
2283 -without-* | --without-*)
2284 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2285 # Reject names that are not valid shell variable names.
2286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2287 as_fn_error $? "invalid package name: $ac_useropt"
2288 ac_useropt_orig=$ac_useropt
2289 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2290 case $ac_user_opts in
2292 "with_$ac_useropt"
2293 "*) ;;
2294 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2295 ac_unrecognized_sep=', ';;
2296 esac
2297 eval with_$ac_useropt=no ;;
2299 --x)
2300 # Obsolete; use --with-x.
2301 with_x=yes ;;
2303 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2304 | --x-incl | --x-inc | --x-in | --x-i)
2305 ac_prev=x_includes ;;
2306 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2307 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2308 x_includes=$ac_optarg ;;
2310 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2311 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2312 ac_prev=x_libraries ;;
2313 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2314 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2315 x_libraries=$ac_optarg ;;
2317 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2318 Try \`$0 --help' for more information"
2321 *=*)
2322 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2323 # Reject names that are not valid shell variable names.
2324 case $ac_envvar in #(
2325 '' | [0-9]* | *[!_$as_cr_alnum]* )
2326 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2327 esac
2328 eval $ac_envvar=\$ac_optarg
2329 export $ac_envvar ;;
2332 # FIXME: should be removed in autoconf 3.0.
2333 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2334 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2335 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2336 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2339 esac
2340 done
2342 if test -n "$ac_prev"; then
2343 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2344 as_fn_error $? "missing argument to $ac_option"
2347 if test -n "$ac_unrecognized_opts"; then
2348 case $enable_option_checking in
2349 no) ;;
2350 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2351 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2352 esac
2355 # Check all directory arguments for consistency.
2356 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2357 datadir sysconfdir sharedstatedir localstatedir includedir \
2358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2359 libdir localedir mandir runstatedir
2361 eval ac_val=\$$ac_var
2362 # Remove trailing slashes.
2363 case $ac_val in
2364 */ )
2365 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2366 eval $ac_var=\$ac_val;;
2367 esac
2368 # Be sure to have absolute directory names.
2369 case $ac_val in
2370 [\\/$]* | ?:[\\/]* ) continue;;
2371 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2372 esac
2373 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2374 done
2376 # There might be people who depend on the old broken behavior: `$host'
2377 # used to hold the argument of --host etc.
2378 # FIXME: To remove some day.
2379 build=$build_alias
2380 host=$host_alias
2381 target=$target_alias
2383 # FIXME: To remove some day.
2384 if test "x$host_alias" != x; then
2385 if test "x$build_alias" = x; then
2386 cross_compiling=maybe
2387 elif test "x$build_alias" != "x$host_alias"; then
2388 cross_compiling=yes
2392 ac_tool_prefix=
2393 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2395 test "$silent" = yes && exec 6>/dev/null
2398 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2399 ac_ls_di=`ls -di .` &&
2400 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2401 as_fn_error $? "working directory cannot be determined"
2402 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2403 as_fn_error $? "pwd does not report name of working directory"
2406 # Find the source files, if location was not specified.
2407 if test -z "$srcdir"; then
2408 ac_srcdir_defaulted=yes
2409 # Try the directory containing this script, then the parent directory.
2410 ac_confdir=`$as_dirname -- "$as_myself" ||
2411 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2412 X"$as_myself" : 'X\(//\)[^/]' \| \
2413 X"$as_myself" : 'X\(//\)$' \| \
2414 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2415 $as_echo X"$as_myself" |
2416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2417 s//\1/
2420 /^X\(\/\/\)[^/].*/{
2421 s//\1/
2424 /^X\(\/\/\)$/{
2425 s//\1/
2428 /^X\(\/\).*/{
2429 s//\1/
2432 s/.*/./; q'`
2433 srcdir=$ac_confdir
2434 if test ! -r "$srcdir/$ac_unique_file"; then
2435 srcdir=..
2437 else
2438 ac_srcdir_defaulted=no
2440 if test ! -r "$srcdir/$ac_unique_file"; then
2441 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2442 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2444 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2445 ac_abs_confdir=`(
2446 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2447 pwd)`
2448 # When building in place, set srcdir=.
2449 if test "$ac_abs_confdir" = "$ac_pwd"; then
2450 srcdir=.
2452 # Remove unnecessary trailing slashes from srcdir.
2453 # Double slashes in file names in object file debugging info
2454 # mess up M-x gdb in Emacs.
2455 case $srcdir in
2456 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2457 esac
2458 for ac_var in $ac_precious_vars; do
2459 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2460 eval ac_env_${ac_var}_value=\$${ac_var}
2461 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2462 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2463 done
2466 # Report the --help message.
2468 if test "$ac_init_help" = "long"; then
2469 # Omit some internal or obsolete options to make the list less imposing.
2470 # This message is too long to be a string in the A/UX 3.1 sh.
2471 cat <<_ACEOF
2472 \`configure' configures Wine 5.11 to adapt to many kinds of systems.
2474 Usage: $0 [OPTION]... [VAR=VALUE]...
2476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2477 VAR=VALUE. See below for descriptions of some of the useful variables.
2479 Defaults for the options are specified in brackets.
2481 Configuration:
2482 -h, --help display this help and exit
2483 --help=short display options specific to this package
2484 --help=recursive display the short help of all the included packages
2485 -V, --version display version information and exit
2486 -q, --quiet, --silent do not print \`checking ...' messages
2487 --cache-file=FILE cache test results in FILE [disabled]
2488 -C, --config-cache alias for \`--cache-file=config.cache'
2489 -n, --no-create do not create output files
2490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2492 Installation directories:
2493 --prefix=PREFIX install architecture-independent files in PREFIX
2494 [$ac_default_prefix]
2495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2496 [PREFIX]
2498 By default, \`make install' will install all the files in
2499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2501 for instance \`--prefix=\$HOME'.
2503 For better control, use the options below.
2505 Fine tuning of the installation directories:
2506 --bindir=DIR user executables [EPREFIX/bin]
2507 --sbindir=DIR system admin executables [EPREFIX/sbin]
2508 --libexecdir=DIR program executables [EPREFIX/libexec]
2509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2512 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2513 --libdir=DIR object code libraries [EPREFIX/lib]
2514 --includedir=DIR C header files [PREFIX/include]
2515 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2516 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2517 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2518 --infodir=DIR info documentation [DATAROOTDIR/info]
2519 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2520 --mandir=DIR man documentation [DATAROOTDIR/man]
2521 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2522 --htmldir=DIR html documentation [DOCDIR]
2523 --dvidir=DIR dvi documentation [DOCDIR]
2524 --pdfdir=DIR pdf documentation [DOCDIR]
2525 --psdir=DIR ps documentation [DOCDIR]
2526 _ACEOF
2528 cat <<\_ACEOF
2530 X features:
2531 --x-includes=DIR X include files are in DIR
2532 --x-libraries=DIR X library files are in DIR
2534 System types:
2535 --build=BUILD configure for building on BUILD [guessed]
2536 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2537 _ACEOF
2540 if test -n "$ac_init_help"; then
2541 case $ac_init_help in
2542 short | recursive ) echo "Configuration of Wine 5.11:";;
2543 esac
2544 cat <<\_ACEOF
2546 Optional Features:
2547 --disable-option-checking ignore unrecognized --enable/--with options
2548 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2549 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2550 --disable-win16 do not include Win16 support
2551 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2552 binaries)
2553 --disable-tests do not build the regression tests
2554 --enable-maintainer-mode
2555 enable maintainer-specific build rules
2556 --enable-werror treat compilation warnings as errors
2557 --disable-largefile omit support for large files
2559 Optional Packages:
2560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2562 --without-alsa do not use the Alsa sound support
2563 --without-capi do not use CAPI (ISDN support)
2564 --without-cms do not use CMS (color management support)
2565 --without-coreaudio do not use the CoreAudio sound support
2566 --without-cups do not use CUPS
2567 --without-curses do not use (n)curses
2568 --without-dbus do not use DBus (dynamic device support)
2569 --without-faudio do not use FAudio (XAudio2 support)
2570 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2571 --without-fontconfig do not use fontconfig
2572 --without-freetype do not use the FreeType library
2573 --without-gettext do not use gettext
2574 --with-gettextpo use the GetTextPO library to rebuild po files
2575 --without-gphoto do not use gphoto (Digital Camera support)
2576 --without-glu do not use the GLU library
2577 --without-gnutls do not use GnuTLS (schannel support)
2578 --without-gsm do not use libgsm (GSM 06.10 codec support)
2579 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2580 --without-gstreamer do not use GStreamer (codecs support)
2581 --without-hal do not use HAL (dynamic device support)
2582 --without-inotify do not use inotify (filesystem change notifications)
2583 --without-jpeg do not use JPEG
2584 --without-krb5 do not use krb5 (Kerberos)
2585 --without-ldap do not use LDAP
2586 --without-mingw do not use the MinGW cross-compiler
2587 --without-mpg123 do not use the mpg123 library
2588 --without-netapi do not use the Samba NetAPI library
2589 --without-openal do not use OpenAL
2590 --without-opencl do not use OpenCL
2591 --without-opengl do not use OpenGL
2592 --without-osmesa do not use the OSMesa library
2593 --without-oss do not use the OSS sound support
2594 --without-pcap do not use the Packet Capture library
2595 --without-png do not use PNG
2596 --without-pthread do not use the pthread library
2597 --without-pulse do not use PulseAudio sound support
2598 --without-sane do not use SANE (scanner support)
2599 --without-sdl do not use SDL
2600 --without-tiff do not use TIFF
2601 --without-udev do not use udev (plug and play support)
2602 --without-unwind do not use the libunwind library (exception
2603 handling)
2604 --without-usb do not use the libusb library
2605 --without-v4l2 do not use v4l2 (video capture)
2606 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2607 --without-vulkan do not use Vulkan
2608 --without-xcomposite do not use the Xcomposite extension
2609 --without-xcursor do not use the Xcursor extension
2610 --without-xfixes do not use Xfixes for clipboard change notifications
2611 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2612 --without-xinput do not use the Xinput extension
2613 --without-xinput2 do not use the Xinput 2 extension
2614 --without-xml do not use XML
2615 --without-xrandr do not use Xrandr (multi-monitor support)
2616 --without-xrender do not use the Xrender extension
2617 --without-xshape do not use the Xshape extension
2618 --without-xshm do not use XShm (shared memory extension)
2619 --without-xslt do not use XSLT
2620 --without-xxf86vm do not use XFree video mode extension
2621 --with-wine-tools=DIR use Wine tools from directory DIR
2622 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2623 --with-x use the X Window System
2625 Some influential environment variables:
2626 CC C compiler command
2627 CFLAGS C compiler flags
2628 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2629 nonstandard directory <lib dir>
2630 LIBS libraries to pass to the linker, e.g. -l<library>
2631 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2632 you have headers in a nonstandard directory <include dir>
2633 CXX C++ compiler command
2634 CXXFLAGS C++ compiler flags
2635 CPP C preprocessor
2636 OBJC Objective C compiler command
2637 OBJCFLAGS Objective C compiler flags
2638 OBJCPP Objective C preprocessor
2639 XMKMF Path to xmkmf, Makefile generator for X Window System
2640 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2641 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2642 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2643 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2644 INOTIFY_CFLAGS
2645 C compiler flags for libinotify, overriding pkg-config
2646 INOTIFY_LIBS
2647 Linker flags for libinotify, overriding pkg-config
2648 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2649 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2650 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2651 HAL_LIBS Linker flags for hal, overriding pkg-config
2652 GNUTLS_CFLAGS
2653 C compiler flags for gnutls, overriding pkg-config
2654 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2655 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2656 SANE_LIBS Linker flags for libsane, overriding pkg-config
2657 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2658 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2659 GPHOTO2_CFLAGS
2660 C compiler flags for libgphoto2, overriding pkg-config
2661 GPHOTO2_LIBS
2662 Linker flags for libgphoto2, overriding pkg-config
2663 GPHOTO2_PORT_CFLAGS
2664 C compiler flags for libgphoto2_port, overriding pkg-config
2665 GPHOTO2_PORT_LIBS
2666 Linker flags for libgphoto2_port, overriding pkg-config
2667 LCMS2_CFLAGS
2668 C compiler flags for lcms2, overriding pkg-config
2669 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2670 FREETYPE_CFLAGS
2671 C compiler flags for freetype2, overriding pkg-config
2672 FREETYPE_LIBS
2673 Linker flags for freetype2, overriding pkg-config
2674 PULSE_CFLAGS
2675 C compiler flags for libpulse, overriding pkg-config
2676 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2677 GSTREAMER_CFLAGS
2678 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2679 gstreamer-audio-1.0, overriding pkg-config
2680 GSTREAMER_LIBS
2681 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2682 gstreamer-audio-1.0, overriding pkg-config
2683 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2684 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2685 UNWIND_CFLAGS
2686 C compiler flags for libunwind, overriding pkg-config
2687 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2688 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2689 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2690 FAUDIO_CFLAGS
2691 C compiler flags for faudio, overriding pkg-config
2692 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2693 CAPI20_CFLAGS
2694 C compiler flags for capi20, overriding pkg-config
2695 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2696 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2697 CUPS_LIBS Linker flags for cups, overriding pkg-config
2698 FONTCONFIG_CFLAGS
2699 C compiler flags for fontconfig, overriding pkg-config
2700 FONTCONFIG_LIBS
2701 Linker flags for fontconfig, overriding pkg-config
2702 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2703 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2704 GSSAPI_CFLAGS
2705 C compiler flags for krb5-gssapi, overriding pkg-config
2706 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2707 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2708 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2709 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2710 PNG_LIBS Linker flags for libpng, overriding pkg-config
2711 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2712 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2713 MPG123_CFLAGS
2714 C compiler flags for libmpg123, overriding pkg-config
2715 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2716 NETAPI_CFLAGS
2717 C compiler flags for netapi, overriding pkg-config
2718 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2719 VKD3D_CFLAGS
2720 C compiler flags for libvkd3d, overriding pkg-config
2721 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2722 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2723 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2725 Use these variables to override the choices made by `configure' or to help
2726 it to find libraries and programs with nonstandard names/locations.
2728 Report bugs to <wine-devel@winehq.org>.
2729 Wine home page: <https://www.winehq.org>.
2730 _ACEOF
2731 ac_status=$?
2734 if test "$ac_init_help" = "recursive"; then
2735 # If there are subdirs, report their specific --help.
2736 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2737 test -d "$ac_dir" ||
2738 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2739 continue
2740 ac_builddir=.
2742 case "$ac_dir" in
2743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2745 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2746 # A ".." for each directory in $ac_dir_suffix.
2747 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2748 case $ac_top_builddir_sub in
2749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2751 esac ;;
2752 esac
2753 ac_abs_top_builddir=$ac_pwd
2754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2755 # for backward compatibility:
2756 ac_top_builddir=$ac_top_build_prefix
2758 case $srcdir in
2759 .) # We are building in place.
2760 ac_srcdir=.
2761 ac_top_srcdir=$ac_top_builddir_sub
2762 ac_abs_top_srcdir=$ac_pwd ;;
2763 [\\/]* | ?:[\\/]* ) # Absolute name.
2764 ac_srcdir=$srcdir$ac_dir_suffix;
2765 ac_top_srcdir=$srcdir
2766 ac_abs_top_srcdir=$srcdir ;;
2767 *) # Relative name.
2768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2769 ac_top_srcdir=$ac_top_build_prefix$srcdir
2770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2771 esac
2772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2774 cd "$ac_dir" || { ac_status=$?; continue; }
2775 # Check for guested configure.
2776 if test -f "$ac_srcdir/configure.gnu"; then
2777 echo &&
2778 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2779 elif test -f "$ac_srcdir/configure"; then
2780 echo &&
2781 $SHELL "$ac_srcdir/configure" --help=recursive
2782 else
2783 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2784 fi || ac_status=$?
2785 cd "$ac_pwd" || { ac_status=$?; break; }
2786 done
2789 test -n "$ac_init_help" && exit $ac_status
2790 if $ac_init_version; then
2791 cat <<\_ACEOF
2792 Wine configure 5.11
2793 generated by GNU Autoconf 2.69
2795 Copyright (C) 2012 Free Software Foundation, Inc.
2796 This configure script is free software; the Free Software Foundation
2797 gives unlimited permission to copy, distribute and modify it.
2798 _ACEOF
2799 exit
2802 ## ------------------------ ##
2803 ## Autoconf initialization. ##
2804 ## ------------------------ ##
2806 # ac_fn_c_try_compile LINENO
2807 # --------------------------
2808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2809 ac_fn_c_try_compile ()
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 rm -f conftest.$ac_objext
2813 if { { ac_try="$ac_compile"
2814 case "(($ac_try" in
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2817 esac
2818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819 $as_echo "$ac_try_echo"; } >&5
2820 (eval "$ac_compile") 2>conftest.err
2821 ac_status=$?
2822 if test -s conftest.err; then
2823 grep -v '^ *+' conftest.err >conftest.er1
2824 cat conftest.er1 >&5
2825 mv -f conftest.er1 conftest.err
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && {
2829 test -z "$ac_c_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest.$ac_objext; then :
2832 ac_retval=0
2833 else
2834 $as_echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2837 ac_retval=1
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840 as_fn_set_status $ac_retval
2842 } # ac_fn_c_try_compile
2844 # ac_fn_cxx_try_compile LINENO
2845 # ----------------------------
2846 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2847 ac_fn_cxx_try_compile ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 rm -f conftest.$ac_objext
2851 if { { ac_try="$ac_compile"
2852 case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855 esac
2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2857 $as_echo "$ac_try_echo"; } >&5
2858 (eval "$ac_compile") 2>conftest.err
2859 ac_status=$?
2860 if test -s conftest.err; then
2861 grep -v '^ *+' conftest.err >conftest.er1
2862 cat conftest.er1 >&5
2863 mv -f conftest.er1 conftest.err
2865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2866 test $ac_status = 0; } && {
2867 test -z "$ac_cxx_werror_flag" ||
2868 test ! -s conftest.err
2869 } && test -s conftest.$ac_objext; then :
2870 ac_retval=0
2871 else
2872 $as_echo "$as_me: failed program was:" >&5
2873 sed 's/^/| /' conftest.$ac_ext >&5
2875 ac_retval=1
2877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 as_fn_set_status $ac_retval
2880 } # ac_fn_cxx_try_compile
2882 # ac_fn_c_try_link LINENO
2883 # -----------------------
2884 # Try to link conftest.$ac_ext, and return whether this succeeded.
2885 ac_fn_c_try_link ()
2887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2888 rm -f conftest.$ac_objext conftest$ac_exeext
2889 if { { ac_try="$ac_link"
2890 case "(($ac_try" in
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2893 esac
2894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2895 $as_echo "$ac_try_echo"; } >&5
2896 (eval "$ac_link") 2>conftest.err
2897 ac_status=$?
2898 if test -s conftest.err; then
2899 grep -v '^ *+' conftest.err >conftest.er1
2900 cat conftest.er1 >&5
2901 mv -f conftest.er1 conftest.err
2903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2904 test $ac_status = 0; } && {
2905 test -z "$ac_c_werror_flag" ||
2906 test ! -s conftest.err
2907 } && test -s conftest$ac_exeext && {
2908 test "$cross_compiling" = yes ||
2909 test -x conftest$ac_exeext
2910 }; then :
2911 ac_retval=0
2912 else
2913 $as_echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 ac_retval=1
2918 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2919 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2920 # interfere with the next link command; also delete a directory that is
2921 # left behind by Apple's compiler. We do this before executing the actions.
2922 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 as_fn_set_status $ac_retval
2926 } # ac_fn_c_try_link
2928 # ac_fn_c_try_cpp LINENO
2929 # ----------------------
2930 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2931 ac_fn_c_try_cpp ()
2933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2934 if { { ac_try="$ac_cpp conftest.$ac_ext"
2935 case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 $as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2942 ac_status=$?
2943 if test -s conftest.err; then
2944 grep -v '^ *+' conftest.err >conftest.er1
2945 cat conftest.er1 >&5
2946 mv -f conftest.er1 conftest.err
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; } > conftest.i && {
2950 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 }; then :
2953 ac_retval=0
2954 else
2955 $as_echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_retval=1
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 as_fn_set_status $ac_retval
2963 } # ac_fn_c_try_cpp
2965 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2966 # -------------------------------------------------------
2967 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2968 # the include files in INCLUDES and setting the cache variable VAR
2969 # accordingly.
2970 ac_fn_c_check_header_mongrel ()
2972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2973 if eval \${$3+:} false; then :
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2975 $as_echo_n "checking for $2... " >&6; }
2976 if eval \${$3+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2982 else
2983 # Is the header compilable?
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2985 $as_echo_n "checking $2 usability... " >&6; }
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2989 #include <$2>
2990 _ACEOF
2991 if ac_fn_c_try_compile "$LINENO"; then :
2992 ac_header_compiler=yes
2993 else
2994 ac_header_compiler=no
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2998 $as_echo "$ac_header_compiler" >&6; }
3000 # Is the header present?
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3002 $as_echo_n "checking $2 presence... " >&6; }
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3005 #include <$2>
3006 _ACEOF
3007 if ac_fn_c_try_cpp "$LINENO"; then :
3008 ac_header_preproc=yes
3009 else
3010 ac_header_preproc=no
3012 rm -f conftest.err conftest.i conftest.$ac_ext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3014 $as_echo "$ac_header_preproc" >&6; }
3016 # So? What about this header?
3017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3018 yes:no: )
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3020 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3022 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3024 no:yes:* )
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3026 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3028 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3030 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3032 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3034 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3035 ( $as_echo "## ------------------------------------ ##
3036 ## Report this to wine-devel@winehq.org ##
3037 ## ------------------------------------ ##"
3038 ) | sed "s/^/$as_me: WARNING: /" >&2
3040 esac
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3042 $as_echo_n "checking for $2... " >&6; }
3043 if eval \${$3+:} false; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 eval "$3=\$ac_header_compiler"
3048 eval ac_res=\$$3
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3050 $as_echo "$ac_res" >&6; }
3052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3054 } # ac_fn_c_check_header_mongrel
3056 # ac_fn_c_try_run LINENO
3057 # ----------------------
3058 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3059 # that executables *can* be run.
3060 ac_fn_c_try_run ()
3062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3063 if { { ac_try="$ac_link"
3064 case "(($ac_try" in
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3067 esac
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_link") 2>&5
3071 ac_status=$?
3072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3074 { { case "(($ac_try" in
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3077 esac
3078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3079 $as_echo "$ac_try_echo"; } >&5
3080 (eval "$ac_try") 2>&5
3081 ac_status=$?
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }; }; then :
3084 ac_retval=0
3085 else
3086 $as_echo "$as_me: program exited with status $ac_status" >&5
3087 $as_echo "$as_me: failed program was:" >&5
3088 sed 's/^/| /' conftest.$ac_ext >&5
3090 ac_retval=$ac_status
3092 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_c_try_run
3098 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3099 # -------------------------------------------------------
3100 # Tests whether HEADER exists and can be compiled using the include files in
3101 # INCLUDES, setting the cache variable VAR accordingly.
3102 ac_fn_c_check_header_compile ()
3104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3106 $as_echo_n "checking for $2... " >&6; }
3107 if eval \${$3+:} false; then :
3108 $as_echo_n "(cached) " >&6
3109 else
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3113 #include <$2>
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"; then :
3116 eval "$3=yes"
3117 else
3118 eval "$3=no"
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122 eval ac_res=\$$3
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3124 $as_echo "$ac_res" >&6; }
3125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127 } # ac_fn_c_check_header_compile
3129 # ac_fn_objc_try_compile LINENO
3130 # -----------------------------
3131 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3132 ac_fn_objc_try_compile ()
3134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3135 rm -f conftest.$ac_objext
3136 if { { ac_try="$ac_compile"
3137 case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3140 esac
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_compile") 2>conftest.err
3144 ac_status=$?
3145 if test -s conftest.err; then
3146 grep -v '^ *+' conftest.err >conftest.er1
3147 cat conftest.er1 >&5
3148 mv -f conftest.er1 conftest.err
3150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3151 test $ac_status = 0; } && {
3152 test -z "$ac_objc_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then :
3155 ac_retval=0
3156 else
3157 $as_echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 ac_retval=1
3162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3163 as_fn_set_status $ac_retval
3165 } # ac_fn_objc_try_compile
3167 # ac_fn_objc_try_cpp LINENO
3168 # -------------------------
3169 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3170 ac_fn_objc_try_cpp ()
3172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3173 if { { ac_try="$ac_cpp conftest.$ac_ext"
3174 case "(($ac_try" in
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3177 esac
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3181 ac_status=$?
3182 if test -s conftest.err; then
3183 grep -v '^ *+' conftest.err >conftest.er1
3184 cat conftest.er1 >&5
3185 mv -f conftest.er1 conftest.err
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; } > conftest.i && {
3189 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3190 test ! -s conftest.err
3191 }; then :
3192 ac_retval=0
3193 else
3194 $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 ac_retval=1
3199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3200 as_fn_set_status $ac_retval
3202 } # ac_fn_objc_try_cpp
3204 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3205 # ----------------------------------------------------------
3206 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3207 # the include files in INCLUDES and setting the cache variable VAR
3208 # accordingly.
3209 ac_fn_objc_check_header_mongrel ()
3211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3212 if eval \${$3+:} false; then :
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3214 $as_echo_n "checking for $2... " >&6; }
3215 if eval \${$3+:} false; then :
3216 $as_echo_n "(cached) " >&6
3218 eval ac_res=\$$3
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3220 $as_echo "$ac_res" >&6; }
3221 else
3222 # Is the header compilable?
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3224 $as_echo_n "checking $2 usability... " >&6; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3228 #include <$2>
3229 _ACEOF
3230 if ac_fn_objc_try_compile "$LINENO"; then :
3231 ac_header_compiler=yes
3232 else
3233 ac_header_compiler=no
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3237 $as_echo "$ac_header_compiler" >&6; }
3239 # Is the header present?
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3241 $as_echo_n "checking $2 presence... " >&6; }
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3244 #include <$2>
3245 _ACEOF
3246 if ac_fn_objc_try_cpp "$LINENO"; then :
3247 ac_header_preproc=yes
3248 else
3249 ac_header_preproc=no
3251 rm -f conftest.err conftest.i conftest.$ac_ext
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3253 $as_echo "$ac_header_preproc" >&6; }
3255 # So? What about this header?
3256 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3257 yes:no: )
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3259 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3261 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3263 no:yes:* )
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3265 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3267 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3269 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3271 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3273 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3274 ( $as_echo "## ------------------------------------ ##
3275 ## Report this to wine-devel@winehq.org ##
3276 ## ------------------------------------ ##"
3277 ) | sed "s/^/$as_me: WARNING: /" >&2
3279 esac
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3281 $as_echo_n "checking for $2... " >&6; }
3282 if eval \${$3+:} false; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 eval "$3=\$ac_header_compiler"
3287 eval ac_res=\$$3
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3289 $as_echo "$ac_res" >&6; }
3291 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3293 } # ac_fn_objc_check_header_mongrel
3295 # ac_fn_c_check_func LINENO FUNC VAR
3296 # ----------------------------------
3297 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3298 ac_fn_c_check_func ()
3300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3302 $as_echo_n "checking for $2... " >&6; }
3303 if eval \${$3+:} false; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3308 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3310 #define $2 innocuous_$2
3312 /* System header to define __stub macros and hopefully few prototypes,
3313 which can conflict with char $2 (); below.
3314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3315 <limits.h> exists even on freestanding compilers. */
3317 #ifdef __STDC__
3318 # include <limits.h>
3319 #else
3320 # include <assert.h>
3321 #endif
3323 #undef $2
3325 /* Override any GCC internal prototype to avoid an error.
3326 Use char because int might match the return type of a GCC
3327 builtin and then its argument prototype would still apply. */
3328 #ifdef __cplusplus
3329 extern "C"
3330 #endif
3331 char $2 ();
3332 /* The GNU C library defines this for functions which it implements
3333 to always fail with ENOSYS. Some functions are actually named
3334 something starting with __ and the normal name is an alias. */
3335 #if defined __stub_$2 || defined __stub___$2
3336 choke me
3337 #endif
3340 main ()
3342 return $2 ();
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_link "$LINENO"; then :
3348 eval "$3=yes"
3349 else
3350 eval "$3=no"
3352 rm -f core conftest.err conftest.$ac_objext \
3353 conftest$ac_exeext conftest.$ac_ext
3355 eval ac_res=\$$3
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3357 $as_echo "$ac_res" >&6; }
3358 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3360 } # ac_fn_c_check_func
3362 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3363 # ----------------------------------------------------
3364 # Tries to find if the field MEMBER exists in type AGGR, after including
3365 # INCLUDES, setting cache variable VAR accordingly.
3366 ac_fn_c_check_member ()
3368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3370 $as_echo_n "checking for $2.$3... " >&6; }
3371 if eval \${$4+:} false; then :
3372 $as_echo_n "(cached) " >&6
3373 else
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 main ()
3380 static $2 ac_aggr;
3381 if (ac_aggr.$3)
3382 return 0;
3384 return 0;
3386 _ACEOF
3387 if ac_fn_c_try_compile "$LINENO"; then :
3388 eval "$4=yes"
3389 else
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3394 main ()
3396 static $2 ac_aggr;
3397 if (sizeof ac_aggr.$3)
3398 return 0;
3400 return 0;
3402 _ACEOF
3403 if ac_fn_c_try_compile "$LINENO"; then :
3404 eval "$4=yes"
3405 else
3406 eval "$4=no"
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412 eval ac_res=\$$4
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3414 $as_echo "$ac_res" >&6; }
3415 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3417 } # ac_fn_c_check_member
3419 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3420 # -------------------------------------------
3421 # Tests whether TYPE exists after having included INCLUDES, setting cache
3422 # variable VAR accordingly.
3423 ac_fn_c_check_type ()
3425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3427 $as_echo_n "checking for $2... " >&6; }
3428 if eval \${$3+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 eval "$3=no"
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3436 main ()
3438 if (sizeof ($2))
3439 return 0;
3441 return 0;
3443 _ACEOF
3444 if ac_fn_c_try_compile "$LINENO"; then :
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3449 main ()
3451 if (sizeof (($2)))
3452 return 0;
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3459 else
3460 eval "$3=yes"
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 eval ac_res=\$$3
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3468 $as_echo "$ac_res" >&6; }
3469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3471 } # ac_fn_c_check_type
3472 cat >config.log <<_ACEOF
3473 This file contains any messages produced by compilers while
3474 running configure, to aid debugging if configure makes a mistake.
3476 It was created by Wine $as_me 5.11, which was
3477 generated by GNU Autoconf 2.69. Invocation command line was
3479 $ $0 $@
3481 _ACEOF
3482 exec 5>>config.log
3484 cat <<_ASUNAME
3485 ## --------- ##
3486 ## Platform. ##
3487 ## --------- ##
3489 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3490 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3491 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3492 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3493 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3495 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3496 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3498 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3499 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3500 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3501 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3502 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3503 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3504 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3506 _ASUNAME
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 $as_echo "PATH: $as_dir"
3514 done
3515 IFS=$as_save_IFS
3517 } >&5
3519 cat >&5 <<_ACEOF
3522 ## ----------- ##
3523 ## Core tests. ##
3524 ## ----------- ##
3526 _ACEOF
3529 # Keep a trace of the command line.
3530 # Strip out --no-create and --no-recursion so they do not pile up.
3531 # Strip out --silent because we don't want to record it for future runs.
3532 # Also quote any args containing shell meta-characters.
3533 # Make two passes to allow for proper duplicate-argument suppression.
3534 ac_configure_args=
3535 ac_configure_args0=
3536 ac_configure_args1=
3537 ac_must_keep_next=false
3538 for ac_pass in 1 2
3540 for ac_arg
3542 case $ac_arg in
3543 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3545 | -silent | --silent | --silen | --sile | --sil)
3546 continue ;;
3547 *\'*)
3548 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3549 esac
3550 case $ac_pass in
3551 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3553 as_fn_append ac_configure_args1 " '$ac_arg'"
3554 if test $ac_must_keep_next = true; then
3555 ac_must_keep_next=false # Got value, back to normal.
3556 else
3557 case $ac_arg in
3558 *=* | --config-cache | -C | -disable-* | --disable-* \
3559 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3560 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3561 | -with-* | --with-* | -without-* | --without-* | --x)
3562 case "$ac_configure_args0 " in
3563 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3564 esac
3566 -* ) ac_must_keep_next=true ;;
3567 esac
3569 as_fn_append ac_configure_args " '$ac_arg'"
3571 esac
3572 done
3573 done
3574 { ac_configure_args0=; unset ac_configure_args0;}
3575 { ac_configure_args1=; unset ac_configure_args1;}
3577 # When interrupted or exit'd, cleanup temporary files, and complete
3578 # config.log. We remove comments because anyway the quotes in there
3579 # would cause problems or look ugly.
3580 # WARNING: Use '\'' to represent an apostrophe within the trap.
3581 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3582 trap 'exit_status=$?
3583 # Save into config.log some information that might help in debugging.
3585 echo
3587 $as_echo "## ---------------- ##
3588 ## Cache variables. ##
3589 ## ---------------- ##"
3590 echo
3591 # The following way of writing the cache mishandles newlines in values,
3593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3594 eval ac_val=\$$ac_var
3595 case $ac_val in #(
3596 *${as_nl}*)
3597 case $ac_var in #(
3598 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3599 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3600 esac
3601 case $ac_var in #(
3602 _ | IFS | as_nl) ;; #(
3603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3604 *) { eval $ac_var=; unset $ac_var;} ;;
3605 esac ;;
3606 esac
3607 done
3608 (set) 2>&1 |
3609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3610 *${as_nl}ac_space=\ *)
3611 sed -n \
3612 "s/'\''/'\''\\\\'\'''\''/g;
3613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3614 ;; #(
3616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3618 esac |
3619 sort
3621 echo
3623 $as_echo "## ----------------- ##
3624 ## Output variables. ##
3625 ## ----------------- ##"
3626 echo
3627 for ac_var in $ac_subst_vars
3629 eval ac_val=\$$ac_var
3630 case $ac_val in
3631 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3632 esac
3633 $as_echo "$ac_var='\''$ac_val'\''"
3634 done | sort
3635 echo
3637 if test -n "$ac_subst_files"; then
3638 $as_echo "## ------------------- ##
3639 ## File substitutions. ##
3640 ## ------------------- ##"
3641 echo
3642 for ac_var in $ac_subst_files
3644 eval ac_val=\$$ac_var
3645 case $ac_val in
3646 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3647 esac
3648 $as_echo "$ac_var='\''$ac_val'\''"
3649 done | sort
3650 echo
3653 if test -s confdefs.h; then
3654 $as_echo "## ----------- ##
3655 ## confdefs.h. ##
3656 ## ----------- ##"
3657 echo
3658 cat confdefs.h
3659 echo
3661 test "$ac_signal" != 0 &&
3662 $as_echo "$as_me: caught signal $ac_signal"
3663 $as_echo "$as_me: exit $exit_status"
3664 } >&5
3665 rm -f core *.core core.conftest.* &&
3666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3667 exit $exit_status
3669 for ac_signal in 1 2 13 15; do
3670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3671 done
3672 ac_signal=0
3674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3675 rm -f -r conftest* confdefs.h
3677 $as_echo "/* confdefs.h */" > confdefs.h
3679 # Predefined preprocessor variables.
3681 cat >>confdefs.h <<_ACEOF
3682 #define PACKAGE_NAME "$PACKAGE_NAME"
3683 _ACEOF
3685 cat >>confdefs.h <<_ACEOF
3686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3687 _ACEOF
3689 cat >>confdefs.h <<_ACEOF
3690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3691 _ACEOF
3693 cat >>confdefs.h <<_ACEOF
3694 #define PACKAGE_STRING "$PACKAGE_STRING"
3695 _ACEOF
3697 cat >>confdefs.h <<_ACEOF
3698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3699 _ACEOF
3701 cat >>confdefs.h <<_ACEOF
3702 #define PACKAGE_URL "$PACKAGE_URL"
3703 _ACEOF
3706 # Let the site file select an alternate cache file if it wants to.
3707 # Prefer an explicitly selected file to automatically selected ones.
3708 ac_site_file1=NONE
3709 ac_site_file2=NONE
3710 if test -n "$CONFIG_SITE"; then
3711 # We do not want a PATH search for config.site.
3712 case $CONFIG_SITE in #((
3713 -*) ac_site_file1=./$CONFIG_SITE;;
3714 */*) ac_site_file1=$CONFIG_SITE;;
3715 *) ac_site_file1=./$CONFIG_SITE;;
3716 esac
3717 elif test "x$prefix" != xNONE; then
3718 ac_site_file1=$prefix/share/config.site
3719 ac_site_file2=$prefix/etc/config.site
3720 else
3721 ac_site_file1=$ac_default_prefix/share/config.site
3722 ac_site_file2=$ac_default_prefix/etc/config.site
3724 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3726 test "x$ac_site_file" = xNONE && continue
3727 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3729 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3730 sed 's/^/| /' "$ac_site_file" >&5
3731 . "$ac_site_file" \
3732 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error $? "failed to load site script $ac_site_file
3735 See \`config.log' for more details" "$LINENO" 5; }
3737 done
3739 if test -r "$cache_file"; then
3740 # Some versions of bash will fail to source /dev/null (special files
3741 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3742 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3744 $as_echo "$as_me: loading cache $cache_file" >&6;}
3745 case $cache_file in
3746 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3747 *) . "./$cache_file";;
3748 esac
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3752 $as_echo "$as_me: creating cache $cache_file" >&6;}
3753 >$cache_file
3756 # Check that the precious variables saved in the cache have kept the same
3757 # value.
3758 ac_cache_corrupted=false
3759 for ac_var in $ac_precious_vars; do
3760 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3761 eval ac_new_set=\$ac_env_${ac_var}_set
3762 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3763 eval ac_new_val=\$ac_env_${ac_var}_value
3764 case $ac_old_set,$ac_new_set in
3765 set,)
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3767 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3768 ac_cache_corrupted=: ;;
3769 ,set)
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3771 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3772 ac_cache_corrupted=: ;;
3773 ,);;
3775 if test "x$ac_old_val" != "x$ac_new_val"; then
3776 # differences in whitespace do not lead to failure.
3777 ac_old_val_w=`echo x $ac_old_val`
3778 ac_new_val_w=`echo x $ac_new_val`
3779 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3781 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3782 ac_cache_corrupted=:
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3785 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3786 eval $ac_var=\$ac_old_val
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3789 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3791 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3792 fi;;
3793 esac
3794 # Pass precious variables to config.status.
3795 if test "$ac_new_set" = set; then
3796 case $ac_new_val in
3797 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3798 *) ac_arg=$ac_var=$ac_new_val ;;
3799 esac
3800 case " $ac_configure_args " in
3801 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3802 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3803 esac
3805 done
3806 if $ac_cache_corrupted; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3810 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3811 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3813 ## -------------------- ##
3814 ## Main body of script. ##
3815 ## -------------------- ##
3817 ac_ext=c
3818 ac_cpp='$CPP $CPPFLAGS'
3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3825 ac_config_headers="$ac_config_headers include/config.h"
3827 ac_aux_dir=
3828 for ac_dir in tools "$srcdir"/tools; do
3829 if test -f "$ac_dir/install-sh"; then
3830 ac_aux_dir=$ac_dir
3831 ac_install_sh="$ac_aux_dir/install-sh -c"
3832 break
3833 elif test -f "$ac_dir/install.sh"; then
3834 ac_aux_dir=$ac_dir
3835 ac_install_sh="$ac_aux_dir/install.sh -c"
3836 break
3837 elif test -f "$ac_dir/shtool"; then
3838 ac_aux_dir=$ac_dir
3839 ac_install_sh="$ac_aux_dir/shtool install -c"
3840 break
3842 done
3843 if test -z "$ac_aux_dir"; then
3844 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3847 # These three variables are undocumented and unsupported,
3848 # and are intended to be withdrawn in a future Autoconf release.
3849 # They can cause serious problems if a builder's source tree is in a directory
3850 # whose full name contains unusual characters.
3851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3857 libwine_version="1.0"
3861 # Check whether --enable-win16 was given.
3862 if test "${enable_win16+set}" = set; then :
3863 enableval=$enable_win16;
3866 # Check whether --enable-win64 was given.
3867 if test "${enable_win64+set}" = set; then :
3868 enableval=$enable_win64;
3871 # Check whether --enable-tests was given.
3872 if test "${enable_tests+set}" = set; then :
3873 enableval=$enable_tests;
3876 # Check whether --enable-maintainer-mode was given.
3877 if test "${enable_maintainer_mode+set}" = set; then :
3878 enableval=$enable_maintainer_mode;
3881 # Check whether --enable-werror was given.
3882 if test "${enable_werror+set}" = set; then :
3883 enableval=$enable_werror;
3888 # Check whether --with-alsa was given.
3889 if test "${with_alsa+set}" = set; then :
3890 withval=$with_alsa;
3894 # Check whether --with-capi was given.
3895 if test "${with_capi+set}" = set; then :
3896 withval=$with_capi;
3900 # Check whether --with-cms was given.
3901 if test "${with_cms+set}" = set; then :
3902 withval=$with_cms;
3906 # Check whether --with-coreaudio was given.
3907 if test "${with_coreaudio+set}" = set; then :
3908 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3912 # Check whether --with-cups was given.
3913 if test "${with_cups+set}" = set; then :
3914 withval=$with_cups;
3918 # Check whether --with-curses was given.
3919 if test "${with_curses+set}" = set; then :
3920 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3924 # Check whether --with-dbus was given.
3925 if test "${with_dbus+set}" = set; then :
3926 withval=$with_dbus;
3930 # Check whether --with-faudio was given.
3931 if test "${with_faudio+set}" = set; then :
3932 withval=$with_faudio;
3936 # Check whether --with-float-abi was given.
3937 if test "${with_float_abi+set}" = set; then :
3938 withval=$with_float_abi;
3942 # Check whether --with-fontconfig was given.
3943 if test "${with_fontconfig+set}" = set; then :
3944 withval=$with_fontconfig;
3948 # Check whether --with-freetype was given.
3949 if test "${with_freetype+set}" = set; then :
3950 withval=$with_freetype;
3954 # Check whether --with-gettext was given.
3955 if test "${with_gettext+set}" = set; then :
3956 withval=$with_gettext;
3960 # Check whether --with-gettextpo was given.
3961 if test "${with_gettextpo+set}" = set; then :
3962 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3966 # Check whether --with-gphoto was given.
3967 if test "${with_gphoto+set}" = set; then :
3968 withval=$with_gphoto;
3972 # Check whether --with-glu was given.
3973 if test "${with_glu+set}" = set; then :
3974 withval=$with_glu;
3978 # Check whether --with-gnutls was given.
3979 if test "${with_gnutls+set}" = set; then :
3980 withval=$with_gnutls;
3984 # Check whether --with-gsm was given.
3985 if test "${with_gsm+set}" = set; then :
3986 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3990 # Check whether --with-gssapi was given.
3991 if test "${with_gssapi+set}" = set; then :
3992 withval=$with_gssapi;
3996 # Check whether --with-gstreamer was given.
3997 if test "${with_gstreamer+set}" = set; then :
3998 withval=$with_gstreamer;
4002 # Check whether --with-hal was given.
4003 if test "${with_hal+set}" = set; then :
4004 withval=$with_hal;
4008 # Check whether --with-inotify was given.
4009 if test "${with_inotify+set}" = set; then :
4010 withval=$with_inotify;
4014 # Check whether --with-jpeg was given.
4015 if test "${with_jpeg+set}" = set; then :
4016 withval=$with_jpeg;
4020 # Check whether --with-krb5 was given.
4021 if test "${with_krb5+set}" = set; then :
4022 withval=$with_krb5;
4026 # Check whether --with-ldap was given.
4027 if test "${with_ldap+set}" = set; then :
4028 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4032 # Check whether --with-mingw was given.
4033 if test "${with_mingw+set}" = set; then :
4034 withval=$with_mingw;
4038 # Check whether --with-mpg123 was given.
4039 if test "${with_mpg123+set}" = set; then :
4040 withval=$with_mpg123;
4044 # Check whether --with-netapi was given.
4045 if test "${with_netapi+set}" = set; then :
4046 withval=$with_netapi;
4050 # Check whether --with-openal was given.
4051 if test "${with_openal+set}" = set; then :
4052 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4056 # Check whether --with-opencl was given.
4057 if test "${with_opencl+set}" = set; then :
4058 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4062 # Check whether --with-opengl was given.
4063 if test "${with_opengl+set}" = set; then :
4064 withval=$with_opengl;
4068 # Check whether --with-osmesa was given.
4069 if test "${with_osmesa+set}" = set; then :
4070 withval=$with_osmesa;
4074 # Check whether --with-oss was given.
4075 if test "${with_oss+set}" = set; then :
4076 withval=$with_oss;
4080 # Check whether --with-pcap was given.
4081 if test "${with_pcap+set}" = set; then :
4082 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4086 # Check whether --with-png was given.
4087 if test "${with_png+set}" = set; then :
4088 withval=$with_png;
4092 # Check whether --with-pthread was given.
4093 if test "${with_pthread+set}" = set; then :
4094 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4098 # Check whether --with-pulse was given.
4099 if test "${with_pulse+set}" = set; then :
4100 withval=$with_pulse;
4104 # Check whether --with-sane was given.
4105 if test "${with_sane+set}" = set; then :
4106 withval=$with_sane;
4110 # Check whether --with-sdl was given.
4111 if test "${with_sdl+set}" = set; then :
4112 withval=$with_sdl;
4116 # Check whether --with-tiff was given.
4117 if test "${with_tiff+set}" = set; then :
4118 withval=$with_tiff;
4122 # Check whether --with-udev was given.
4123 if test "${with_udev+set}" = set; then :
4124 withval=$with_udev;
4128 # Check whether --with-unwind was given.
4129 if test "${with_unwind+set}" = set; then :
4130 withval=$with_unwind;
4134 # Check whether --with-usb was given.
4135 if test "${with_usb+set}" = set; then :
4136 withval=$with_usb;
4140 # Check whether --with-v4l2 was given.
4141 if test "${with_v4l2+set}" = set; then :
4142 withval=$with_v4l2;
4146 # Check whether --with-vkd3d was given.
4147 if test "${with_vkd3d+set}" = set; then :
4148 withval=$with_vkd3d;
4152 # Check whether --with-vulkan was given.
4153 if test "${with_vulkan+set}" = set; then :
4154 withval=$with_vulkan;
4158 # Check whether --with-xcomposite was given.
4159 if test "${with_xcomposite+set}" = set; then :
4160 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4164 # Check whether --with-xcursor was given.
4165 if test "${with_xcursor+set}" = set; then :
4166 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4170 # Check whether --with-xfixes was given.
4171 if test "${with_xfixes+set}" = set; then :
4172 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4176 # Check whether --with-xinerama was given.
4177 if test "${with_xinerama+set}" = set; then :
4178 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4182 # Check whether --with-xinput was given.
4183 if test "${with_xinput+set}" = set; then :
4184 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4188 # Check whether --with-xinput2 was given.
4189 if test "${with_xinput2+set}" = set; then :
4190 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4194 # Check whether --with-xml was given.
4195 if test "${with_xml+set}" = set; then :
4196 withval=$with_xml;
4200 # Check whether --with-xrandr was given.
4201 if test "${with_xrandr+set}" = set; then :
4202 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4206 # Check whether --with-xrender was given.
4207 if test "${with_xrender+set}" = set; then :
4208 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4212 # Check whether --with-xshape was given.
4213 if test "${with_xshape+set}" = set; then :
4214 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4218 # Check whether --with-xshm was given.
4219 if test "${with_xshm+set}" = set; then :
4220 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4224 # Check whether --with-xslt was given.
4225 if test "${with_xslt+set}" = set; then :
4226 withval=$with_xslt;
4230 # Check whether --with-xxf86vm was given.
4231 if test "${with_xxf86vm+set}" = set; then :
4232 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
4237 # Check whether --with-wine-tools was given.
4238 if test "${with_wine_tools+set}" = set; then :
4239 withval=$with_wine_tools;
4243 # Check whether --with-wine64 was given.
4244 if test "${with_wine64+set}" = set; then :
4245 withval=$with_wine64;
4249 # Make sure we can run config.sub.
4250 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4251 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4254 $as_echo_n "checking build system type... " >&6; }
4255 if ${ac_cv_build+:} false; then :
4256 $as_echo_n "(cached) " >&6
4257 else
4258 ac_build_alias=$build_alias
4259 test "x$ac_build_alias" = x &&
4260 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4261 test "x$ac_build_alias" = x &&
4262 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4263 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4264 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4268 $as_echo "$ac_cv_build" >&6; }
4269 case $ac_cv_build in
4270 *-*-*) ;;
4271 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4272 esac
4273 build=$ac_cv_build
4274 ac_save_IFS=$IFS; IFS='-'
4275 set x $ac_cv_build
4276 shift
4277 build_cpu=$1
4278 build_vendor=$2
4279 shift; shift
4280 # Remember, the first character of IFS is used to create $*,
4281 # except with old shells:
4282 build_os=$*
4283 IFS=$ac_save_IFS
4284 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4288 $as_echo_n "checking host system type... " >&6; }
4289 if ${ac_cv_host+:} false; then :
4290 $as_echo_n "(cached) " >&6
4291 else
4292 if test "x$host_alias" = x; then
4293 ac_cv_host=$ac_cv_build
4294 else
4295 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4296 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4301 $as_echo "$ac_cv_host" >&6; }
4302 case $ac_cv_host in
4303 *-*-*) ;;
4304 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4305 esac
4306 host=$ac_cv_host
4307 ac_save_IFS=$IFS; IFS='-'
4308 set x $ac_cv_host
4309 shift
4310 host_cpu=$1
4311 host_vendor=$2
4312 shift; shift
4313 # Remember, the first character of IFS is used to create $*,
4314 # except with old shells:
4315 host_os=$*
4316 IFS=$ac_save_IFS
4317 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4323 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4324 set x ${MAKE-make}
4325 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4326 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 cat >conftest.make <<\_ACEOF
4330 SHELL = /bin/sh
4331 all:
4332 @echo '@@@%%%=$(MAKE)=@@@%%%'
4333 _ACEOF
4334 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4335 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4336 *@@@%%%=?*=@@@%%%*)
4337 eval ac_cv_prog_make_${ac_make}_set=yes;;
4339 eval ac_cv_prog_make_${ac_make}_set=no;;
4340 esac
4341 rm -f conftest.make
4343 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4345 $as_echo "yes" >&6; }
4346 SET_MAKE=
4347 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4350 SET_MAKE="MAKE=${MAKE-make}"
4353 ac_ext=c
4354 ac_cpp='$CPP $CPPFLAGS'
4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4358 if test -n "$ac_tool_prefix"; then
4359 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4360 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if ${ac_cv_prog_CC+:} false; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 if test -n "$CC"; then
4367 ac_cv_prog_CC="$CC" # Let the user override the test.
4368 else
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 for as_dir in $PATH
4372 IFS=$as_save_IFS
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 break 2
4380 done
4381 done
4382 IFS=$as_save_IFS
4386 CC=$ac_cv_prog_CC
4387 if test -n "$CC"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4389 $as_echo "$CC" >&6; }
4390 else
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4397 if test -z "$ac_cv_prog_CC"; then
4398 ac_ct_CC=$CC
4399 # Extract the first word of "gcc", so it can be a program name with args.
4400 set dummy gcc; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 if test -n "$ac_ct_CC"; then
4407 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_ac_ct_CC="gcc"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 break 2
4420 done
4421 done
4422 IFS=$as_save_IFS
4426 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4427 if test -n "$ac_ct_CC"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4429 $as_echo "$ac_ct_CC" >&6; }
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4435 if test "x$ac_ct_CC" = x; then
4436 CC=""
4437 else
4438 case $cross_compiling:$ac_tool_warned in
4439 yes:)
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4442 ac_tool_warned=yes ;;
4443 esac
4444 CC=$ac_ct_CC
4446 else
4447 CC="$ac_cv_prog_CC"
4450 if test -z "$CC"; then
4451 if test -n "$ac_tool_prefix"; then
4452 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4453 set dummy ${ac_tool_prefix}cc; ac_word=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if ${ac_cv_prog_CC+:} false; then :
4457 $as_echo_n "(cached) " >&6
4458 else
4459 if test -n "$CC"; then
4460 ac_cv_prog_CC="$CC" # Let the user override the test.
4461 else
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 for as_dir in $PATH
4465 IFS=$as_save_IFS
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4469 ac_cv_prog_CC="${ac_tool_prefix}cc"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 break 2
4473 done
4474 done
4475 IFS=$as_save_IFS
4479 CC=$ac_cv_prog_CC
4480 if test -n "$CC"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4482 $as_echo "$CC" >&6; }
4483 else
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4491 if test -z "$CC"; then
4492 # Extract the first word of "cc", so it can be a program name with args.
4493 set dummy cc; ac_word=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_prog_CC+:} false; then :
4497 $as_echo_n "(cached) " >&6
4498 else
4499 if test -n "$CC"; then
4500 ac_cv_prog_CC="$CC" # Let the user override the test.
4501 else
4502 ac_prog_rejected=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4511 ac_prog_rejected=yes
4512 continue
4514 ac_cv_prog_CC="cc"
4515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 break 2
4518 done
4519 done
4520 IFS=$as_save_IFS
4522 if test $ac_prog_rejected = yes; then
4523 # We found a bogon in the path, so make sure we never use it.
4524 set dummy $ac_cv_prog_CC
4525 shift
4526 if test $# != 0; then
4527 # We chose a different compiler from the bogus one.
4528 # However, it has the same basename, so the bogon will be chosen
4529 # first if we set CC to just the basename; use the full file name.
4530 shift
4531 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4536 CC=$ac_cv_prog_CC
4537 if test -n "$CC"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4539 $as_echo "$CC" >&6; }
4540 else
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4547 if test -z "$CC"; then
4548 if test -n "$ac_tool_prefix"; then
4549 for ac_prog in cl.exe
4551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if ${ac_cv_prog_CC+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 if test -n "$CC"; then
4559 ac_cv_prog_CC="$CC" # Let the user override the test.
4560 else
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $PATH
4564 IFS=$as_save_IFS
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 break 2
4572 done
4573 done
4574 IFS=$as_save_IFS
4578 CC=$ac_cv_prog_CC
4579 if test -n "$CC"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4581 $as_echo "$CC" >&6; }
4582 else
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4588 test -n "$CC" && break
4589 done
4591 if test -z "$CC"; then
4592 ac_ct_CC=$CC
4593 for ac_prog in cl.exe
4595 # Extract the first word of "$ac_prog", so it can be a program name with args.
4596 set dummy $ac_prog; ac_word=$2
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4598 $as_echo_n "checking for $ac_word... " >&6; }
4599 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 if test -n "$ac_ct_CC"; then
4603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4604 else
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 for as_dir in $PATH
4608 IFS=$as_save_IFS
4609 test -z "$as_dir" && as_dir=.
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4612 ac_cv_prog_ac_ct_CC="$ac_prog"
4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 break 2
4616 done
4617 done
4618 IFS=$as_save_IFS
4622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4623 if test -n "$ac_ct_CC"; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4625 $as_echo "$ac_ct_CC" >&6; }
4626 else
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4632 test -n "$ac_ct_CC" && break
4633 done
4635 if test "x$ac_ct_CC" = x; then
4636 CC=""
4637 else
4638 case $cross_compiling:$ac_tool_warned in
4639 yes:)
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4642 ac_tool_warned=yes ;;
4643 esac
4644 CC=$ac_ct_CC
4651 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4653 as_fn_error $? "no acceptable C compiler found in \$PATH
4654 See \`config.log' for more details" "$LINENO" 5; }
4656 # Provide some information about the compiler.
4657 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4658 set X $ac_compile
4659 ac_compiler=$2
4660 for ac_option in --version -v -V -qversion; do
4661 { { ac_try="$ac_compiler $ac_option >&5"
4662 case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667 $as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4669 ac_status=$?
4670 if test -s conftest.err; then
4671 sed '10a\
4672 ... rest of stderr output deleted ...
4673 10q' conftest.err >conftest.er1
4674 cat conftest.er1 >&5
4676 rm -f conftest.er1 conftest.err
4677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678 test $ac_status = 0; }
4679 done
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4685 main ()
4689 return 0;
4691 _ACEOF
4692 ac_clean_files_save=$ac_clean_files
4693 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4694 # Try to create an executable without -o first, disregard a.out.
4695 # It will help us diagnose broken compilers, and finding out an intuition
4696 # of exeext.
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4698 $as_echo_n "checking whether the C compiler works... " >&6; }
4699 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4701 # The possible output files:
4702 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4704 ac_rmfiles=
4705 for ac_file in $ac_files
4707 case $ac_file in
4708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4709 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4710 esac
4711 done
4712 rm -f $ac_rmfiles
4714 if { { ac_try="$ac_link_default"
4715 case "(($ac_try" in
4716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717 *) ac_try_echo=$ac_try;;
4718 esac
4719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4720 $as_echo "$ac_try_echo"; } >&5
4721 (eval "$ac_link_default") 2>&5
4722 ac_status=$?
4723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4724 test $ac_status = 0; }; then :
4725 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4726 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4727 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4728 # so that the user can short-circuit this test for compilers unknown to
4729 # Autoconf.
4730 for ac_file in $ac_files ''
4732 test -f "$ac_file" || continue
4733 case $ac_file in
4734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4736 [ab].out )
4737 # We found the default executable, but exeext='' is most
4738 # certainly right.
4739 break;;
4740 *.* )
4741 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4742 then :; else
4743 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4745 # We set ac_cv_exeext here because the later test for it is not
4746 # safe: cross compilers may not add the suffix if given an `-o'
4747 # argument, so we may need to know it at that point already.
4748 # Even if this section looks crufty: it has the advantage of
4749 # actually working.
4750 break;;
4752 break;;
4753 esac
4754 done
4755 test "$ac_cv_exeext" = no && ac_cv_exeext=
4757 else
4758 ac_file=''
4760 if test -z "$ac_file"; then :
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4763 $as_echo "$as_me: failed program was:" >&5
4764 sed 's/^/| /' conftest.$ac_ext >&5
4766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4768 as_fn_error 77 "C compiler cannot create executables
4769 See \`config.log' for more details" "$LINENO" 5; }
4770 else
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4772 $as_echo "yes" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4775 $as_echo_n "checking for C compiler default output file name... " >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4777 $as_echo "$ac_file" >&6; }
4778 ac_exeext=$ac_cv_exeext
4780 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4781 ac_clean_files=$ac_clean_files_save
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4783 $as_echo_n "checking for suffix of executables... " >&6; }
4784 if { { ac_try="$ac_link"
4785 case "(($ac_try" in
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4788 esac
4789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4790 $as_echo "$ac_try_echo"; } >&5
4791 (eval "$ac_link") 2>&5
4792 ac_status=$?
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }; then :
4795 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4796 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4797 # work properly (i.e., refer to `conftest.exe'), while it won't with
4798 # `rm'.
4799 for ac_file in conftest.exe conftest conftest.*; do
4800 test -f "$ac_file" || continue
4801 case $ac_file in
4802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4803 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4804 break;;
4805 * ) break;;
4806 esac
4807 done
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4812 See \`config.log' for more details" "$LINENO" 5; }
4814 rm -f conftest conftest$ac_cv_exeext
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4816 $as_echo "$ac_cv_exeext" >&6; }
4818 rm -f conftest.$ac_ext
4819 EXEEXT=$ac_cv_exeext
4820 ac_exeext=$EXEEXT
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4823 #include <stdio.h>
4825 main ()
4827 FILE *f = fopen ("conftest.out", "w");
4828 return ferror (f) || fclose (f) != 0;
4831 return 0;
4833 _ACEOF
4834 ac_clean_files="$ac_clean_files conftest.out"
4835 # Check that the compiler produces executables we can run. If not, either
4836 # the compiler is broken, or we cross compile.
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4838 $as_echo_n "checking whether we are cross compiling... " >&6; }
4839 if test "$cross_compiling" != yes; then
4840 { { ac_try="$ac_link"
4841 case "(($ac_try" in
4842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4843 *) ac_try_echo=$ac_try;;
4844 esac
4845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4846 $as_echo "$ac_try_echo"; } >&5
4847 (eval "$ac_link") 2>&5
4848 ac_status=$?
4849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4850 test $ac_status = 0; }
4851 if { ac_try='./conftest$ac_cv_exeext'
4852 { { case "(($ac_try" in
4853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854 *) ac_try_echo=$ac_try;;
4855 esac
4856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4857 $as_echo "$ac_try_echo"; } >&5
4858 (eval "$ac_try") 2>&5
4859 ac_status=$?
4860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4861 test $ac_status = 0; }; }; then
4862 cross_compiling=no
4863 else
4864 if test "$cross_compiling" = maybe; then
4865 cross_compiling=yes
4866 else
4867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4869 as_fn_error $? "cannot run C compiled programs.
4870 If you meant to cross compile, use \`--host'.
4871 See \`config.log' for more details" "$LINENO" 5; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4876 $as_echo "$cross_compiling" >&6; }
4878 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4879 ac_clean_files=$ac_clean_files_save
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4881 $as_echo_n "checking for suffix of object files... " >&6; }
4882 if ${ac_cv_objext+:} false; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 rm -f conftest.o conftest.obj
4897 if { { ac_try="$ac_compile"
4898 case "(($ac_try" in
4899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900 *) ac_try_echo=$ac_try;;
4901 esac
4902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4903 $as_echo "$ac_try_echo"; } >&5
4904 (eval "$ac_compile") 2>&5
4905 ac_status=$?
4906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4907 test $ac_status = 0; }; then :
4908 for ac_file in conftest.o conftest.obj conftest.*; do
4909 test -f "$ac_file" || continue;
4910 case $ac_file in
4911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4912 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4913 break;;
4914 esac
4915 done
4916 else
4917 $as_echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4922 as_fn_error $? "cannot compute suffix of object files: cannot compile
4923 See \`config.log' for more details" "$LINENO" 5; }
4925 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4928 $as_echo "$ac_cv_objext" >&6; }
4929 OBJEXT=$ac_cv_objext
4930 ac_objext=$OBJEXT
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4932 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4933 if ${ac_cv_c_compiler_gnu+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4940 main ()
4942 #ifndef __GNUC__
4943 choke me
4944 #endif
4947 return 0;
4949 _ACEOF
4950 if ac_fn_c_try_compile "$LINENO"; then :
4951 ac_compiler_gnu=yes
4952 else
4953 ac_compiler_gnu=no
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4960 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4961 if test $ac_compiler_gnu = yes; then
4962 GCC=yes
4963 else
4964 GCC=
4966 ac_test_CFLAGS=${CFLAGS+set}
4967 ac_save_CFLAGS=$CFLAGS
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4969 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4970 if ${ac_cv_prog_cc_g+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 ac_save_c_werror_flag=$ac_c_werror_flag
4974 ac_c_werror_flag=yes
4975 ac_cv_prog_cc_g=no
4976 CFLAGS="-g"
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4981 main ()
4985 return 0;
4987 _ACEOF
4988 if ac_fn_c_try_compile "$LINENO"; then :
4989 ac_cv_prog_cc_g=yes
4990 else
4991 CFLAGS=""
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
5000 return 0;
5002 _ACEOF
5003 if ac_fn_c_try_compile "$LINENO"; then :
5005 else
5006 ac_c_werror_flag=$ac_save_c_werror_flag
5007 CFLAGS="-g"
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5012 main ()
5016 return 0;
5018 _ACEOF
5019 if ac_fn_c_try_compile "$LINENO"; then :
5020 ac_cv_prog_cc_g=yes
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 ac_c_werror_flag=$ac_save_c_werror_flag
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5030 $as_echo "$ac_cv_prog_cc_g" >&6; }
5031 if test "$ac_test_CFLAGS" = set; then
5032 CFLAGS=$ac_save_CFLAGS
5033 elif test $ac_cv_prog_cc_g = yes; then
5034 if test "$GCC" = yes; then
5035 CFLAGS="-g -O2"
5036 else
5037 CFLAGS="-g"
5039 else
5040 if test "$GCC" = yes; then
5041 CFLAGS="-O2"
5042 else
5043 CFLAGS=
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5047 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5048 if ${ac_cv_prog_cc_c89+:} false; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 ac_cv_prog_cc_c89=no
5052 ac_save_CC=$CC
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5055 #include <stdarg.h>
5056 #include <stdio.h>
5057 struct stat;
5058 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5059 struct buf { int x; };
5060 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5061 static char *e (p, i)
5062 char **p;
5063 int i;
5065 return p[i];
5067 static char *f (char * (*g) (char **, int), char **p, ...)
5069 char *s;
5070 va_list v;
5071 va_start (v,p);
5072 s = g (p, va_arg (v,int));
5073 va_end (v);
5074 return s;
5077 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5078 function prototypes and stuff, but not '\xHH' hex character constants.
5079 These don't provoke an error unfortunately, instead are silently treated
5080 as 'x'. The following induces an error, until -std is added to get
5081 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5082 array size at least. It's necessary to write '\x00'==0 to get something
5083 that's true only with -std. */
5084 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5086 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5087 inside strings and character constants. */
5088 #define FOO(x) 'x'
5089 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5091 int test (int i, double x);
5092 struct s1 {int (*f) (int a);};
5093 struct s2 {int (*f) (double a);};
5094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5095 int argc;
5096 char **argv;
5098 main ()
5100 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5102 return 0;
5104 _ACEOF
5105 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5106 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5108 CC="$ac_save_CC $ac_arg"
5109 if ac_fn_c_try_compile "$LINENO"; then :
5110 ac_cv_prog_cc_c89=$ac_arg
5112 rm -f core conftest.err conftest.$ac_objext
5113 test "x$ac_cv_prog_cc_c89" != "xno" && break
5114 done
5115 rm -f conftest.$ac_ext
5116 CC=$ac_save_CC
5119 # AC_CACHE_VAL
5120 case "x$ac_cv_prog_cc_c89" in
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5123 $as_echo "none needed" >&6; } ;;
5124 xno)
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5126 $as_echo "unsupported" >&6; } ;;
5128 CC="$CC $ac_cv_prog_cc_c89"
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5130 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5131 esac
5132 if test "x$ac_cv_prog_cc_c89" != xno; then :
5136 ac_ext=c
5137 ac_cpp='$CPP $CPPFLAGS'
5138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5142 ac_ext=cpp
5143 ac_cpp='$CXXCPP $CPPFLAGS'
5144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5147 if test -z "$CXX"; then
5148 if test -n "$CCC"; then
5149 CXX=$CCC
5150 else
5151 if test -n "$ac_tool_prefix"; then
5152 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_CXX+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$CXX"; then
5162 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 CXX=$ac_cv_prog_CXX
5182 if test -n "$CXX"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5184 $as_echo "$CXX" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 test -n "$CXX" && break
5192 done
5194 if test -z "$CXX"; then
5195 ac_ct_CXX=$CXX
5196 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy $ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$ac_ct_CXX"; then
5206 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_ac_ct_CXX="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5226 if test -n "$ac_ct_CXX"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5228 $as_echo "$ac_ct_CXX" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$ac_ct_CXX" && break
5236 done
5238 if test "x$ac_ct_CXX" = x; then
5239 CXX="g++"
5240 else
5241 case $cross_compiling:$ac_tool_warned in
5242 yes:)
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned=yes ;;
5246 esac
5247 CXX=$ac_ct_CXX
5253 # Provide some information about the compiler.
5254 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5255 set X $ac_compile
5256 ac_compiler=$2
5257 for ac_option in --version -v -V -qversion; do
5258 { { ac_try="$ac_compiler $ac_option >&5"
5259 case "(($ac_try" in
5260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 *) ac_try_echo=$ac_try;;
5262 esac
5263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5264 $as_echo "$ac_try_echo"; } >&5
5265 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5266 ac_status=$?
5267 if test -s conftest.err; then
5268 sed '10a\
5269 ... rest of stderr output deleted ...
5270 10q' conftest.err >conftest.er1
5271 cat conftest.er1 >&5
5273 rm -f conftest.er1 conftest.err
5274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5275 test $ac_status = 0; }
5276 done
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5279 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5280 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5281 $as_echo_n "(cached) " >&6
5282 else
5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5287 main ()
5289 #ifndef __GNUC__
5290 choke me
5291 #endif
5294 return 0;
5296 _ACEOF
5297 if ac_fn_cxx_try_compile "$LINENO"; then :
5298 ac_compiler_gnu=yes
5299 else
5300 ac_compiler_gnu=no
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5307 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5308 if test $ac_compiler_gnu = yes; then
5309 GXX=yes
5310 else
5311 GXX=
5313 ac_test_CXXFLAGS=${CXXFLAGS+set}
5314 ac_save_CXXFLAGS=$CXXFLAGS
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5316 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5317 if ${ac_cv_prog_cxx_g+:} false; then :
5318 $as_echo_n "(cached) " >&6
5319 else
5320 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5321 ac_cxx_werror_flag=yes
5322 ac_cv_prog_cxx_g=no
5323 CXXFLAGS="-g"
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main ()
5332 return 0;
5334 _ACEOF
5335 if ac_fn_cxx_try_compile "$LINENO"; then :
5336 ac_cv_prog_cxx_g=yes
5337 else
5338 CXXFLAGS=""
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5343 main ()
5347 return 0;
5349 _ACEOF
5350 if ac_fn_cxx_try_compile "$LINENO"; then :
5352 else
5353 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5354 CXXFLAGS="-g"
5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5359 main ()
5363 return 0;
5365 _ACEOF
5366 if ac_fn_cxx_try_compile "$LINENO"; then :
5367 ac_cv_prog_cxx_g=yes
5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5377 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5378 if test "$ac_test_CXXFLAGS" = set; then
5379 CXXFLAGS=$ac_save_CXXFLAGS
5380 elif test $ac_cv_prog_cxx_g = yes; then
5381 if test "$GXX" = yes; then
5382 CXXFLAGS="-g -O2"
5383 else
5384 CXXFLAGS="-g"
5386 else
5387 if test "$GXX" = yes; then
5388 CXXFLAGS="-O2"
5389 else
5390 CXXFLAGS=
5393 ac_ext=c
5394 ac_cpp='$CPP $CPPFLAGS'
5395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5399 if test -n "$ac_tool_prefix"; then
5400 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5401 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_CPPBIN+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$CPPBIN"; then
5408 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 CPPBIN=$ac_cv_prog_CPPBIN
5428 if test -n "$CPPBIN"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5430 $as_echo "$CPPBIN" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5438 if test -z "$ac_cv_prog_CPPBIN"; then
5439 ac_ct_CPPBIN=$CPPBIN
5440 # Extract the first word of "cpp", so it can be a program name with args.
5441 set dummy cpp; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5445 $as_echo_n "(cached) " >&6
5446 else
5447 if test -n "$ac_ct_CPPBIN"; then
5448 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_ac_ct_CPPBIN="cpp"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5461 done
5462 done
5463 IFS=$as_save_IFS
5467 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5468 if test -n "$ac_ct_CPPBIN"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5470 $as_echo "$ac_ct_CPPBIN" >&6; }
5471 else
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5476 if test "x$ac_ct_CPPBIN" = x; then
5477 CPPBIN="cpp"
5478 else
5479 case $cross_compiling:$ac_tool_warned in
5480 yes:)
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5483 ac_tool_warned=yes ;;
5484 esac
5485 CPPBIN=$ac_ct_CPPBIN
5487 else
5488 CPPBIN="$ac_cv_prog_CPPBIN"
5492 cat >>confdefs.h <<_ACEOF
5493 #define EXEEXT "$ac_exeext"
5494 _ACEOF
5496 if test -n "$ac_tool_prefix"; then
5497 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5498 set dummy ${ac_tool_prefix}ld; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_LD+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$LD"; then
5505 ac_cv_prog_LD="$LD" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_LD="${ac_tool_prefix}ld"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 LD=$ac_cv_prog_LD
5525 if test -n "$LD"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5527 $as_echo "$LD" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5535 if test -z "$ac_cv_prog_LD"; then
5536 ac_ct_LD=$LD
5537 # Extract the first word of "ld", so it can be a program name with args.
5538 set dummy ld; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$ac_ct_LD"; then
5545 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_LD="ld"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5565 if test -n "$ac_ct_LD"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5567 $as_echo "$ac_ct_LD" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5573 if test "x$ac_ct_LD" = x; then
5574 LD=""
5575 else
5576 case $cross_compiling:$ac_tool_warned in
5577 yes:)
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned=yes ;;
5581 esac
5582 LD=$ac_ct_LD
5584 else
5585 LD="$ac_cv_prog_LD"
5589 case $host in
5590 *-darwin*)
5591 with_fontconfig=${with_fontconfig:-no}
5593 *-mingw32*|*-cygwin*)
5594 enable_win16=${enable_win16:-no}
5595 with_mingw=${with_mingw:-no}
5596 CFLAGS="$CFLAGS -D_WIN32"
5598 esac
5600 case $host in
5601 x86_64*|amd64*)
5602 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5603 then
5604 CC="$CC -m32"
5605 CXX="$CXX -m32"
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5608 $as_echo_n "checking whether $CC works... " >&6; }
5609 if ${wine_cv_cc_m32+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5616 main ()
5620 return 0;
5622 _ACEOF
5623 if ac_fn_c_try_link "$LINENO"; then :
5624 wine_cv_cc_m32=yes
5625 else
5626 wine_cv_cc_m32=no
5628 rm -f core conftest.err conftest.$ac_objext \
5629 conftest$ac_exeext conftest.$ac_ext
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5632 $as_echo "$wine_cv_cc_m32" >&6; }
5633 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
5634 host_cpu="i386"
5635 notice_platform="32-bit "
5636 TARGETFLAGS="-m32"
5638 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5639 export PKG_CONFIG_PATH
5640 enable_win16=${enable_win16:-yes}
5641 with_unwind=${with_unwind:-no}
5642 else
5643 if test "x${GCC}" = "xyes"
5644 then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5646 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5647 if ${wine_cv_builtin_ms_va_list+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5652 #include <stdarg.h>
5654 main ()
5656 void func(__builtin_ms_va_list *args);
5658 return 0;
5660 _ACEOF
5661 if ac_fn_c_try_compile "$LINENO"; then :
5662 wine_cv_builtin_ms_va_list=yes
5663 else
5664 wine_cv_builtin_ms_va_list=no
5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5669 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5670 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
5672 CC="$CC -m64"
5673 CXX="$CXX -m64"
5674 host_cpu="x86_64"
5675 notice_platform="64-bit "
5676 TARGETFLAGS="-m64"
5680 arm*)
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5682 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5683 if ${wine_cv_thumb+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5688 int ac_test(int i) { return i; }
5690 main ()
5692 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5694 return 0;
5696 _ACEOF
5697 if ac_fn_c_try_link "$LINENO"; then :
5698 wine_cv_thumb=yes
5699 else
5700 wine_cv_thumb=no
5702 rm -f core conftest.err conftest.$ac_objext \
5703 conftest$ac_exeext conftest.$ac_ext
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5706 $as_echo "$wine_cv_thumb" >&6; }
5707 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5708 case $with_float_abi in
5709 soft|softfp|hard)
5710 float_abi=$with_float_abi ;;
5712 case $host_os in
5713 *eabihf)
5714 float_abi=hard ;;
5716 float_abi=softfp
5717 saved_CFLAGS=$CFLAGS
5718 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5720 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5721 if ${wine_cv_float_abi+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5725 /* end confdefs.h. */
5728 main ()
5730 asm("vmrs r2,fpscr");
5732 return 0;
5734 _ACEOF
5735 if ac_fn_c_try_link "$LINENO"; then :
5736 wine_cv_float_abi=yes
5737 else
5738 wine_cv_float_abi=no
5740 rm -f core conftest.err conftest.$ac_objext \
5741 conftest$ac_exeext conftest.$ac_ext
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5744 $as_echo "$wine_cv_float_abi" >&6; }
5745 if test $wine_cv_float_abi = no
5746 then
5747 float_abi=soft
5748 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5750 CFLAGS=$saved_CFLAGS
5751 esac
5753 esac
5754 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5755 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5758 aarch64*)
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5760 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5761 if ${wine_cv_builtin_ms_va_list+:} false; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5765 /* end confdefs.h. */
5766 #include <stdarg.h>
5768 main ()
5770 void func(__builtin_ms_va_list *args);
5772 return 0;
5774 _ACEOF
5775 if ac_fn_c_try_compile "$LINENO"; then :
5776 wine_cv_builtin_ms_va_list=yes
5777 else
5778 wine_cv_builtin_ms_va_list=no
5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5783 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5784 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5786 i[3456789]86*)
5787 enable_win16=${enable_win16:-yes}
5788 with_unwind=${with_unwind:-no}
5790 esac
5792 enable_win16=${enable_win16:-no}
5793 enable_win64=${enable_win64:-no}
5795 enable_winetest=${enable_winetest:-$enable_tests}
5797 if test "x$enable_win64" = "xyes"
5798 then
5799 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5800 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5801 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5805 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5806 if ${wine_cv_toolsdir+:} false; then :
5807 $as_echo_n "(cached) " >&6
5808 else
5809 wine_cv_toolsdir="$with_wine_tools"
5810 if test -z "$with_wine_tools"; then
5811 if test "$cross_compiling" = "yes"; then
5812 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5813 elif test -n "$with_wine64"; then
5814 wine_cv_toolsdir="$with_wine64"
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5819 $as_echo "$wine_cv_toolsdir" >&6; }
5820 if test -z "$wine_cv_toolsdir"; then
5821 wine_makedep=tools/makedep
5822 TOOLSDIR="\$(top_builddir)"
5824 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5825 wine_makedep=$wine_cv_toolsdir/tools/makedep
5826 case "$wine_cv_toolsdir" in
5827 /*) TOOLSDIR=$wine_cv_toolsdir
5829 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5831 esac
5832 enable_tools=${enable_tools:-no}
5833 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5834 else
5835 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5837 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5838 then
5839 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5843 for ac_prog in flex
5845 # Extract the first word of "$ac_prog", so it can be a program name with args.
5846 set dummy $ac_prog; ac_word=$2
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848 $as_echo_n "checking for $ac_word... " >&6; }
5849 if ${ac_cv_prog_FLEX+:} false; then :
5850 $as_echo_n "(cached) " >&6
5851 else
5852 if test -n "$FLEX"; then
5853 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5854 else
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856 for as_dir in $PATH
5858 IFS=$as_save_IFS
5859 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5862 ac_cv_prog_FLEX="$ac_prog"
5863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 break 2
5866 done
5867 done
5868 IFS=$as_save_IFS
5872 FLEX=$ac_cv_prog_FLEX
5873 if test -n "$FLEX"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5875 $as_echo "$FLEX" >&6; }
5876 else
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 $as_echo "no" >&6; }
5882 test -n "$FLEX" && break
5883 done
5884 test -n "$FLEX" || FLEX="none"
5886 if test "$FLEX" = "none"
5887 then
5888 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5891 $as_echo_n "checking whether flex is recent enough... " >&6; }
5892 if ${wine_cv_recent_flex+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 cat >conftest.l <<EOF
5896 %top{
5897 #include "prediluvian.h"
5901 if $FLEX -t conftest.l >/dev/null 2>&5
5902 then
5903 wine_cv_recent_flex=yes
5904 else
5905 wine_cv_recent_flex=no
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5909 $as_echo "$wine_cv_recent_flex" >&6; }
5910 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
5912 for ac_prog in bison
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy $ac_prog; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_BISON+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$BISON"; then
5922 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_BISON="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 BISON=$ac_cv_prog_BISON
5942 if test -n "$BISON"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5944 $as_echo "$BISON" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$BISON" && break
5952 done
5953 test -n "$BISON" || BISON="none"
5955 if test "$BISON" = "none"
5956 then
5957 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5960 $as_echo_n "checking whether bison is recent enough... " >&6; }
5961 if ${wine_cv_recent_bison+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 cat >conftest.y <<EOF
5965 %define parse.error verbose
5967 empty: ;
5969 if $BISON conftest.y >/dev/null 2>&5
5970 then
5971 wine_cv_recent_bison=yes
5972 else
5973 wine_cv_recent_bison=no
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5977 $as_echo "$wine_cv_recent_bison" >&6; }
5978 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
5980 if test -n "$ac_tool_prefix"; then
5981 for ac_prog in ar gar
5983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_AR+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 if test -n "$AR"; then
5991 ac_cv_prog_AR="$AR" # Let the user override the test.
5992 else
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH
5996 IFS=$as_save_IFS
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 AR=$ac_cv_prog_AR
6011 if test -n "$AR"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6013 $as_echo "$AR" >&6; }
6014 else
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6020 test -n "$AR" && break
6021 done
6023 if test -z "$AR"; then
6024 ac_ct_AR=$AR
6025 for ac_prog in ar gar
6027 # Extract the first word of "$ac_prog", so it can be a program name with args.
6028 set dummy $ac_prog; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6032 $as_echo_n "(cached) " >&6
6033 else
6034 if test -n "$ac_ct_AR"; then
6035 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6036 else
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in $PATH
6040 IFS=$as_save_IFS
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6044 ac_cv_prog_ac_ct_AR="$ac_prog"
6045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 break 2
6048 done
6049 done
6050 IFS=$as_save_IFS
6054 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6055 if test -n "$ac_ct_AR"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6057 $as_echo "$ac_ct_AR" >&6; }
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6064 test -n "$ac_ct_AR" && break
6065 done
6067 if test "x$ac_ct_AR" = x; then
6068 AR="ar"
6069 else
6070 case $cross_compiling:$ac_tool_warned in
6071 yes:)
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned=yes ;;
6075 esac
6076 AR=$ac_ct_AR
6080 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}strip; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if ${ac_cv_prog_STRIP+:} false; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 if test -n "$STRIP"; then
6089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6094 IFS=$as_save_IFS
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 break 2
6102 done
6103 done
6104 IFS=$as_save_IFS
6108 STRIP=$ac_cv_prog_STRIP
6109 if test -n "$STRIP"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6111 $as_echo "$STRIP" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6119 if test -z "$ac_cv_prog_STRIP"; then
6120 ac_ct_STRIP=$STRIP
6121 # Extract the first word of "strip", so it can be a program name with args.
6122 set dummy strip; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 if test -n "$ac_ct_STRIP"; then
6129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6134 IFS=$as_save_IFS
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_ac_ct_STRIP="strip"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 break 2
6142 done
6143 done
6144 IFS=$as_save_IFS
6148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6149 if test -n "$ac_ct_STRIP"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6151 $as_echo "$ac_ct_STRIP" >&6; }
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6157 if test "x$ac_ct_STRIP" = x; then
6158 STRIP="strip"
6159 else
6160 case $cross_compiling:$ac_tool_warned in
6161 yes:)
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6164 ac_tool_warned=yes ;;
6165 esac
6166 STRIP=$ac_ct_STRIP
6168 else
6169 STRIP="$ac_cv_prog_STRIP"
6172 if test -n "$ac_tool_prefix"; then
6173 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6174 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176 $as_echo_n "checking for $ac_word... " >&6; }
6177 if ${ac_cv_prog_RANLIB+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 if test -n "$RANLIB"; then
6181 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6186 IFS=$as_save_IFS
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 break 2
6194 done
6195 done
6196 IFS=$as_save_IFS
6200 RANLIB=$ac_cv_prog_RANLIB
6201 if test -n "$RANLIB"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6203 $as_echo "$RANLIB" >&6; }
6204 else
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 $as_echo "no" >&6; }
6211 if test -z "$ac_cv_prog_RANLIB"; then
6212 ac_ct_RANLIB=$RANLIB
6213 # Extract the first word of "ranlib", so it can be a program name with args.
6214 set dummy ranlib; ac_word=$2
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216 $as_echo_n "checking for $ac_word... " >&6; }
6217 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6218 $as_echo_n "(cached) " >&6
6219 else
6220 if test -n "$ac_ct_RANLIB"; then
6221 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6222 else
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6224 for as_dir in $PATH
6226 IFS=$as_save_IFS
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6230 ac_cv_prog_ac_ct_RANLIB="ranlib"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6232 break 2
6234 done
6235 done
6236 IFS=$as_save_IFS
6240 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6241 if test -n "$ac_ct_RANLIB"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6243 $as_echo "$ac_ct_RANLIB" >&6; }
6244 else
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 $as_echo "no" >&6; }
6249 if test "x$ac_ct_RANLIB" = x; then
6250 RANLIB=":"
6251 else
6252 case $cross_compiling:$ac_tool_warned in
6253 yes:)
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6256 ac_tool_warned=yes ;;
6257 esac
6258 RANLIB=$ac_ct_RANLIB
6260 else
6261 RANLIB="$ac_cv_prog_RANLIB"
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6265 $as_echo_n "checking whether ln -s works... " >&6; }
6266 LN_S=$as_ln_s
6267 if test "$LN_S" = "ln -s"; then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6269 $as_echo "yes" >&6; }
6270 else
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6272 $as_echo "no, using $LN_S" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6276 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6277 if ${ac_cv_path_GREP+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -z "$GREP"; then
6281 ac_path_GREP_found=false
6282 # Loop through the user's path and test for each of PROGNAME-LIST
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_prog in grep ggrep; do
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6291 as_fn_executable_p "$ac_path_GREP" || continue
6292 # Check for GNU ac_path_GREP and select it if it is found.
6293 # Check for GNU $ac_path_GREP
6294 case `"$ac_path_GREP" --version 2>&1` in
6295 *GNU*)
6296 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6298 ac_count=0
6299 $as_echo_n 0123456789 >"conftest.in"
6300 while :
6302 cat "conftest.in" "conftest.in" >"conftest.tmp"
6303 mv "conftest.tmp" "conftest.in"
6304 cp "conftest.in" "conftest.nl"
6305 $as_echo 'GREP' >> "conftest.nl"
6306 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6308 as_fn_arith $ac_count + 1 && ac_count=$as_val
6309 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6310 # Best one so far, save it but keep looking for a better one
6311 ac_cv_path_GREP="$ac_path_GREP"
6312 ac_path_GREP_max=$ac_count
6314 # 10*(2^10) chars as input seems more than enough
6315 test $ac_count -gt 10 && break
6316 done
6317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6318 esac
6320 $ac_path_GREP_found && break 3
6321 done
6322 done
6323 done
6324 IFS=$as_save_IFS
6325 if test -z "$ac_cv_path_GREP"; then
6326 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6328 else
6329 ac_cv_path_GREP=$GREP
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6334 $as_echo "$ac_cv_path_GREP" >&6; }
6335 GREP="$ac_cv_path_GREP"
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6339 $as_echo_n "checking for egrep... " >&6; }
6340 if ${ac_cv_path_EGREP+:} false; then :
6341 $as_echo_n "(cached) " >&6
6342 else
6343 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6344 then ac_cv_path_EGREP="$GREP -E"
6345 else
6346 if test -z "$EGREP"; then
6347 ac_path_EGREP_found=false
6348 # Loop through the user's path and test for each of PROGNAME-LIST
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6352 IFS=$as_save_IFS
6353 test -z "$as_dir" && as_dir=.
6354 for ac_prog in egrep; do
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6357 as_fn_executable_p "$ac_path_EGREP" || continue
6358 # Check for GNU ac_path_EGREP and select it if it is found.
6359 # Check for GNU $ac_path_EGREP
6360 case `"$ac_path_EGREP" --version 2>&1` in
6361 *GNU*)
6362 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6364 ac_count=0
6365 $as_echo_n 0123456789 >"conftest.in"
6366 while :
6368 cat "conftest.in" "conftest.in" >"conftest.tmp"
6369 mv "conftest.tmp" "conftest.in"
6370 cp "conftest.in" "conftest.nl"
6371 $as_echo 'EGREP' >> "conftest.nl"
6372 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6374 as_fn_arith $ac_count + 1 && ac_count=$as_val
6375 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6376 # Best one so far, save it but keep looking for a better one
6377 ac_cv_path_EGREP="$ac_path_EGREP"
6378 ac_path_EGREP_max=$ac_count
6380 # 10*(2^10) chars as input seems more than enough
6381 test $ac_count -gt 10 && break
6382 done
6383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6384 esac
6386 $ac_path_EGREP_found && break 3
6387 done
6388 done
6389 done
6390 IFS=$as_save_IFS
6391 if test -z "$ac_cv_path_EGREP"; then
6392 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6394 else
6395 ac_cv_path_EGREP=$EGREP
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6401 $as_echo "$ac_cv_path_EGREP" >&6; }
6402 EGREP="$ac_cv_path_EGREP"
6405 # Extract the first word of "ldconfig", so it can be a program name with args.
6406 set dummy ldconfig; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_path_LDCONFIG+:} false; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 case $LDCONFIG in
6413 [\\/]* | ?:[\\/]*)
6414 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 for as_dir in /sbin /usr/sbin $PATH
6420 IFS=$as_save_IFS
6421 test -z "$as_dir" && as_dir=.
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6424 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 break 2
6428 done
6429 done
6430 IFS=$as_save_IFS
6432 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6434 esac
6436 LDCONFIG=$ac_cv_path_LDCONFIG
6437 if test -n "$LDCONFIG"; then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6439 $as_echo "$LDCONFIG" >&6; }
6440 else
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6446 for ac_prog in msgfmt
6448 # Extract the first word of "$ac_prog", so it can be a program name with args.
6449 set dummy $ac_prog; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if ${ac_cv_prog_MSGFMT+:} false; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$MSGFMT"; then
6456 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_MSGFMT="$ac_prog"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6469 done
6470 done
6471 IFS=$as_save_IFS
6475 MSGFMT=$ac_cv_prog_MSGFMT
6476 if test -n "$MSGFMT"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6478 $as_echo "$MSGFMT" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6485 test -n "$MSGFMT" && break
6486 done
6487 test -n "$MSGFMT" || MSGFMT="false"
6489 if ${ac_tool_prefix+:} false; then :
6490 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6491 set dummy ${ac_tool_prefix}pkg-config; 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_PKG_CONFIG+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 if test -n "$PKG_CONFIG"; then
6498 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # 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_PKG_CONFIG="${ac_tool_prefix}pkg-config"
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 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6518 if test -n "$PKG_CONFIG"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6520 $as_echo "$PKG_CONFIG" >&6; }
6521 else
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6528 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6529 if test "x$cross_compiling" = xyes; then :
6531 else
6532 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6533 # Extract the first word of "pkg-config", so it can be a program name with args.
6534 set dummy pkg-config; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 if test -n "$PKG_CONFIG"; then
6541 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6546 IFS=$as_save_IFS
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_PKG_CONFIG="pkg-config"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 break 2
6554 done
6555 done
6556 IFS=$as_save_IFS
6560 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6561 if test -n "$PKG_CONFIG"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6563 $as_echo "$PKG_CONFIG" >&6; }
6564 else
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6571 else
6572 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6575 if test "x$enable_maintainer_mode" != "xyes"
6576 then
6577 FONTFORGE=""
6578 RSVG=""
6579 CONVERT=""
6580 ICOTOOL=""
6581 else
6582 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6583 for ac_prog in fontforge
6585 # Extract the first word of "$ac_prog", so it can be a program name with args.
6586 set dummy $ac_prog; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_FONTFORGE+:} false; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 if test -n "$FONTFORGE"; then
6593 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6598 IFS=$as_save_IFS
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_FONTFORGE="$ac_prog"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 break 2
6606 done
6607 done
6608 IFS=$as_save_IFS
6612 FONTFORGE=$ac_cv_prog_FONTFORGE
6613 if test -n "$FONTFORGE"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6615 $as_echo "$FONTFORGE" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6622 test -n "$FONTFORGE" && break
6623 done
6624 test -n "$FONTFORGE" || FONTFORGE="false"
6626 for ac_prog in rsvg-convert rsvg
6628 # Extract the first word of "$ac_prog", so it can be a program name with args.
6629 set dummy $ac_prog; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if ${ac_cv_prog_RSVG+:} false; then :
6633 $as_echo_n "(cached) " >&6
6634 else
6635 if test -n "$RSVG"; then
6636 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6641 IFS=$as_save_IFS
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_RSVG="$ac_prog"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 RSVG=$ac_cv_prog_RSVG
6656 if test -n "$RSVG"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6658 $as_echo "$RSVG" >&6; }
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6665 test -n "$RSVG" && break
6666 done
6667 test -n "$RSVG" || RSVG="false"
6669 for ac_prog in convert
6671 # Extract the first word of "$ac_prog", so it can be a program name with args.
6672 set dummy $ac_prog; ac_word=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 $as_echo_n "checking for $ac_word... " >&6; }
6675 if ${ac_cv_prog_CONVERT+:} false; then :
6676 $as_echo_n "(cached) " >&6
6677 else
6678 if test -n "$CONVERT"; then
6679 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6680 else
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 for as_dir in $PATH
6684 IFS=$as_save_IFS
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688 ac_cv_prog_CONVERT="$ac_prog"
6689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 break 2
6692 done
6693 done
6694 IFS=$as_save_IFS
6698 CONVERT=$ac_cv_prog_CONVERT
6699 if test -n "$CONVERT"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6701 $as_echo "$CONVERT" >&6; }
6702 else
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 $as_echo "no" >&6; }
6708 test -n "$CONVERT" && break
6709 done
6710 test -n "$CONVERT" || CONVERT="false"
6712 for ac_prog in icotool
6714 # Extract the first word of "$ac_prog", so it can be a program name with args.
6715 set dummy $ac_prog; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if ${ac_cv_prog_ICOTOOL+:} false; then :
6719 $as_echo_n "(cached) " >&6
6720 else
6721 if test -n "$ICOTOOL"; then
6722 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6723 else
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 for as_dir in $PATH
6727 IFS=$as_save_IFS
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_ICOTOOL="$ac_prog"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 break 2
6735 done
6736 done
6737 IFS=$as_save_IFS
6741 ICOTOOL=$ac_cv_prog_ICOTOOL
6742 if test -n "$ICOTOOL"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6744 $as_echo "$ICOTOOL" >&6; }
6745 else
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6751 test -n "$ICOTOOL" && break
6752 done
6753 test -n "$ICOTOOL" || ICOTOOL="false"
6755 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6756 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6758 if test "$CONVERT" = false
6759 then
6760 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6761 else
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6763 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6764 convert_version=`convert --version | head -n1`
6765 if test "x$convert_version" != "x"
6766 then
6767 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6768 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6769 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6770 then
6771 CONVERT=false
6774 if test "$CONVERT" = false
6775 then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6777 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6778 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6781 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6785 if test "$ICOTOOL" = false
6786 then
6787 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6790 $as_echo_n "checking for recent enough icotool... " >&6; }
6791 icotool_version=`icotool --version | head -n1`
6792 if test "x$icotool_version" != "x"
6793 then
6794 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6795 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6796 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6797 then
6798 ICOTOOL=false
6799 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6802 if test "$ICOTOOL" = false
6803 then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6805 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6806 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6807 else
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6809 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6813 with_gettext=yes
6814 with_gettextpo=yes
6816 enable_werror=yes
6819 test "x$with_gettext" != xno || MSGFMT=false
6820 if test "$MSGFMT" != "false"
6821 then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6823 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6824 if ${wine_cv_msgfmt_contexts+:} false; then :
6825 $as_echo_n "(cached) " >&6
6826 else
6827 cat >conftest.po <<EOF
6828 # comment
6829 msgctxt "ctxt"
6830 msgid "id"
6831 msgstr "str"
6833 if $MSGFMT -o /dev/null conftest.po 2>&5
6834 then
6835 wine_cv_msgfmt_contexts=yes
6836 else
6837 wine_cv_msgfmt_contexts=no
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6841 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6842 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6844 if test "$MSGFMT" = false; then :
6845 case "x$with_gettext" in
6846 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6847 xno) ;;
6848 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6849 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6850 esac
6851 enable_po=${enable_po:-no}
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6856 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6857 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6858 $as_echo_n "(cached) " >&6
6859 else
6860 ac_check_lib_save_LIBS=$LIBS
6861 LIBS="-li386 $LIBS"
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6865 /* Override any GCC internal prototype to avoid an error.
6866 Use char because int might match the return type of a GCC
6867 builtin and then its argument prototype would still apply. */
6868 #ifdef __cplusplus
6869 extern "C"
6870 #endif
6871 char i386_set_ldt ();
6873 main ()
6875 return i386_set_ldt ();
6877 return 0;
6879 _ACEOF
6880 if ac_fn_c_try_link "$LINENO"; then :
6881 ac_cv_lib_i386_i386_set_ldt=yes
6882 else
6883 ac_cv_lib_i386_i386_set_ldt=no
6885 rm -f core conftest.err conftest.$ac_objext \
6886 conftest$ac_exeext conftest.$ac_ext
6887 LIBS=$ac_check_lib_save_LIBS
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6890 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6891 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6892 I386_LIBS="-li386"
6897 OPENGL_LIBS=""
6901 # Check whether --enable-largefile was given.
6902 if test "${enable_largefile+set}" = set; then :
6903 enableval=$enable_largefile;
6906 if test "$enable_largefile" != no; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6909 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6910 if ${ac_cv_sys_largefile_CC+:} false; then :
6911 $as_echo_n "(cached) " >&6
6912 else
6913 ac_cv_sys_largefile_CC=no
6914 if test "$GCC" != yes; then
6915 ac_save_CC=$CC
6916 while :; do
6917 # IRIX 6.2 and later do not support large files by default,
6918 # so use the C compiler's -n32 option if that helps.
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6921 #include <sys/types.h>
6922 /* Check that off_t can represent 2**63 - 1 correctly.
6923 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6924 since some C++ compilers masquerading as C compilers
6925 incorrectly reject 9223372036854775807. */
6926 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6927 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6928 && LARGE_OFF_T % 2147483647 == 1)
6929 ? 1 : -1];
6931 main ()
6935 return 0;
6937 _ACEOF
6938 if ac_fn_c_try_compile "$LINENO"; then :
6939 break
6941 rm -f core conftest.err conftest.$ac_objext
6942 CC="$CC -n32"
6943 if ac_fn_c_try_compile "$LINENO"; then :
6944 ac_cv_sys_largefile_CC=' -n32'; break
6946 rm -f core conftest.err conftest.$ac_objext
6947 break
6948 done
6949 CC=$ac_save_CC
6950 rm -f conftest.$ac_ext
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6954 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6955 if test "$ac_cv_sys_largefile_CC" != no; then
6956 CC=$CC$ac_cv_sys_largefile_CC
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6960 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6961 if ${ac_cv_sys_file_offset_bits+:} false; then :
6962 $as_echo_n "(cached) " >&6
6963 else
6964 while :; do
6965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6966 /* end confdefs.h. */
6967 #include <sys/types.h>
6968 /* Check that off_t can represent 2**63 - 1 correctly.
6969 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6970 since some C++ compilers masquerading as C compilers
6971 incorrectly reject 9223372036854775807. */
6972 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6973 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6974 && LARGE_OFF_T % 2147483647 == 1)
6975 ? 1 : -1];
6977 main ()
6981 return 0;
6983 _ACEOF
6984 if ac_fn_c_try_compile "$LINENO"; then :
6985 ac_cv_sys_file_offset_bits=no; break
6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6990 #define _FILE_OFFSET_BITS 64
6991 #include <sys/types.h>
6992 /* Check that off_t can represent 2**63 - 1 correctly.
6993 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6994 since some C++ compilers masquerading as C compilers
6995 incorrectly reject 9223372036854775807. */
6996 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6998 && LARGE_OFF_T % 2147483647 == 1)
6999 ? 1 : -1];
7001 main ()
7005 return 0;
7007 _ACEOF
7008 if ac_fn_c_try_compile "$LINENO"; then :
7009 ac_cv_sys_file_offset_bits=64; break
7011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7012 ac_cv_sys_file_offset_bits=unknown
7013 break
7014 done
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7017 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7018 case $ac_cv_sys_file_offset_bits in #(
7019 no | unknown) ;;
7021 cat >>confdefs.h <<_ACEOF
7022 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7023 _ACEOF
7025 esac
7026 rm -rf conftest*
7027 if test $ac_cv_sys_file_offset_bits = unknown; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7029 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7030 if ${ac_cv_sys_large_files+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 while :; do
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <sys/types.h>
7037 /* Check that off_t can represent 2**63 - 1 correctly.
7038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7039 since some C++ compilers masquerading as C compilers
7040 incorrectly reject 9223372036854775807. */
7041 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7043 && LARGE_OFF_T % 2147483647 == 1)
7044 ? 1 : -1];
7046 main ()
7050 return 0;
7052 _ACEOF
7053 if ac_fn_c_try_compile "$LINENO"; then :
7054 ac_cv_sys_large_files=no; break
7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7059 #define _LARGE_FILES 1
7060 #include <sys/types.h>
7061 /* Check that off_t can represent 2**63 - 1 correctly.
7062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7063 since some C++ compilers masquerading as C compilers
7064 incorrectly reject 9223372036854775807. */
7065 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7067 && LARGE_OFF_T % 2147483647 == 1)
7068 ? 1 : -1];
7070 main ()
7074 return 0;
7076 _ACEOF
7077 if ac_fn_c_try_compile "$LINENO"; then :
7078 ac_cv_sys_large_files=1; break
7080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7081 ac_cv_sys_large_files=unknown
7082 break
7083 done
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7086 $as_echo "$ac_cv_sys_large_files" >&6; }
7087 case $ac_cv_sys_large_files in #(
7088 no | unknown) ;;
7090 cat >>confdefs.h <<_ACEOF
7091 #define _LARGE_FILES $ac_cv_sys_large_files
7092 _ACEOF
7094 esac
7095 rm -rf conftest*
7102 ac_ext=c
7103 ac_cpp='$CPP $CPPFLAGS'
7104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7108 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7109 # On Suns, sometimes $CPP names a directory.
7110 if test -n "$CPP" && test -d "$CPP"; then
7111 CPP=
7113 if test -z "$CPP"; then
7114 if ${ac_cv_prog_CPP+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 # Double quotes because CPP needs to be expanded
7118 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7120 ac_preproc_ok=false
7121 for ac_c_preproc_warn_flag in '' yes
7123 # Use a header file that comes with gcc, so configuring glibc
7124 # with a fresh cross-compiler works.
7125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7126 # <limits.h> exists even on freestanding compilers.
7127 # On the NeXT, cc -E runs the code through the compiler's parser,
7128 # not just through cpp. "Syntax error" is here to catch this case.
7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7131 #ifdef __STDC__
7132 # include <limits.h>
7133 #else
7134 # include <assert.h>
7135 #endif
7136 Syntax error
7137 _ACEOF
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7140 else
7141 # Broken: fails on valid input.
7142 continue
7144 rm -f conftest.err conftest.i conftest.$ac_ext
7146 # OK, works on sane cases. Now check whether nonexistent headers
7147 # can be detected and how.
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 #include <ac_nonexistent.h>
7151 _ACEOF
7152 if ac_fn_c_try_cpp "$LINENO"; then :
7153 # Broken: success on invalid input.
7154 continue
7155 else
7156 # Passes both tests.
7157 ac_preproc_ok=:
7158 break
7160 rm -f conftest.err conftest.i conftest.$ac_ext
7162 done
7163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7164 rm -f conftest.i conftest.err conftest.$ac_ext
7165 if $ac_preproc_ok; then :
7166 break
7169 done
7170 ac_cv_prog_CPP=$CPP
7173 CPP=$ac_cv_prog_CPP
7174 else
7175 ac_cv_prog_CPP=$CPP
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7178 $as_echo "$CPP" >&6; }
7179 ac_preproc_ok=false
7180 for ac_c_preproc_warn_flag in '' yes
7182 # Use a header file that comes with gcc, so configuring glibc
7183 # with a fresh cross-compiler works.
7184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 # <limits.h> exists even on freestanding compilers.
7186 # On the NeXT, cc -E runs the code through the compiler's parser,
7187 # not just through cpp. "Syntax error" is here to catch this case.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7190 #ifdef __STDC__
7191 # include <limits.h>
7192 #else
7193 # include <assert.h>
7194 #endif
7195 Syntax error
7196 _ACEOF
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7199 else
7200 # Broken: fails on valid input.
7201 continue
7203 rm -f conftest.err conftest.i conftest.$ac_ext
7205 # OK, works on sane cases. Now check whether nonexistent headers
7206 # can be detected and how.
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7209 #include <ac_nonexistent.h>
7210 _ACEOF
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7212 # Broken: success on invalid input.
7213 continue
7214 else
7215 # Passes both tests.
7216 ac_preproc_ok=:
7217 break
7219 rm -f conftest.err conftest.i conftest.$ac_ext
7221 done
7222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7223 rm -f conftest.i conftest.err conftest.$ac_ext
7224 if $ac_preproc_ok; then :
7226 else
7227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7229 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7230 See \`config.log' for more details" "$LINENO" 5; }
7233 ac_ext=c
7234 ac_cpp='$CPP $CPPFLAGS'
7235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7241 $as_echo_n "checking for ANSI C header files... " >&6; }
7242 if ${ac_cv_header_stdc+:} false; then :
7243 $as_echo_n "(cached) " >&6
7244 else
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7247 #include <stdlib.h>
7248 #include <stdarg.h>
7249 #include <string.h>
7250 #include <float.h>
7253 main ()
7257 return 0;
7259 _ACEOF
7260 if ac_fn_c_try_compile "$LINENO"; then :
7261 ac_cv_header_stdc=yes
7262 else
7263 ac_cv_header_stdc=no
7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267 if test $ac_cv_header_stdc = yes; then
7268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #include <string.h>
7273 _ACEOF
7274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7275 $EGREP "memchr" >/dev/null 2>&1; then :
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f conftest*
7284 if test $ac_cv_header_stdc = yes; then
7285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288 #include <stdlib.h>
7290 _ACEOF
7291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7292 $EGREP "free" >/dev/null 2>&1; then :
7294 else
7295 ac_cv_header_stdc=no
7297 rm -f conftest*
7301 if test $ac_cv_header_stdc = yes; then
7302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7303 if test "$cross_compiling" = yes; then :
7305 else
7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7307 /* end confdefs.h. */
7308 #include <ctype.h>
7309 #include <stdlib.h>
7310 #if ((' ' & 0x0FF) == 0x020)
7311 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7312 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7313 #else
7314 # define ISLOWER(c) \
7315 (('a' <= (c) && (c) <= 'i') \
7316 || ('j' <= (c) && (c) <= 'r') \
7317 || ('s' <= (c) && (c) <= 'z'))
7318 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7319 #endif
7321 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7323 main ()
7325 int i;
7326 for (i = 0; i < 256; i++)
7327 if (XOR (islower (i), ISLOWER (i))
7328 || toupper (i) != TOUPPER (i))
7329 return 2;
7330 return 0;
7332 _ACEOF
7333 if ac_fn_c_try_run "$LINENO"; then :
7335 else
7336 ac_cv_header_stdc=no
7338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7339 conftest.$ac_objext conftest.beam conftest.$ac_ext
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7345 $as_echo "$ac_cv_header_stdc" >&6; }
7346 if test $ac_cv_header_stdc = yes; then
7348 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7352 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7353 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7354 inttypes.h stdint.h unistd.h
7355 do :
7356 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7357 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7360 cat >>confdefs.h <<_ACEOF
7361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7362 _ACEOF
7366 done
7369 for ac_header in \
7370 AL/al.h \
7371 ApplicationServices/ApplicationServices.h \
7372 AudioToolbox/AudioConverter.h \
7373 AudioUnit/AudioUnit.h \
7374 AudioUnit/AudioComponent.h \
7375 CL/cl.h \
7376 Carbon/Carbon.h \
7377 CommonCrypto/CommonCryptor.h \
7378 CoreAudio/CoreAudio.h \
7379 CoreServices/CoreServices.h \
7380 DiskArbitration/DiskArbitration.h \
7381 EGL/egl.h \
7382 IOKit/IOKitLib.h \
7383 IOKit/hid/IOHIDLib.h \
7384 OpenAL/al.h \
7385 OpenCL/opencl.h \
7386 QuickTime/ImageCompression.h \
7387 Security/Security.h \
7388 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7389 SystemConfiguration/SCNetworkConfiguration.h \
7390 alias.h \
7391 arpa/inet.h \
7392 arpa/nameser.h \
7393 asm/types.h \
7394 asm/user.h \
7395 curses.h \
7396 dirent.h \
7397 dlfcn.h \
7398 elf.h \
7399 float.h \
7400 fnmatch.h \
7401 getopt.h \
7402 gettext-po.h \
7403 grp.h \
7404 gsm.h \
7405 gsm/gsm.h \
7406 ieeefp.h \
7407 inet/mib2.h \
7408 kstat.h \
7409 libproc.h \
7410 link.h \
7411 linux/cdrom.h \
7412 linux/compiler.h \
7413 linux/filter.h \
7414 linux/hdreg.h \
7415 linux/hidraw.h \
7416 linux/input.h \
7417 linux/ioctl.h \
7418 linux/joystick.h \
7419 linux/major.h \
7420 linux/param.h \
7421 linux/serial.h \
7422 linux/types.h \
7423 linux/ucdrom.h \
7424 lwp.h \
7425 mach-o/nlist.h \
7426 mach-o/loader.h \
7427 mach/mach.h \
7428 mach/machine.h \
7429 machine/cpu.h \
7430 machine/sysarch.h \
7431 mntent.h \
7432 ncurses.h \
7433 netdb.h \
7434 netinet/in.h \
7435 netinet/in_systm.h \
7436 netinet/tcp.h \
7437 netinet/tcp_fsm.h \
7438 pcap/pcap.h \
7439 poll.h \
7440 port.h \
7441 pthread.h \
7442 pwd.h \
7443 sasl/sasl.h \
7444 sched.h \
7445 scsi/scsi.h \
7446 scsi/scsi_ioctl.h \
7447 scsi/sg.h \
7448 stdbool.h \
7449 stdint.h \
7450 stropts.h \
7451 sys/attr.h \
7452 sys/auxv.h \
7453 sys/cdio.h \
7454 sys/epoll.h \
7455 sys/event.h \
7456 sys/filio.h \
7457 sys/ioctl.h \
7458 sys/ipc.h \
7459 sys/link.h \
7460 sys/mman.h \
7461 sys/modem.h \
7462 sys/msg.h \
7463 sys/mtio.h \
7464 sys/param.h \
7465 sys/poll.h \
7466 sys/prctl.h \
7467 sys/protosw.h \
7468 sys/ptrace.h \
7469 sys/queue.h \
7470 sys/resource.h \
7471 sys/scsiio.h \
7472 sys/shm.h \
7473 sys/signal.h \
7474 sys/socket.h \
7475 sys/socketvar.h \
7476 sys/sockio.h \
7477 sys/statvfs.h \
7478 sys/strtio.h \
7479 sys/syscall.h \
7480 sys/sysinfo.h \
7481 sys/tihdr.h \
7482 sys/time.h \
7483 sys/timeout.h \
7484 sys/times.h \
7485 sys/uio.h \
7486 sys/user.h \
7487 sys/utsname.h \
7488 sys/vnode.h \
7489 sys/wait.h \
7490 syscall.h \
7491 termios.h \
7492 unistd.h \
7493 utime.h \
7494 valgrind/memcheck.h \
7495 valgrind/valgrind.h
7497 do :
7498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7500 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7501 cat >>confdefs.h <<_ACEOF
7502 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7503 _ACEOF
7507 done
7509 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7510 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7512 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7517 if test $ac_cv_header_sys_mkdev_h = no; then
7518 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7519 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7521 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7528 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7529 if ${ac_cv_header_stat_broken+:} false; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7533 /* end confdefs.h. */
7534 #include <sys/types.h>
7535 #include <sys/stat.h>
7537 #if defined S_ISBLK && defined S_IFDIR
7538 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7539 #endif
7541 #if defined S_ISBLK && defined S_IFCHR
7542 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7543 #endif
7545 #if defined S_ISLNK && defined S_IFREG
7546 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7547 #endif
7549 #if defined S_ISSOCK && defined S_IFREG
7550 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7551 #endif
7553 _ACEOF
7554 if ac_fn_c_try_compile "$LINENO"; then :
7555 ac_cv_header_stat_broken=no
7556 else
7557 ac_cv_header_stat_broken=yes
7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7562 $as_echo "$ac_cv_header_stat_broken" >&6; }
7563 if test $ac_cv_header_stat_broken = yes; then
7565 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7571 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7572 do :
7573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7575 #ifdef HAVE_SYS_PARAM_H
7576 # include <sys/param.h>
7577 #endif
7579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7580 cat >>confdefs.h <<_ACEOF
7581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7582 _ACEOF
7586 done
7589 saved_sysctl_h_CFLAGS=$CFLAGS
7590 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7591 for ac_header in sys/sysctl.h
7592 do :
7593 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7594 #ifdef HAVE_SYS_PARAM_H
7595 # include <sys/param.h>
7596 #endif
7598 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7599 cat >>confdefs.h <<_ACEOF
7600 #define HAVE_SYS_SYSCTL_H 1
7601 _ACEOF
7605 done
7607 CFLAGS=$saved_sysctl_h_CFLAGS
7609 for ac_header in \
7610 netinet/ip.h \
7611 net/if.h \
7612 net/if_arp.h \
7613 net/if_dl.h \
7614 net/if_types.h \
7615 net/route.h \
7616 netinet/if_ether.h \
7617 netinet/if_inarp.h \
7618 netinet/in_pcb.h \
7619 netinet/ip_icmp.h \
7620 netinet/ip_var.h \
7621 netinet/udp.h \
7622 netipx/ipx.h \
7623 sys/un.h \
7625 do :
7626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7627 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7628 #ifdef HAVE_SYS_SOCKET_H
7629 # include <sys/socket.h>
7630 #endif
7631 #ifdef HAVE_SYS_SOCKETVAR_H
7632 # include <sys/socketvar.h>
7633 #endif
7634 #ifdef HAVE_NET_ROUTE_H
7635 # include <net/route.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IN_H
7638 # include <netinet/in.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IN_SYSTM_H
7641 # include <netinet/in_systm.h>
7642 #endif
7643 #ifdef HAVE_NET_IF_H
7644 # include <net/if.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IP_H
7647 # include <netinet/ip.h>
7648 #endif
7650 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7651 cat >>confdefs.h <<_ACEOF
7652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7653 _ACEOF
7657 done
7660 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.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_ALIAS_H
7665 # include <alias.h>
7666 #endif
7667 #ifdef HAVE_SYS_SOCKET_H
7668 # include <sys/socket.h>
7669 #endif
7670 #ifdef HAVE_SYS_SOCKETVAR_H
7671 # include <sys/socketvar.h>
7672 #endif
7673 #ifdef HAVE_SYS_TIMEOUT_H
7674 # include <sys/timeout.h>
7675 #endif
7676 #ifdef HAVE_NETINET_IN_H
7677 # include <netinet/in.h>
7678 #endif
7679 #ifdef HAVE_NETINET_IN_SYSTM_H
7680 # include <netinet/in_systm.h>
7681 #endif
7682 #ifdef HAVE_NETINET_IP_H
7683 # include <netinet/ip.h>
7684 #endif
7685 #ifdef HAVE_NETINET_IP_VAR_H
7686 # include <netinet/ip_var.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IP_ICMP_H
7689 # include <netinet/ip_icmp.h>
7690 #endif
7691 #ifdef HAVE_NETINET_UDP_H
7692 # include <netinet/udp.h>
7693 #endif
7694 #ifdef HAVE_NETINET_TCP_H
7695 # include <netinet/tcp.h>
7696 #endif
7697 #ifdef HAVE_NETINET_TCP_TIMER_H
7698 #include <netinet/tcp_timer.h>
7699 #endif
7701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7704 _ACEOF
7708 done
7711 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7712 do :
7713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7715 #ifdef HAVE_ASM_TYPES_H
7716 # include <asm/types.h>
7717 #endif
7718 #ifdef HAVE_SYS_SOCKET_H
7719 # include <sys/socket.h>
7720 #endif
7721 #ifdef HAVE_LINUX_TYPES_H
7722 # include <linux/types.h>
7723 #endif
7725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7735 for ac_header in resolv.h
7736 do :
7737 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7738 #ifdef HAVE_SYS_SOCKET_H
7739 # include <sys/socket.h>
7740 #endif
7741 #ifdef HAVE_NETINET_IN_H
7742 # include <netinet/in.h>
7743 #endif
7744 #ifdef HAVE_ARPA_NAMESER_H
7745 # include <arpa/nameser.h>
7746 #endif
7748 if test "x$ac_cv_header_resolv_h" = xyes; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define HAVE_RESOLV_H 1
7751 _ACEOF
7755 done
7758 for ac_header in ifaddrs.h
7759 do :
7760 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7762 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_IFADDRS_H 1
7765 _ACEOF
7769 done
7772 for ac_header in sys/ucontext.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7776 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_SYS_UCONTEXT_H 1
7779 _ACEOF
7783 done
7786 for ac_header in sys/thr.h
7787 do :
7788 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7789 #ifdef HAVE_SYS_UCONTEXT_H
7790 #include <sys/ucontext.h>
7791 #endif
7793 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_SYS_THR_H 1
7796 _ACEOF
7800 done
7803 for ac_header in pthread_np.h
7804 do :
7805 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7806 #include <pthread.h>
7807 #endif
7809 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_PTHREAD_NP_H 1
7812 _ACEOF
7816 done
7819 for ac_header in linux/videodev2.h
7820 do :
7821 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7822 #include <sys/time.h>
7823 #endif
7824 #include <sys/types.h>
7825 #ifdef HAVE_ASM_TYPES_H
7826 #include <asm/types.h>
7827 #endif
7829 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7830 cat >>confdefs.h <<_ACEOF
7831 #define HAVE_LINUX_VIDEODEV2_H 1
7832 _ACEOF
7836 done
7839 for ac_header in libprocstat.h
7840 do :
7841 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7842 #include <sys/param.h>
7843 #endif
7844 #ifdef HAVE_SYS_QUEUE_H
7845 #include <sys/queue.h>
7846 #endif
7847 #ifdef HAVE_SYS_SOCKET_H
7848 #include <sys/socket.h>
7849 #endif
7851 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_LIBPROCSTAT_H 1
7854 _ACEOF
7858 done
7862 DLLFLAGS="-D_REENTRANT"
7864 LDRPATH_INSTALL=""
7866 LDRPATH_LOCAL=""
7868 LDDLLFLAGS=""
7870 LDEXECFLAGS=""
7872 TOP_INSTALL_LIB=""
7874 TOP_INSTALL_DEV=""
7876 WINELOADER_LDFLAGS=""
7878 WINEPRELOADER_LDFLAGS=""
7880 LIBEXT="so"
7881 DLLEXT=".so"
7882 # Extract the first word of "ldd", so it can be a program name with args.
7883 set dummy ldd; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if ${ac_cv_path_LDD+:} false; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 case $LDD in
7890 [\\/]* | ?:[\\/]*)
7891 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 as_dummy="/sbin:/usr/sbin:$PATH"
7896 for as_dir in $as_dummy
7898 IFS=$as_save_IFS
7899 test -z "$as_dir" && as_dir=.
7900 for ac_exec_ext in '' $ac_executable_extensions; do
7901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7902 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904 break 2
7906 done
7907 done
7908 IFS=$as_save_IFS
7910 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7912 esac
7914 LDD=$ac_cv_path_LDD
7915 if test -n "$LDD"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7917 $as_echo "$LDD" >&6; }
7918 else
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7924 if test -n "$ac_tool_prefix"; then
7925 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7926 set dummy ${ac_tool_prefix}otool; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_OTOOL+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 if test -n "$OTOOL"; then
7933 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7934 else
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 for as_dir in $PATH
7938 IFS=$as_save_IFS
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 break 2
7946 done
7947 done
7948 IFS=$as_save_IFS
7952 OTOOL=$ac_cv_prog_OTOOL
7953 if test -n "$OTOOL"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7955 $as_echo "$OTOOL" >&6; }
7956 else
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7963 if test -z "$ac_cv_prog_OTOOL"; then
7964 ac_ct_OTOOL=$OTOOL
7965 # Extract the first word of "otool", so it can be a program name with args.
7966 set dummy otool; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 if test -n "$ac_ct_OTOOL"; then
7973 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7974 else
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 for as_dir in $PATH
7978 IFS=$as_save_IFS
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7982 ac_cv_prog_ac_ct_OTOOL="otool"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 break 2
7986 done
7987 done
7988 IFS=$as_save_IFS
7992 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7993 if test -n "$ac_ct_OTOOL"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7995 $as_echo "$ac_ct_OTOOL" >&6; }
7996 else
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8001 if test "x$ac_ct_OTOOL" = x; then
8002 OTOOL="otool"
8003 else
8004 case $cross_compiling:$ac_tool_warned in
8005 yes:)
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8008 ac_tool_warned=yes ;;
8009 esac
8010 OTOOL=$ac_ct_OTOOL
8012 else
8013 OTOOL="$ac_cv_prog_OTOOL"
8016 if test -n "$ac_tool_prefix"; then
8017 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8018 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8020 $as_echo_n "checking for $ac_word... " >&6; }
8021 if ${ac_cv_prog_READELF+:} false; then :
8022 $as_echo_n "(cached) " >&6
8023 else
8024 if test -n "$READELF"; then
8025 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8026 else
8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 for as_dir in $PATH
8030 IFS=$as_save_IFS
8031 test -z "$as_dir" && as_dir=.
8032 for ac_exec_ext in '' $ac_executable_extensions; do
8033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8034 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8036 break 2
8038 done
8039 done
8040 IFS=$as_save_IFS
8044 READELF=$ac_cv_prog_READELF
8045 if test -n "$READELF"; then
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8047 $as_echo "$READELF" >&6; }
8048 else
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8050 $as_echo "no" >&6; }
8055 if test -z "$ac_cv_prog_READELF"; then
8056 ac_ct_READELF=$READELF
8057 # Extract the first word of "readelf", so it can be a program name with args.
8058 set dummy readelf; ac_word=$2
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8060 $as_echo_n "checking for $ac_word... " >&6; }
8061 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8062 $as_echo_n "(cached) " >&6
8063 else
8064 if test -n "$ac_ct_READELF"; then
8065 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8066 else
8067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068 for as_dir in $PATH
8070 IFS=$as_save_IFS
8071 test -z "$as_dir" && as_dir=.
8072 for ac_exec_ext in '' $ac_executable_extensions; do
8073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8074 ac_cv_prog_ac_ct_READELF="readelf"
8075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8076 break 2
8078 done
8079 done
8080 IFS=$as_save_IFS
8084 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8085 if test -n "$ac_ct_READELF"; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8087 $as_echo "$ac_ct_READELF" >&6; }
8088 else
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8090 $as_echo "no" >&6; }
8093 if test "x$ac_ct_READELF" = x; then
8094 READELF="true"
8095 else
8096 case $cross_compiling:$ac_tool_warned in
8097 yes:)
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8100 ac_tool_warned=yes ;;
8101 esac
8102 READELF=$ac_ct_READELF
8104 else
8105 READELF="$ac_cv_prog_READELF"
8108 wine_rules_file=conf$$rules.make
8109 rm -f $wine_rules_file
8110 SUBDIRS=""
8112 DISABLED_SUBDIRS=""
8114 CONFIGURE_TARGETS=""
8117 wine_fn_append_file ()
8119 as_fn_append $1 " \\$as_nl $2"
8122 wine_fn_append_rule ()
8124 $as_echo "$1" >>$wine_rules_file
8127 wine_fn_config_makefile ()
8129 wine_fn_append_file SUBDIRS $1
8130 if eval test \"x\$"$2"\" = x"no"; then :
8131 wine_fn_append_file DISABLED_SUBDIRS $1
8135 wine_fn_config_symlink ()
8137 ac_links=$@
8138 wine_fn_append_rule \
8139 "$ac_links:
8140 @./config.status \$@"
8141 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8144 wine_binary="wine"
8145 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8146 WINELOADER_PROGRAMS="$wine_binary"
8148 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8150 case $host_os in
8151 cygwin*|mingw32*)
8152 if test -n "$ac_tool_prefix"; then
8153 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8154 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8156 $as_echo_n "checking for $ac_word... " >&6; }
8157 if ${ac_cv_prog_DLLTOOL+:} false; then :
8158 $as_echo_n "(cached) " >&6
8159 else
8160 if test -n "$DLLTOOL"; then
8161 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8162 else
8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8164 for as_dir in $PATH
8166 IFS=$as_save_IFS
8167 test -z "$as_dir" && as_dir=.
8168 for ac_exec_ext in '' $ac_executable_extensions; do
8169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8170 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8172 break 2
8174 done
8175 done
8176 IFS=$as_save_IFS
8180 DLLTOOL=$ac_cv_prog_DLLTOOL
8181 if test -n "$DLLTOOL"; then
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8183 $as_echo "$DLLTOOL" >&6; }
8184 else
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8186 $as_echo "no" >&6; }
8191 if test -z "$ac_cv_prog_DLLTOOL"; then
8192 ac_ct_DLLTOOL=$DLLTOOL
8193 # Extract the first word of "dlltool", so it can be a program name with args.
8194 set dummy dlltool; ac_word=$2
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8196 $as_echo_n "checking for $ac_word... " >&6; }
8197 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 if test -n "$ac_ct_DLLTOOL"; then
8201 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8202 else
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 for as_dir in $PATH
8206 IFS=$as_save_IFS
8207 test -z "$as_dir" && as_dir=.
8208 for ac_exec_ext in '' $ac_executable_extensions; do
8209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8210 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8212 break 2
8214 done
8215 done
8216 IFS=$as_save_IFS
8220 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8221 if test -n "$ac_ct_DLLTOOL"; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8223 $as_echo "$ac_ct_DLLTOOL" >&6; }
8224 else
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8229 if test "x$ac_ct_DLLTOOL" = x; then
8230 DLLTOOL="false"
8231 else
8232 case $cross_compiling:$ac_tool_warned in
8233 yes:)
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8236 ac_tool_warned=yes ;;
8237 esac
8238 DLLTOOL=$ac_ct_DLLTOOL
8240 else
8241 DLLTOOL="$ac_cv_prog_DLLTOOL"
8244 LIBEXT="dll"
8245 DLLEXT=""
8246 case $host_cpu in
8247 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8248 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8249 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 ac_wine_try_cflags_saved=$CFLAGS
8253 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8260 else
8261 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 CFLAGS=$ac_wine_try_cflags_saved
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8268 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8269 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8270 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8271 fi ;;
8272 esac
8273 enable_iphlpapi=${enable_iphlpapi:-no}
8274 enable_kernel32=${enable_kernel32:-no}
8275 enable_ntdll=${enable_ntdll:-no}
8276 enable_ws2_32=${enable_ws2_32:-no}
8277 enable_loader=${enable_loader:-no}
8278 enable_server=${enable_server:-no}
8279 with_x=${with_x:-no}
8280 with_pthread=${with_pthread:-no}
8283 darwin*|macosx*)
8284 ac_ext=m
8285 ac_cpp='$OBJCPP $CPPFLAGS'
8286 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8287 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8288 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8290 ac_ext=m
8291 ac_cpp='$OBJCPP $CPPFLAGS'
8292 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8293 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8294 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8295 if test -n "$ac_tool_prefix"; then
8296 for ac_prog in gcc objcc objc cc CC
8298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8299 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301 $as_echo_n "checking for $ac_word... " >&6; }
8302 if ${ac_cv_prog_OBJC+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 if test -n "$OBJC"; then
8306 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8307 else
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 for as_dir in $PATH
8311 IFS=$as_save_IFS
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8315 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8317 break 2
8319 done
8320 done
8321 IFS=$as_save_IFS
8325 OBJC=$ac_cv_prog_OBJC
8326 if test -n "$OBJC"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8328 $as_echo "$OBJC" >&6; }
8329 else
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8335 test -n "$OBJC" && break
8336 done
8338 if test -z "$OBJC"; then
8339 ac_ct_OBJC=$OBJC
8340 for ac_prog in gcc objcc objc cc CC
8342 # Extract the first word of "$ac_prog", so it can be a program name with args.
8343 set dummy $ac_prog; ac_word=$2
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8345 $as_echo_n "checking for $ac_word... " >&6; }
8346 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 if test -n "$ac_ct_OBJC"; then
8350 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8351 else
8352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8353 for as_dir in $PATH
8355 IFS=$as_save_IFS
8356 test -z "$as_dir" && as_dir=.
8357 for ac_exec_ext in '' $ac_executable_extensions; do
8358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8359 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 break 2
8363 done
8364 done
8365 IFS=$as_save_IFS
8369 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8370 if test -n "$ac_ct_OBJC"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8372 $as_echo "$ac_ct_OBJC" >&6; }
8373 else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8379 test -n "$ac_ct_OBJC" && break
8380 done
8382 if test "x$ac_ct_OBJC" = x; then
8383 OBJC="gcc"
8384 else
8385 case $cross_compiling:$ac_tool_warned in
8386 yes:)
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8389 ac_tool_warned=yes ;;
8390 esac
8391 OBJC=$ac_ct_OBJC
8395 # Provide some information about the compiler.
8396 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8397 set X $ac_compile
8398 ac_compiler=$2
8399 for ac_option in --version -v -V -qversion; do
8400 { { ac_try="$ac_compiler $ac_option >&5"
8401 case "(($ac_try" in
8402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8403 *) ac_try_echo=$ac_try;;
8404 esac
8405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8406 $as_echo "$ac_try_echo"; } >&5
8407 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8408 ac_status=$?
8409 if test -s conftest.err; then
8410 sed '10a\
8411 ... rest of stderr output deleted ...
8412 10q' conftest.err >conftest.er1
8413 cat conftest.er1 >&5
8415 rm -f conftest.er1 conftest.err
8416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8417 test $ac_status = 0; }
8418 done
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8421 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8422 if ${ac_cv_objc_compiler_gnu+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8429 main ()
8431 #ifndef __GNUC__
8432 choke me
8433 #endif
8436 return 0;
8438 _ACEOF
8439 if ac_fn_objc_try_compile "$LINENO"; then :
8440 ac_compiler_gnu=yes
8441 else
8442 ac_compiler_gnu=no
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8449 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8450 if test $ac_compiler_gnu = yes; then
8451 GOBJC=yes
8452 else
8453 GOBJC=
8455 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8456 ac_save_OBJCFLAGS=$OBJCFLAGS
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8458 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8459 if ${ac_cv_prog_objc_g+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_save_objc_werror_flag=$ac_objc_werror_flag
8463 ac_objc_werror_flag=yes
8464 ac_cv_prog_objc_g=no
8465 OBJCFLAGS="-g"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8470 main ()
8474 return 0;
8476 _ACEOF
8477 if ac_fn_objc_try_compile "$LINENO"; then :
8478 ac_cv_prog_objc_g=yes
8479 else
8480 OBJCFLAGS=""
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8485 main ()
8489 return 0;
8491 _ACEOF
8492 if ac_fn_objc_try_compile "$LINENO"; then :
8494 else
8495 ac_objc_werror_flag=$ac_save_objc_werror_flag
8496 OBJCFLAGS="-g"
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8501 main ()
8505 return 0;
8507 _ACEOF
8508 if ac_fn_objc_try_compile "$LINENO"; then :
8509 ac_cv_prog_objc_g=yes
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8516 ac_objc_werror_flag=$ac_save_objc_werror_flag
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8519 $as_echo "$ac_cv_prog_objc_g" >&6; }
8520 if test "$ac_test_OBJCFLAGS" = set; then
8521 OBJCFLAGS=$ac_save_OBJCFLAGS
8522 elif test $ac_cv_prog_objc_g = yes; then
8523 if test "$GOBJC" = yes; then
8524 OBJCFLAGS="-g -O2"
8525 else
8526 OBJCFLAGS="-g"
8528 else
8529 if test "$GOBJC" = yes; then
8530 OBJCFLAGS="-O2"
8531 else
8532 OBJCFLAGS=
8535 ac_ext=m
8536 ac_cpp='$OBJCPP $CPPFLAGS'
8537 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8538 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8539 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8542 ac_ext=m
8543 ac_cpp='$OBJCPP $CPPFLAGS'
8544 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8545 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8546 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8548 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8549 if test -z "$OBJCPP"; then
8550 if ${ac_cv_prog_OBJCPP+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 # Double quotes because OBJCPP needs to be expanded
8554 for OBJCPP in "$OBJC -E" "/lib/cpp"
8556 ac_preproc_ok=false
8557 for ac_objc_preproc_warn_flag in '' yes
8559 # Use a header file that comes with gcc, so configuring glibc
8560 # with a fresh cross-compiler works.
8561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8562 # <limits.h> exists even on freestanding compilers.
8563 # On the NeXT, cc -E runs the code through the compiler's parser,
8564 # not just through cpp. "Syntax error" is here to catch this case.
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 #ifdef __STDC__
8568 # include <limits.h>
8569 #else
8570 # include <assert.h>
8571 #endif
8572 Syntax error
8573 _ACEOF
8574 if ac_fn_objc_try_cpp "$LINENO"; then :
8576 else
8577 # Broken: fails on valid input.
8578 continue
8580 rm -f conftest.err conftest.i conftest.$ac_ext
8582 # OK, works on sane cases. Now check whether nonexistent headers
8583 # can be detected and how.
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 #include <ac_nonexistent.h>
8587 _ACEOF
8588 if ac_fn_objc_try_cpp "$LINENO"; then :
8589 # Broken: success on invalid input.
8590 continue
8591 else
8592 # Passes both tests.
8593 ac_preproc_ok=:
8594 break
8596 rm -f conftest.err conftest.i conftest.$ac_ext
8598 done
8599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8600 rm -f conftest.i conftest.err conftest.$ac_ext
8601 if $ac_preproc_ok; then :
8602 break
8605 done
8606 ac_cv_prog_OBJCPP=$OBJCPP
8609 OBJCPP=$ac_cv_prog_OBJCPP
8610 else
8611 ac_cv_prog_OBJCPP=$OBJCPP
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8614 $as_echo "$OBJCPP" >&6; }
8615 ac_preproc_ok=false
8616 for ac_objc_preproc_warn_flag in '' yes
8618 # Use a header file that comes with gcc, so configuring glibc
8619 # with a fresh cross-compiler works.
8620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8621 # <limits.h> exists even on freestanding compilers.
8622 # On the NeXT, cc -E runs the code through the compiler's parser,
8623 # not just through cpp. "Syntax error" is here to catch this case.
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 #ifdef __STDC__
8627 # include <limits.h>
8628 #else
8629 # include <assert.h>
8630 #endif
8631 Syntax error
8632 _ACEOF
8633 if ac_fn_objc_try_cpp "$LINENO"; then :
8635 else
8636 # Broken: fails on valid input.
8637 continue
8639 rm -f conftest.err conftest.i conftest.$ac_ext
8641 # OK, works on sane cases. Now check whether nonexistent headers
8642 # can be detected and how.
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 #include <ac_nonexistent.h>
8646 _ACEOF
8647 if ac_fn_objc_try_cpp "$LINENO"; then :
8648 # Broken: success on invalid input.
8649 continue
8650 else
8651 # Passes both tests.
8652 ac_preproc_ok=:
8653 break
8655 rm -f conftest.err conftest.i conftest.$ac_ext
8657 done
8658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8659 rm -f conftest.i conftest.err conftest.$ac_ext
8660 if $ac_preproc_ok; then :
8662 else
8663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8665 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8666 See \`config.log' for more details" "$LINENO" 5; }
8669 ac_ext=m
8670 ac_cpp='$OBJCPP $CPPFLAGS'
8671 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8672 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8673 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8676 for ac_header in Metal/Metal.h
8677 do :
8678 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8679 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8680 cat >>confdefs.h <<_ACEOF
8681 #define HAVE_METAL_METAL_H 1
8682 _ACEOF
8686 done
8688 ac_ext=c
8689 ac_cpp='$CPP $CPPFLAGS'
8690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8694 LIBEXT="dylib"
8695 DLLFLAGS="$DLLFLAGS -fPIC"
8696 LDDLLFLAGS="-fPIC"
8697 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8698 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8699 COREFOUNDATION_LIBS="-framework CoreFoundation"
8701 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8703 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8705 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8707 CORESERVICES_LIBS="-framework CoreServices"
8709 APPKIT_LIBS="-framework AppKit"
8711 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8714 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8716 wine_can_build_preloader=yes
8717 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8719 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8720 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__Wl__no_new_main__e__main=yes
8731 else
8732 ac_cv_cflags__Wl__no_new_main__e__main=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8739 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8740 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8741 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8743 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8744 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8755 else
8756 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8763 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8764 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8765 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8766 else
8767 { $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
8768 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8769 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8780 else
8781 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $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
8788 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8789 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8790 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8791 else
8792 wine_can_build_preloader=no
8795 else
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8797 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8798 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int main(int argc, char **argv) { return 0; }
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8809 else
8810 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8817 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8818 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8819 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8822 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8823 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8824 $as_echo_n "(cached) " >&6
8825 else
8826 ac_wine_try_cflags_saved=$CFLAGS
8827 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8830 int main(int argc, char **argv) { return 0; }
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8834 else
8835 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 CFLAGS=$ac_wine_try_cflags_saved
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8842 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8843 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8844 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8845 else
8846 wine_can_build_preloader=no
8850 if test "$wine_can_build_preloader" = "yes"
8851 then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8853 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8854 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -Wl,-no_pie"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 int main(int argc, char **argv) { return 0; }
8862 _ACEOF
8863 if ac_fn_c_try_link "$LINENO"; then :
8864 ac_cv_cflags__Wl__no_pie=yes
8865 else
8866 ac_cv_cflags__Wl__no_pie=no
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8873 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8874 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8875 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8877 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8878 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8879 else
8880 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8883 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8884 then
8885 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8888 if test "$ac_cv_header_Security_Security_h" = "yes"
8889 then
8890 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8892 ac_save_LIBS="$LIBS"
8893 LIBS="$LIBS $SECURITY_LIBS"
8894 for ac_func in SSLCopyPeerCertificates
8895 do :
8896 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8897 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8898 cat >>confdefs.h <<_ACEOF
8899 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8900 _ACEOF
8903 done
8905 LIBS="$ac_save_LIBS"
8907 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8908 then
8909 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8910 then
8911 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8913 else
8914 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8917 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8918 ac_save_LIBS="$LIBS"
8919 LIBS="$LIBS $COREAUDIO_LIBS"
8920 for ac_func in AUGraphAddNode
8921 do :
8922 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8923 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8924 cat >>confdefs.h <<_ACEOF
8925 #define HAVE_AUGRAPHADDNODE 1
8926 _ACEOF
8929 done
8931 LIBS="$ac_save_LIBS"
8933 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8934 then
8935 OPENAL_LIBS="-framework OpenAL"
8938 cat >>confdefs.h <<_ACEOF
8939 #define HAVE_OPENAL 1
8940 _ACEOF
8942 ac_cv_lib_openal=yes
8944 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8945 then
8946 OPENCL_LIBS="-framework OpenCL"
8948 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8950 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8951 then
8952 ac_save_LIBS="$LIBS"
8953 LIBS="$LIBS $IOKIT_LIBS"
8954 for ac_func in IOHIDManagerCreate
8955 do :
8956 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8957 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8958 cat >>confdefs.h <<_ACEOF
8959 #define HAVE_IOHIDMANAGERCREATE 1
8960 _ACEOF
8963 done
8965 LIBS="$ac_save_LIBS"
8967 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8968 then
8969 ac_save_LIBS="$LIBS"
8970 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8972 $as_echo_n "checking for the QuickTime framework... " >&6; }
8973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8975 #include <QuickTime/ImageCompression.h>
8977 main ()
8979 CodecManagerVersion(NULL);
8981 return 0;
8983 _ACEOF
8984 if ac_fn_c_try_link "$LINENO"; then :
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8986 $as_echo "yes" >&6; }
8987 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8989 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8990 else
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
8993 ac_cv_header_QuickTime_ImageCompression_h=no
8995 rm -f core conftest.err conftest.$ac_objext \
8996 conftest$ac_exeext conftest.$ac_ext
8997 LIBS="$ac_save_LIBS"
8999 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
9000 then
9001 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
9003 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9004 then
9005 CARBON_LIBS="-framework Carbon"
9008 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9009 then
9010 METAL_LIBS="-framework Metal -framework QuartzCore"
9014 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9015 then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9017 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9018 ac_ext=m
9019 ac_cpp='$OBJCPP $CPPFLAGS'
9020 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9021 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9022 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9026 #include <Metal/Metal.h>
9028 main ()
9030 id<MTLDevice> device; device.registryID;
9032 return 0;
9034 _ACEOF
9035 if ac_fn_objc_try_compile "$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9037 $as_echo "yes" >&6; }
9039 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9041 else
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9046 ac_ext=c
9047 ac_cpp='$CPP $CPPFLAGS'
9048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9054 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9055 then
9056 ac_save_LIBS="$LIBS"
9057 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9058 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9059 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9060 enable_winemac_drv=${enable_winemac_drv:-yes}
9063 LIBS="$ac_save_LIBS"
9066 if test "x$enable_win16" = "xyes"
9067 then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9069 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9070 if test "$cross_compiling" = yes; then :
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9072 $as_echo "cross-compiling, assuming yes" >&6; }
9073 else
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 asm(".text\n"
9077 "bad:\tnop;nop\n"
9078 "good:\tnop;nop\n\t"
9079 ".globl _testfunc\n"
9080 "_testfunc:\tcallw good");
9081 extern void testfunc();
9083 main ()
9085 unsigned short *p = (unsigned short *)testfunc;
9086 return p[0] != 0xe866 || p[1] != 0xfffa
9088 return 0;
9090 _ACEOF
9091 if ac_fn_c_try_run "$LINENO"; then :
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9093 $as_echo "yes" >&6; }
9094 else
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9097 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9100 conftest.$ac_objext conftest.beam conftest.$ac_ext
9105 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9107 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9109 WINELOADER_DEPENDS="wine_info.plist"
9111 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9112 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9115 linux-android*)
9116 DLLFLAGS="$DLLFLAGS -fPIC"
9117 LDDLLFLAGS="-fPIC"
9118 LDEXECFLAGS="-Wl,-pie"
9119 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9121 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9122 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9129 int main(int argc, char **argv) { return 0; }
9130 _ACEOF
9131 if ac_fn_c_try_link "$LINENO"; then :
9132 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9133 else
9134 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 CFLAGS=$ac_wine_try_cflags_saved
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9141 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9142 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9143 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9145 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9146 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9148 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9149 if eval \${$as_ac_var+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 int main(int argc, char **argv) { return 0; }
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 eval "$as_ac_var=yes"
9160 else
9161 eval "$as_ac_var=no"
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 CFLAGS=$ac_wine_try_cflags_saved
9167 eval ac_res=\$$as_ac_var
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9169 $as_echo "$ac_res" >&6; }
9170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9171 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9172 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9173 else
9174 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9176 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9177 if eval \${$as_ac_var+:} false; then :
9178 $as_echo_n "(cached) " >&6
9179 else
9180 ac_wine_try_cflags_saved=$CFLAGS
9181 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9184 int main(int argc, char **argv) { return 0; }
9185 _ACEOF
9186 if ac_fn_c_try_link "$LINENO"; then :
9187 eval "$as_ac_var=yes"
9188 else
9189 eval "$as_ac_var=no"
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9193 CFLAGS=$ac_wine_try_cflags_saved
9195 eval ac_res=\$$as_ac_var
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9197 $as_echo "$ac_res" >&6; }
9198 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9199 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9200 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9204 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9205 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_wine_try_cflags_saved=$CFLAGS
9209 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9212 int main(int argc, char **argv) { return 0; }
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 ac_cv_cflags__Wl___enable_new_dtags=yes
9216 else
9217 ac_cv_cflags__Wl___enable_new_dtags=no
9219 rm -f core conftest.err conftest.$ac_objext \
9220 conftest$ac_exeext conftest.$ac_ext
9221 CFLAGS=$ac_wine_try_cflags_saved
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9224 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9225 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9226 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9229 LIBWINE_SHAREDLIB="libwine.so"
9231 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9233 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9236 $as_echo_n "checking for -lEGL... " >&6; }
9237 if ${ac_cv_lib_soname_EGL+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_soname_save_LIBS=$LIBS
9241 LIBS="-lEGL $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char eglGetProcAddress ();
9253 main ()
9255 return eglGetProcAddress ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 case "$LIBEXT" in
9262 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9263 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'` ;;
9264 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9265 if ${ac_cv_lib_soname_EGL:+false} :; then :
9266 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9267 fi ;;
9268 esac
9269 else
9270 ac_cv_lib_soname_EGL=
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_soname_save_LIBS
9276 if ${ac_cv_lib_soname_EGL:+false} :; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9278 $as_echo "not found" >&6; }
9280 else
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9282 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9284 cat >>confdefs.h <<_ACEOF
9285 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9286 _ACEOF
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9291 $as_echo_n "checking for -lGLESv2... " >&6; }
9292 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_check_soname_save_LIBS=$LIBS
9296 LIBS="-lGLESv2 $LIBS"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9303 #ifdef __cplusplus
9304 extern "C"
9305 #endif
9306 char glFlush ();
9308 main ()
9310 return glFlush ();
9312 return 0;
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 case "$LIBEXT" in
9317 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9318 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'` ;;
9319 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9320 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9321 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9322 fi ;;
9323 esac
9324 else
9325 ac_cv_lib_soname_GLESv2=
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_soname_save_LIBS
9331 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9333 $as_echo "not found" >&6; }
9335 else
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9337 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9339 cat >>confdefs.h <<_ACEOF
9340 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9341 _ACEOF
9346 if test "x$exec_prefix" = xNONE
9347 then
9348 case $host_cpu in
9349 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9350 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9351 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9352 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9353 esac
9358 case $host_cpu in
9359 *i[3456789]86*)
9360 DLLFLAGS="$DLLFLAGS -fno-PIC"
9361 LDDLLFLAGS="-fno-PIC" ;;
9363 DLLFLAGS="$DLLFLAGS -fPIC"
9364 LDDLLFLAGS="-fPIC" ;;
9365 esac
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9367 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9368 if ${ac_cv_c_dll_gnuelf+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_wine_try_cflags_saved=$CFLAGS
9372 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9375 void myfunc() {}
9376 _ACEOF
9377 if ac_fn_c_try_link "$LINENO"; then :
9378 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9379 else
9380 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 CFLAGS=$ac_wine_try_cflags_saved
9385 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9386 ac_cv_c_dll_gnuelf="yes"
9387 else
9388 ac_cv_c_dll_gnuelf="no"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9392 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9393 if test "$ac_cv_c_dll_gnuelf" = "yes"
9394 then
9395 LIBWINE_LDFLAGS="-shared"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9397 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9398 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9399 $as_echo_n "(cached) " >&6
9400 else
9401 ac_wine_try_cflags_saved=$CFLAGS
9402 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9405 int main(int argc, char **argv) { return 0; }
9406 _ACEOF
9407 if ac_fn_c_try_link "$LINENO"; then :
9408 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9409 else
9410 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 CFLAGS=$ac_wine_try_cflags_saved
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9417 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9418 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9419 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9420 else
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9422 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9423 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
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__shared__Wl__h_confest_so_1=yes
9434 else
9435 ac_cv_cflags__shared__Wl__h_confest_so_1=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__shared__Wl__h_confest_so_1" >&5
9442 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9443 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9444 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9448 echo '{ global: *; };' >conftest.map
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9450 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9451 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_wine_try_cflags_saved=$CFLAGS
9455 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
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__shared__Wl___version_script_conftest_map=yes
9462 else
9463 ac_cv_cflags__shared__Wl___version_script_conftest_map=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__shared__Wl___version_script_conftest_map" >&5
9470 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9471 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9472 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9474 rm -f conftest.map
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9477 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9478 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 ac_cv_cflags__Wl___export_dynamic=yes
9489 else
9490 ac_cv_cflags__Wl___export_dynamic=no
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 CFLAGS=$ac_wine_try_cflags_saved
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9497 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9498 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9499 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9501 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9503 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9505 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9506 if eval \${$as_ac_var+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 eval "$as_ac_var=yes"
9517 else
9518 eval "$as_ac_var=no"
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 eval ac_res=\$$as_ac_var
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9526 $as_echo "$ac_res" >&6; }
9527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9528 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9529 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9530 else
9531 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9533 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9534 if eval \${$as_ac_var+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 eval "$as_ac_var=yes"
9545 else
9546 eval "$as_ac_var=no"
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 eval ac_res=\$$as_ac_var
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9554 $as_echo "$ac_res" >&6; }
9555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9556 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9557 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9562 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9563 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_wine_try_cflags_saved=$CFLAGS
9567 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 int main(int argc, char **argv) { return 0; }
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_cflags__Wl___enable_new_dtags=yes
9574 else
9575 ac_cv_cflags__Wl___enable_new_dtags=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 CFLAGS=$ac_wine_try_cflags_saved
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9582 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9583 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9584 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9587 case $host_cpu in
9588 *i[3456789]86* | x86_64 | *aarch64*)
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9590 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9591 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_wine_try_cflags_saved=$CFLAGS
9595 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9598 int main(int argc, char **argv) { return 0; }
9599 _ACEOF
9600 if ac_fn_c_try_link "$LINENO"; then :
9601 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9602 else
9603 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9605 rm -f core conftest.err conftest.$ac_objext \
9606 conftest$ac_exeext conftest.$ac_ext
9607 CFLAGS=$ac_wine_try_cflags_saved
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9610 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9611 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9612 case $host_os in
9613 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9614 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9615 esac
9616 else
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9618 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9619 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9620 $as_echo_n "(cached) " >&6
9621 else
9622 ac_wine_try_cflags_saved=$CFLAGS
9623 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9626 int main(int argc, char **argv) { return 0; }
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9630 else
9631 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9633 rm -f core conftest.err conftest.$ac_objext \
9634 conftest$ac_exeext conftest.$ac_ext
9635 CFLAGS=$ac_wine_try_cflags_saved
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9638 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9639 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9640 case $host_os in
9641 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9642 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9643 esac
9645 # Extract the first word of "prelink", so it can be a program name with args.
9646 set dummy prelink; ac_word=$2
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 $as_echo_n "checking for $ac_word... " >&6; }
9649 if ${ac_cv_path_PRELINK+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 case $PRELINK in
9653 [\\/]* | ?:[\\/]*)
9654 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9658 for as_dir in /sbin /usr/sbin $PATH
9660 IFS=$as_save_IFS
9661 test -z "$as_dir" && as_dir=.
9662 for ac_exec_ext in '' $ac_executable_extensions; do
9663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9664 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9666 break 2
9668 done
9669 done
9670 IFS=$as_save_IFS
9672 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9674 esac
9676 PRELINK=$ac_cv_path_PRELINK
9677 if test -n "$PRELINK"; then
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9679 $as_echo "$PRELINK" >&6; }
9680 else
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9682 $as_echo "no" >&6; }
9686 if test "x$PRELINK" = xfalse
9687 then
9688 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9692 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9693 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_wine_try_cflags_saved=$CFLAGS
9697 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9700 int main(int argc, char **argv) { return 0; }
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9704 else
9705 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 CFLAGS=$ac_wine_try_cflags_saved
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9712 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9713 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9714 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9717 esac
9719 else
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9721 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9722 if ${ac_cv_c_dll_unixware+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_wine_try_cflags_saved=$CFLAGS
9726 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9729 void myfunc() {}
9730 _ACEOF
9731 if ac_fn_c_try_link "$LINENO"; then :
9732 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9733 else
9734 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 CFLAGS=$ac_wine_try_cflags_saved
9739 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9740 ac_cv_c_dll_unixware="yes"
9741 else
9742 ac_cv_c_dll_unixware="no"
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9746 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9747 if test "$ac_cv_c_dll_unixware" = "yes"
9748 then
9749 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9752 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9754 LIBWINE_DEPENDS="wine.map"
9756 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9757 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9759 esac
9761 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9762 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9763 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9764 enable_winemac_drv=${enable_winemac_drv:-no}
9765 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9768 if test "x$with_mingw" != xno
9769 then
9770 case "x$with_mingw" in
9771 x|xyes) case "$host_cpu" in
9772 aarch64*)
9773 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9774 arm*)
9775 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9776 i[3456789]86*)
9777 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
9778 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9779 mingw32-gcc" ;;
9780 x86_64)
9781 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
9782 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9784 ac_prefix_list="" ;;
9785 esac
9786 for ac_prog in $ac_prefix_list
9788 # Extract the first word of "$ac_prog", so it can be a program name with args.
9789 set dummy $ac_prog; ac_word=$2
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9791 $as_echo_n "checking for $ac_word... " >&6; }
9792 if ${ac_cv_prog_CROSSCC+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 if test -n "$CROSSCC"; then
9796 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9797 else
9798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9799 for as_dir in $PATH
9801 IFS=$as_save_IFS
9802 test -z "$as_dir" && as_dir=.
9803 for ac_exec_ext in '' $ac_executable_extensions; do
9804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9805 ac_cv_prog_CROSSCC="$ac_prog"
9806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9807 break 2
9809 done
9810 done
9811 IFS=$as_save_IFS
9815 CROSSCC=$ac_cv_prog_CROSSCC
9816 if test -n "$CROSSCC"; then
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9818 $as_echo "$CROSSCC" >&6; }
9819 else
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9821 $as_echo "no" >&6; }
9825 test -n "$CROSSCC" && break
9826 done
9827 test -n "$CROSSCC" || CROSSCC="false"
9829 *) CROSSCC=$with_mingw ;;
9830 esac
9831 if test "$CROSSCC" != "false"
9832 then
9833 ac_save_CC="$CC"
9834 saved_CFLAGS=$CFLAGS
9835 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9837 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9841 CC="$CROSSCC"
9842 CFLAGS=$CROSSCFLAGS
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9844 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9845 if ${wine_cv_crosscc+:} false; then :
9846 $as_echo_n "(cached) " >&6
9847 else
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9852 main ()
9856 return 0;
9858 _ACEOF
9859 if ac_fn_c_try_compile "$LINENO"; then :
9860 wine_cv_crosscc=yes
9861 else
9862 wine_cv_crosscc=no
9864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9867 $as_echo "$wine_cv_crosscc" >&6; }
9868 if test $wine_cv_crosscc = yes
9869 then
9870 set x $CROSSCC
9871 shift
9872 while test $# -ge 1
9874 case "$1" in
9875 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9876 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9877 esac
9878 shift
9879 done
9881 llvm_target=$CROSSTARGET
9882 llvm_cflags="-fuse-ld=lld"
9883 if test -z "$llvm_target"
9884 then
9885 case $host_cpu in
9886 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9887 *) llvm_target=$host_cpu-windows-gnu ;;
9888 esac
9890 case $llvm_target in
9891 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9892 esac
9893 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9896 if eval \${$as_ac_var+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int __cdecl mainCRTStartup(void) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 eval "$as_ac_var=yes"
9911 else
9912 eval "$as_ac_var=no"
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 eval ac_res=\$$as_ac_var
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9922 $as_echo "$ac_res" >&6; }
9923 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9924 CROSSTARGET=$llvm_target
9925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9926 DELAYLOADFLAG="-Wl,-delayload,"
9928 CFLAGS="$CFLAGS $llvm_cflags"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9932 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9933 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_wine_try_cflags_saved=$CFLAGS
9937 ac_wine_try_cflags_saved_cc=$CC
9938 ac_wine_try_cflags_saved_exeext=$ac_exeext
9939 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9940 CC="$CROSSCC"
9941 ac_exeext=".exe"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 int __cdecl mainCRTStartup(void) { return 0; }
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 ac_cv_crosscflags__fno_strict_aliasing=yes
9948 else
9949 ac_cv_crosscflags__fno_strict_aliasing=no
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9954 CC=$ac_wine_try_cflags_saved_cc
9955 ac_exeext=$ac_wine_try_cflags_saved_exeext
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9958 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9959 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9960 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9963 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9964 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 ac_wine_try_cflags_saved_cc=$CC
9969 ac_wine_try_cflags_saved_exeext=$ac_exeext
9970 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9971 CC="$CROSSCC"
9972 ac_exeext=".exe"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int __cdecl mainCRTStartup(void) { return 0; }
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9979 else
9980 ac_cv_crosscflags__Werror_unknown_warning_option=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9985 CC=$ac_wine_try_cflags_saved_cc
9986 ac_exeext=$ac_wine_try_cflags_saved_exeext
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9989 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9990 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9991 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9994 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9995 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 ac_wine_try_cflags_saved_cc=$CC
10000 ac_wine_try_cflags_saved_exeext=$ac_exeext
10001 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10002 CC="$CROSSCC"
10003 ac_exeext=".exe"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 int __cdecl mainCRTStartup(void) { return 0; }
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10010 else
10011 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10013 rm -f core conftest.err conftest.$ac_objext \
10014 conftest$ac_exeext conftest.$ac_ext
10015 CFLAGS=$ac_wine_try_cflags_saved
10016 CC=$ac_wine_try_cflags_saved_cc
10017 ac_exeext=$ac_wine_try_cflags_saved_exeext
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10020 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10021 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10022 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10025 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10026 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_wine_try_cflags_saved=$CFLAGS
10030 ac_wine_try_cflags_saved_cc=$CC
10031 ac_wine_try_cflags_saved_exeext=$ac_exeext
10032 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10033 CC="$CROSSCC"
10034 ac_exeext=".exe"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 int __cdecl mainCRTStartup(void) { return 0; }
10038 _ACEOF
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10041 else
10042 ac_cv_crosscflags__Wdeclaration_after_statement=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 CFLAGS=$ac_wine_try_cflags_saved
10047 CC=$ac_wine_try_cflags_saved_cc
10048 ac_exeext=$ac_wine_try_cflags_saved_exeext
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10051 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10052 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10053 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10056 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10057 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_wine_try_cflags_saved=$CFLAGS
10061 ac_wine_try_cflags_saved_cc=$CC
10062 ac_wine_try_cflags_saved_exeext=$ac_exeext
10063 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10064 CC="$CROSSCC"
10065 ac_exeext=".exe"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 int __cdecl mainCRTStartup(void) { return 0; }
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_crosscflags__Wempty_body=yes
10072 else
10073 ac_cv_crosscflags__Wempty_body=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 CFLAGS=$ac_wine_try_cflags_saved
10078 CC=$ac_wine_try_cflags_saved_cc
10079 ac_exeext=$ac_wine_try_cflags_saved_exeext
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10082 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10083 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10087 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10088 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 ac_wine_try_cflags_saved_cc=$CC
10093 ac_wine_try_cflags_saved_exeext=$ac_exeext
10094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10095 CC="$CROSSCC"
10096 ac_exeext=".exe"
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 int __cdecl mainCRTStartup(void) { return 0; }
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 ac_cv_crosscflags__Wignored_qualifiers=yes
10103 else
10104 ac_cv_crosscflags__Wignored_qualifiers=no
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 CFLAGS=$ac_wine_try_cflags_saved
10109 CC=$ac_wine_try_cflags_saved_cc
10110 ac_exeext=$ac_wine_try_cflags_saved_exeext
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10113 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10114 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10115 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10118 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10119 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_wine_try_cflags_saved=$CFLAGS
10123 ac_wine_try_cflags_saved_cc=$CC
10124 ac_wine_try_cflags_saved_exeext=$ac_exeext
10125 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10126 CC="$CROSSCC"
10127 ac_exeext=".exe"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 int __cdecl mainCRTStartup(void) { return 0; }
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 ac_cv_crosscflags__Wpacked_not_aligned=yes
10134 else
10135 ac_cv_crosscflags__Wpacked_not_aligned=no
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_wine_try_cflags_saved
10140 CC=$ac_wine_try_cflags_saved_cc
10141 ac_exeext=$ac_wine_try_cflags_saved_exeext
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10144 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10145 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10146 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10149 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10150 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 ac_wine_try_cflags_saved_cc=$CC
10155 ac_wine_try_cflags_saved_exeext=$ac_exeext
10156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10157 CC="$CROSSCC"
10158 ac_exeext=".exe"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int __cdecl mainCRTStartup(void) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_crosscflags__Wpragma_pack=yes
10165 else
10166 ac_cv_crosscflags__Wpragma_pack=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 CFLAGS=$ac_wine_try_cflags_saved
10171 CC=$ac_wine_try_cflags_saved_cc
10172 ac_exeext=$ac_wine_try_cflags_saved_exeext
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10175 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10176 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10180 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10181 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 ac_wine_try_cflags_saved_cc=$CC
10186 ac_wine_try_cflags_saved_exeext=$ac_exeext
10187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10188 CC="$CROSSCC"
10189 ac_exeext=".exe"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 int __cdecl mainCRTStartup(void) { return 0; }
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 ac_cv_crosscflags__Wshift_overflow_2=yes
10196 else
10197 ac_cv_crosscflags__Wshift_overflow_2=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10202 CC=$ac_wine_try_cflags_saved_cc
10203 ac_exeext=$ac_wine_try_cflags_saved_exeext
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10206 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10207 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10208 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10211 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10212 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_wine_try_cflags_saved=$CFLAGS
10216 ac_wine_try_cflags_saved_cc=$CC
10217 ac_wine_try_cflags_saved_exeext=$ac_exeext
10218 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10219 CC="$CROSSCC"
10220 ac_exeext=".exe"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int __cdecl mainCRTStartup(void) { return 0; }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_crosscflags__Wstrict_prototypes=yes
10227 else
10228 ac_cv_crosscflags__Wstrict_prototypes=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10233 CC=$ac_wine_try_cflags_saved_cc
10234 ac_exeext=$ac_wine_try_cflags_saved_exeext
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10237 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10238 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10239 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10242 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10243 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 ac_wine_try_cflags_saved_cc=$CC
10248 ac_wine_try_cflags_saved_exeext=$ac_exeext
10249 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10250 CC="$CROSSCC"
10251 ac_exeext=".exe"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 int __cdecl mainCRTStartup(void) { return 0; }
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_crosscflags__Wtype_limits=yes
10258 else
10259 ac_cv_crosscflags__Wtype_limits=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 CFLAGS=$ac_wine_try_cflags_saved
10264 CC=$ac_wine_try_cflags_saved_cc
10265 ac_exeext=$ac_wine_try_cflags_saved_exeext
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10268 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10269 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10270 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10273 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10274 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_wine_try_cflags_saved=$CFLAGS
10278 ac_wine_try_cflags_saved_cc=$CC
10279 ac_wine_try_cflags_saved_exeext=$ac_exeext
10280 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10281 CC="$CROSSCC"
10282 ac_exeext=".exe"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10285 int __cdecl mainCRTStartup(void) { return 0; }
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10289 else
10290 ac_cv_crosscflags__Wunused_but_set_parameter=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 CFLAGS=$ac_wine_try_cflags_saved
10295 CC=$ac_wine_try_cflags_saved_cc
10296 ac_exeext=$ac_wine_try_cflags_saved_exeext
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10299 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10300 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10301 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10304 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10305 if ${ac_cv_crosscflags__Wvla+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_wine_try_cflags_saved=$CFLAGS
10309 ac_wine_try_cflags_saved_cc=$CC
10310 ac_wine_try_cflags_saved_exeext=$ac_exeext
10311 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10312 CC="$CROSSCC"
10313 ac_exeext=".exe"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10316 int __cdecl mainCRTStartup(void) { return 0; }
10317 _ACEOF
10318 if ac_fn_c_try_link "$LINENO"; then :
10319 ac_cv_crosscflags__Wvla=yes
10320 else
10321 ac_cv_crosscflags__Wvla=no
10323 rm -f core conftest.err conftest.$ac_objext \
10324 conftest$ac_exeext conftest.$ac_ext
10325 CFLAGS=$ac_wine_try_cflags_saved
10326 CC=$ac_wine_try_cflags_saved_cc
10327 ac_exeext=$ac_wine_try_cflags_saved_exeext
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10330 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10331 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10332 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10335 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10336 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 ac_wine_try_cflags_saved_cc=$CC
10341 ac_wine_try_cflags_saved_exeext=$ac_exeext
10342 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10343 CC="$CROSSCC"
10344 ac_exeext=".exe"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 int __cdecl mainCRTStartup(void) { return 0; }
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 ac_cv_crosscflags__Wwrite_strings=yes
10351 else
10352 ac_cv_crosscflags__Wwrite_strings=no
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10357 CC=$ac_wine_try_cflags_saved_cc
10358 ac_exeext=$ac_wine_try_cflags_saved_exeext
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10361 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10362 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10363 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10367 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int __cdecl mainCRTStartup(void) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__Wpointer_arith=yes
10382 else
10383 ac_cv_crosscflags__Wpointer_arith=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10392 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10393 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10397 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10398 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_wine_try_cflags_saved=$CFLAGS
10402 ac_wine_try_cflags_saved_cc=$CC
10403 ac_wine_try_cflags_saved_exeext=$ac_exeext
10404 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10405 CC="$CROSSCC"
10406 ac_exeext=".exe"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 int __cdecl mainCRTStartup(void) { return 0; }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 ac_cv_crosscflags__Wlogical_op=yes
10413 else
10414 ac_cv_crosscflags__Wlogical_op=no
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 CFLAGS=$ac_wine_try_cflags_saved
10419 CC=$ac_wine_try_cflags_saved_cc
10420 ac_exeext=$ac_wine_try_cflags_saved_exeext
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10423 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10424 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10428 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10429 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_wine_try_cflags_saved=$CFLAGS
10433 ac_wine_try_cflags_saved_cc=$CC
10434 ac_wine_try_cflags_saved_exeext=$ac_exeext
10435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10436 CC="$CROSSCC"
10437 ac_exeext=".exe"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 int __cdecl mainCRTStartup(void) { return 0; }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 ac_cv_crosscflags__Wabsolute_value=yes
10444 else
10445 ac_cv_crosscflags__Wabsolute_value=no
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 CFLAGS=$ac_wine_try_cflags_saved
10450 CC=$ac_wine_try_cflags_saved_cc
10451 ac_exeext=$ac_wine_try_cflags_saved_exeext
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10454 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10455 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10456 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10459 case $host_cpu in
10460 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10461 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10462 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_wine_try_cflags_saved=$CFLAGS
10466 ac_wine_try_cflags_saved_cc=$CC
10467 ac_wine_try_cflags_saved_exeext=$ac_exeext
10468 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10469 CC="$CROSSCC"
10470 ac_exeext=".exe"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 int __cdecl mainCRTStartup(void) { return 0; }
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10477 else
10478 ac_cv_crosscflags__fno_omit_frame_pointer=no
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 CFLAGS=$ac_wine_try_cflags_saved
10483 CC=$ac_wine_try_cflags_saved_cc
10484 ac_exeext=$ac_wine_try_cflags_saved_exeext
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10487 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10488 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10489 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10490 fi ;;
10491 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10492 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10493 if ${ac_cv_crosscflags__Wno_format+:} 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 -Wno-format"
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__Wno_format=yes
10508 else
10509 ac_cv_crosscflags__Wno_format=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__Wno_format" >&5
10518 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10519 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10520 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10523 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10524 if ${ac_cv_crosscflags__Wformat_overflow+:} 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 -Wformat-overflow"
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__Wformat_overflow=yes
10539 else
10540 ac_cv_crosscflags__Wformat_overflow=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__Wformat_overflow" >&5
10549 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10550 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10551 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10554 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10555 if ${ac_cv_crosscflags__Wnonnull+:} 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 -Wnonnull"
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__Wnonnull=yes
10570 else
10571 ac_cv_crosscflags__Wnonnull=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__Wnonnull" >&5
10580 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10581 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10582 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10583 fi ;;
10584 esac
10587 if test -z "$CROSSDEBUG"
10588 then
10589 for ac_flag in $CROSSCFLAGS; do
10590 case $ac_flag in
10591 -gdwarf*) CROSSDEBUG=dwarf ;;
10592 -gcodeview) CROSSDEBUG=pdb ;;
10593 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10594 esac
10595 done
10597 case $CROSSDEBUG in
10598 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10599 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10600 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10601 $as_echo_n "(cached) " >&6
10602 else
10603 ac_wine_try_cflags_saved=$CFLAGS
10604 ac_wine_try_cflags_saved_cc=$CC
10605 ac_wine_try_cflags_saved_exeext=$ac_exeext
10606 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10607 CC="$CROSSCC"
10608 ac_exeext=".exe"
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10611 int __cdecl mainCRTStartup(void) { return 0; }
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 ac_cv_crosscflags__gdwarf_2=yes
10615 else
10616 ac_cv_crosscflags__gdwarf_2=no
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 CFLAGS=$ac_wine_try_cflags_saved
10621 CC=$ac_wine_try_cflags_saved_cc
10622 ac_exeext=$ac_wine_try_cflags_saved_exeext
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10625 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10626 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10627 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10630 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10631 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10632 $as_echo_n "(cached) " >&6
10633 else
10634 ac_wine_try_cflags_saved=$CFLAGS
10635 ac_wine_try_cflags_saved_cc=$CC
10636 ac_wine_try_cflags_saved_exeext=$ac_exeext
10637 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10638 CC="$CROSSCC"
10639 ac_exeext=".exe"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10642 int __cdecl mainCRTStartup(void) { return 0; }
10643 _ACEOF
10644 if ac_fn_c_try_link "$LINENO"; then :
10645 ac_cv_crosscflags__gstrict_dwarf=yes
10646 else
10647 ac_cv_crosscflags__gstrict_dwarf=no
10649 rm -f core conftest.err conftest.$ac_objext \
10650 conftest$ac_exeext conftest.$ac_ext
10651 CFLAGS=$ac_wine_try_cflags_saved
10652 CC=$ac_wine_try_cflags_saved_cc
10653 ac_exeext=$ac_wine_try_cflags_saved_exeext
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10656 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10657 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10658 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10659 fi ;;
10660 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10661 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10662 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_wine_try_cflags_saved=$CFLAGS
10666 ac_wine_try_cflags_saved_cc=$CC
10667 ac_wine_try_cflags_saved_exeext=$ac_exeext
10668 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10669 CC="$CROSSCC"
10670 ac_exeext=".exe"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 int __cdecl mainCRTStartup(void) { return 0; }
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 ac_cv_crosscflags__gcodeview=yes
10677 else
10678 ac_cv_crosscflags__gcodeview=no
10680 rm -f core conftest.err conftest.$ac_objext \
10681 conftest$ac_exeext conftest.$ac_ext
10682 CFLAGS=$ac_wine_try_cflags_saved
10683 CC=$ac_wine_try_cflags_saved_cc
10684 ac_exeext=$ac_wine_try_cflags_saved_exeext
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10687 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10688 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10689 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10690 fi ;;
10691 esac
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10694 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10695 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_wine_try_cflags_saved=$CFLAGS
10699 ac_wine_try_cflags_saved_cc=$CC
10700 ac_wine_try_cflags_saved_exeext=$ac_exeext
10701 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10702 CC="$CROSSCC"
10703 ac_exeext=".exe"
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10706 int __cdecl mainCRTStartup(void) { return 0; }
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_crosscflags__fexcess_precision_standard=yes
10710 else
10711 ac_cv_crosscflags__fexcess_precision_standard=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 CFLAGS=$ac_wine_try_cflags_saved
10716 CC=$ac_wine_try_cflags_saved_cc
10717 ac_exeext=$ac_wine_try_cflags_saved_exeext
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10720 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10721 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10722 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10726 if test "x$enable_werror" = "xyes"
10727 then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10729 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10730 if ${ac_cv_crosscflags__Werror+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_wine_try_cflags_saved=$CFLAGS
10734 ac_wine_try_cflags_saved_cc=$CC
10735 ac_wine_try_cflags_saved_exeext=$ac_exeext
10736 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10737 CC="$CROSSCC"
10738 ac_exeext=".exe"
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741 int __cdecl mainCRTStartup(void) { return 0; }
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 ac_cv_crosscflags__Werror=yes
10745 else
10746 ac_cv_crosscflags__Werror=no
10748 rm -f core conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 CFLAGS=$ac_wine_try_cflags_saved
10751 CC=$ac_wine_try_cflags_saved_cc
10752 ac_exeext=$ac_wine_try_cflags_saved_exeext
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10755 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10756 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10757 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10761 CFLAGS=$saved_CFLAGS
10762 CC="$ac_save_CC"
10765 if test "x$CROSSTARGET" = "x"; then :
10766 case "x$with_mingw" in
10767 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10768 xno) ;;
10769 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10770 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10771 esac
10776 if test "$ac_cv_header_pthread_h" = "yes"
10777 then
10778 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10779 if test "x$ac_cv_func_pthread_create" = xyes; then :
10781 else
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10783 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10784 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lpthread $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char pthread_create ();
10800 main ()
10802 return pthread_create ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_pthread_pthread_create=yes
10809 else
10810 ac_cv_lib_pthread_pthread_create=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10817 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10818 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10819 PTHREAD_LIBS="-lpthread"
10826 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10827 case "x$with_pthread" in
10828 xno) ;;
10829 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10830 Wine cannot support threads without libpthread.
10831 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10832 esac
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10838 $as_echo_n "checking for X... " >&6; }
10841 # Check whether --with-x was given.
10842 if test "${with_x+set}" = set; then :
10843 withval=$with_x;
10846 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10847 if test "x$with_x" = xno; then
10848 # The user explicitly disabled X.
10849 have_x=disabled
10850 else
10851 case $x_includes,$x_libraries in #(
10852 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10853 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10854 $as_echo_n "(cached) " >&6
10855 else
10856 # One or both of the vars are not set, and there is no cached value.
10857 ac_x_includes=no ac_x_libraries=no
10858 rm -f -r conftest.dir
10859 if mkdir conftest.dir; then
10860 cd conftest.dir
10861 cat >Imakefile <<'_ACEOF'
10862 incroot:
10863 @echo incroot='${INCROOT}'
10864 usrlibdir:
10865 @echo usrlibdir='${USRLIBDIR}'
10866 libdir:
10867 @echo libdir='${LIBDIR}'
10868 _ACEOF
10869 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10870 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10871 for ac_var in incroot usrlibdir libdir; do
10872 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10873 done
10874 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10875 for ac_extension in a so sl dylib la dll; do
10876 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10877 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10878 ac_im_usrlibdir=$ac_im_libdir; break
10880 done
10881 # Screen out bogus values from the imake configuration. They are
10882 # bogus both because they are the default anyway, and because
10883 # using them would break gcc on systems where it needs fixed includes.
10884 case $ac_im_incroot in
10885 /usr/include) ac_x_includes= ;;
10886 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10887 esac
10888 case $ac_im_usrlibdir in
10889 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10890 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10891 esac
10893 cd ..
10894 rm -f -r conftest.dir
10897 # Standard set of common directories for X headers.
10898 # Check X11 before X11Rn because it is often a symlink to the current release.
10899 ac_x_header_dirs='
10900 /usr/X11/include
10901 /usr/X11R7/include
10902 /usr/X11R6/include
10903 /usr/X11R5/include
10904 /usr/X11R4/include
10906 /usr/include/X11
10907 /usr/include/X11R7
10908 /usr/include/X11R6
10909 /usr/include/X11R5
10910 /usr/include/X11R4
10912 /usr/local/X11/include
10913 /usr/local/X11R7/include
10914 /usr/local/X11R6/include
10915 /usr/local/X11R5/include
10916 /usr/local/X11R4/include
10918 /usr/local/include/X11
10919 /usr/local/include/X11R7
10920 /usr/local/include/X11R6
10921 /usr/local/include/X11R5
10922 /usr/local/include/X11R4
10924 /usr/X386/include
10925 /usr/x386/include
10926 /usr/XFree86/include/X11
10928 /usr/include
10929 /usr/local/include
10930 /usr/unsupported/include
10931 /usr/athena/include
10932 /usr/local/x11r5/include
10933 /usr/lpp/Xamples/include
10935 /usr/openwin/include
10936 /usr/openwin/share/include'
10938 if test "$ac_x_includes" = no; then
10939 # Guess where to find include files, by looking for Xlib.h.
10940 # First, try using that file with no special directory specified.
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 #include <X11/Xlib.h>
10944 _ACEOF
10945 if ac_fn_c_try_cpp "$LINENO"; then :
10946 # We can compile using X headers with no special include directory.
10947 ac_x_includes=
10948 else
10949 for ac_dir in $ac_x_header_dirs; do
10950 if test -r "$ac_dir/X11/Xlib.h"; then
10951 ac_x_includes=$ac_dir
10952 break
10954 done
10956 rm -f conftest.err conftest.i conftest.$ac_ext
10957 fi # $ac_x_includes = no
10959 if test "$ac_x_libraries" = no; then
10960 # Check for the libraries.
10961 # See if we find them without any special options.
10962 # Don't add to $LIBS permanently.
10963 ac_save_LIBS=$LIBS
10964 LIBS="-lX11 $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10967 #include <X11/Xlib.h>
10969 main ()
10971 XrmInitialize ()
10973 return 0;
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"; then :
10977 LIBS=$ac_save_LIBS
10978 # We can link X programs with no special library path.
10979 ac_x_libraries=
10980 else
10981 LIBS=$ac_save_LIBS
10982 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10984 # Don't even attempt the hair of trying to link an X program!
10985 for ac_extension in a so sl dylib la dll; do
10986 if test -r "$ac_dir/libX11.$ac_extension"; then
10987 ac_x_libraries=$ac_dir
10988 break 2
10990 done
10991 done
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 fi # $ac_x_libraries = no
10997 case $ac_x_includes,$ac_x_libraries in #(
10998 no,* | *,no | *\'*)
10999 # Didn't find X, or a directory has "'" in its name.
11000 ac_cv_have_x="have_x=no";; #(
11002 # Record where we found X for the cache.
11003 ac_cv_have_x="have_x=yes\
11004 ac_x_includes='$ac_x_includes'\
11005 ac_x_libraries='$ac_x_libraries'"
11006 esac
11008 ;; #(
11009 *) have_x=yes;;
11010 esac
11011 eval "$ac_cv_have_x"
11012 fi # $with_x != no
11014 if test "$have_x" != yes; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11016 $as_echo "$have_x" >&6; }
11017 no_x=yes
11018 else
11019 # If each of the values was on the command line, it overrides each guess.
11020 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11021 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11022 # Update the cache value to reflect the command line values.
11023 ac_cv_have_x="have_x=yes\
11024 ac_x_includes='$x_includes'\
11025 ac_x_libraries='$x_libraries'"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11027 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11030 if test "$no_x" = yes; then
11031 # Not all programs may use this symbol, but it does not hurt to define it.
11033 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11035 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11036 else
11037 if test -n "$x_includes"; then
11038 X_CFLAGS="$X_CFLAGS -I$x_includes"
11041 # It would also be nice to do this for all -L options, not just this one.
11042 if test -n "$x_libraries"; then
11043 X_LIBS="$X_LIBS -L$x_libraries"
11044 # For Solaris; some versions of Sun CC require a space after -R and
11045 # others require no space. Words are not sufficient . . . .
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11047 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11048 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11049 ac_xsave_c_werror_flag=$ac_c_werror_flag
11050 ac_c_werror_flag=yes
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11055 main ()
11059 return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11064 $as_echo "no" >&6; }
11065 X_LIBS="$X_LIBS -R$x_libraries"
11066 else
11067 LIBS="$ac_xsave_LIBS -R $x_libraries"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11072 main ()
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11081 $as_echo "yes" >&6; }
11082 X_LIBS="$X_LIBS -R $x_libraries"
11083 else
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11085 $as_echo "neither works" >&6; }
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 ac_c_werror_flag=$ac_xsave_c_werror_flag
11093 LIBS=$ac_xsave_LIBS
11096 # Check for system-dependent libraries X programs must link with.
11097 # Do this before checking for the system-independent R6 libraries
11098 # (-lICE), since we may need -lsocket or whatever for X linking.
11100 if test "$ISC" = yes; then
11101 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11102 else
11103 # Martyn Johnson says this is needed for Ultrix, if the X
11104 # libraries were built with DECnet support. And Karl Berry says
11105 # the Alpha needs dnet_stub (dnet does not exist).
11106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char XOpenDisplay ();
11118 main ()
11120 return XOpenDisplay ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11127 else
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11129 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11130 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-ldnet $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char dnet_ntoa ();
11146 main ()
11148 return dnet_ntoa ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_dnet_dnet_ntoa=yes
11155 else
11156 ac_cv_lib_dnet_dnet_ntoa=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11163 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11164 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11165 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11168 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11170 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11171 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11172 $as_echo_n "(cached) " >&6
11173 else
11174 ac_check_lib_save_LIBS=$LIBS
11175 LIBS="-ldnet_stub $LIBS"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char dnet_ntoa ();
11187 main ()
11189 return dnet_ntoa ();
11191 return 0;
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"; then :
11195 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11196 else
11197 ac_cv_lib_dnet_stub_dnet_ntoa=no
11199 rm -f core conftest.err conftest.$ac_objext \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_lib_save_LIBS
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11204 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11205 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11206 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS="$ac_xsave_LIBS"
11215 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11216 # to get the SysV transport functions.
11217 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11218 # needs -lnsl.
11219 # The nsl library prevents programs from opening the X display
11220 # on Irix 5.2, according to T.E. Dickey.
11221 # The functions gethostbyname, getservbyname, and inet_addr are
11222 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11223 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11224 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11228 if test $ac_cv_func_gethostbyname = no; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11230 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11231 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lnsl $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char gethostbyname ();
11247 main ()
11249 return gethostbyname ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_nsl_gethostbyname=yes
11256 else
11257 ac_cv_lib_nsl_gethostbyname=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11264 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11265 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11269 if test $ac_cv_lib_nsl_gethostbyname = no; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11271 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11272 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-lbsd $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char gethostbyname ();
11288 main ()
11290 return gethostbyname ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_bsd_gethostbyname=yes
11297 else
11298 ac_cv_lib_bsd_gethostbyname=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11305 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11306 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11307 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11313 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11314 # socket/setsockopt and other routines are undefined under SCO ODT
11315 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11316 # on later versions), says Simon Leinen: it contains gethostby*
11317 # variants that don't use the name server (or something). -lsocket
11318 # must be given before -lnsl if both are needed. We assume that
11319 # if connect needs -lnsl, so does gethostbyname.
11320 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11321 if test "x$ac_cv_func_connect" = xyes; then :
11325 if test $ac_cv_func_connect = no; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11327 $as_echo_n "checking for connect in -lsocket... " >&6; }
11328 if ${ac_cv_lib_socket_connect+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char connect ();
11344 main ()
11346 return connect ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_socket_connect=yes
11353 else
11354 ac_cv_lib_socket_connect=no
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11361 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11362 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11363 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11368 # Guillermo Gomez says -lposix is necessary on A/UX.
11369 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11370 if test "x$ac_cv_func_remove" = xyes; then :
11374 if test $ac_cv_func_remove = no; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11376 $as_echo_n "checking for remove in -lposix... " >&6; }
11377 if ${ac_cv_lib_posix_remove+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_lib_save_LIBS=$LIBS
11381 LIBS="-lposix $LIBS"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char remove ();
11393 main ()
11395 return remove ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 ac_cv_lib_posix_remove=yes
11402 else
11403 ac_cv_lib_posix_remove=no
11405 rm -f core conftest.err conftest.$ac_objext \
11406 conftest$ac_exeext conftest.$ac_ext
11407 LIBS=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11410 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11411 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11417 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11418 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11419 if test "x$ac_cv_func_shmat" = xyes; then :
11423 if test $ac_cv_func_shmat = no; then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11425 $as_echo_n "checking for shmat in -lipc... " >&6; }
11426 if ${ac_cv_lib_ipc_shmat+:} false; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-lipc $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char shmat ();
11442 main ()
11444 return shmat ();
11446 return 0;
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 ac_cv_lib_ipc_shmat=yes
11451 else
11452 ac_cv_lib_ipc_shmat=no
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_lib_save_LIBS
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11459 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11460 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11461 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11467 # Check for libraries that X11R6 Xt/Xaw programs need.
11468 ac_save_LDFLAGS=$LDFLAGS
11469 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11470 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11471 # check for ICE first), but we must link in the order -lSM -lICE or
11472 # we get undefined symbols. So assume we have SM if we have ICE.
11473 # These have to be linked with before -lX11, unlike the other
11474 # libraries we check for below, so use a different variable.
11475 # John Interrante, Karl Berry
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11477 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11478 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char IceConnectionNumber ();
11494 main ()
11496 return IceConnectionNumber ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 ac_cv_lib_ICE_IceConnectionNumber=yes
11503 else
11504 ac_cv_lib_ICE_IceConnectionNumber=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11511 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11512 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11513 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11516 LDFLAGS=$ac_save_LDFLAGS
11521 if test "$have_x" = "yes"
11522 then
11523 ac_save_CPPFLAGS="$CPPFLAGS"
11524 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11527 $as_echo_n "checking for -lX11... " >&6; }
11528 if ${ac_cv_lib_soname_X11+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char XCreateWindow ();
11544 main ()
11546 return XCreateWindow ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_X11:+false} :; then :
11557 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11560 else
11561 ac_cv_lib_soname_X11=
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_soname_save_LIBS
11567 if ${ac_cv_lib_soname_X11:+false} :; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11569 $as_echo "not found" >&6; }
11571 else
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11573 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11575 cat >>confdefs.h <<_ACEOF
11576 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11577 _ACEOF
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11582 $as_echo_n "checking for -lXext... " >&6; }
11583 if ${ac_cv_lib_soname_Xext+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char XextCreateExtension ();
11599 main ()
11601 return XextCreateExtension ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11611 if ${ac_cv_lib_soname_Xext:+false} :; then :
11612 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11615 else
11616 ac_cv_lib_soname_Xext=
11618 rm -f core conftest.err conftest.$ac_objext \
11619 conftest$ac_exeext conftest.$ac_ext
11620 LIBS=$ac_check_soname_save_LIBS
11622 if ${ac_cv_lib_soname_Xext:+false} :; then :
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11624 $as_echo "not found" >&6; }
11626 else
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11628 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11630 cat >>confdefs.h <<_ACEOF
11631 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11632 _ACEOF
11634 X_LIBS="$X_LIBS -lXext"
11636 X_LIBS="$X_LIBS -lX11"
11638 for ac_header in X11/Xlib.h \
11639 X11/XKBlib.h \
11640 X11/Xutil.h \
11641 X11/Xcursor/Xcursor.h \
11642 X11/extensions/shape.h \
11643 X11/extensions/XInput.h \
11644 X11/extensions/XInput2.h \
11645 X11/extensions/XShm.h \
11646 X11/extensions/Xcomposite.h \
11647 X11/extensions/Xfixes.h \
11648 X11/extensions/Xinerama.h \
11649 X11/extensions/Xrandr.h \
11650 X11/extensions/Xrender.h \
11651 X11/extensions/xf86vmode.h \
11652 X11/extensions/xf86vmproto.h
11653 do :
11654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11656 # include <X11/Xlib.h>
11657 #endif
11658 #ifdef HAVE_X11_XUTIL_H
11659 # include <X11/Xutil.h>
11660 #endif
11662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11663 cat >>confdefs.h <<_ACEOF
11664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11665 _ACEOF
11669 done
11672 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11673 then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11675 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11676 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11684 /* Override any GCC internal prototype to avoid an error.
11685 Use char because int might match the return type of a GCC
11686 builtin and then its argument prototype would still apply. */
11687 #ifdef __cplusplus
11688 extern "C"
11689 #endif
11690 char XkbQueryExtension ();
11692 main ()
11694 return XkbQueryExtension ();
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 ac_cv_lib_X11_XkbQueryExtension=yes
11701 else
11702 ac_cv_lib_X11_XkbQueryExtension=no
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_lib_save_LIBS
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11709 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11710 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11712 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11718 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11719 then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11721 $as_echo_n "checking for -lXcursor... " >&6; }
11722 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_soname_save_LIBS=$LIBS
11726 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char XcursorImageLoadCursor ();
11738 main ()
11740 return XcursorImageLoadCursor ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 case "$LIBEXT" in
11747 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11748 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'` ;;
11749 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11750 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11751 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11752 fi ;;
11753 esac
11754 else
11755 ac_cv_lib_soname_Xcursor=
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11765 else
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11767 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11771 _ACEOF
11776 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11777 case "x$with_xcursor" in
11778 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11779 xno) ;;
11780 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11781 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11782 esac
11786 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11789 $as_echo_n "checking for -lXi... " >&6; }
11790 if ${ac_cv_lib_soname_Xi+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char XOpenDevice ();
11806 main ()
11808 return XOpenDevice ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 case "$LIBEXT" in
11815 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11816 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'` ;;
11817 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11818 if ${ac_cv_lib_soname_Xi:+false} :; then :
11819 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11820 fi ;;
11821 esac
11822 else
11823 ac_cv_lib_soname_Xi=
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_soname_save_LIBS
11829 if ${ac_cv_lib_soname_Xi:+false} :; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11831 $as_echo "not found" >&6; }
11833 else
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11835 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11837 cat >>confdefs.h <<_ACEOF
11838 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11839 _ACEOF
11844 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11845 case "x$with_xinput" in
11846 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11849 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11850 esac
11854 if test "x$ac_cv_lib_soname_Xi" != x
11855 then
11856 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11857 case "x$with_xinput2" in
11858 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11859 xno) ;;
11860 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11861 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11862 esac
11867 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11868 then
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11870 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11871 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 #ifdef __cplusplus
11883 extern "C"
11884 #endif
11885 char XShmQueryExtension ();
11887 main ()
11889 return XShmQueryExtension ();
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"; then :
11895 ac_cv_lib_Xext_XShmQueryExtension=yes
11896 else
11897 ac_cv_lib_Xext_XShmQueryExtension=no
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_lib_save_LIBS
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11904 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11905 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11907 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11912 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11913 case "x$with_xshm" in
11914 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11915 xno) ;;
11916 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11917 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11918 esac
11922 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11923 then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11925 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11926 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 ac_check_lib_save_LIBS=$LIBS
11930 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char XShapeQueryExtension ();
11942 main ()
11944 return XShapeQueryExtension ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"; then :
11950 ac_cv_lib_Xext_XShapeQueryExtension=yes
11951 else
11952 ac_cv_lib_Xext_XShapeQueryExtension=no
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_lib_save_LIBS
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11959 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11960 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11962 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11967 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11968 case "x$with_xshape" in
11969 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11970 xno) ;;
11971 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11972 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11973 esac
11977 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11978 then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11980 $as_echo_n "checking for -lXxf86vm... " >&6; }
11981 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11982 $as_echo_n "(cached) " >&6
11983 else
11984 ac_check_soname_save_LIBS=$LIBS
11985 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11992 #ifdef __cplusplus
11993 extern "C"
11994 #endif
11995 char XF86VidModeQueryExtension ();
11997 main ()
11999 return XF86VidModeQueryExtension ();
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_link "$LINENO"; then :
12005 case "$LIBEXT" in
12006 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12007 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'` ;;
12008 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12009 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12010 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12011 fi ;;
12012 esac
12013 else
12014 ac_cv_lib_soname_Xxf86vm=
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_soname_save_LIBS
12020 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12022 $as_echo "not found" >&6; }
12024 else
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12026 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12028 cat >>confdefs.h <<_ACEOF
12029 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12030 _ACEOF
12035 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12036 case "x$with_xxf86vm" in
12037 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12038 xno) ;;
12039 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12040 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12041 esac
12045 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12046 then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12048 $as_echo_n "checking for -lXrender... " >&6; }
12049 if ${ac_cv_lib_soname_Xrender+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 ac_check_soname_save_LIBS=$LIBS
12053 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char XRenderQueryExtension ();
12065 main ()
12067 return XRenderQueryExtension ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 case "$LIBEXT" in
12074 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12075 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'` ;;
12076 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12077 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12078 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12079 fi ;;
12080 esac
12081 else
12082 ac_cv_lib_soname_Xrender=
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_soname_save_LIBS
12088 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12090 $as_echo "not found" >&6; }
12092 else
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12094 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12096 cat >>confdefs.h <<_ACEOF
12097 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12098 _ACEOF
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12101 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12102 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12103 $as_echo_n "(cached) " >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char XRenderSetPictureTransform ();
12118 main ()
12120 return XRenderSetPictureTransform ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12127 else
12128 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12135 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12136 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12138 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12143 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12144 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char XRenderCreateLinearGradient ();
12160 main ()
12162 return XRenderCreateLinearGradient ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12169 else
12170 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12177 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12178 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12180 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12187 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12188 case "x$with_xrender" in
12189 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12190 xno) ;;
12191 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12192 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12193 esac
12197 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12198 then
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12201 #include <X11/Xlib.h>
12202 #include <X11/extensions/Xrandr.h>
12204 main ()
12206 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_compile "$LINENO"; then :
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12213 $as_echo_n "checking for -lXrandr... " >&6; }
12214 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12215 $as_echo_n "(cached) " >&6
12216 else
12217 ac_check_soname_save_LIBS=$LIBS
12218 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 #ifdef __cplusplus
12226 extern "C"
12227 #endif
12228 char XRRQueryExtension ();
12230 main ()
12232 return XRRQueryExtension ();
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_link "$LINENO"; then :
12238 case "$LIBEXT" in
12239 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12240 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'` ;;
12241 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12242 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12243 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12244 fi ;;
12245 esac
12246 else
12247 ac_cv_lib_soname_Xrandr=
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_soname_save_LIBS
12253 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12255 $as_echo "not found" >&6; }
12257 else
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12259 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12261 cat >>confdefs.h <<_ACEOF
12262 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12263 _ACEOF
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12267 #include <X11/Xlib.h>
12268 #include <X11/extensions/Xrandr.h>
12270 main ()
12272 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"; then :
12279 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 #include <X11/Xlib.h>
12286 #include <X11/extensions/Xrandr.h>
12288 main ()
12290 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_compile "$LINENO"; then :
12297 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12299 else
12300 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12308 case "x$with_xrandr" in
12309 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12310 xno) ;;
12311 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12312 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12313 esac
12317 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12318 then
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12321 #include <X11/Xlib.h>
12322 #include <X11/extensions/Xfixes.h>
12324 main ()
12326 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_compile "$LINENO"; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12333 $as_echo_n "checking for -lXfixes... " >&6; }
12334 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 ac_check_soname_save_LIBS=$LIBS
12338 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char XFixesQueryVersion ();
12350 main ()
12352 return XFixesQueryVersion ();
12354 return 0;
12356 _ACEOF
12357 if ac_fn_c_try_link "$LINENO"; then :
12358 case "$LIBEXT" in
12359 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12360 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'` ;;
12361 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12362 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12363 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12364 fi ;;
12365 esac
12366 else
12367 ac_cv_lib_soname_Xfixes=
12369 rm -f core conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 LIBS=$ac_check_soname_save_LIBS
12373 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12375 $as_echo "not found" >&6; }
12377 else
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12379 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12381 cat >>confdefs.h <<_ACEOF
12382 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12383 _ACEOF
12388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12390 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12391 case "x$with_xfixes" in
12392 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12393 xno) ;;
12394 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12395 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12396 esac
12400 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12401 then
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12404 #include <X11/Xlib.h>
12405 #include <X11/extensions/Xinerama.h>
12407 main ()
12409 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12411 return 0;
12413 _ACEOF
12414 if ac_fn_c_try_compile "$LINENO"; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12416 $as_echo_n "checking for -lXinerama... " >&6; }
12417 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 ac_check_soname_save_LIBS=$LIBS
12421 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char XineramaQueryScreens ();
12433 main ()
12435 return XineramaQueryScreens ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 case "$LIBEXT" in
12442 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12443 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'` ;;
12444 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12446 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12447 fi ;;
12448 esac
12449 else
12450 ac_cv_lib_soname_Xinerama=
12452 rm -f core conftest.err conftest.$ac_objext \
12453 conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_soname_save_LIBS
12456 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12458 $as_echo "not found" >&6; }
12460 else
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12462 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12464 cat >>confdefs.h <<_ACEOF
12465 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12466 _ACEOF
12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12473 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12474 case "x$with_xinerama" in
12475 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12476 xno) ;;
12477 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12478 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12479 esac
12483 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12484 then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12486 $as_echo_n "checking for -lXcomposite... " >&6; }
12487 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 ac_check_soname_save_LIBS=$LIBS
12491 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char XCompositeRedirectWindow ();
12503 main ()
12505 return XCompositeRedirectWindow ();
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 case "$LIBEXT" in
12512 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12513 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'` ;;
12514 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12515 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12516 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12517 fi ;;
12518 esac
12519 else
12520 ac_cv_lib_soname_Xcomposite=
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_soname_save_LIBS
12526 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12528 $as_echo "not found" >&6; }
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12532 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12534 cat >>confdefs.h <<_ACEOF
12535 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12536 _ACEOF
12541 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12542 case "x$with_xcomposite" in
12543 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12544 xno) ;;
12545 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12546 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12547 esac
12551 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12552 #include <X11/Xlib.h>
12553 #endif
12555 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12557 cat >>confdefs.h <<_ACEOF
12558 #define HAVE_XICCALLBACK_CALLBACK 1
12559 _ACEOF
12563 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12564 #include <X11/Xlib.h>
12565 #endif
12567 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12569 cat >>confdefs.h <<_ACEOF
12570 #define HAVE_XEVENT_XCOOKIE 1
12571 _ACEOF
12578 opengl_msg=""
12579 if test "x$with_opengl" != "xno"
12580 then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12582 $as_echo_n "checking for -lGL... " >&6; }
12583 if ${ac_cv_lib_soname_GL+:} false; then :
12584 $as_echo_n "(cached) " >&6
12585 else
12586 ac_check_soname_save_LIBS=$LIBS
12587 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 #ifdef __cplusplus
12595 extern "C"
12596 #endif
12597 char glXCreateContext ();
12599 main ()
12601 return glXCreateContext ();
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_link "$LINENO"; then :
12607 case "$LIBEXT" in
12608 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12609 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'` ;;
12610 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12611 if ${ac_cv_lib_soname_GL:+false} :; then :
12612 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12613 fi ;;
12614 esac
12615 else
12616 ac_cv_lib_soname_GL=
12618 rm -f core conftest.err conftest.$ac_objext \
12619 conftest$ac_exeext conftest.$ac_ext
12620 LIBS=$ac_check_soname_save_LIBS
12622 if ${ac_cv_lib_soname_GL:+false} :; then :
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12624 $as_echo "not found" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12626 $as_echo_n "checking for -lGL... " >&6; }
12627 if ${ac_cv_lib_soname_GL+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_soname_save_LIBS=$LIBS
12631 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"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char glXCreateContext ();
12643 main ()
12645 return glXCreateContext ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 case "$LIBEXT" in
12652 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12653 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'` ;;
12654 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12655 if ${ac_cv_lib_soname_GL:+false} :; then :
12656 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12657 fi ;;
12658 esac
12659 else
12660 ac_cv_lib_soname_GL=
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_soname_save_LIBS
12666 if ${ac_cv_lib_soname_GL:+false} :; then :
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12668 $as_echo "not found" >&6; }
12669 if test -f /usr/X11R6/lib/libGL.a
12670 then
12671 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12672 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12673 else
12674 opengl_msg="No OpenGL library found on this system."
12676 else
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12678 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12680 cat >>confdefs.h <<_ACEOF
12681 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12682 _ACEOF
12684 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"
12686 else
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12688 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12690 cat >>confdefs.h <<_ACEOF
12691 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12692 _ACEOF
12694 OPENGL_LIBS="-lGL"
12696 if test "x$with_glu" != "xno"
12697 then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12699 $as_echo_n "checking for -lGLU... " >&6; }
12700 if ${ac_cv_lib_soname_GLU+:} false; then :
12701 $as_echo_n "(cached) " >&6
12702 else
12703 ac_check_soname_save_LIBS=$LIBS
12704 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12711 #ifdef __cplusplus
12712 extern "C"
12713 #endif
12714 char gluLookAt ();
12716 main ()
12718 return gluLookAt ();
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_link "$LINENO"; then :
12724 case "$LIBEXT" in
12725 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12726 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12727 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12728 if ${ac_cv_lib_soname_GLU:+false} :; then :
12729 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12730 fi ;;
12731 esac
12732 else
12733 ac_cv_lib_soname_GLU=
12735 rm -f core conftest.err conftest.$ac_objext \
12736 conftest$ac_exeext conftest.$ac_ext
12737 LIBS=$ac_check_soname_save_LIBS
12739 if ${ac_cv_lib_soname_GLU:+false} :; then :
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12741 $as_echo "not found" >&6; }
12743 else
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12745 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12747 cat >>confdefs.h <<_ACEOF
12748 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12749 _ACEOF
12753 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12754 case "x$with_glu" in
12755 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12756 xno) ;;
12757 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12758 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12759 esac
12764 if test "x$with_osmesa" != "xno"
12765 then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12767 $as_echo_n "checking for -lOSMesa... " >&6; }
12768 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_soname_save_LIBS=$LIBS
12772 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12779 #ifdef __cplusplus
12780 extern "C"
12781 #endif
12782 char OSMesaGetProcAddress ();
12784 main ()
12786 return OSMesaGetProcAddress ();
12788 return 0;
12790 _ACEOF
12791 if ac_fn_c_try_link "$LINENO"; then :
12792 case "$LIBEXT" in
12793 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12794 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'` ;;
12795 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12796 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12797 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12798 fi ;;
12799 esac
12800 else
12801 ac_cv_lib_soname_OSMesa=
12803 rm -f core conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 LIBS=$ac_check_soname_save_LIBS
12807 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12809 $as_echo "not found" >&6; }
12811 else
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12813 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12815 cat >>confdefs.h <<_ACEOF
12816 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12817 _ACEOF
12821 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12822 case "x$with_osmesa" in
12823 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12824 xno) ;;
12825 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12826 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12827 esac
12832 if test -n "$opengl_msg"; then :
12833 case "x$with_opengl" in
12834 x) as_fn_append wine_warnings "|$opengl_msg
12835 OpenGL and Direct3D won't be supported." ;;
12836 xno) ;;
12837 *) as_fn_error $? "$opengl_msg
12838 OpenGL and Direct3D won't be supported.
12839 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12840 esac
12844 CPPFLAGS="$ac_save_CPPFLAGS"
12845 else
12846 X_CFLAGS=""
12847 X_LIBS=""
12850 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12851 then
12852 if test "x$X_LIBS" = "x"; then :
12853 case "x$with_x" in
12854 xno) ;;
12855 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12856 without X support, which probably isn't what you want. You will need
12857 to install ${notice_platform}development packages of Xlib at the very least.
12858 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12859 esac
12860 enable_winex11_drv=${enable_winex11_drv:-no}
12862 else
12863 if test "x$X_LIBS" = "x"; then :
12864 case "x$with_x" in
12865 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12866 xno) ;;
12867 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12868 This is an error since --with-x was requested." "$LINENO" 5 ;;
12869 esac
12870 enable_winex11_drv=${enable_winex11_drv:-no}
12874 if test "$ac_cv_header_CL_cl_h" = "yes"
12875 then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12877 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12878 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_check_lib_save_LIBS=$LIBS
12882 LIBS="-lOpenCL $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char clGetPlatformInfo ();
12894 main ()
12896 return clGetPlatformInfo ();
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12903 else
12904 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12911 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12912 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12913 OPENCL_LIBS="-lOpenCL"
12918 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12919 case "x$with_opencl" in
12920 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12921 xno) ;;
12922 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12923 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12924 esac
12925 enable_opencl=${enable_opencl:-no}
12928 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12929 then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12931 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12932 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12933 $as_echo_n "(cached) " >&6
12934 else
12935 ac_check_lib_save_LIBS=$LIBS
12936 LIBS="-lpcap $LIBS"
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12943 #ifdef __cplusplus
12944 extern "C"
12945 #endif
12946 char pcap_create ();
12948 main ()
12950 return pcap_create ();
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_lib_pcap_pcap_create=yes
12957 else
12958 ac_cv_lib_pcap_pcap_create=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12965 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12966 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12967 PCAP_LIBS="-lpcap"
12972 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12973 case "x$with_pcap" in
12974 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12975 xno) ;;
12976 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12977 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12978 esac
12979 enable_wpcap=${enable_wpcap:-no}
12983 if test "x$with_xml" != "xno"
12984 then
12985 if ${XML2_CFLAGS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12990 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12991 if ${XML2_LIBS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12996 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12997 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13002 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13003 do :
13004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13005 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13007 cat >>confdefs.h <<_ACEOF
13008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13009 _ACEOF
13013 done
13015 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"
13016 then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13018 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13019 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13020 $as_echo_n "(cached) " >&6
13021 else
13022 ac_check_lib_save_LIBS=$LIBS
13023 LIBS="-lxml2 $XML2_LIBS $LIBS"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13030 #ifdef __cplusplus
13031 extern "C"
13032 #endif
13033 char xmlParseMemory ();
13035 main ()
13037 return xmlParseMemory ();
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_link "$LINENO"; then :
13043 ac_cv_lib_xml2_xmlParseMemory=yes
13044 else
13045 ac_cv_lib_xml2_xmlParseMemory=no
13047 rm -f core conftest.err conftest.$ac_objext \
13048 conftest$ac_exeext conftest.$ac_ext
13049 LIBS=$ac_check_lib_save_LIBS
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13052 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13053 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13055 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13057 else
13058 XML2_LIBS=""
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13062 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13063 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 ac_check_lib_save_LIBS=$LIBS
13067 LIBS="-lxml2 $XML2_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 char xmlReadMemory ();
13079 main ()
13081 return xmlReadMemory ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_lib_xml2_xmlReadMemory=yes
13088 else
13089 ac_cv_lib_xml2_xmlReadMemory=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13096 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13097 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13099 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13104 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13105 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13106 $as_echo_n "(cached) " >&6
13107 else
13108 ac_check_lib_save_LIBS=$LIBS
13109 LIBS="-lxml2 $XML2_LIBS $LIBS"
13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13116 #ifdef __cplusplus
13117 extern "C"
13118 #endif
13119 char xmlNewDocPI ();
13121 main ()
13123 return xmlNewDocPI ();
13125 return 0;
13127 _ACEOF
13128 if ac_fn_c_try_link "$LINENO"; then :
13129 ac_cv_lib_xml2_xmlNewDocPI=yes
13130 else
13131 ac_cv_lib_xml2_xmlNewDocPI=no
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_lib_save_LIBS
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13138 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13139 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13141 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13146 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13147 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_lib_save_LIBS=$LIBS
13151 LIBS="-lxml2 $XML2_LIBS $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char xmlSchemaSetParserStructuredErrors ();
13163 main ()
13165 return xmlSchemaSetParserStructuredErrors ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13172 else
13173 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_lib_save_LIBS
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13180 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13181 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13183 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13188 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13189 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13190 $as_echo_n "(cached) " >&6
13191 else
13192 ac_check_lib_save_LIBS=$LIBS
13193 LIBS="-lxml2 $XML2_LIBS $LIBS"
13194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13200 #ifdef __cplusplus
13201 extern "C"
13202 #endif
13203 char xmlSchemaSetValidStructuredErrors ();
13205 main ()
13207 return xmlSchemaSetValidStructuredErrors ();
13209 return 0;
13211 _ACEOF
13212 if ac_fn_c_try_link "$LINENO"; then :
13213 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13214 else
13215 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_lib_save_LIBS
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13222 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13223 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13225 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13230 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13231 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13232 $as_echo_n "(cached) " >&6
13233 else
13234 ac_check_lib_save_LIBS=$LIBS
13235 LIBS="-lxml2 $XML2_LIBS $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 char xmlFirstElementChild ();
13247 main ()
13249 return xmlFirstElementChild ();
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 ac_cv_lib_xml2_xmlFirstElementChild=yes
13256 else
13257 ac_cv_lib_xml2_xmlFirstElementChild=no
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_lib_save_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13264 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13265 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13267 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13271 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13273 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13275 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13279 else
13280 XML2_CFLAGS=""
13281 XML2_LIBS=""
13283 CPPFLAGS=$ac_save_CPPFLAGS
13284 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13285 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13288 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13289 case "x$with_xml" in
13290 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13291 xno) ;;
13292 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13293 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13294 esac
13298 if test "x$with_xslt" != "xno"
13299 then
13300 if ${XSLT_CFLAGS:+false} :; then :
13301 if ${PKG_CONFIG+:} false; then :
13302 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13305 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13306 if ${XSLT_LIBS:+false} :; then :
13307 if ${PKG_CONFIG+:} false; then :
13308 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13311 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13312 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13313 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13314 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13315 ac_save_CPPFLAGS=$CPPFLAGS
13316 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13317 for ac_header in libxslt/pattern.h libxslt/transform.h
13318 do :
13319 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13320 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13321 # include <libxslt/pattern.h>
13322 #endif
13324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13325 cat >>confdefs.h <<_ACEOF
13326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13327 _ACEOF
13331 done
13333 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13334 then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13336 $as_echo_n "checking for -lxslt... " >&6; }
13337 if ${ac_cv_lib_soname_xslt+:} false; then :
13338 $as_echo_n "(cached) " >&6
13339 else
13340 ac_check_soname_save_LIBS=$LIBS
13341 LIBS="-lxslt $XSLT_LIBS $LIBS"
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13345 /* Override any GCC internal prototype to avoid an error.
13346 Use char because int might match the return type of a GCC
13347 builtin and then its argument prototype would still apply. */
13348 #ifdef __cplusplus
13349 extern "C"
13350 #endif
13351 char xsltCompilePattern ();
13353 main ()
13355 return xsltCompilePattern ();
13357 return 0;
13359 _ACEOF
13360 if ac_fn_c_try_link "$LINENO"; then :
13361 case "$LIBEXT" in
13362 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13363 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'` ;;
13364 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13365 if ${ac_cv_lib_soname_xslt:+false} :; then :
13366 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13367 fi ;;
13368 esac
13369 else
13370 ac_cv_lib_soname_xslt=
13372 rm -f core conftest.err conftest.$ac_objext \
13373 conftest$ac_exeext conftest.$ac_ext
13374 LIBS=$ac_check_soname_save_LIBS
13376 if ${ac_cv_lib_soname_xslt:+false} :; then :
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13378 $as_echo "not found" >&6; }
13380 else
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13382 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13384 cat >>confdefs.h <<_ACEOF
13385 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13386 _ACEOF
13390 else
13391 XSLT_CFLAGS=""
13393 CPPFLAGS=$ac_save_CPPFLAGS
13394 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13395 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13398 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13399 case "x$with_xslt" in
13400 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13401 xno) ;;
13402 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13403 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13404 esac
13408 if test "x$with_inotify" != "xno"
13409 then
13410 if ${INOTIFY_CFLAGS:+false} :; then :
13411 if ${PKG_CONFIG+:} false; then :
13412 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13416 if ${INOTIFY_LIBS:+false} :; then :
13417 if ${PKG_CONFIG+:} false; then :
13418 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13423 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13424 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13425 ac_save_CPPFLAGS=$CPPFLAGS
13426 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13427 for ac_header in sys/inotify.h
13428 do :
13429 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13430 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13431 cat >>confdefs.h <<_ACEOF
13432 #define HAVE_SYS_INOTIFY_H 1
13433 _ACEOF
13437 done
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13440 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13441 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_check_lib_save_LIBS=$LIBS
13445 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char inotify_add_watch ();
13457 main ()
13459 return inotify_add_watch ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 ac_cv_lib_inotify_inotify_add_watch=yes
13466 else
13467 ac_cv_lib_inotify_inotify_add_watch=no
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_lib_save_LIBS
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13474 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13475 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13477 else
13478 INOTIFY_LIBS=""
13481 CPPFLAGS=$ac_save_CPPFLAGS
13482 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13483 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13486 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13487 case "x$with_inotify" in
13488 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13489 xno) ;;
13490 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13491 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13492 esac
13496 if test "x$with_dbus" != "xno"
13497 then
13498 if ${DBUS_CFLAGS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13504 if ${DBUS_LIBS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13511 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13512 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13513 ac_save_CPPFLAGS=$CPPFLAGS
13514 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13515 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13518 $as_echo_n "checking for -ldbus-1... " >&6; }
13519 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_check_soname_save_LIBS=$LIBS
13523 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 char dbus_connection_close ();
13535 main ()
13537 return dbus_connection_close ();
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 case "$LIBEXT" in
13544 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13545 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'` ;;
13546 *) 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'`
13547 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13548 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13549 fi ;;
13550 esac
13551 else
13552 ac_cv_lib_soname_dbus_1=
13554 rm -f core conftest.err conftest.$ac_objext \
13555 conftest$ac_exeext conftest.$ac_ext
13556 LIBS=$ac_check_soname_save_LIBS
13558 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13560 $as_echo "not found" >&6; }
13561 DBUS_CFLAGS=""
13562 else
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13564 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13566 cat >>confdefs.h <<_ACEOF
13567 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13568 _ACEOF
13572 else
13573 DBUS_CFLAGS=""
13577 CPPFLAGS=$ac_save_CPPFLAGS
13578 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13579 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13582 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13583 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13584 case "x$with_dbus" in
13585 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13586 xno) ;;
13587 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13588 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13589 esac
13593 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13594 then
13595 if ${HAL_CFLAGS:+false} :; then :
13596 if ${PKG_CONFIG+:} false; then :
13597 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13601 if ${HAL_LIBS:+false} :; then :
13602 if ${PKG_CONFIG+:} false; then :
13603 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13607 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13608 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13609 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13610 ac_save_CPPFLAGS=$CPPFLAGS
13611 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13612 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13613 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13615 $as_echo_n "checking for -lhal... " >&6; }
13616 if ${ac_cv_lib_soname_hal+:} false; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 ac_check_soname_save_LIBS=$LIBS
13620 LIBS="-lhal $HAL_LIBS $LIBS"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13627 #ifdef __cplusplus
13628 extern "C"
13629 #endif
13630 char libhal_ctx_new ();
13632 main ()
13634 return libhal_ctx_new ();
13636 return 0;
13638 _ACEOF
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 case "$LIBEXT" in
13641 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13642 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'` ;;
13643 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13644 if ${ac_cv_lib_soname_hal:+false} :; then :
13645 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13646 fi ;;
13647 esac
13648 else
13649 ac_cv_lib_soname_hal=
13651 rm -f core conftest.err conftest.$ac_objext \
13652 conftest$ac_exeext conftest.$ac_ext
13653 LIBS=$ac_check_soname_save_LIBS
13655 if ${ac_cv_lib_soname_hal:+false} :; then :
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13657 $as_echo "not found" >&6; }
13658 HAL_CFLAGS=""
13659 else
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13661 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13663 cat >>confdefs.h <<_ACEOF
13664 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13665 _ACEOF
13669 else
13670 HAL_CFLAGS=""
13674 CPPFLAGS=$ac_save_CPPFLAGS
13675 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13676 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13678 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13679 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13680 case "x$with_hal" in
13681 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13682 xno) ;;
13683 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13684 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13685 esac
13690 if test "x$with_gnutls" != "xno"
13691 then
13692 if ${GNUTLS_CFLAGS:+false} :; then :
13693 if ${PKG_CONFIG+:} false; then :
13694 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13698 if ${GNUTLS_LIBS:+false} :; then :
13699 if ${PKG_CONFIG+:} false; then :
13700 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13704 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13705 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13706 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13707 ac_save_CPPFLAGS=$CPPFLAGS
13708 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13709 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13710 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13713 #include <gnutls/gnutls.h>
13714 #include <gnutls/crypto.h>
13716 main ()
13718 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13720 return 0;
13722 _ACEOF
13723 if ac_fn_c_try_compile "$LINENO"; then :
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13725 $as_echo_n "checking for -lgnutls... " >&6; }
13726 if ${ac_cv_lib_soname_gnutls+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_check_soname_save_LIBS=$LIBS
13730 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 char gnutls_global_init ();
13742 main ()
13744 return gnutls_global_init ();
13746 return 0;
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 case "$LIBEXT" in
13751 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13752 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'` ;;
13753 *) 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'`
13754 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13755 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'`
13756 fi ;;
13757 esac
13758 else
13759 ac_cv_lib_soname_gnutls=
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_soname_save_LIBS
13765 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13767 $as_echo "not found" >&6; }
13768 GNUTLS_CFLAGS=""
13769 else
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13771 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13773 cat >>confdefs.h <<_ACEOF
13774 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13775 _ACEOF
13779 ac_wine_check_funcs_save_LIBS="$LIBS"
13780 LIBS="$LIBS $GNUTLS_LIBS"
13781 for ac_func in gnutls_cipher_init
13782 do :
13783 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13784 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13785 cat >>confdefs.h <<_ACEOF
13786 #define HAVE_GNUTLS_CIPHER_INIT 1
13787 _ACEOF
13789 else
13790 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13792 done
13794 LIBS="$ac_wine_check_funcs_save_LIBS"
13796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13797 else
13798 GNUTLS_CFLAGS=""
13802 CPPFLAGS=$ac_save_CPPFLAGS
13803 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13804 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13807 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13808 case "x$with_gnutls" in
13809 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13810 xno) ;;
13811 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13812 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13813 esac
13817 CURSES_LIBS=""
13818 if test "$ac_cv_header_ncurses_h" = "yes"
13819 then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13821 $as_echo_n "checking for -lncurses... " >&6; }
13822 if ${ac_cv_lib_soname_ncurses+:} false; then :
13823 $as_echo_n "(cached) " >&6
13824 else
13825 ac_check_soname_save_LIBS=$LIBS
13826 LIBS="-lncurses $LIBS"
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 #ifdef __cplusplus
13834 extern "C"
13835 #endif
13836 char waddch ();
13838 main ()
13840 return waddch ();
13842 return 0;
13844 _ACEOF
13845 if ac_fn_c_try_link "$LINENO"; then :
13846 case "$LIBEXT" in
13847 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13848 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13849 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13850 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13851 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13852 fi ;;
13853 esac
13854 else
13855 ac_cv_lib_soname_ncurses=
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_soname_save_LIBS
13861 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13863 $as_echo "not found" >&6; }
13865 else
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13867 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13869 cat >>confdefs.h <<_ACEOF
13870 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13871 _ACEOF
13873 CURSES_LIBS="-lncurses"
13875 elif test "$ac_cv_header_curses_h" = "yes"
13876 then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13878 $as_echo_n "checking for -lcurses... " >&6; }
13879 if ${ac_cv_lib_soname_curses+:} false; then :
13880 $as_echo_n "(cached) " >&6
13881 else
13882 ac_check_soname_save_LIBS=$LIBS
13883 LIBS="-lcurses $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 #ifdef __cplusplus
13891 extern "C"
13892 #endif
13893 char waddch ();
13895 main ()
13897 return waddch ();
13899 return 0;
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"; then :
13903 case "$LIBEXT" in
13904 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13905 dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13906 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13907 if ${ac_cv_lib_soname_curses:+false} :; then :
13908 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13909 fi ;;
13910 esac
13911 else
13912 ac_cv_lib_soname_curses=
13914 rm -f core conftest.err conftest.$ac_objext \
13915 conftest$ac_exeext conftest.$ac_ext
13916 LIBS=$ac_check_soname_save_LIBS
13918 if ${ac_cv_lib_soname_curses:+false} :; then :
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13920 $as_echo "not found" >&6; }
13922 else
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13924 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13926 cat >>confdefs.h <<_ACEOF
13927 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13928 _ACEOF
13930 CURSES_LIBS="-lcurses"
13933 ac_save_LIBS="$LIBS"
13934 LIBS="$LIBS $CURSES_LIBS"
13935 for ac_func in mousemask
13936 do :
13937 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13938 if test "x$ac_cv_func_mousemask" = xyes; then :
13939 cat >>confdefs.h <<_ACEOF
13940 #define HAVE_MOUSEMASK 1
13941 _ACEOF
13944 done
13946 LIBS="$ac_save_LIBS"
13947 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13948 case "x$with_curses" in
13949 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13950 xno) ;;
13951 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13952 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13953 esac
13957 if test "x$with_sane" != "xno"
13958 then
13959 if ${SANE_CFLAGS:+false} :; then :
13960 if ${PKG_CONFIG+:} false; then :
13961 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13964 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13965 if ${SANE_LIBS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13970 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13974 ac_save_CPPFLAGS=$CPPFLAGS
13975 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13976 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13977 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13979 $as_echo_n "checking for -lsane... " >&6; }
13980 if ${ac_cv_lib_soname_sane+:} false; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 ac_check_soname_save_LIBS=$LIBS
13984 LIBS="-lsane $SANE_LIBS $LIBS"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13988 /* Override any GCC internal prototype to avoid an error.
13989 Use char because int might match the return type of a GCC
13990 builtin and then its argument prototype would still apply. */
13991 #ifdef __cplusplus
13992 extern "C"
13993 #endif
13994 char sane_init ();
13996 main ()
13998 return sane_init ();
14000 return 0;
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"; then :
14004 case "$LIBEXT" in
14005 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14006 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'` ;;
14007 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14008 if ${ac_cv_lib_soname_sane:+false} :; then :
14009 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14010 fi ;;
14011 esac
14012 else
14013 ac_cv_lib_soname_sane=
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_soname_save_LIBS
14019 if ${ac_cv_lib_soname_sane:+false} :; then :
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14021 $as_echo "not found" >&6; }
14022 SANE_CFLAGS=""
14023 else
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14025 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14027 cat >>confdefs.h <<_ACEOF
14028 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14029 _ACEOF
14033 else
14034 SANE_CFLAGS=""
14038 CPPFLAGS=$ac_save_CPPFLAGS
14039 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14040 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14043 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14044 case "x$with_sane" in
14045 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14046 xno) ;;
14047 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14048 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14049 esac
14053 if test "x$with_usb" != "xno"
14054 then
14055 if ${USB_CFLAGS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14061 if ${USB_LIBS:+false} :; then :
14062 if ${PKG_CONFIG+:} false; then :
14063 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14067 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14069 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14070 ac_save_CPPFLAGS=$CPPFLAGS
14071 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14072 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14073 if test "x$ac_cv_header_libusb_h" = xyes; then :
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14075 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14076 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 ac_check_lib_save_LIBS=$LIBS
14080 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14087 #ifdef __cplusplus
14088 extern "C"
14089 #endif
14090 char libusb_interrupt_event_handler ();
14092 main ()
14094 return libusb_interrupt_event_handler ();
14096 return 0;
14098 _ACEOF
14099 if ac_fn_c_try_link "$LINENO"; then :
14100 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14101 else
14102 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14104 rm -f core conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14109 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14110 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14112 else
14113 USB_LIBS=""
14116 else
14117 USB_LIBS=""
14121 CPPFLAGS=$ac_save_CPPFLAGS
14122 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14123 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14126 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14127 case "x$with_usb" in
14128 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14129 xno) ;;
14130 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14131 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14132 esac
14133 enable_wineusb_sys=${enable_wineusb_sys:-no}
14136 if test "x$with_v4l2" != "xno"
14137 then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14139 $as_echo_n "checking for -lv4l2... " >&6; }
14140 if ${ac_cv_lib_soname_v4l2+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_check_soname_save_LIBS=$LIBS
14144 LIBS="-lv4l2 $LIBS"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 #ifdef __cplusplus
14152 extern "C"
14153 #endif
14154 char v4l2_open ();
14156 main ()
14158 return v4l2_open ();
14160 return 0;
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 case "$LIBEXT" in
14165 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14166 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'` ;;
14167 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14168 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14169 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14170 fi ;;
14171 esac
14172 else
14173 ac_cv_lib_soname_v4l2=
14175 rm -f core conftest.err conftest.$ac_objext \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_soname_save_LIBS
14179 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14181 $as_echo "not found" >&6; }
14183 else
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14185 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14187 cat >>confdefs.h <<_ACEOF
14188 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14189 _ACEOF
14194 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14195 case "x$with_v4l2" in
14196 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14197 xno) ;;
14198 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14199 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14200 esac
14204 if test "x$with_gphoto" != "xno"
14205 then
14206 if ${GPHOTO2_CFLAGS:+false} :; then :
14207 if ${PKG_CONFIG+:} false; then :
14208 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14211 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14212 if ${GPHOTO2_LIBS:+false} :; then :
14213 if ${PKG_CONFIG+:} false; then :
14214 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14217 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14218 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14219 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14220 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14221 ac_save_CPPFLAGS=$CPPFLAGS
14222 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14223 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14224 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14226 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14227 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 ac_check_lib_save_LIBS=$LIBS
14231 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14235 /* Override any GCC internal prototype to avoid an error.
14236 Use char because int might match the return type of a GCC
14237 builtin and then its argument prototype would still apply. */
14238 #ifdef __cplusplus
14239 extern "C"
14240 #endif
14241 char gp_camera_new ();
14243 main ()
14245 return gp_camera_new ();
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"; then :
14251 ac_cv_lib_gphoto2_gp_camera_new=yes
14252 else
14253 ac_cv_lib_gphoto2_gp_camera_new=no
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14257 LIBS=$ac_check_lib_save_LIBS
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14260 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14261 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14263 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14265 else
14266 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14269 else
14270 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14274 CPPFLAGS=$ac_save_CPPFLAGS
14275 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14276 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14278 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14279 if ${PKG_CONFIG+:} false; then :
14280 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14283 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14284 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14285 if ${PKG_CONFIG+:} false; then :
14286 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14289 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14290 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14291 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14292 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14293 ac_save_CPPFLAGS=$CPPFLAGS
14294 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14295 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14296 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14298 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14299 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14300 $as_echo_n "(cached) " >&6
14301 else
14302 ac_check_lib_save_LIBS=$LIBS
14303 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14307 /* Override any GCC internal prototype to avoid an error.
14308 Use char because int might match the return type of a GCC
14309 builtin and then its argument prototype would still apply. */
14310 #ifdef __cplusplus
14311 extern "C"
14312 #endif
14313 char gp_port_info_list_new ();
14315 main ()
14317 return gp_port_info_list_new ();
14319 return 0;
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14324 else
14325 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 LIBS=$ac_check_lib_save_LIBS
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14332 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14333 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14335 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14337 else
14338 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14341 else
14342 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14346 CPPFLAGS=$ac_save_CPPFLAGS
14347 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14348 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14351 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14352 case "x$with_gphoto" in
14353 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14354 xno) ;;
14355 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14356 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14357 esac
14360 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14361 case "x$with_gphoto" in
14362 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14363 xno) ;;
14364 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14365 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14366 esac
14371 if test "$ac_cv_header_resolv_h" = "yes"
14372 then
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14374 $as_echo_n "checking for resolver library... " >&6; }
14375 if ${ac_cv_have_resolv+:} false; then :
14376 $as_echo_n "(cached) " >&6
14377 else
14378 ac_save_LIBS="$LIBS"
14379 for lib in '' -lresolv
14381 LIBS="$lib $ac_save_LIBS"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 #ifdef HAVE_NETINET_IN_H
14385 #include <netinet/in.h>
14386 #endif
14387 #include <resolv.h>
14389 main ()
14391 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"; then :
14397 ac_cv_have_resolv=${lib:-"none required"}
14398 else
14399 ac_cv_have_resolv="not found"
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 test "x$ac_cv_have_resolv" = "xnot found" || break
14404 done
14405 LIBS="$ac_save_LIBS"
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14408 $as_echo "$ac_cv_have_resolv" >&6; }
14410 case "$ac_cv_have_resolv" in
14411 "not found") ;;
14412 "none required")
14414 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14417 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14419 RESOLV_LIBS=$ac_cv_have_resolv
14421 esac
14423 if test "x$ac_cv_have_resolv" != "xnot found"
14424 then
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14426 $as_echo_n "checking for res_getservers... " >&6; }
14427 if ${ac_cv_have_res_getservers+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_save_LIBS="$LIBS"
14431 LIBS="$RESOLV_LIBS $LIBS"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 #include <resolv.h>
14436 main ()
14438 res_getservers(NULL, NULL, 0);
14440 return 0;
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 ac_cv_have_res_getservers=yes
14445 else
14446 ac_cv_have_res_getservers=no
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 LIBS="$ac_save_LIBS"
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14453 $as_echo "$ac_cv_have_res_getservers" >&6; }
14454 if test "$ac_cv_have_res_getservers" = "yes"
14455 then
14457 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14463 if test "x$with_cms" != "xno"
14464 then
14465 if ${LCMS2_CFLAGS:+false} :; then :
14466 if ${PKG_CONFIG+:} false; then :
14467 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14471 if ${LCMS2_LIBS:+false} :; then :
14472 if ${PKG_CONFIG+:} false; then :
14473 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14477 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14478 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14479 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14480 ac_save_CPPFLAGS=$CPPFLAGS
14481 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14482 for ac_header in lcms2.h
14483 do :
14484 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14485 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14486 cat >>confdefs.h <<_ACEOF
14487 #define HAVE_LCMS2_H 1
14488 _ACEOF
14492 done
14494 if test "$ac_cv_header_lcms2_h" = "yes"
14495 then
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14497 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14498 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14499 $as_echo_n "(cached) " >&6
14500 else
14501 ac_check_lib_save_LIBS=$LIBS
14502 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14506 /* Override any GCC internal prototype to avoid an error.
14507 Use char because int might match the return type of a GCC
14508 builtin and then its argument prototype would still apply. */
14509 #ifdef __cplusplus
14510 extern "C"
14511 #endif
14512 char cmsOpenProfileFromFile ();
14514 main ()
14516 return cmsOpenProfileFromFile ();
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_link "$LINENO"; then :
14522 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14523 else
14524 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14526 rm -f core conftest.err conftest.$ac_objext \
14527 conftest$ac_exeext conftest.$ac_ext
14528 LIBS=$ac_check_lib_save_LIBS
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14531 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14532 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14534 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14536 else
14537 LCMS2_LIBS=""
14540 else
14541 LCMS2_CFLAGS=""
14542 LCMS2_LIBS=""
14544 CPPFLAGS=$ac_save_CPPFLAGS
14545 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14546 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14549 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14550 case "x$with_cms" in
14551 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14552 xno) ;;
14553 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14554 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14555 esac
14559 if test "x$with_freetype" != "xno"
14560 then
14561 if ${FREETYPE_CFLAGS:+false} :; then :
14562 if ${PKG_CONFIG+:} false; then :
14563 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14566 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14567 if ${FREETYPE_LIBS:+false} :; then :
14568 if ${PKG_CONFIG+:} false; then :
14569 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14572 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14573 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14574 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14575 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14576 ac_save_CPPFLAGS=$CPPFLAGS
14577 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14578 for ac_header in ft2build.h
14579 do :
14580 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14581 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14582 cat >>confdefs.h <<_ACEOF
14583 #define HAVE_FT2BUILD_H 1
14584 _ACEOF
14588 done
14590 if test "$ac_cv_header_ft2build_h" = "yes"
14591 then
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14593 $as_echo_n "checking for -lfreetype... " >&6; }
14594 if ${ac_cv_lib_soname_freetype+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 ac_check_soname_save_LIBS=$LIBS
14598 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14602 /* Override any GCC internal prototype to avoid an error.
14603 Use char because int might match the return type of a GCC
14604 builtin and then its argument prototype would still apply. */
14605 #ifdef __cplusplus
14606 extern "C"
14607 #endif
14608 char FT_Init_FreeType ();
14610 main ()
14612 return FT_Init_FreeType ();
14614 return 0;
14616 _ACEOF
14617 if ac_fn_c_try_link "$LINENO"; then :
14618 case "$LIBEXT" in
14619 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14620 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'` ;;
14621 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14622 if ${ac_cv_lib_soname_freetype:+false} :; then :
14623 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14624 fi ;;
14625 esac
14626 else
14627 ac_cv_lib_soname_freetype=
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14631 LIBS=$ac_check_soname_save_LIBS
14633 if ${ac_cv_lib_soname_freetype:+false} :; then :
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14635 $as_echo "not found" >&6; }
14636 FREETYPE_LIBS=""
14637 else
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14639 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14641 cat >>confdefs.h <<_ACEOF
14642 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14643 _ACEOF
14646 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14648 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14649 #include FT_MODULE_H
14651 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14653 cat >>confdefs.h <<_ACEOF
14654 #define HAVE_FT_TRUETYPEENGINETYPE 1
14655 _ACEOF
14661 else
14662 FREETYPE_CFLAGS=""
14663 FREETYPE_LIBS=""
14665 CPPFLAGS=$ac_save_CPPFLAGS
14666 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14667 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14670 if test "x$ac_cv_lib_soname_freetype" = x; then :
14671 case "x$with_freetype" in
14672 xno) ;;
14673 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14674 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14675 esac
14676 enable_fonts=${enable_fonts:-no}
14679 ac_wine_check_funcs_save_LIBS="$LIBS"
14680 LIBS="$LIBS $PTHREAD_LIBS"
14681 for ac_func in \
14682 pthread_getthreadid_np
14683 do :
14684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14686 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14687 cat >>confdefs.h <<_ACEOF
14688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14689 _ACEOF
14692 done
14694 LIBS="$ac_wine_check_funcs_save_LIBS"
14696 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14697 then
14698 if test "$ac_cv_header_gettext_po_h" = "yes"
14699 then
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14701 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14702 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 ac_check_lib_save_LIBS=$LIBS
14706 LIBS="-lgettextpo $LIBS"
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 #ifdef __cplusplus
14714 extern "C"
14715 #endif
14716 char po_message_msgctxt ();
14718 main ()
14720 return po_message_msgctxt ();
14722 return 0;
14724 _ACEOF
14725 if ac_fn_c_try_link "$LINENO"; then :
14726 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14727 else
14728 ac_cv_lib_gettextpo_po_message_msgctxt=no
14730 rm -f core conftest.err conftest.$ac_objext \
14731 conftest$ac_exeext conftest.$ac_ext
14732 LIBS=$ac_check_lib_save_LIBS
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14735 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14736 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14738 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14740 GETTEXTPO_LIBS="-lgettextpo"
14745 if test "x$GETTEXTPO_LIBS" = "x"; then :
14746 case "x$with_gettextpo" in
14747 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14748 xno) ;;
14749 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14750 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14751 esac
14754 if test "$srcdir" != .; then :
14755 case "x$with_gettextpo" in
14756 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14757 xno) ;;
14758 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14759 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14760 esac
14765 if test "x$with_pulse" != "xno";
14766 then
14767 if ${PULSE_CFLAGS:+false} :; then :
14768 if ${PKG_CONFIG+:} false; then :
14769 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14773 if ${PULSE_LIBS:+false} :; then :
14774 if ${PKG_CONFIG+:} false; then :
14775 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14780 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14781 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14782 ac_save_CPPFLAGS=$CPPFLAGS
14783 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14784 for ac_header in pulse/pulseaudio.h
14785 do :
14786 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14787 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14788 cat >>confdefs.h <<_ACEOF
14789 #define HAVE_PULSE_PULSEAUDIO_H 1
14790 _ACEOF
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14792 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14793 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lpulse $PULSE_LIBS $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char pa_stream_is_corked ();
14809 main ()
14811 return pa_stream_is_corked ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_pulse_pa_stream_is_corked=yes
14818 else
14819 ac_cv_lib_pulse_pa_stream_is_corked=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14826 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14827 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14829 else
14830 PULSE_LIBS=""
14833 else
14834 PULSE_LIBS=""
14837 done
14839 CPPFLAGS=$ac_save_CPPFLAGS
14840 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14841 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14844 if test -z "$PULSE_LIBS"; then :
14845 case "x$with_pulse" in
14846 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14847 xno) ;;
14848 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14849 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14850 esac
14851 enable_winepulse_drv=${enable_winepulse_drv:-no}
14854 if test "x$with_gstreamer" != "xno"
14855 then
14856 if ${GSTREAMER_CFLAGS:+false} :; then :
14857 if ${PKG_CONFIG+:} false; then :
14858 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14862 if ${GSTREAMER_LIBS:+false} :; then :
14863 if ${PKG_CONFIG+:} false; then :
14864 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14869 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14870 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14871 ac_save_CPPFLAGS=$CPPFLAGS
14872 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14873 ac_gst_incl=""
14874 for i in $GSTREAMER_CFLAGS
14876 case "$i" in
14877 -I*) ac_gst_incl="$ac_gst_incl $i";;
14878 esac
14879 done
14880 GSTREAMER_CFLAGS=$ac_gst_incl
14881 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14882 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14883 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14885 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14888 #include <gst/gst.h>
14890 main ()
14892 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_compile "$LINENO"; then :
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14899 $as_echo "yes" >&6; }
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14901 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14902 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14903 $as_echo_n "(cached) " >&6
14904 else
14905 ac_check_lib_save_LIBS=$LIBS
14906 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14913 #ifdef __cplusplus
14914 extern "C"
14915 #endif
14916 char gst_pad_new ();
14918 main ()
14920 return gst_pad_new ();
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"; then :
14926 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14927 else
14928 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14930 rm -f core conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14932 LIBS=$ac_check_lib_save_LIBS
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14935 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14936 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14940 else
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14942 $as_echo "no" >&6; }
14943 ac_glib2_broken=yes
14944 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14950 CPPFLAGS=$ac_save_CPPFLAGS
14951 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14952 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14955 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 :
14956 case "x$with_gstreamer" in
14957 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14958 xno) ;;
14959 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14960 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14961 esac
14964 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14966 ALSA_LIBS=""
14968 if test "x$with_alsa" != "xno"
14969 then
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14971 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14972 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 ac_check_lib_save_LIBS=$LIBS
14976 LIBS="-lasound $LIBS"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14983 #ifdef __cplusplus
14984 extern "C"
14985 #endif
14986 char snd_pcm_hw_params_get_access_mask ();
14988 main ()
14990 return snd_pcm_hw_params_get_access_mask ();
14992 return 0;
14994 _ACEOF
14995 if ac_fn_c_try_link "$LINENO"; then :
14996 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14997 else
14998 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
15000 rm -f core conftest.err conftest.$ac_objext \
15001 conftest$ac_exeext conftest.$ac_ext
15002 LIBS=$ac_check_lib_save_LIBS
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15005 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15006 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 #include <alsa/asoundlib.h>
15011 main ()
15013 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_compile "$LINENO"; then :
15019 ALSA_LIBS="-lasound"
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15025 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15027 if test "x$with_oss" != xno
15028 then
15029 ac_save_CPPFLAGS="$CPPFLAGS"
15030 if test -f /etc/oss.conf
15031 then
15032 . /etc/oss.conf
15034 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15035 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15036 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15037 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15038 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15040 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15042 cat >>confdefs.h <<_ACEOF
15043 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15044 _ACEOF
15046 OSS4_CFLAGS="$ac_oss_incl"
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15049 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15050 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_check_lib_save_LIBS=$LIBS
15054 LIBS="-lossaudio $LIBS"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15058 /* Override any GCC internal prototype to avoid an error.
15059 Use char because int might match the return type of a GCC
15060 builtin and then its argument prototype would still apply. */
15061 #ifdef __cplusplus
15062 extern "C"
15063 #endif
15064 char _oss_ioctl ();
15066 main ()
15068 return _oss_ioctl ();
15070 return 0;
15072 _ACEOF
15073 if ac_fn_c_try_link "$LINENO"; then :
15074 ac_cv_lib_ossaudio__oss_ioctl=yes
15075 else
15076 ac_cv_lib_ossaudio__oss_ioctl=no
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15080 LIBS=$ac_check_lib_save_LIBS
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15083 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15084 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15085 OSS4_LIBS="-lossaudio"
15094 CPPFLAGS="$ac_save_CPPFLAGS"
15096 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15097 case "x$with_oss" in
15098 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15099 xno) ;;
15100 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15101 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15102 esac
15103 enable_wineoss_drv=${enable_wineoss_drv:-no}
15106 if test "x$with_udev" != "xno"
15107 then
15108 if ${UDEV_CFLAGS:+false} :; then :
15109 if ${PKG_CONFIG+:} false; then :
15110 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15114 if ${UDEV_LIBS:+false} :; then :
15115 if ${PKG_CONFIG+:} false; then :
15116 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15120 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15121 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15122 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15123 ac_save_CPPFLAGS=$CPPFLAGS
15124 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15125 for ac_header in libudev.h
15126 do :
15127 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15128 if test "x$ac_cv_header_libudev_h" = xyes; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define HAVE_LIBUDEV_H 1
15131 _ACEOF
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15133 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15134 if ${ac_cv_lib_udev_udev_new+:} false; then :
15135 $as_echo_n "(cached) " >&6
15136 else
15137 ac_check_lib_save_LIBS=$LIBS
15138 LIBS="-ludev $UDEV_LIBS $LIBS"
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15142 /* Override any GCC internal prototype to avoid an error.
15143 Use char because int might match the return type of a GCC
15144 builtin and then its argument prototype would still apply. */
15145 #ifdef __cplusplus
15146 extern "C"
15147 #endif
15148 char udev_new ();
15150 main ()
15152 return udev_new ();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_lib_udev_udev_new=yes
15159 else
15160 ac_cv_lib_udev_udev_new=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15164 LIBS=$ac_check_lib_save_LIBS
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15167 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15168 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15170 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15172 else
15173 UDEV_LIBS=""
15176 else
15177 UDEV_LIBS=""
15180 done
15182 CPPFLAGS=$ac_save_CPPFLAGS
15183 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15184 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15187 if test "x$UDEV_LIBS" = "x"; then :
15188 case "x$with_udev" in
15189 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15190 xno) ;;
15191 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15192 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15193 esac
15197 if test "x$with_unwind" != xno
15198 then
15199 if ${UNWIND_CFLAGS:+false} :; then :
15200 if ${PKG_CONFIG+:} false; then :
15201 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15205 if ${UNWIND_LIBS:+false} :; then :
15206 if ${PKG_CONFIG+:} false; then :
15207 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15211 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15212 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15213 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15214 ac_save_CPPFLAGS=$CPPFLAGS
15215 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15217 $as_echo_n "checking for unw_step... " >&6; }
15218 if ${wine_cv_have_unw_step+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #define UNW_LOCAL_ONLY
15224 #include <libunwind.h>
15226 main ()
15228 unw_cursor_t cursor; unw_step( &cursor );
15230 return 0;
15232 _ACEOF
15233 if ac_fn_c_try_link "$LINENO"; then :
15234 wine_cv_have_unw_step="yes"
15235 else
15236 wine_cv_have_unw_step="no"
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15242 $as_echo "$wine_cv_have_unw_step" >&6; }
15243 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15244 then
15245 save_libs=$LIBS
15246 LIBS="$UNWIND_LIBS $LIBS"
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15248 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15249 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15254 #define UNW_LOCAL_ONLY
15255 #include <libunwind.h>
15257 main ()
15259 unw_cursor_t cursor; unw_step( &cursor );
15261 return 0;
15263 _ACEOF
15264 if ac_fn_c_try_link "$LINENO"; then :
15265 wine_cv_have_libunwind_unw_step="yes"
15266 else
15267 wine_cv_have_libunwind_unw_step="no"
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext conftest.$ac_ext
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15273 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15274 LIBS=$save_libs
15276 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15277 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15278 then
15280 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15283 CPPFLAGS=$ac_save_CPPFLAGS
15284 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15285 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15288 case $host in
15289 aarch64*|*-darwin*)
15290 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15291 case "x$with_unwind" in
15292 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15293 xno) ;;
15294 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15295 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15296 esac
15298 fi ;;
15299 esac
15301 if test "x$with_sdl" != "xno"
15302 then
15303 if ${SDL2_CFLAGS:+false} :; then :
15304 if ${PKG_CONFIG+:} false; then :
15305 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15309 if ${SDL2_LIBS:+false} :; then :
15310 if ${PKG_CONFIG+:} false; then :
15311 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15315 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15316 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15317 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15318 ac_save_CPPFLAGS=$CPPFLAGS
15319 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15320 for ac_header in SDL2/SDL.h
15321 do :
15322 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15323 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15324 cat >>confdefs.h <<_ACEOF
15325 #define HAVE_SDL2_SDL_H 1
15326 _ACEOF
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15328 $as_echo_n "checking for -lSDL2... " >&6; }
15329 if ${ac_cv_lib_soname_SDL2+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 ac_check_soname_save_LIBS=$LIBS
15333 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15340 #ifdef __cplusplus
15341 extern "C"
15342 #endif
15343 char SDL_Init ();
15345 main ()
15347 return SDL_Init ();
15349 return 0;
15351 _ACEOF
15352 if ac_fn_c_try_link "$LINENO"; then :
15353 case "$LIBEXT" in
15354 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15355 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'` ;;
15356 *) 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'`
15357 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15358 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15359 fi ;;
15360 esac
15361 else
15362 ac_cv_lib_soname_SDL2=
15364 rm -f core conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15366 LIBS=$ac_check_soname_save_LIBS
15368 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15370 $as_echo "not found" >&6; }
15372 else
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15374 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15376 cat >>confdefs.h <<_ACEOF
15377 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15378 _ACEOF
15384 done
15386 CPPFLAGS=$ac_save_CPPFLAGS
15387 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15388 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15391 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15392 case "x$with_sdl" in
15393 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15394 xno) ;;
15395 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15396 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15397 esac
15401 if test "x$with_faudio" != "xno"
15402 then
15403 if ${FAUDIO_CFLAGS:+false} :; then :
15404 if ${PKG_CONFIG+:} false; then :
15405 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15409 if ${FAUDIO_LIBS:+false} :; then :
15410 if ${PKG_CONFIG+:} false; then :
15411 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15415 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15416 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15417 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15418 ac_save_CPPFLAGS=$CPPFLAGS
15419 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15420 for ac_header in FAudio.h
15421 do :
15422 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15423 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15424 cat >>confdefs.h <<_ACEOF
15425 #define HAVE_FAUDIO_H 1
15426 _ACEOF
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15428 $as_echo_n "checking for -lFAudio... " >&6; }
15429 if ${ac_cv_lib_soname_FAudio+:} false; then :
15430 $as_echo_n "(cached) " >&6
15431 else
15432 ac_check_soname_save_LIBS=$LIBS
15433 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15437 /* Override any GCC internal prototype to avoid an error.
15438 Use char because int might match the return type of a GCC
15439 builtin and then its argument prototype would still apply. */
15440 #ifdef __cplusplus
15441 extern "C"
15442 #endif
15443 char FAudioCreate ();
15445 main ()
15447 return FAudioCreate ();
15449 return 0;
15451 _ACEOF
15452 if ac_fn_c_try_link "$LINENO"; then :
15453 case "$LIBEXT" in
15454 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15455 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'` ;;
15456 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15457 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15458 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15459 fi ;;
15460 esac
15461 else
15462 ac_cv_lib_soname_FAudio=
15464 rm -f core conftest.err conftest.$ac_objext \
15465 conftest$ac_exeext conftest.$ac_ext
15466 LIBS=$ac_check_soname_save_LIBS
15468 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15470 $as_echo "not found" >&6; }
15472 else
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15474 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15476 cat >>confdefs.h <<_ACEOF
15477 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15478 _ACEOF
15484 done
15486 ac_wine_check_funcs_save_LIBS="$LIBS"
15487 LIBS="$LIBS $FAUDIO_LIBS"
15488 for ac_func in FAudio_CommitOperationSet \
15489 F3DAudioInitialize8 \
15490 FAudioLinkedVersion
15491 do :
15492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15495 cat >>confdefs.h <<_ACEOF
15496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15497 _ACEOF
15500 done
15502 LIBS="$ac_wine_check_funcs_save_LIBS"
15504 CPPFLAGS=$ac_save_CPPFLAGS
15505 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15506 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15509 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15510 case "x$with_faudio" in
15511 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15512 xno) ;;
15513 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15514 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15515 esac
15519 if test "x$with_capi" != "xno"
15520 then
15521 if ${CAPI20_CFLAGS:+false} :; then :
15522 if ${PKG_CONFIG+:} false; then :
15523 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15527 if ${CAPI20_LIBS:+false} :; then :
15528 if ${PKG_CONFIG+:} false; then :
15529 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15534 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15535 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15536 ac_save_CPPFLAGS=$CPPFLAGS
15537 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15538 for ac_header in capi20.h linux/capi.h
15539 do :
15540 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15541 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15543 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15544 cat >>confdefs.h <<_ACEOF
15545 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15546 _ACEOF
15550 done
15552 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15553 then
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15555 $as_echo_n "checking for -lcapi20... " >&6; }
15556 if ${ac_cv_lib_soname_capi20+:} false; then :
15557 $as_echo_n "(cached) " >&6
15558 else
15559 ac_check_soname_save_LIBS=$LIBS
15560 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15564 /* Override any GCC internal prototype to avoid an error.
15565 Use char because int might match the return type of a GCC
15566 builtin and then its argument prototype would still apply. */
15567 #ifdef __cplusplus
15568 extern "C"
15569 #endif
15570 char capi20_register ();
15572 main ()
15574 return capi20_register ();
15576 return 0;
15578 _ACEOF
15579 if ac_fn_c_try_link "$LINENO"; then :
15580 case "$LIBEXT" in
15581 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15582 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'` ;;
15583 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15584 if ${ac_cv_lib_soname_capi20:+false} :; then :
15585 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15586 fi ;;
15587 esac
15588 else
15589 ac_cv_lib_soname_capi20=
15591 rm -f core conftest.err conftest.$ac_objext \
15592 conftest$ac_exeext conftest.$ac_ext
15593 LIBS=$ac_check_soname_save_LIBS
15595 if ${ac_cv_lib_soname_capi20:+false} :; then :
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15597 $as_echo "not found" >&6; }
15599 else
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15601 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15603 cat >>confdefs.h <<_ACEOF
15604 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15605 _ACEOF
15610 CPPFLAGS=$ac_save_CPPFLAGS
15611 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15612 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15615 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15616 case "x$with_capi" in
15617 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15618 xno) ;;
15619 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15620 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15621 esac
15625 if test "x$with_cups" != "xno"
15626 then
15627 if ${CUPS_CFLAGS:+false} :; then :
15628 if ${PKG_CONFIG+:} false; then :
15629 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15632 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15633 if ${CUPS_LIBS:+false} :; then :
15634 if ${PKG_CONFIG+:} false; then :
15635 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15638 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15639 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15640 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15641 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15642 ac_save_CPPFLAGS=$CPPFLAGS
15643 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15644 for ac_header in cups/cups.h cups/ppd.h
15645 do :
15646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15647 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15649 cat >>confdefs.h <<_ACEOF
15650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15651 _ACEOF
15655 done
15657 if test "$ac_cv_header_cups_cups_h" = "yes"
15658 then
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15660 $as_echo_n "checking for -lcups... " >&6; }
15661 if ${ac_cv_lib_soname_cups+:} false; then :
15662 $as_echo_n "(cached) " >&6
15663 else
15664 ac_check_soname_save_LIBS=$LIBS
15665 LIBS="-lcups $CUPS_LIBS $LIBS"
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 #ifdef __cplusplus
15673 extern "C"
15674 #endif
15675 char cupsGetDefault ();
15677 main ()
15679 return cupsGetDefault ();
15681 return 0;
15683 _ACEOF
15684 if ac_fn_c_try_link "$LINENO"; then :
15685 case "$LIBEXT" in
15686 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15687 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'` ;;
15688 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15689 if ${ac_cv_lib_soname_cups:+false} :; then :
15690 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15691 fi ;;
15692 esac
15693 else
15694 ac_cv_lib_soname_cups=
15696 rm -f core conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_soname_save_LIBS
15700 if ${ac_cv_lib_soname_cups:+false} :; then :
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15702 $as_echo "not found" >&6; }
15703 CUPS_LIBS=""
15704 else
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15706 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15708 cat >>confdefs.h <<_ACEOF
15709 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15710 _ACEOF
15714 else
15715 CUPS_CFLAGS=""
15716 CUPS_LIBS=""
15718 CPPFLAGS=$ac_save_CPPFLAGS
15719 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15720 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15723 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15724 case "x$with_cups" in
15725 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15726 xno) ;;
15727 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15728 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15729 esac
15733 if test "x$with_fontconfig" != "xno"
15734 then
15735 if ${FONTCONFIG_CFLAGS:+false} :; then :
15736 if ${PKG_CONFIG+:} false; then :
15737 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15740 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15741 if ${FONTCONFIG_LIBS:+false} :; then :
15742 if ${PKG_CONFIG+:} false; then :
15743 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15746 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15748 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15749 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15750 ac_save_CPPFLAGS=$CPPFLAGS
15751 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15752 for ac_header in fontconfig/fontconfig.h
15753 do :
15754 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15755 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15758 _ACEOF
15762 done
15764 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15765 then
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15767 $as_echo_n "checking for -lfontconfig... " >&6; }
15768 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15769 $as_echo_n "(cached) " >&6
15770 else
15771 ac_check_soname_save_LIBS=$LIBS
15772 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15776 /* Override any GCC internal prototype to avoid an error.
15777 Use char because int might match the return type of a GCC
15778 builtin and then its argument prototype would still apply. */
15779 #ifdef __cplusplus
15780 extern "C"
15781 #endif
15782 char FcInit ();
15784 main ()
15786 return FcInit ();
15788 return 0;
15790 _ACEOF
15791 if ac_fn_c_try_link "$LINENO"; then :
15792 case "$LIBEXT" in
15793 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15794 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'` ;;
15795 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15796 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15797 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15798 fi ;;
15799 esac
15800 else
15801 ac_cv_lib_soname_fontconfig=
15803 rm -f core conftest.err conftest.$ac_objext \
15804 conftest$ac_exeext conftest.$ac_ext
15805 LIBS=$ac_check_soname_save_LIBS
15807 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15809 $as_echo "not found" >&6; }
15810 FONTCONFIG_CFLAGS=""
15811 else
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15813 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15815 cat >>confdefs.h <<_ACEOF
15816 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15817 _ACEOF
15821 else
15822 FONTCONFIG_CFLAGS=""
15824 CPPFLAGS=$ac_save_CPPFLAGS
15825 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15826 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15829 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15830 case "x$with_fontconfig" in
15831 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15832 xno) ;;
15833 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15834 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15835 esac
15839 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15840 then
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15842 $as_echo_n "checking for -lgsm... " >&6; }
15843 if ${ac_cv_lib_soname_gsm+:} false; then :
15844 $as_echo_n "(cached) " >&6
15845 else
15846 ac_check_soname_save_LIBS=$LIBS
15847 LIBS="-lgsm $LIBS"
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15851 /* Override any GCC internal prototype to avoid an error.
15852 Use char because int might match the return type of a GCC
15853 builtin and then its argument prototype would still apply. */
15854 #ifdef __cplusplus
15855 extern "C"
15856 #endif
15857 char gsm_create ();
15859 main ()
15861 return gsm_create ();
15863 return 0;
15865 _ACEOF
15866 if ac_fn_c_try_link "$LINENO"; then :
15867 case "$LIBEXT" in
15868 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15869 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'` ;;
15870 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15871 if ${ac_cv_lib_soname_gsm:+false} :; then :
15872 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15873 fi ;;
15874 esac
15875 else
15876 ac_cv_lib_soname_gsm=
15878 rm -f core conftest.err conftest.$ac_objext \
15879 conftest$ac_exeext conftest.$ac_ext
15880 LIBS=$ac_check_soname_save_LIBS
15882 if ${ac_cv_lib_soname_gsm:+false} :; then :
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15884 $as_echo "not found" >&6; }
15886 else
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15888 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15890 cat >>confdefs.h <<_ACEOF
15891 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15892 _ACEOF
15897 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15898 case "x$with_gsm" in
15899 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15900 xno) ;;
15901 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15902 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15903 esac
15907 if test "x$with_krb5" != "xno"
15908 then
15909 if ${KRB5_CFLAGS:+false} :; then :
15910 if ${PKG_CONFIG+:} false; then :
15911 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15914 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15915 if ${KRB5_LIBS:+false} :; then :
15916 if ${PKG_CONFIG+:} false; then :
15917 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15920 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15922 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15923 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15924 ac_save_CPPFLAGS=$CPPFLAGS
15925 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15926 for ac_header in krb5/krb5.h
15927 do :
15928 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15929 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_KRB5_KRB5_H 1
15932 _ACEOF
15936 done
15938 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15939 then
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15941 $as_echo_n "checking for -lkrb5... " >&6; }
15942 if ${ac_cv_lib_soname_krb5+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 ac_check_soname_save_LIBS=$LIBS
15946 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15950 /* Override any GCC internal prototype to avoid an error.
15951 Use char because int might match the return type of a GCC
15952 builtin and then its argument prototype would still apply. */
15953 #ifdef __cplusplus
15954 extern "C"
15955 #endif
15956 char krb5_is_config_principal ();
15958 main ()
15960 return krb5_is_config_principal ();
15962 return 0;
15964 _ACEOF
15965 if ac_fn_c_try_link "$LINENO"; then :
15966 case "$LIBEXT" in
15967 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15968 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'` ;;
15969 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15970 if ${ac_cv_lib_soname_krb5:+false} :; then :
15971 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15972 fi ;;
15973 esac
15974 else
15975 ac_cv_lib_soname_krb5=
15977 rm -f core conftest.err conftest.$ac_objext \
15978 conftest$ac_exeext conftest.$ac_ext
15979 LIBS=$ac_check_soname_save_LIBS
15981 if ${ac_cv_lib_soname_krb5:+false} :; then :
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15983 $as_echo "not found" >&6; }
15984 KRB5_CFLAGS=""
15985 else
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15987 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15989 cat >>confdefs.h <<_ACEOF
15990 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15991 _ACEOF
15995 else
15996 KRB5_CFLAGS=""
15998 CPPFLAGS=$ac_save_CPPFLAGS
15999 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16000 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16003 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16004 case "x$with_krb5" in
16005 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16006 xno) ;;
16007 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16008 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16009 esac
16012 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16014 if test "x$with_gssapi" != "xno"
16015 then
16016 if ${GSSAPI_CFLAGS:+false} :; then :
16017 if ${PKG_CONFIG+:} false; then :
16018 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16021 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16022 if ${GSSAPI_LIBS:+false} :; then :
16023 if ${PKG_CONFIG+:} false; then :
16024 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16027 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16029 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16030 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16031 ac_save_CPPFLAGS=$CPPFLAGS
16032 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16033 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16034 do :
16035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16036 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16037 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16040 _ACEOF
16044 done
16046 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16047 then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16049 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16050 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16051 $as_echo_n "(cached) " >&6
16052 else
16053 ac_check_soname_save_LIBS=$LIBS
16054 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16056 /* end confdefs.h. */
16058 /* Override any GCC internal prototype to avoid an error.
16059 Use char because int might match the return type of a GCC
16060 builtin and then its argument prototype would still apply. */
16061 #ifdef __cplusplus
16062 extern "C"
16063 #endif
16064 char gss_init_sec_context ();
16066 main ()
16068 return gss_init_sec_context ();
16070 return 0;
16072 _ACEOF
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 case "$LIBEXT" in
16075 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16076 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'` ;;
16077 *) 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'`
16078 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16079 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16080 fi ;;
16081 esac
16082 else
16083 ac_cv_lib_soname_gssapi_krb5=
16085 rm -f core conftest.err conftest.$ac_objext \
16086 conftest$ac_exeext conftest.$ac_ext
16087 LIBS=$ac_check_soname_save_LIBS
16089 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16091 $as_echo "not found" >&6; }
16092 GSSAPI_CFLAGS=""
16093 else
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16095 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16097 cat >>confdefs.h <<_ACEOF
16098 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16099 _ACEOF
16103 else
16104 GSSAPI_CFLAGS=""
16106 CPPFLAGS=$ac_save_CPPFLAGS
16107 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16108 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16111 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16112 case "x$with_gssapi" in
16113 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16114 xno) ;;
16115 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16116 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16117 esac
16121 if test "x$with_jpeg" != "xno"
16122 then
16123 if ${JPEG_CFLAGS:+false} :; then :
16124 if ${PKG_CONFIG+:} false; then :
16125 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16129 if ${JPEG_LIBS:+false} :; then :
16130 if ${PKG_CONFIG+:} false; then :
16131 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16136 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16137 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16138 ac_save_CPPFLAGS=$CPPFLAGS
16139 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16140 for ac_header in jpeglib.h
16141 do :
16142 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16143 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_JPEGLIB_H 1
16146 _ACEOF
16150 done
16152 if test "$ac_cv_header_jpeglib_h" = "yes"
16153 then
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16155 $as_echo_n "checking for -ljpeg... " >&6; }
16156 if ${ac_cv_lib_soname_jpeg+:} false; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 ac_check_soname_save_LIBS=$LIBS
16160 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16162 /* end confdefs.h. */
16164 /* Override any GCC internal prototype to avoid an error.
16165 Use char because int might match the return type of a GCC
16166 builtin and then its argument prototype would still apply. */
16167 #ifdef __cplusplus
16168 extern "C"
16169 #endif
16170 char jpeg_start_decompress ();
16172 main ()
16174 return jpeg_start_decompress ();
16176 return 0;
16178 _ACEOF
16179 if ac_fn_c_try_link "$LINENO"; then :
16180 case "$LIBEXT" in
16181 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16182 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'` ;;
16183 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16184 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16185 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16186 fi ;;
16187 esac
16188 else
16189 ac_cv_lib_soname_jpeg=
16191 rm -f core conftest.err conftest.$ac_objext \
16192 conftest$ac_exeext conftest.$ac_ext
16193 LIBS=$ac_check_soname_save_LIBS
16195 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16197 $as_echo "not found" >&6; }
16198 JPEG_CFLAGS=""
16199 else
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16201 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16203 cat >>confdefs.h <<_ACEOF
16204 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16205 _ACEOF
16209 else
16210 JPEG_CFLAGS=""
16212 CPPFLAGS=$ac_save_CPPFLAGS
16213 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16214 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16217 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16218 case "x$with_jpeg" in
16219 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16220 xno) ;;
16221 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16222 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16223 esac
16227 if test "x$with_png" != "xno"
16228 then
16229 if ${PNG_CFLAGS:+false} :; then :
16230 if ${PKG_CONFIG+:} false; then :
16231 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16234 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16235 if ${PNG_LIBS:+false} :; then :
16236 if ${PKG_CONFIG+:} false; then :
16237 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16240 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16242 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16243 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16244 ac_save_CPPFLAGS=$CPPFLAGS
16245 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16246 for ac_header in png.h
16247 do :
16248 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16249 if test "x$ac_cv_header_png_h" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_PNG_H 1
16252 _ACEOF
16256 done
16258 if test "$ac_cv_header_png_h" = "yes"
16259 then
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16261 $as_echo_n "checking for -lpng... " >&6; }
16262 if ${ac_cv_lib_soname_png+:} false; then :
16263 $as_echo_n "(cached) " >&6
16264 else
16265 ac_check_soname_save_LIBS=$LIBS
16266 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16270 /* Override any GCC internal prototype to avoid an error.
16271 Use char because int might match the return type of a GCC
16272 builtin and then its argument prototype would still apply. */
16273 #ifdef __cplusplus
16274 extern "C"
16275 #endif
16276 char png_create_read_struct ();
16278 main ()
16280 return png_create_read_struct ();
16282 return 0;
16284 _ACEOF
16285 if ac_fn_c_try_link "$LINENO"; then :
16286 case "$LIBEXT" in
16287 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16288 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'` ;;
16289 *) 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'`
16290 if ${ac_cv_lib_soname_png:+false} :; then :
16291 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16292 fi ;;
16293 esac
16294 else
16295 ac_cv_lib_soname_png=
16297 rm -f core conftest.err conftest.$ac_objext \
16298 conftest$ac_exeext conftest.$ac_ext
16299 LIBS=$ac_check_soname_save_LIBS
16301 if ${ac_cv_lib_soname_png:+false} :; then :
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16303 $as_echo "not found" >&6; }
16304 PNG_CFLAGS=""
16305 else
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16307 $as_echo "$ac_cv_lib_soname_png" >&6; }
16309 cat >>confdefs.h <<_ACEOF
16310 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16311 _ACEOF
16315 else
16316 PNG_CFLAGS=""
16318 CPPFLAGS=$ac_save_CPPFLAGS
16319 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16320 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16323 if test "x$ac_cv_lib_soname_png" = "x"; then :
16324 case "x$with_png" in
16325 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16326 xno) ;;
16327 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16328 This is an error since --with-png was requested." "$LINENO" 5 ;;
16329 esac
16333 if test "x$with_tiff" != "xno"
16334 then
16335 if ${TIFF_CFLAGS:+false} :; then :
16336 if ${PKG_CONFIG+:} false; then :
16337 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16341 if ${TIFF_LIBS:+false} :; then :
16342 if ${PKG_CONFIG+:} false; then :
16343 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16348 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16349 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16350 ac_save_CPPFLAGS=$CPPFLAGS
16351 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16352 for ac_header in tiffio.h
16353 do :
16354 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16355 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_TIFFIO_H 1
16358 _ACEOF
16362 done
16364 if test "$ac_cv_header_tiffio_h" = "yes"
16365 then
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16367 $as_echo_n "checking for -ltiff... " >&6; }
16368 if ${ac_cv_lib_soname_tiff+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 ac_check_soname_save_LIBS=$LIBS
16372 LIBS="-ltiff $TIFF_LIBS $LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 char TIFFClientOpen ();
16384 main ()
16386 return TIFFClientOpen ();
16388 return 0;
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 case "$LIBEXT" in
16393 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16394 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'` ;;
16395 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16396 if ${ac_cv_lib_soname_tiff:+false} :; then :
16397 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16398 fi ;;
16399 esac
16400 else
16401 ac_cv_lib_soname_tiff=
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16405 LIBS=$ac_check_soname_save_LIBS
16407 if ${ac_cv_lib_soname_tiff:+false} :; then :
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16409 $as_echo "not found" >&6; }
16411 else
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16413 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16415 cat >>confdefs.h <<_ACEOF
16416 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16417 _ACEOF
16422 CPPFLAGS=$ac_save_CPPFLAGS
16423 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16424 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16427 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16428 case "x$with_tiff" in
16429 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16430 xno) ;;
16431 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16432 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16433 esac
16437 if test "x$with_mpg123" != "xno"
16438 then
16439 if ${MPG123_CFLAGS:+false} :; then :
16440 if ${PKG_CONFIG+:} false; then :
16441 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16445 if ${MPG123_LIBS:+false} :; then :
16446 if ${PKG_CONFIG+:} false; then :
16447 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16451 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16452 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16453 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16454 ac_save_CPPFLAGS=$CPPFLAGS
16455 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16456 for ac_header in mpg123.h
16457 do :
16458 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16459 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_MPG123_H 1
16462 _ACEOF
16466 done
16468 if test "$ac_cv_header_mpg123_h" = "yes"
16469 then
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16471 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16472 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 ac_check_lib_save_LIBS=$LIBS
16476 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16480 /* Override any GCC internal prototype to avoid an error.
16481 Use char because int might match the return type of a GCC
16482 builtin and then its argument prototype would still apply. */
16483 #ifdef __cplusplus
16484 extern "C"
16485 #endif
16486 char mpg123_feed ();
16488 main ()
16490 return mpg123_feed ();
16492 return 0;
16494 _ACEOF
16495 if ac_fn_c_try_link "$LINENO"; then :
16496 ac_cv_lib_mpg123_mpg123_feed=yes
16497 else
16498 ac_cv_lib_mpg123_mpg123_feed=no
16500 rm -f core conftest.err conftest.$ac_objext \
16501 conftest$ac_exeext conftest.$ac_ext
16502 LIBS=$ac_check_lib_save_LIBS
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16505 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16506 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16508 else
16509 MPG123_LIBS=""
16512 else
16513 MPG123_CFLAGS=""
16514 MPG123_LIBS=""
16516 CPPFLAGS=$ac_save_CPPFLAGS
16517 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16518 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16521 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16522 case "x$with_mpg123" in
16523 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16524 xno) ;;
16525 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16526 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16527 esac
16528 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16530 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16532 if test "$ac_cv_header_AL_al_h" = "yes"
16533 then
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16535 $as_echo_n "checking for -lopenal... " >&6; }
16536 if ${ac_cv_lib_soname_openal+:} false; then :
16537 $as_echo_n "(cached) " >&6
16538 else
16539 ac_check_soname_save_LIBS=$LIBS
16540 LIBS="-lopenal $LIBS"
16541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16544 /* Override any GCC internal prototype to avoid an error.
16545 Use char because int might match the return type of a GCC
16546 builtin and then its argument prototype would still apply. */
16547 #ifdef __cplusplus
16548 extern "C"
16549 #endif
16550 char alGetSource3i ();
16552 main ()
16554 return alGetSource3i ();
16556 return 0;
16558 _ACEOF
16559 if ac_fn_c_try_link "$LINENO"; then :
16560 case "$LIBEXT" in
16561 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16562 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'` ;;
16563 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16564 if ${ac_cv_lib_soname_openal:+false} :; then :
16565 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16566 fi ;;
16567 esac
16568 else
16569 ac_cv_lib_soname_openal=
16571 rm -f core conftest.err conftest.$ac_objext \
16572 conftest$ac_exeext conftest.$ac_ext
16573 LIBS=$ac_check_soname_save_LIBS
16575 if ${ac_cv_lib_soname_openal:+false} :; then :
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16577 $as_echo "not found" >&6; }
16579 else
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16581 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16583 cat >>confdefs.h <<_ACEOF
16584 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16585 _ACEOF
16587 OPENAL_LIBS="-lopenal"
16589 ac_cv_lib_openal=yes
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_OPENAL 1
16593 _ACEOF
16597 if test "x$ac_cv_lib_openal" != xyes; then :
16598 case "x$with_openal" in
16599 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16600 xno) ;;
16601 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16602 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16603 esac
16604 enable_openal32=${enable_openal32:-no}
16607 if test "x$ac_cv_lib_soname_FAudio" = "x"
16608 then
16609 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16610 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16611 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16612 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16613 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16614 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16615 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16616 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16617 enable_xapofx1_1=${enable_xapofx1_1:-no}
16618 enable_xapofx1_2=${enable_xapofx1_2:-no}
16619 enable_xapofx1_3=${enable_xapofx1_3:-no}
16620 enable_xapofx1_4=${enable_xapofx1_4:-no}
16621 enable_xapofx1_5=${enable_xapofx1_5:-no}
16622 enable_xaudio2_0=${enable_xaudio2_0:-no}
16623 enable_xaudio2_1=${enable_xaudio2_1:-no}
16624 enable_xaudio2_2=${enable_xaudio2_2:-no}
16625 enable_xaudio2_3=${enable_xaudio2_3:-no}
16626 enable_xaudio2_4=${enable_xaudio2_4:-no}
16627 enable_xaudio2_5=${enable_xaudio2_5:-no}
16628 enable_xaudio2_6=${enable_xaudio2_6:-no}
16629 enable_xaudio2_7=${enable_xaudio2_7:-no}
16630 enable_xaudio2_8=${enable_xaudio2_8:-no}
16631 enable_xaudio2_9=${enable_xaudio2_9:-no}
16634 if test "$ac_cv_header_kstat_h" = "yes"
16635 then
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16637 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16638 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16639 $as_echo_n "(cached) " >&6
16640 else
16641 ac_check_lib_save_LIBS=$LIBS
16642 LIBS="-lkstat $LIBS"
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16646 /* Override any GCC internal prototype to avoid an error.
16647 Use char because int might match the return type of a GCC
16648 builtin and then its argument prototype would still apply. */
16649 #ifdef __cplusplus
16650 extern "C"
16651 #endif
16652 char kstat_open ();
16654 main ()
16656 return kstat_open ();
16658 return 0;
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 ac_cv_lib_kstat_kstat_open=yes
16663 else
16664 ac_cv_lib_kstat_kstat_open=no
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 LIBS=$ac_check_lib_save_LIBS
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16671 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16672 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16674 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16676 KSTAT_LIBS="-lkstat"
16682 if test "$ac_cv_header_libprocstat_h" = "yes"
16683 then
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16685 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16686 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16687 $as_echo_n "(cached) " >&6
16688 else
16689 ac_check_lib_save_LIBS=$LIBS
16690 LIBS="-lprocstat $LIBS"
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16694 /* Override any GCC internal prototype to avoid an error.
16695 Use char because int might match the return type of a GCC
16696 builtin and then its argument prototype would still apply. */
16697 #ifdef __cplusplus
16698 extern "C"
16699 #endif
16700 char procstat_open_sysctl ();
16702 main ()
16704 return procstat_open_sysctl ();
16706 return 0;
16708 _ACEOF
16709 if ac_fn_c_try_link "$LINENO"; then :
16710 ac_cv_lib_procstat_procstat_open_sysctl=yes
16711 else
16712 ac_cv_lib_procstat_procstat_open_sysctl=no
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16716 LIBS=$ac_check_lib_save_LIBS
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16719 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16720 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16722 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16724 PROCSTAT_LIBS="-lprocstat"
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16731 $as_echo_n "checking for -lodbc... " >&6; }
16732 if ${ac_cv_lib_soname_odbc+:} false; then :
16733 $as_echo_n "(cached) " >&6
16734 else
16735 ac_check_soname_save_LIBS=$LIBS
16736 LIBS="-lodbc $LIBS"
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16740 /* Override any GCC internal prototype to avoid an error.
16741 Use char because int might match the return type of a GCC
16742 builtin and then its argument prototype would still apply. */
16743 #ifdef __cplusplus
16744 extern "C"
16745 #endif
16746 char SQLConnect ();
16748 main ()
16750 return SQLConnect ();
16752 return 0;
16754 _ACEOF
16755 if ac_fn_c_try_link "$LINENO"; then :
16756 case "$LIBEXT" in
16757 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16758 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'` ;;
16759 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16760 if ${ac_cv_lib_soname_odbc:+false} :; then :
16761 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16762 fi ;;
16763 esac
16764 else
16765 ac_cv_lib_soname_odbc=
16767 rm -f core conftest.err conftest.$ac_objext \
16768 conftest$ac_exeext conftest.$ac_ext
16769 LIBS=$ac_check_soname_save_LIBS
16771 if ${ac_cv_lib_soname_odbc:+false} :; then :
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16773 $as_echo "not found" >&6; }
16774 cat >>confdefs.h <<_ACEOF
16775 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16776 _ACEOF
16778 else
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16780 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16782 cat >>confdefs.h <<_ACEOF
16783 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16784 _ACEOF
16789 if test "x$with_netapi" != "xno"
16790 then
16791 if ${NETAPI_CFLAGS:+false} :; then :
16792 if ${PKG_CONFIG+:} false; then :
16793 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16797 if ${NETAPI_LIBS:+false} :; then :
16798 if ${PKG_CONFIG+:} false; then :
16799 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16804 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16805 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16806 ac_save_CPPFLAGS=$CPPFLAGS
16807 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16809 $as_echo_n "checking for -lnetapi... " >&6; }
16810 if ${ac_cv_lib_soname_netapi+:} false; then :
16811 $as_echo_n "(cached) " >&6
16812 else
16813 ac_check_soname_save_LIBS=$LIBS
16814 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 #ifdef __cplusplus
16822 extern "C"
16823 #endif
16824 char libnetapi_init ();
16826 main ()
16828 return libnetapi_init ();
16830 return 0;
16832 _ACEOF
16833 if ac_fn_c_try_link "$LINENO"; then :
16834 case "$LIBEXT" in
16835 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16836 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'` ;;
16837 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16838 if ${ac_cv_lib_soname_netapi:+false} :; then :
16839 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16840 fi ;;
16841 esac
16842 else
16843 ac_cv_lib_soname_netapi=
16845 rm -f core conftest.err conftest.$ac_objext \
16846 conftest$ac_exeext conftest.$ac_ext
16847 LIBS=$ac_check_soname_save_LIBS
16849 if ${ac_cv_lib_soname_netapi:+false} :; then :
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16851 $as_echo "not found" >&6; }
16852 cat >>confdefs.h <<_ACEOF
16853 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16854 _ACEOF
16856 else
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16858 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16860 cat >>confdefs.h <<_ACEOF
16861 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16862 _ACEOF
16866 CPPFLAGS=$ac_save_CPPFLAGS
16867 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16868 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16872 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16873 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16874 then
16875 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16878 if test "x$with_vulkan" != "xno"
16879 then
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16881 $as_echo_n "checking for -lvulkan... " >&6; }
16882 if ${ac_cv_lib_soname_vulkan+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 ac_check_soname_save_LIBS=$LIBS
16886 LIBS="-lvulkan $LIBS"
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16890 /* Override any GCC internal prototype to avoid an error.
16891 Use char because int might match the return type of a GCC
16892 builtin and then its argument prototype would still apply. */
16893 #ifdef __cplusplus
16894 extern "C"
16895 #endif
16896 char vkGetInstanceProcAddr ();
16898 main ()
16900 return vkGetInstanceProcAddr ();
16902 return 0;
16904 _ACEOF
16905 if ac_fn_c_try_link "$LINENO"; then :
16906 case "$LIBEXT" in
16907 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16908 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'` ;;
16909 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16910 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16911 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16912 fi ;;
16913 esac
16914 else
16915 ac_cv_lib_soname_vulkan=
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16919 LIBS=$ac_check_soname_save_LIBS
16921 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16923 $as_echo "not found" >&6; }
16925 else
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16927 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16929 cat >>confdefs.h <<_ACEOF
16930 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16931 _ACEOF
16935 if test "x$ac_cv_lib_soname_vulkan" = "x"
16936 then
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16938 $as_echo_n "checking for -lMoltenVK... " >&6; }
16939 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16940 $as_echo_n "(cached) " >&6
16941 else
16942 ac_check_soname_save_LIBS=$LIBS
16943 LIBS="-lMoltenVK $LIBS"
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16947 /* Override any GCC internal prototype to avoid an error.
16948 Use char because int might match the return type of a GCC
16949 builtin and then its argument prototype would still apply. */
16950 #ifdef __cplusplus
16951 extern "C"
16952 #endif
16953 char vkGetInstanceProcAddr ();
16955 main ()
16957 return vkGetInstanceProcAddr ();
16959 return 0;
16961 _ACEOF
16962 if ac_fn_c_try_link "$LINENO"; then :
16963 case "$LIBEXT" in
16964 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16965 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'` ;;
16966 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16967 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16968 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16969 fi ;;
16970 esac
16971 else
16972 ac_cv_lib_soname_MoltenVK=
16974 rm -f core conftest.err conftest.$ac_objext \
16975 conftest$ac_exeext conftest.$ac_ext
16976 LIBS=$ac_check_soname_save_LIBS
16978 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16980 $as_echo "not found" >&6; }
16982 else
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16984 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16986 cat >>confdefs.h <<_ACEOF
16987 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16988 _ACEOF
16994 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16995 case "x$with_vulkan" in
16996 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16997 xno) ;;
16998 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16999 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17000 esac
17004 if test "x$with_vkd3d" != "xno"
17005 then
17006 if ${VKD3D_CFLAGS:+false} :; then :
17007 if ${PKG_CONFIG+:} false; then :
17008 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17012 if ${VKD3D_LIBS:+false} :; then :
17013 if ${PKG_CONFIG+:} false; then :
17014 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17019 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17020 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17021 ac_save_CPPFLAGS=$CPPFLAGS
17022 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17024 $as_echo_n "checking for -lvkd3d... " >&6; }
17025 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 ac_check_soname_save_LIBS=$LIBS
17029 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17033 /* Override any GCC internal prototype to avoid an error.
17034 Use char because int might match the return type of a GCC
17035 builtin and then its argument prototype would still apply. */
17036 #ifdef __cplusplus
17037 extern "C"
17038 #endif
17039 char vkd3d_get_dxgi_format ();
17041 main ()
17043 return vkd3d_get_dxgi_format ();
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"; then :
17049 case "$LIBEXT" in
17050 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17051 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'` ;;
17052 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17053 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17054 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17055 fi ;;
17056 esac
17057 else
17058 ac_cv_lib_soname_vkd3d=
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 LIBS=$ac_check_soname_save_LIBS
17064 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17066 $as_echo "not found" >&6; }
17068 else
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17070 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17072 cat >>confdefs.h <<_ACEOF
17073 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17074 _ACEOF
17078 CPPFLAGS=$ac_save_CPPFLAGS
17079 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17080 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17083 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17084 case "x$with_vkd3d" in
17085 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17086 xno) ;;
17087 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17088 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17089 esac
17092 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17095 EXTRACFLAGS=""
17097 if test "x${GCC}" = "xyes"
17098 then
17099 EXTRACFLAGS="-Wall -pipe"
17101 saved_CFLAGS=$CFLAGS
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17103 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17104 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 ac_wine_try_cflags_saved=$CFLAGS
17108 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 int main(int argc, char **argv) { return 0; }
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_cflags__Werror_unknown_warning_option=yes
17115 else
17116 ac_cv_cflags__Werror_unknown_warning_option=no
17118 rm -f core conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17120 CFLAGS=$ac_wine_try_cflags_saved
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17123 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17124 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17125 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17128 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17129 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 ac_wine_try_cflags_saved=$CFLAGS
17133 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 int main(int argc, char **argv) { return 0; }
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 ac_cv_cflags__Werror_unused_command_line_argument=yes
17140 else
17141 ac_cv_cflags__Werror_unused_command_line_argument=no
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17145 CFLAGS=$ac_wine_try_cflags_saved
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17148 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17149 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17150 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17153 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17154 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 ac_wine_try_cflags_saved=$CFLAGS
17158 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 int main(int argc, char **argv) { return 0; }
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"; then :
17164 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17165 else
17166 ac_cv_cflags__Werror_ignored_optimization_argument=no
17168 rm -f core conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17170 CFLAGS=$ac_wine_try_cflags_saved
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17173 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17174 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17175 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17178 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17179 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 ac_wine_try_cflags_saved=$CFLAGS
17183 CFLAGS="$CFLAGS -fcf-protection=none"
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17186 int main(int argc, char **argv) { return 0; }
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 ac_cv_cflags__fcf_protection_none=yes
17190 else
17191 ac_cv_cflags__fcf_protection_none=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17195 CFLAGS=$ac_wine_try_cflags_saved
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17198 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17199 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17200 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17203 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17204 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 ac_wine_try_cflags_saved=$CFLAGS
17208 CFLAGS="$CFLAGS -fno-stack-protector"
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17211 int main(int argc, char **argv) { return 0; }
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"; then :
17214 ac_cv_cflags__fno_stack_protector=yes
17215 else
17216 ac_cv_cflags__fno_stack_protector=no
17218 rm -f core conftest.err conftest.$ac_objext \
17219 conftest$ac_exeext conftest.$ac_ext
17220 CFLAGS=$ac_wine_try_cflags_saved
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17223 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17224 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17225 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17228 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17229 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 ac_wine_try_cflags_saved=$CFLAGS
17233 CFLAGS="$CFLAGS -fno-strict-aliasing"
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 int main(int argc, char **argv) { return 0; }
17237 _ACEOF
17238 if ac_fn_c_try_link "$LINENO"; then :
17239 ac_cv_cflags__fno_strict_aliasing=yes
17240 else
17241 ac_cv_cflags__fno_strict_aliasing=no
17243 rm -f core conftest.err conftest.$ac_objext \
17244 conftest$ac_exeext conftest.$ac_ext
17245 CFLAGS=$ac_wine_try_cflags_saved
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17248 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17249 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17250 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17253 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17254 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 ac_wine_try_cflags_saved=$CFLAGS
17258 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 int main(int argc, char **argv) { return 0; }
17262 _ACEOF
17263 if ac_fn_c_try_link "$LINENO"; then :
17264 ac_cv_cflags__Wdeclaration_after_statement=yes
17265 else
17266 ac_cv_cflags__Wdeclaration_after_statement=no
17268 rm -f core conftest.err conftest.$ac_objext \
17269 conftest$ac_exeext conftest.$ac_ext
17270 CFLAGS=$ac_wine_try_cflags_saved
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17273 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17274 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17275 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17278 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17279 if ${ac_cv_cflags__Wempty_body+:} false; then :
17280 $as_echo_n "(cached) " >&6
17281 else
17282 ac_wine_try_cflags_saved=$CFLAGS
17283 CFLAGS="$CFLAGS -Wempty-body"
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17286 int main(int argc, char **argv) { return 0; }
17287 _ACEOF
17288 if ac_fn_c_try_link "$LINENO"; then :
17289 ac_cv_cflags__Wempty_body=yes
17290 else
17291 ac_cv_cflags__Wempty_body=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 CFLAGS=$ac_wine_try_cflags_saved
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17298 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17299 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17300 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17303 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17304 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 ac_wine_try_cflags_saved=$CFLAGS
17308 CFLAGS="$CFLAGS -Wignored-qualifiers"
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 int main(int argc, char **argv) { return 0; }
17312 _ACEOF
17313 if ac_fn_c_try_link "$LINENO"; then :
17314 ac_cv_cflags__Wignored_qualifiers=yes
17315 else
17316 ac_cv_cflags__Wignored_qualifiers=no
17318 rm -f core conftest.err conftest.$ac_objext \
17319 conftest$ac_exeext conftest.$ac_ext
17320 CFLAGS=$ac_wine_try_cflags_saved
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17323 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17324 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17325 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17328 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17329 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 ac_wine_try_cflags_saved=$CFLAGS
17333 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 int main(int argc, char **argv) { return 0; }
17337 _ACEOF
17338 if ac_fn_c_try_link "$LINENO"; then :
17339 ac_cv_cflags__Wpacked_not_aligned=yes
17340 else
17341 ac_cv_cflags__Wpacked_not_aligned=no
17343 rm -f core conftest.err conftest.$ac_objext \
17344 conftest$ac_exeext conftest.$ac_ext
17345 CFLAGS=$ac_wine_try_cflags_saved
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17348 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17349 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17350 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17353 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17354 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 ac_wine_try_cflags_saved=$CFLAGS
17358 CFLAGS="$CFLAGS -Wpragma-pack"
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 int main(int argc, char **argv) { return 0; }
17362 _ACEOF
17363 if ac_fn_c_try_link "$LINENO"; then :
17364 ac_cv_cflags__Wpragma_pack=yes
17365 else
17366 ac_cv_cflags__Wpragma_pack=no
17368 rm -f core conftest.err conftest.$ac_objext \
17369 conftest$ac_exeext conftest.$ac_ext
17370 CFLAGS=$ac_wine_try_cflags_saved
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17373 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17374 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17375 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17378 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17379 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17382 ac_wine_try_cflags_saved=$CFLAGS
17383 CFLAGS="$CFLAGS -Wshift-overflow=2"
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 int main(int argc, char **argv) { return 0; }
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"; then :
17389 ac_cv_cflags__Wshift_overflow_2=yes
17390 else
17391 ac_cv_cflags__Wshift_overflow_2=no
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17395 CFLAGS=$ac_wine_try_cflags_saved
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17398 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17399 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17400 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17403 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17404 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17405 $as_echo_n "(cached) " >&6
17406 else
17407 ac_wine_try_cflags_saved=$CFLAGS
17408 CFLAGS="$CFLAGS -Wstrict-prototypes"
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17411 int main(int argc, char **argv) { return 0; }
17412 _ACEOF
17413 if ac_fn_c_try_link "$LINENO"; then :
17414 ac_cv_cflags__Wstrict_prototypes=yes
17415 else
17416 ac_cv_cflags__Wstrict_prototypes=no
17418 rm -f core conftest.err conftest.$ac_objext \
17419 conftest$ac_exeext conftest.$ac_ext
17420 CFLAGS=$ac_wine_try_cflags_saved
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17423 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17424 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17425 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17428 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17429 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17432 ac_wine_try_cflags_saved=$CFLAGS
17433 CFLAGS="$CFLAGS -Wtype-limits"
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 int main(int argc, char **argv) { return 0; }
17437 _ACEOF
17438 if ac_fn_c_try_link "$LINENO"; then :
17439 ac_cv_cflags__Wtype_limits=yes
17440 else
17441 ac_cv_cflags__Wtype_limits=no
17443 rm -f core conftest.err conftest.$ac_objext \
17444 conftest$ac_exeext conftest.$ac_ext
17445 CFLAGS=$ac_wine_try_cflags_saved
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17448 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17449 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17450 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17453 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17454 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17457 ac_wine_try_cflags_saved=$CFLAGS
17458 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17461 int main(int argc, char **argv) { return 0; }
17462 _ACEOF
17463 if ac_fn_c_try_link "$LINENO"; then :
17464 ac_cv_cflags__Wunused_but_set_parameter=yes
17465 else
17466 ac_cv_cflags__Wunused_but_set_parameter=no
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17470 CFLAGS=$ac_wine_try_cflags_saved
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17473 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17474 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17475 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17478 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17479 if ${ac_cv_cflags__Wvla+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17482 ac_wine_try_cflags_saved=$CFLAGS
17483 CFLAGS="$CFLAGS -Wvla"
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 int main(int argc, char **argv) { return 0; }
17487 _ACEOF
17488 if ac_fn_c_try_link "$LINENO"; then :
17489 ac_cv_cflags__Wvla=yes
17490 else
17491 ac_cv_cflags__Wvla=no
17493 rm -f core conftest.err conftest.$ac_objext \
17494 conftest$ac_exeext conftest.$ac_ext
17495 CFLAGS=$ac_wine_try_cflags_saved
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17498 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17499 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17500 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17503 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17504 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 ac_wine_try_cflags_saved=$CFLAGS
17508 CFLAGS="$CFLAGS -Wwrite-strings"
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 int main(int argc, char **argv) { return 0; }
17512 _ACEOF
17513 if ac_fn_c_try_link "$LINENO"; then :
17514 ac_cv_cflags__Wwrite_strings=yes
17515 else
17516 ac_cv_cflags__Wwrite_strings=no
17518 rm -f core conftest.err conftest.$ac_objext \
17519 conftest$ac_exeext conftest.$ac_ext
17520 CFLAGS=$ac_wine_try_cflags_saved
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17523 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17524 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17525 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17528 if test -z "$CROSSTARGET"
17529 then
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17531 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17532 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17533 $as_echo_n "(cached) " >&6
17534 else
17535 ac_wine_try_cflags_saved=$CFLAGS
17536 CFLAGS="$CFLAGS -fexcess-precision=standard"
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 int main(int argc, char **argv) { return 0; }
17540 _ACEOF
17541 if ac_fn_c_try_link "$LINENO"; then :
17542 ac_cv_cflags__fexcess_precision_standard=yes
17543 else
17544 ac_cv_cflags__fexcess_precision_standard=no
17546 rm -f core conftest.err conftest.$ac_objext \
17547 conftest$ac_exeext conftest.$ac_ext
17548 CFLAGS=$ac_wine_try_cflags_saved
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17551 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17552 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17553 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17559 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17560 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563 ac_wine_try_cflags_saved=$CFLAGS
17564 CFLAGS="$CFLAGS -Wpointer-arith"
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 int main(int argc, char **argv) { return 0; }
17568 _ACEOF
17569 if ac_fn_c_try_link "$LINENO"; then :
17570 ac_cv_cflags__Wpointer_arith=yes
17571 else
17572 ac_cv_cflags__Wpointer_arith=no
17574 rm -f core conftest.err conftest.$ac_objext \
17575 conftest$ac_exeext conftest.$ac_ext
17576 CFLAGS=$ac_wine_try_cflags_saved
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17579 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17580 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17581 saved_string_h_CFLAGS=$CFLAGS
17582 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17584 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17585 if ${ac_cv_c_string_h_warnings+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #include <string.h>
17592 main ()
17596 return 0;
17598 _ACEOF
17599 if ac_fn_c_try_compile "$LINENO"; then :
17600 ac_cv_c_string_h_warnings=no
17601 else
17602 ac_cv_c_string_h_warnings=yes
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17607 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17608 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17609 CFLAGS=$saved_string_h_CFLAGS
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17613 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17614 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617 ac_wine_try_cflags_saved=$CFLAGS
17618 CFLAGS="$CFLAGS -Wlogical-op"
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 int main(int argc, char **argv) { return 0; }
17622 _ACEOF
17623 if ac_fn_c_try_link "$LINENO"; then :
17624 ac_cv_cflags__Wlogical_op=yes
17625 else
17626 ac_cv_cflags__Wlogical_op=no
17628 rm -f core conftest.err conftest.$ac_objext \
17629 conftest$ac_exeext conftest.$ac_ext
17630 CFLAGS=$ac_wine_try_cflags_saved
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17633 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17634 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17635 saved_string_h_CFLAGS=$CFLAGS
17636 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17638 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17639 if ${ac_cv_c_logicalop_noisy+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644 #include <string.h>
17645 char*f(const char *h,char n) {return strchr(h,n);}
17647 main ()
17651 return 0;
17653 _ACEOF
17654 if ac_fn_c_try_compile "$LINENO"; then :
17655 ac_cv_c_logicalop_noisy=no
17656 else
17657 ac_cv_c_logicalop_noisy=yes
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17662 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17663 CFLAGS=$saved_string_h_CFLAGS
17664 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17667 for ac_flag in $CFLAGS; do
17668 case $ac_flag in
17669 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17670 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17671 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17672 $as_echo_n "(cached) " >&6
17673 else
17674 ac_wine_try_cflags_saved=$CFLAGS
17675 CFLAGS="$CFLAGS -gdwarf-2"
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678 int main(int argc, char **argv) { return 0; }
17679 _ACEOF
17680 if ac_fn_c_try_link "$LINENO"; then :
17681 ac_cv_cflags__gdwarf_2=yes
17682 else
17683 ac_cv_cflags__gdwarf_2=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17687 CFLAGS=$ac_wine_try_cflags_saved
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17690 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17691 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17692 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17695 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17696 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17697 $as_echo_n "(cached) " >&6
17698 else
17699 ac_wine_try_cflags_saved=$CFLAGS
17700 CFLAGS="$CFLAGS -gstrict-dwarf"
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 int main(int argc, char **argv) { return 0; }
17704 _ACEOF
17705 if ac_fn_c_try_link "$LINENO"; then :
17706 ac_cv_cflags__gstrict_dwarf=yes
17707 else
17708 ac_cv_cflags__gstrict_dwarf=no
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17712 CFLAGS=$ac_wine_try_cflags_saved
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17715 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17716 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17717 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17718 fi ;;
17719 esac
17720 done
17722 MSVCRTFLAGS=""
17724 case $host_os in
17725 mingw32*) ;;
17726 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17727 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17728 if ${ac_cv_cflags__fno_builtin+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17731 ac_wine_try_cflags_saved=$CFLAGS
17732 CFLAGS="$CFLAGS -fno-builtin"
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 int main(int argc, char **argv) { return 0; }
17736 _ACEOF
17737 if ac_fn_c_try_link "$LINENO"; then :
17738 ac_cv_cflags__fno_builtin=yes
17739 else
17740 ac_cv_cflags__fno_builtin=no
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17744 CFLAGS=$ac_wine_try_cflags_saved
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17747 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17748 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17749 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17752 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17753 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17756 ac_wine_try_cflags_saved=$CFLAGS
17757 CFLAGS="$CFLAGS -fshort-wchar"
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 int main(int argc, char **argv) { return 0; }
17761 _ACEOF
17762 if ac_fn_c_try_link "$LINENO"; then :
17763 ac_cv_cflags__fshort_wchar=yes
17764 else
17765 ac_cv_cflags__fshort_wchar=no
17767 rm -f core conftest.err conftest.$ac_objext \
17768 conftest$ac_exeext conftest.$ac_ext
17769 CFLAGS=$ac_wine_try_cflags_saved
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17772 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17773 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17774 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17775 fi ;;
17776 esac
17778 case $host_cpu in
17779 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17780 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17781 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784 ac_wine_try_cflags_saved=$CFLAGS
17785 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 int main(int argc, char **argv) { return 0; }
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"; then :
17791 ac_cv_cflags__fno_omit_frame_pointer=yes
17792 else
17793 ac_cv_cflags__fno_omit_frame_pointer=no
17795 rm -f core conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17797 CFLAGS=$ac_wine_try_cflags_saved
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17800 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17801 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17802 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17803 fi ;;
17804 *x86_64*)
17805 case $host_os in
17806 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17807 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17808 if ${ac_cv_cflags__Wno_format+:} false; then :
17809 $as_echo_n "(cached) " >&6
17810 else
17811 ac_wine_try_cflags_saved=$CFLAGS
17812 CFLAGS="$CFLAGS -Wno-format"
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17815 int main(int argc, char **argv) { return 0; }
17816 _ACEOF
17817 if ac_fn_c_try_link "$LINENO"; then :
17818 ac_cv_cflags__Wno_format=yes
17819 else
17820 ac_cv_cflags__Wno_format=no
17822 rm -f core conftest.err conftest.$ac_objext \
17823 conftest$ac_exeext conftest.$ac_ext
17824 CFLAGS=$ac_wine_try_cflags_saved
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17827 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17828 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17829 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17830 fi ;;
17831 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17832 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17833 if ${ac_cv_cflags__mabi_ms+:} false; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836 ac_wine_try_cflags_saved=$CFLAGS
17837 CFLAGS="$CFLAGS -mabi=ms"
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17840 int main(int argc, char **argv) { return 0; }
17841 _ACEOF
17842 if ac_fn_c_try_link "$LINENO"; then :
17843 ac_cv_cflags__mabi_ms=yes
17844 else
17845 ac_cv_cflags__mabi_ms=no
17847 rm -f core conftest.err conftest.$ac_objext \
17848 conftest$ac_exeext conftest.$ac_ext
17849 CFLAGS=$ac_wine_try_cflags_saved
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17852 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17853 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17854 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17855 fi ;;
17856 esac ;;
17857 esac
17859 CFLAGS=$saved_CFLAGS
17861 if test "x$enable_werror" = "xyes"
17862 then
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17864 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17865 if ${ac_cv_cflags__Werror+:} false; then :
17866 $as_echo_n "(cached) " >&6
17867 else
17868 ac_wine_try_cflags_saved=$CFLAGS
17869 CFLAGS="$CFLAGS -Werror"
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 int main(int argc, char **argv) { return 0; }
17873 _ACEOF
17874 if ac_fn_c_try_link "$LINENO"; then :
17875 ac_cv_cflags__Werror=yes
17876 else
17877 ac_cv_cflags__Werror=no
17879 rm -f core conftest.err conftest.$ac_objext \
17880 conftest$ac_exeext conftest.$ac_ext
17881 CFLAGS=$ac_wine_try_cflags_saved
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17884 $as_echo "$ac_cv_cflags__Werror" >&6; }
17885 if test "x$ac_cv_cflags__Werror" = xyes; then :
17886 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17893 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17894 if ${ac_cv_c_fortify_enabled+:} false; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17899 #include <string.h>
17901 main ()
17903 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17904 #error Fortify enabled
17905 #endif
17907 return 0;
17909 _ACEOF
17910 if ac_fn_c_try_compile "$LINENO"; then :
17911 ac_cv_c_fortify_enabled=no
17912 else
17913 ac_cv_c_fortify_enabled=yes
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17918 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17919 if test "$ac_cv_c_fortify_enabled" = yes
17920 then
17921 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17926 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17927 if ${ac_cv_c_cfi_support+:} false; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17934 main ()
17938 return 0;
17940 _ACEOF
17941 if ac_fn_c_try_compile "$LINENO"; then :
17942 ac_cv_c_cfi_support="yes"
17943 else
17944 ac_cv_c_cfi_support="no"
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17949 $as_echo "$ac_cv_c_cfi_support" >&6; }
17950 if test "$ac_cv_c_cfi_support" = "yes"
17951 then
17952 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17953 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17954 else
17955 if test "x$enable_win64" = "xyes"
17956 then
17957 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17962 case $build_os in
17963 cygwin*|mingw32*) TOOLSEXT=".exe"
17965 esac
17967 case $host_os in
17968 linux*)
17969 case $host_cpu in
17970 *i[3456789]86*|x86_64*|*aarch64*)
17971 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17972 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17974 esac
17976 esac
17979 ac_save_CFLAGS="$CFLAGS"
17980 CFLAGS="$CFLAGS $BUILTINFLAG"
17981 for ac_func in \
17982 __res_get_state \
17983 __res_getservers \
17984 _spawnvp \
17985 epoll_create \
17986 ffs \
17987 finitef \
17988 fnmatch \
17989 fork \
17990 fpclass \
17991 fstatfs \
17992 fstatvfs \
17993 futimens \
17994 futimes \
17995 futimesat \
17996 getattrlist \
17997 getauxval \
17998 getifaddrs \
17999 getopt_long_only \
18000 kqueue \
18001 lstat \
18002 mach_continuous_time \
18003 pipe2 \
18004 poll \
18005 port_create \
18006 prctl \
18007 pread \
18008 proc_pidinfo \
18009 pwrite \
18010 readdir \
18011 readlink \
18012 sched_yield \
18013 select \
18014 setproctitle \
18015 setprogname \
18016 settimeofday \
18017 sigprocmask \
18018 statfs \
18019 statvfs \
18020 strnlen \
18021 strtold \
18022 symlink \
18023 sysinfo \
18024 tcdrain \
18025 thr_kill2 \
18026 usleep
18028 do :
18029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18032 cat >>confdefs.h <<_ACEOF
18033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18034 _ACEOF
18037 done
18039 CFLAGS="$ac_save_CFLAGS"
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18042 $as_echo_n "checking for library containing dlopen... " >&6; }
18043 if ${ac_cv_search_dlopen+:} false; then :
18044 $as_echo_n "(cached) " >&6
18045 else
18046 ac_func_search_save_LIBS=$LIBS
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18050 /* Override any GCC internal prototype to avoid an error.
18051 Use char because int might match the return type of a GCC
18052 builtin and then its argument prototype would still apply. */
18053 #ifdef __cplusplus
18054 extern "C"
18055 #endif
18056 char dlopen ();
18058 main ()
18060 return dlopen ();
18062 return 0;
18064 _ACEOF
18065 for ac_lib in '' dl; do
18066 if test -z "$ac_lib"; then
18067 ac_res="none required"
18068 else
18069 ac_res=-l$ac_lib
18070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18072 if ac_fn_c_try_link "$LINENO"; then :
18073 ac_cv_search_dlopen=$ac_res
18075 rm -f core conftest.err conftest.$ac_objext \
18076 conftest$ac_exeext
18077 if ${ac_cv_search_dlopen+:} false; then :
18078 break
18080 done
18081 if ${ac_cv_search_dlopen+:} false; then :
18083 else
18084 ac_cv_search_dlopen=no
18086 rm conftest.$ac_ext
18087 LIBS=$ac_func_search_save_LIBS
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18090 $as_echo "$ac_cv_search_dlopen" >&6; }
18091 ac_res=$ac_cv_search_dlopen
18092 if test "$ac_res" != no; then :
18093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18097 ac_wine_check_funcs_save_LIBS="$LIBS"
18098 LIBS="$LIBS $DL_LIBS"
18099 for ac_func in dladdr dlinfo
18100 do :
18101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18104 cat >>confdefs.h <<_ACEOF
18105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18106 _ACEOF
18109 done
18111 LIBS="$ac_wine_check_funcs_save_LIBS"
18113 if test "$ac_cv_func_poll" = no
18114 then
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18116 $as_echo_n "checking for poll in -lpoll... " >&6; }
18117 if ${ac_cv_lib_poll_poll+:} false; then :
18118 $as_echo_n "(cached) " >&6
18119 else
18120 ac_check_lib_save_LIBS=$LIBS
18121 LIBS="-lpoll $LIBS"
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18125 /* Override any GCC internal prototype to avoid an error.
18126 Use char because int might match the return type of a GCC
18127 builtin and then its argument prototype would still apply. */
18128 #ifdef __cplusplus
18129 extern "C"
18130 #endif
18131 char poll ();
18133 main ()
18135 return poll ();
18137 return 0;
18139 _ACEOF
18140 if ac_fn_c_try_link "$LINENO"; then :
18141 ac_cv_lib_poll_poll=yes
18142 else
18143 ac_cv_lib_poll_poll=no
18145 rm -f core conftest.err conftest.$ac_objext \
18146 conftest$ac_exeext conftest.$ac_ext
18147 LIBS=$ac_check_lib_save_LIBS
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18150 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18151 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18152 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18153 POLL_LIBS="-lpoll"
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18160 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18161 if ${ac_cv_search_gethostbyname+:} false; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18164 ac_func_search_save_LIBS=$LIBS
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 /* Override any GCC internal prototype to avoid an error.
18169 Use char because int might match the return type of a GCC
18170 builtin and then its argument prototype would still apply. */
18171 #ifdef __cplusplus
18172 extern "C"
18173 #endif
18174 char gethostbyname ();
18176 main ()
18178 return gethostbyname ();
18180 return 0;
18182 _ACEOF
18183 for ac_lib in '' nsl; do
18184 if test -z "$ac_lib"; then
18185 ac_res="none required"
18186 else
18187 ac_res=-l$ac_lib
18188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18190 if ac_fn_c_try_link "$LINENO"; then :
18191 ac_cv_search_gethostbyname=$ac_res
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext
18195 if ${ac_cv_search_gethostbyname+:} false; then :
18196 break
18198 done
18199 if ${ac_cv_search_gethostbyname+:} false; then :
18201 else
18202 ac_cv_search_gethostbyname=no
18204 rm conftest.$ac_ext
18205 LIBS=$ac_func_search_save_LIBS
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18208 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18209 ac_res=$ac_cv_search_gethostbyname
18210 if test "$ac_res" != no; then :
18211 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18217 $as_echo_n "checking for library containing connect... " >&6; }
18218 if ${ac_cv_search_connect+:} false; then :
18219 $as_echo_n "(cached) " >&6
18220 else
18221 ac_func_search_save_LIBS=$LIBS
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18225 /* Override any GCC internal prototype to avoid an error.
18226 Use char because int might match the return type of a GCC
18227 builtin and then its argument prototype would still apply. */
18228 #ifdef __cplusplus
18229 extern "C"
18230 #endif
18231 char connect ();
18233 main ()
18235 return connect ();
18237 return 0;
18239 _ACEOF
18240 for ac_lib in '' socket; do
18241 if test -z "$ac_lib"; then
18242 ac_res="none required"
18243 else
18244 ac_res=-l$ac_lib
18245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18247 if ac_fn_c_try_link "$LINENO"; then :
18248 ac_cv_search_connect=$ac_res
18250 rm -f core conftest.err conftest.$ac_objext \
18251 conftest$ac_exeext
18252 if ${ac_cv_search_connect+:} false; then :
18253 break
18255 done
18256 if ${ac_cv_search_connect+:} false; then :
18258 else
18259 ac_cv_search_connect=no
18261 rm conftest.$ac_ext
18262 LIBS=$ac_func_search_save_LIBS
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18265 $as_echo "$ac_cv_search_connect" >&6; }
18266 ac_res=$ac_cv_search_connect
18267 if test "$ac_res" != no; then :
18268 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18274 $as_echo_n "checking for library containing inet_aton... " >&6; }
18275 if ${ac_cv_search_inet_aton+:} false; then :
18276 $as_echo_n "(cached) " >&6
18277 else
18278 ac_func_search_save_LIBS=$LIBS
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18282 /* Override any GCC internal prototype to avoid an error.
18283 Use char because int might match the return type of a GCC
18284 builtin and then its argument prototype would still apply. */
18285 #ifdef __cplusplus
18286 extern "C"
18287 #endif
18288 char inet_aton ();
18290 main ()
18292 return inet_aton ();
18294 return 0;
18296 _ACEOF
18297 for ac_lib in '' resolv; do
18298 if test -z "$ac_lib"; then
18299 ac_res="none required"
18300 else
18301 ac_res=-l$ac_lib
18302 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18304 if ac_fn_c_try_link "$LINENO"; then :
18305 ac_cv_search_inet_aton=$ac_res
18307 rm -f core conftest.err conftest.$ac_objext \
18308 conftest$ac_exeext
18309 if ${ac_cv_search_inet_aton+:} false; then :
18310 break
18312 done
18313 if ${ac_cv_search_inet_aton+:} false; then :
18315 else
18316 ac_cv_search_inet_aton=no
18318 rm conftest.$ac_ext
18319 LIBS=$ac_func_search_save_LIBS
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18322 $as_echo "$ac_cv_search_inet_aton" >&6; }
18323 ac_res=$ac_cv_search_inet_aton
18324 if test "$ac_res" != no; then :
18325 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18330 for ac_func in \
18331 getaddrinfo \
18332 getnameinfo \
18333 getnetbyname \
18334 getprotobyname \
18335 getprotobynumber \
18336 getservbyport \
18338 do :
18339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18342 cat >>confdefs.h <<_ACEOF
18343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18344 _ACEOF
18347 done
18350 case $host_os in
18351 darwin*|macosx*) ;;
18352 *) ac_save_LIBS=$LIBS
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18354 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18355 if ${ac_cv_search_clock_gettime+:} false; then :
18356 $as_echo_n "(cached) " >&6
18357 else
18358 ac_func_search_save_LIBS=$LIBS
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
18365 #ifdef __cplusplus
18366 extern "C"
18367 #endif
18368 char clock_gettime ();
18370 main ()
18372 return clock_gettime ();
18374 return 0;
18376 _ACEOF
18377 for ac_lib in '' rt; do
18378 if test -z "$ac_lib"; then
18379 ac_res="none required"
18380 else
18381 ac_res=-l$ac_lib
18382 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18384 if ac_fn_c_try_link "$LINENO"; then :
18385 ac_cv_search_clock_gettime=$ac_res
18387 rm -f core conftest.err conftest.$ac_objext \
18388 conftest$ac_exeext
18389 if ${ac_cv_search_clock_gettime+:} false; then :
18390 break
18392 done
18393 if ${ac_cv_search_clock_gettime+:} false; then :
18395 else
18396 ac_cv_search_clock_gettime=no
18398 rm conftest.$ac_ext
18399 LIBS=$ac_func_search_save_LIBS
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18402 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18403 ac_res=$ac_cv_search_clock_gettime
18404 if test "$ac_res" != no; then :
18405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18407 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18409 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18413 LIBS=$ac_save_LIBS
18415 esac
18417 if test "x$with_ldap" != "xno"
18418 then
18419 if ${LDAP_CFLAGS:+false} :; then :
18420 if ${PKG_CONFIG+:} false; then :
18421 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18425 if ${LDAP_LIBS:+false} :; then :
18426 if ${PKG_CONFIG+:} false; then :
18427 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18431 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18432 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18433 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18434 ac_save_CPPFLAGS=$CPPFLAGS
18435 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18436 for ac_header in ldap.h lber.h
18437 do :
18438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18439 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18440 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18441 cat >>confdefs.h <<_ACEOF
18442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18443 _ACEOF
18447 done
18449 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18450 then
18451 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18453 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18455 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18456 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18457 $as_echo_n "(cached) " >&6
18458 else
18459 ac_check_lib_save_LIBS=$LIBS
18460 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18464 /* Override any GCC internal prototype to avoid an error.
18465 Use char because int might match the return type of a GCC
18466 builtin and then its argument prototype would still apply. */
18467 #ifdef __cplusplus
18468 extern "C"
18469 #endif
18470 char ldap_initialize ();
18472 main ()
18474 return ldap_initialize ();
18476 return 0;
18478 _ACEOF
18479 if ac_fn_c_try_link "$LINENO"; then :
18480 ac_cv_lib_ldap_r_ldap_initialize=yes
18481 else
18482 ac_cv_lib_ldap_r_ldap_initialize=no
18484 rm -f core conftest.err conftest.$ac_objext \
18485 conftest$ac_exeext conftest.$ac_ext
18486 LIBS=$ac_check_lib_save_LIBS
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18489 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18490 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18492 $as_echo_n "checking for ber_init in -llber... " >&6; }
18493 if ${ac_cv_lib_lber_ber_init+:} false; then :
18494 $as_echo_n "(cached) " >&6
18495 else
18496 ac_check_lib_save_LIBS=$LIBS
18497 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18501 /* Override any GCC internal prototype to avoid an error.
18502 Use char because int might match the return type of a GCC
18503 builtin and then its argument prototype would still apply. */
18504 #ifdef __cplusplus
18505 extern "C"
18506 #endif
18507 char ber_init ();
18509 main ()
18511 return ber_init ();
18513 return 0;
18515 _ACEOF
18516 if ac_fn_c_try_link "$LINENO"; then :
18517 ac_cv_lib_lber_ber_init=yes
18518 else
18519 ac_cv_lib_lber_ber_init=no
18521 rm -f core conftest.err conftest.$ac_objext \
18522 conftest$ac_exeext conftest.$ac_ext
18523 LIBS=$ac_check_lib_save_LIBS
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18526 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18527 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18529 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18531 else
18532 LDAP_LIBS=""
18535 else
18536 LDAP_LIBS=""
18539 else
18540 LDAP_LIBS=""
18543 ac_wine_check_funcs_save_LIBS="$LIBS"
18544 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18545 for ac_func in \
18546 ldap_count_references \
18547 ldap_first_reference \
18548 ldap_next_reference \
18549 ldap_parse_reference \
18550 ldap_parse_sort_control \
18551 ldap_parse_sortresponse_control \
18552 ldap_parse_vlv_control \
18553 ldap_parse_vlvresponse_control
18554 do :
18555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18557 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18558 cat >>confdefs.h <<_ACEOF
18559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18560 _ACEOF
18563 done
18565 LIBS="$ac_wine_check_funcs_save_LIBS"
18566 else
18567 LDAP_LIBS=""
18569 CPPFLAGS=$ac_save_CPPFLAGS
18570 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18571 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18574 if test "x$LDAP_LIBS" = "x"; then :
18575 case "x$with_ldap" in
18576 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18577 xno) ;;
18578 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18579 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18580 esac
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18585 $as_echo_n "checking for sched_setaffinity... " >&6; }
18586 if ${wine_cv_have_sched_setaffinity+:} false; then :
18587 $as_echo_n "(cached) " >&6
18588 else
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 #define _GNU_SOURCE
18592 #include <sched.h>
18594 main ()
18596 sched_setaffinity(0, 0, 0);
18598 return 0;
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"; then :
18602 wine_cv_have_sched_setaffinity=yes
18603 else
18604 wine_cv_have_sched_setaffinity=no
18606 rm -f core conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18610 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18611 if test "$wine_cv_have_sched_setaffinity" = "yes"
18612 then
18614 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18619 $as_echo_n "checking for fallocate... " >&6; }
18620 if ${wine_cv_have_fallocate+:} false; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 #define _GNU_SOURCE
18626 #include <fcntl.h>
18628 main ()
18630 fallocate(-1, 0, 0, 0);
18632 return 0;
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"; then :
18636 wine_cv_have_fallocate=yes
18637 else
18638 wine_cv_have_fallocate=no
18640 rm -f core conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18644 $as_echo "$wine_cv_have_fallocate" >&6; }
18645 if test "$wine_cv_have_fallocate" = "yes"
18646 then
18648 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18654 $as_echo_n "checking for inline... " >&6; }
18655 if ${ac_cv_c_inline+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18658 ac_cv_c_inline=no
18659 for ac_kw in inline __inline__ __inline; do
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 #ifndef __cplusplus
18663 typedef int foo_t;
18664 static $ac_kw foo_t static_foo () {return 0; }
18665 $ac_kw foo_t foo () {return 0; }
18666 #endif
18668 _ACEOF
18669 if ac_fn_c_try_compile "$LINENO"; then :
18670 ac_cv_c_inline=$ac_kw
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18673 test "$ac_cv_c_inline" != no && break
18674 done
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18678 $as_echo "$ac_cv_c_inline" >&6; }
18680 case $ac_cv_c_inline in
18681 inline | yes) ;;
18683 case $ac_cv_c_inline in
18684 no) ac_val=;;
18685 *) ac_val=$ac_cv_c_inline;;
18686 esac
18687 cat >>confdefs.h <<_ACEOF
18688 #ifndef __cplusplus
18689 #define inline $ac_val
18690 #endif
18691 _ACEOF
18693 esac
18695 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18696 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18698 cat >>confdefs.h <<_ACEOF
18699 #define HAVE_FSBLKCNT_T 1
18700 _ACEOF
18704 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18705 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_FSFILCNT_T 1
18709 _ACEOF
18714 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18715 #include <signal.h>
18717 if test "x$ac_cv_type_sigset_t" = xyes; then :
18719 cat >>confdefs.h <<_ACEOF
18720 #define HAVE_SIGSET_T 1
18721 _ACEOF
18726 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18728 if test "x$ac_cv_type_request_sense" = xyes; then :
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_REQUEST_SENSE 1
18732 _ACEOF
18738 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18739 #ifdef HAVE_SYS_SOCKET_H
18740 #include <sys/socket.h>
18741 #endif
18742 #ifdef HAVE_SYS_SOCKETVAR_H
18743 #include <sys/socketvar.h>
18744 #endif
18745 #ifdef HAVE_NET_ROUTE_H
18746 #include <net/route.h>
18747 #endif
18748 #ifdef HAVE_NETINET_IN_H
18749 #include <netinet/in.h>
18750 #endif
18751 #ifdef HAVE_NETINET_IN_SYSTM_H
18752 #include <netinet/in_systm.h>
18753 #endif
18754 #ifdef HAVE_NETINET_IP_H
18755 #include <netinet/ip.h>
18756 #endif
18757 #ifdef HAVE_NETINET_IN_PCB_H
18758 #include <netinet/in_pcb.h>
18759 #endif
18761 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_STRUCT_XINPGEN 1
18765 _ACEOF
18771 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18772 #include <linux/input.h>
18773 #endif
18775 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18779 _ACEOF
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18786 $as_echo_n "checking for if_nameindex... " >&6; }
18787 if ${wine_cv_have_if_nameindex+:} false; then :
18788 $as_echo_n "(cached) " >&6
18789 else
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 #ifdef HAVE_SYS_TYPES_H
18793 #include <sys/types.h>
18794 #endif
18795 #ifdef HAVE_SYS_SOCKET_H
18796 #include <sys/socket.h>
18797 #endif
18798 #ifdef HAVE_NET_IF_H
18799 # include <net/if.h>
18800 #endif
18802 main ()
18804 struct if_nameindex *p = if_nameindex(); return p->if_index;
18806 return 0;
18808 _ACEOF
18809 if ac_fn_c_try_link "$LINENO"; then :
18810 wine_cv_have_if_nameindex=yes
18811 else
18812 wine_cv_have_if_nameindex=no
18814 rm -f core conftest.err conftest.$ac_objext \
18815 conftest$ac_exeext conftest.$ac_ext
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18818 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18819 if test "$wine_cv_have_if_nameindex" = "yes"
18820 then
18822 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18827 $as_echo_n "checking for sigaddset... " >&6; }
18828 if ${wine_cv_have_sigaddset+:} false; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 #include <signal.h>
18835 main ()
18837 sigset_t set; sigaddset(&set,SIGTERM);
18839 return 0;
18841 _ACEOF
18842 if ac_fn_c_try_link "$LINENO"; then :
18843 wine_cv_have_sigaddset=yes
18844 else
18845 wine_cv_have_sigaddset=no
18847 rm -f core conftest.err conftest.$ac_objext \
18848 conftest$ac_exeext conftest.$ac_ext
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18851 $as_echo "$wine_cv_have_sigaddset" >&6; }
18852 if test "$wine_cv_have_sigaddset" = "yes"
18853 then
18855 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18861 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18862 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18863 $as_echo_n "(cached) " >&6
18864 else
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 #include <netdb.h>
18869 main ()
18872 char *name=0;
18873 struct hostent he;
18874 struct hostent *result;
18875 char *buf=0;
18876 int bufsize=0;
18877 int errnr;
18878 char *addr=0;
18879 int addrlen=0;
18880 int addrtype=0;
18881 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18882 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18885 return 0;
18887 _ACEOF
18888 if ac_fn_c_try_link "$LINENO"; then :
18889 wine_cv_linux_gethostbyname_r_6=yes
18890 else
18891 wine_cv_linux_gethostbyname_r_6=no
18894 rm -f core conftest.err conftest.$ac_objext \
18895 conftest$ac_exeext conftest.$ac_ext
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18899 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18900 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18901 then
18903 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18907 if test "$ac_cv_header_linux_joystick_h" = "yes"
18908 then
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18910 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18911 if ${wine_cv_linux_joystick_22_api+:} false; then :
18912 $as_echo_n "(cached) " >&6
18913 else
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18917 #include <sys/ioctl.h>
18918 #include <sys/types.h>
18919 #include <linux/joystick.h>
18921 struct js_event blub;
18922 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18923 #error "no 2.2 header"
18924 #endif
18927 main ()
18929 /*empty*/
18931 return 0;
18933 _ACEOF
18934 if ac_fn_c_try_compile "$LINENO"; then :
18935 wine_cv_linux_joystick_22_api=yes
18936 else
18937 wine_cv_linux_joystick_22_api=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18943 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18944 if test "$wine_cv_linux_joystick_22_api" = "yes"
18945 then
18947 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18953 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18954 #ifdef HAVE_SYS_PARAM_H
18955 # include <sys/param.h>
18956 #endif
18957 #ifdef HAVE_SYS_MOUNT_H
18958 # include <sys/mount.h>
18959 #endif
18960 #ifdef HAVE_SYS_VFS_H
18961 # include <sys/vfs.h>
18962 #endif
18963 #ifdef HAVE_SYS_STATFS_H
18964 # include <sys/statfs.h>
18965 #endif
18967 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_STATFS_F_BFREE 1
18971 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18976 #ifdef HAVE_SYS_PARAM_H
18977 # include <sys/param.h>
18978 #endif
18979 #ifdef HAVE_SYS_MOUNT_H
18980 # include <sys/mount.h>
18981 #endif
18982 #ifdef HAVE_SYS_VFS_H
18983 # include <sys/vfs.h>
18984 #endif
18985 #ifdef HAVE_SYS_STATFS_H
18986 # include <sys/statfs.h>
18987 #endif
18989 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18991 cat >>confdefs.h <<_ACEOF
18992 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18993 _ACEOF
18997 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18998 #ifdef HAVE_SYS_PARAM_H
18999 # include <sys/param.h>
19000 #endif
19001 #ifdef HAVE_SYS_MOUNT_H
19002 # include <sys/mount.h>
19003 #endif
19004 #ifdef HAVE_SYS_VFS_H
19005 # include <sys/vfs.h>
19006 #endif
19007 #ifdef HAVE_SYS_STATFS_H
19008 # include <sys/statfs.h>
19009 #endif
19011 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19015 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19020 #ifdef HAVE_SYS_PARAM_H
19021 # include <sys/param.h>
19022 #endif
19023 #ifdef HAVE_SYS_MOUNT_H
19024 # include <sys/mount.h>
19025 #endif
19026 #ifdef HAVE_SYS_VFS_H
19027 # include <sys/vfs.h>
19028 #endif
19029 #ifdef HAVE_SYS_STATFS_H
19030 # include <sys/statfs.h>
19031 #endif
19033 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_STATFS_F_FFREE 1
19037 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19042 #ifdef HAVE_SYS_PARAM_H
19043 # include <sys/param.h>
19044 #endif
19045 #ifdef HAVE_SYS_MOUNT_H
19046 # include <sys/mount.h>
19047 #endif
19048 #ifdef HAVE_SYS_VFS_H
19049 # include <sys/vfs.h>
19050 #endif
19051 #ifdef HAVE_SYS_STATFS_H
19052 # include <sys/statfs.h>
19053 #endif
19055 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19057 cat >>confdefs.h <<_ACEOF
19058 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19059 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19064 #ifdef HAVE_SYS_PARAM_H
19065 # include <sys/param.h>
19066 #endif
19067 #ifdef HAVE_SYS_MOUNT_H
19068 # include <sys/mount.h>
19069 #endif
19070 #ifdef HAVE_SYS_VFS_H
19071 # include <sys/vfs.h>
19072 #endif
19073 #ifdef HAVE_SYS_STATFS_H
19074 # include <sys/statfs.h>
19075 #endif
19077 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19081 _ACEOF
19087 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19088 #include <sys/statvfs.h>
19089 #endif
19091 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19093 cat >>confdefs.h <<_ACEOF
19094 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19095 _ACEOF
19101 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19102 #include <dirent.h>
19103 #endif
19105 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19109 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19116 #ifdef HAVE_SYS_SOCKET_H
19117 # include <sys/socket.h>
19118 #endif
19119 #ifdef HAVE_SYS_UN_H
19120 # include <sys/un.h>
19121 #endif
19123 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19127 _ACEOF
19131 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19132 #ifdef HAVE_SYS_SOCKET_H
19133 # include <sys/socket.h>
19134 #endif
19135 #ifdef HAVE_SYS_UN_H
19136 # include <sys/un.h>
19137 #endif
19139 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19143 _ACEOF
19147 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19148 #ifdef HAVE_SYS_SOCKET_H
19149 # include <sys/socket.h>
19150 #endif
19151 #ifdef HAVE_SYS_UN_H
19152 # include <sys/un.h>
19153 #endif
19155 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19159 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19166 #ifdef HAVE_SCSI_SG_H
19167 #include <scsi/sg.h>
19168 #endif
19170 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_SCSIREQ_T_CMD 1
19174 _ACEOF
19178 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>
19179 #ifdef HAVE_SCSI_SG_H
19180 #include <scsi/sg.h>
19181 #endif
19183 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19185 cat >>confdefs.h <<_ACEOF
19186 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19187 _ACEOF
19193 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19195 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_SIGINFO_T_SI_FD 1
19199 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19206 #ifdef HAVE_SYS_MTIO_H
19207 #include <sys/mtio.h>
19208 #endif
19210 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19214 _ACEOF
19218 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19219 #ifdef HAVE_SYS_MTIO_H
19220 #include <sys/mtio.h>
19221 #endif
19223 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19227 _ACEOF
19231 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19232 #ifdef HAVE_SYS_MTIO_H
19233 #include <sys/mtio.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19240 _ACEOF
19246 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19247 #include <getopt.h>
19248 #endif
19250 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_STRUCT_OPTION_NAME 1
19254 _ACEOF
19260 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19261 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19265 _ACEOF
19269 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19270 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT_STAT_ST_MTIM 1
19274 _ACEOF
19278 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19279 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19283 _ACEOF
19287 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19288 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_STAT_ST_CTIM 1
19292 _ACEOF
19296 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19297 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19301 _ACEOF
19305 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19306 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_STRUCT_STAT_ST_ATIM 1
19310 _ACEOF
19314 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19315 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19319 _ACEOF
19323 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19324 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19328 _ACEOF
19332 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19333 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19337 _ACEOF
19341 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19342 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19346 _ACEOF
19350 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19351 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19353 cat >>confdefs.h <<_ACEOF
19354 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19355 _ACEOF
19359 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19360 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19364 _ACEOF
19370 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
19371 #include <sys/types.h>
19372 #endif
19373 #ifdef HAVE_NETINET_IN_H
19374 #include <netinet/in.h>
19375 #endif
19377 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19379 cat >>confdefs.h <<_ACEOF
19380 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19381 _ACEOF
19387 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19388 #include <sys/types.h>
19389 #endif
19390 #ifdef HAVE_NETINET_IN_H
19391 #include <netinet/in.h>
19392 #endif
19393 #ifdef HAVE_RESOLV_H
19394 #include <resolv.h>
19395 #endif
19397 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19399 cat >>confdefs.h <<_ACEOF
19400 #define HAVE_STRUCT___RES_STATE 1
19401 _ACEOF
19407 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
19408 #include <resolv.h>
19409 #endif
19411 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19413 cat >>confdefs.h <<_ACEOF
19414 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19415 _ACEOF
19421 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19422 #include <sys/types.h>
19423 #endif
19424 #ifdef HAVE_NETINET_IN_H
19425 # include <netinet/in.h>
19426 #endif
19427 #ifdef HAVE_ARPA_NAMESER_H
19428 # include <arpa/nameser.h>
19429 #endif
19431 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19433 cat >>confdefs.h <<_ACEOF
19434 #define HAVE_NS_MSG__MSG_PTR 1
19435 _ACEOF
19441 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19442 #include <sys/types.h>
19443 #endif
19444 #ifdef HAVE_NETINET_IN_H
19445 #include <netinet/in.h>
19446 #endif
19447 #ifdef HAVE_NETINET_IP_H
19448 #include <netinet/ip.h>
19449 #endif
19450 #ifdef HAVE_NETINET_IP_ICMP_H
19451 #include <netinet/ip_icmp.h>
19452 #endif
19453 #ifdef HAVE_NETINET_ICMP_VAR_H
19454 #include <netinet/icmp_var.h>
19455 #endif
19457 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19459 cat >>confdefs.h <<_ACEOF
19460 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19461 _ACEOF
19467 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19468 #include <sys/types.h>
19469 #endif
19470 #ifdef HAVE_ALIAS_H
19471 #include <alias.h>
19472 #endif
19473 #ifdef HAVE_SYS_SOCKET_H
19474 #include <sys/socket.h>
19475 #endif
19476 #ifdef HAVE_SYS_SOCKETVAR_H
19477 #include <sys/socketvar.h>
19478 #endif
19479 #ifdef HAVE_SYS_TIMEOUT_H
19480 #include <sys/timeout.h>
19481 #endif
19482 #ifdef HAVE_NETINET_IN_H
19483 #include <netinet/in.h>
19484 #endif
19485 #ifdef HAVE_NETINET_IN_SYSTM_H
19486 #include <netinet/in_systm.h>
19487 #endif
19488 #ifdef HAVE_NETINET_IP_H
19489 #include <netinet/ip.h>
19490 #endif
19491 #ifdef HAVE_NETINET_IP_VAR_H
19492 #include <netinet/ip_var.h>
19493 #endif
19494 #ifdef HAVE_NETINET_IP_ICMP_H
19495 #include <netinet/ip_icmp.h>
19496 #endif
19497 #ifdef HAVE_NETINET_ICMP_VAR_H
19498 #include <netinet/icmp_var.h>
19499 #endif
19501 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19503 cat >>confdefs.h <<_ACEOF
19504 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19505 _ACEOF
19511 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19512 #include <sys/types.h>
19513 #endif
19514 #ifdef HAVE_SYS_SOCKETVAR_H
19515 #include <sys/socketvar.h>
19516 #endif
19517 #ifdef HAVE_NETINET_IN_H
19518 #include <netinet/in.h>
19519 #endif
19520 #ifdef HAVE_NETINET_IP_VAR_H
19521 #include <netinet/ip_var.h>
19522 #endif
19524 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19526 cat >>confdefs.h <<_ACEOF
19527 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19528 _ACEOF
19534 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
19535 #include <netinet/ip_var.h>
19536 #endif
19538 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19540 cat >>confdefs.h <<_ACEOF
19541 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19542 _ACEOF
19548 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19549 #include <sys/types.h>
19550 #endif
19551 #ifdef HAVE_SYS_SOCKETVAR_H
19552 #include <sys/socketvar.h>
19553 #endif
19554 #ifdef HAVE_NETINET_IN_H
19555 #include <netinet/in.h>
19556 #endif
19557 #ifdef HAVE_NETINET_TCP_H
19558 #include <netinet/tcp.h>
19559 #endif
19560 #ifdef HAVE_NETINET_TCP_VAR_H
19561 #include <netinet/tcp_var.h>
19562 #endif
19564 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19566 cat >>confdefs.h <<_ACEOF
19567 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19568 _ACEOF
19574 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
19575 #include <netinet/tcp_var.h>
19576 #endif
19578 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19580 cat >>confdefs.h <<_ACEOF
19581 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19582 _ACEOF
19588 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19589 #include <sys/types.h>
19590 #endif
19591 #ifdef HAVE_NETINET_IN_H
19592 #include <netinet/in.h>
19593 #endif
19594 #ifdef HAVE_NETINET_IP_VAR_H
19595 #include <netinet/ip_var.h>
19596 #endif
19597 #ifdef HAVE_NETINET_UDP_H
19598 #include <netinet/udp.h>
19599 #endif
19600 #ifdef HAVE_NETINET_UDP_VAR_H
19601 #include <netinet/udp_var.h>
19602 #endif
19604 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19606 cat >>confdefs.h <<_ACEOF
19607 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19608 _ACEOF
19614 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19615 #include <sys/types.h>
19616 #endif
19617 #ifdef HAVE_NET_IF_H
19618 # include <net/if.h>
19619 #endif
19621 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19623 cat >>confdefs.h <<_ACEOF
19624 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19625 _ACEOF
19631 ac_save_LIBS="$LIBS"
19632 LIBS="$LIBS -lm"
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19634 $as_echo_n "checking for isfinite... " >&6; }
19635 if ${ac_cv_have_isfinite+:} false; then :
19636 $as_echo_n "(cached) " >&6
19637 else
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640 #define _GNU_SOURCE
19641 #include <math.h>
19643 main ()
19645 float f = 0.0; return isfinite(f)
19647 return 0;
19649 _ACEOF
19650 if ac_fn_c_try_link "$LINENO"; then :
19651 ac_cv_have_isfinite="yes"
19652 else
19653 ac_cv_have_isfinite="no"
19655 rm -f core conftest.err conftest.$ac_objext \
19656 conftest$ac_exeext conftest.$ac_ext
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19659 $as_echo "$ac_cv_have_isfinite" >&6; }
19660 if test "$ac_cv_have_isfinite" = "yes"
19661 then
19663 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19668 $as_echo_n "checking for isinf... " >&6; }
19669 if ${ac_cv_have_isinf+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #include <math.h>
19676 main ()
19678 float f = 0.0; return isinf(f)
19680 return 0;
19682 _ACEOF
19683 if ac_fn_c_try_link "$LINENO"; then :
19684 ac_cv_have_isinf="yes"
19685 else
19686 ac_cv_have_isinf="no"
19688 rm -f core conftest.err conftest.$ac_objext \
19689 conftest$ac_exeext conftest.$ac_ext
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19692 $as_echo "$ac_cv_have_isinf" >&6; }
19693 if test "$ac_cv_have_isinf" = "yes"
19694 then
19696 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19701 $as_echo_n "checking for isnan... " >&6; }
19702 if ${ac_cv_have_isnan+:} false; then :
19703 $as_echo_n "(cached) " >&6
19704 else
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19707 #include <math.h>
19709 main ()
19711 float f = 0.0; return isnan(f)
19713 return 0;
19715 _ACEOF
19716 if ac_fn_c_try_link "$LINENO"; then :
19717 ac_cv_have_isnan="yes"
19718 else
19719 ac_cv_have_isnan="no"
19721 rm -f core conftest.err conftest.$ac_objext \
19722 conftest$ac_exeext conftest.$ac_ext
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19725 $as_echo "$ac_cv_have_isnan" >&6; }
19726 if test "$ac_cv_have_isnan" = "yes"
19727 then
19729 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19733 for ac_func in \
19734 acosh \
19735 acoshf \
19736 asinh \
19737 asinhf \
19738 atanh \
19739 atanhf \
19740 cbrt \
19741 cbrtf \
19742 erf \
19743 erfc \
19744 erfcf \
19745 erff \
19746 exp2 \
19747 exp2f \
19748 expm1 \
19749 expm1f \
19750 fma \
19751 fmaf \
19752 ilogb \
19753 ilogbf \
19754 j0 \
19755 j1 \
19756 jn \
19757 lgamma \
19758 lgammaf \
19759 llrint \
19760 llrintf \
19761 llround \
19762 llroundf \
19763 log1p \
19764 log1pf \
19765 log2 \
19766 log2f \
19767 lrint \
19768 lrintf \
19769 lround \
19770 lroundf \
19771 nearbyint \
19772 nearbyintf \
19773 nexttoward \
19774 nexttowardf \
19775 remainder \
19776 remainderf \
19777 remquo \
19778 remquof \
19779 rint \
19780 rintf \
19781 round \
19782 roundf \
19783 tgamma \
19784 tgammaf \
19785 trunc \
19786 truncf \
19787 y0 \
19788 y1 \
19791 do :
19792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19795 cat >>confdefs.h <<_ACEOF
19796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19797 _ACEOF
19800 done
19802 LIBS="$ac_save_LIBS"
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19805 $as_echo_n "checking for __builtin_popcount... " >&6; }
19806 if ${ac_cv_have___builtin_popcount+:} false; then :
19807 $as_echo_n "(cached) " >&6
19808 else
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19813 main ()
19815 return __builtin_popcount(1)
19817 return 0;
19819 _ACEOF
19820 if ac_fn_c_try_link "$LINENO"; then :
19821 ac_cv_have___builtin_popcount="yes"
19822 else
19823 ac_cv_have___builtin_popcount="no"
19825 rm -f core conftest.err conftest.$ac_objext \
19826 conftest$ac_exeext conftest.$ac_ext
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19829 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19830 if test "$ac_cv_have___builtin_popcount" = "yes"
19831 then
19833 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19838 $as_echo_n "checking for __clear_cache... " >&6; }
19839 if ${ac_cv_have___clear_cache+:} false; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19846 main ()
19848 __clear_cache((void*)0, (void*)0); return 0;
19850 return 0;
19852 _ACEOF
19853 if ac_fn_c_try_link "$LINENO"; then :
19854 ac_cv_have___clear_cache="yes"
19855 else
19856 ac_cv_have___clear_cache="no"
19858 rm -f core conftest.err conftest.$ac_objext \
19859 conftest$ac_exeext conftest.$ac_ext
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19862 $as_echo "$ac_cv_have___clear_cache" >&6; }
19863 if test "$ac_cv_have___clear_cache" = "yes"
19864 then
19866 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19871 case $host_cpu in
19872 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19873 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19874 if ${ac_cv_cpp_def___i386__+:} false; then :
19875 $as_echo_n "(cached) " >&6
19876 else
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19879 #ifndef __i386__
19881 #endif
19882 _ACEOF
19883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19884 $EGREP "yes" >/dev/null 2>&1; then :
19885 ac_cv_cpp_def___i386__=yes
19886 else
19887 ac_cv_cpp_def___i386__=no
19889 rm -f conftest*
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19893 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19894 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19895 CFLAGS="$CFLAGS -D__i386__"
19896 LINTFLAGS="$LINTFLAGS -D__i386__"
19897 fi ;;
19898 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19899 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19900 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19901 $as_echo_n "(cached) " >&6
19902 else
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #ifndef __x86_64__
19907 #endif
19908 _ACEOF
19909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19910 $EGREP "yes" >/dev/null 2>&1; then :
19911 ac_cv_cpp_def___x86_64__=yes
19912 else
19913 ac_cv_cpp_def___x86_64__=no
19915 rm -f conftest*
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19919 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19920 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19921 CFLAGS="$CFLAGS -D__x86_64__"
19922 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19923 fi ;;
19924 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19925 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19926 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19927 $as_echo_n "(cached) " >&6
19928 else
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #ifndef __sparc64__
19933 #endif
19934 _ACEOF
19935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19936 $EGREP "yes" >/dev/null 2>&1; then :
19937 ac_cv_cpp_def___sparc64__=yes
19938 else
19939 ac_cv_cpp_def___sparc64__=no
19941 rm -f conftest*
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19945 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19946 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19947 CFLAGS="$CFLAGS -D__sparc64__"
19948 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19949 fi ;;
19950 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19951 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19952 if ${ac_cv_cpp_def___sparc__+:} false; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #ifndef __sparc__
19959 #endif
19960 _ACEOF
19961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19962 $EGREP "yes" >/dev/null 2>&1; then :
19963 ac_cv_cpp_def___sparc__=yes
19964 else
19965 ac_cv_cpp_def___sparc__=no
19967 rm -f conftest*
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19971 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19972 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19973 CFLAGS="$CFLAGS -D__sparc__"
19974 LINTFLAGS="$LINTFLAGS -D__sparc__"
19975 fi ;;
19976 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19977 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19978 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19979 $as_echo_n "(cached) " >&6
19980 else
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983 #ifndef __powerpc64__
19985 #endif
19986 _ACEOF
19987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19988 $EGREP "yes" >/dev/null 2>&1; then :
19989 ac_cv_cpp_def___powerpc64__=yes
19990 else
19991 ac_cv_cpp_def___powerpc64__=no
19993 rm -f conftest*
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19997 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19998 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19999 CFLAGS="$CFLAGS -D__powerpc64__"
20000 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20001 fi ;;
20002 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20003 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20004 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20005 $as_echo_n "(cached) " >&6
20006 else
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20009 #ifndef __powerpc__
20011 #endif
20012 _ACEOF
20013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20014 $EGREP "yes" >/dev/null 2>&1; then :
20015 ac_cv_cpp_def___powerpc__=yes
20016 else
20017 ac_cv_cpp_def___powerpc__=no
20019 rm -f conftest*
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20023 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20024 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20025 CFLAGS="$CFLAGS -D__powerpc__"
20026 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20027 fi ;;
20028 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20029 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20030 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20031 $as_echo_n "(cached) " >&6
20032 else
20033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20035 #ifndef __aarch64__
20037 #endif
20038 _ACEOF
20039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20040 $EGREP "yes" >/dev/null 2>&1; then :
20041 ac_cv_cpp_def___aarch64__=yes
20042 else
20043 ac_cv_cpp_def___aarch64__=no
20045 rm -f conftest*
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20049 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20050 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20051 CFLAGS="$CFLAGS -D__aarch64__"
20052 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20053 fi ;;
20054 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20055 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20056 if ${ac_cv_cpp_def___arm__+:} false; then :
20057 $as_echo_n "(cached) " >&6
20058 else
20059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #ifndef __arm__
20063 #endif
20064 _ACEOF
20065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20066 $EGREP "yes" >/dev/null 2>&1; then :
20067 ac_cv_cpp_def___arm__=yes
20068 else
20069 ac_cv_cpp_def___arm__=no
20071 rm -f conftest*
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20075 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20076 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20077 CFLAGS="$CFLAGS -D__arm__"
20078 LINTFLAGS="$LINTFLAGS -D__arm__"
20079 fi ;;
20080 esac
20082 case $host_vendor in
20083 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20084 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20085 if ${ac_cv_cpp_def___sun__+:} false; then :
20086 $as_echo_n "(cached) " >&6
20087 else
20088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20089 /* end confdefs.h. */
20090 #ifndef __sun__
20092 #endif
20093 _ACEOF
20094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20095 $EGREP "yes" >/dev/null 2>&1; then :
20096 ac_cv_cpp_def___sun__=yes
20097 else
20098 ac_cv_cpp_def___sun__=no
20100 rm -f conftest*
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20104 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20105 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20106 CFLAGS="$CFLAGS -D__sun__"
20107 LINTFLAGS="$LINTFLAGS -D__sun__"
20108 fi ;;
20109 esac
20115 ac_config_commands="$ac_config_commands include/stamp-h"
20117 $as_echo_n "creating Makefile rules..." >&6
20119 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20120 OPENGL_LIBS = $OPENGL_LIBS
20121 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20122 IOKIT_LIBS = $IOKIT_LIBS
20123 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20124 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20125 CORESERVICES_LIBS = $CORESERVICES_LIBS
20126 APPKIT_LIBS = $APPKIT_LIBS
20127 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20128 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20129 SECURITY_LIBS = $SECURITY_LIBS
20130 COREAUDIO_LIBS = $COREAUDIO_LIBS
20131 OPENAL_LIBS = $OPENAL_LIBS
20132 OPENCL_LIBS = $OPENCL_LIBS
20133 QUICKTIME_LIBS = $QUICKTIME_LIBS
20134 CARBON_LIBS = $CARBON_LIBS
20135 METAL_LIBS = $METAL_LIBS
20136 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20137 PTHREAD_LIBS = $PTHREAD_LIBS
20138 X_CFLAGS = $X_CFLAGS
20139 X_PRE_LIBS = $X_PRE_LIBS
20140 X_LIBS = $X_LIBS
20141 X_EXTRA_LIBS = $X_EXTRA_LIBS
20142 PCAP_LIBS = $PCAP_LIBS
20143 XML2_CFLAGS = $XML2_CFLAGS
20144 XML2_LIBS = $XML2_LIBS
20145 XSLT_CFLAGS = $XSLT_CFLAGS
20146 XSLT_LIBS = $XSLT_LIBS
20147 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20148 INOTIFY_LIBS = $INOTIFY_LIBS
20149 DBUS_CFLAGS = $DBUS_CFLAGS
20150 DBUS_LIBS = $DBUS_LIBS
20151 HAL_CFLAGS = $HAL_CFLAGS
20152 HAL_LIBS = $HAL_LIBS
20153 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20154 GNUTLS_LIBS = $GNUTLS_LIBS
20155 SANE_CFLAGS = $SANE_CFLAGS
20156 SANE_LIBS = $SANE_LIBS
20157 USB_CFLAGS = $USB_CFLAGS
20158 USB_LIBS = $USB_LIBS
20159 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20160 GPHOTO2_LIBS = $GPHOTO2_LIBS
20161 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20162 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20163 RESOLV_LIBS = $RESOLV_LIBS
20164 LCMS2_CFLAGS = $LCMS2_CFLAGS
20165 LCMS2_LIBS = $LCMS2_LIBS
20166 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20167 FREETYPE_LIBS = $FREETYPE_LIBS
20168 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20169 PULSE_CFLAGS = $PULSE_CFLAGS
20170 PULSE_LIBS = $PULSE_LIBS
20171 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20172 GSTREAMER_LIBS = $GSTREAMER_LIBS
20173 ALSA_LIBS = $ALSA_LIBS
20174 OSS4_CFLAGS = $OSS4_CFLAGS
20175 OSS4_LIBS = $OSS4_LIBS
20176 UDEV_CFLAGS = $UDEV_CFLAGS
20177 UDEV_LIBS = $UDEV_LIBS
20178 UNWIND_CFLAGS = $UNWIND_CFLAGS
20179 UNWIND_LIBS = $UNWIND_LIBS
20180 SDL2_CFLAGS = $SDL2_CFLAGS
20181 SDL2_LIBS = $SDL2_LIBS
20182 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20183 FAUDIO_LIBS = $FAUDIO_LIBS
20184 CAPI20_CFLAGS = $CAPI20_CFLAGS
20185 CAPI20_LIBS = $CAPI20_LIBS
20186 CUPS_CFLAGS = $CUPS_CFLAGS
20187 CUPS_LIBS = $CUPS_LIBS
20188 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20189 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20190 KRB5_CFLAGS = $KRB5_CFLAGS
20191 KRB5_LIBS = $KRB5_LIBS
20192 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20193 GSSAPI_LIBS = $GSSAPI_LIBS
20194 JPEG_CFLAGS = $JPEG_CFLAGS
20195 JPEG_LIBS = $JPEG_LIBS
20196 PNG_CFLAGS = $PNG_CFLAGS
20197 PNG_LIBS = $PNG_LIBS
20198 TIFF_CFLAGS = $TIFF_CFLAGS
20199 TIFF_LIBS = $TIFF_LIBS
20200 MPG123_CFLAGS = $MPG123_CFLAGS
20201 MPG123_LIBS = $MPG123_LIBS
20202 KSTAT_LIBS = $KSTAT_LIBS
20203 PROCSTAT_LIBS = $PROCSTAT_LIBS
20204 NETAPI_CFLAGS = $NETAPI_CFLAGS
20205 NETAPI_LIBS = $NETAPI_LIBS
20206 VKD3D_CFLAGS = $VKD3D_CFLAGS
20207 VKD3D_LIBS = $VKD3D_LIBS
20208 POLL_LIBS = $POLL_LIBS
20209 RT_LIBS = $RT_LIBS
20210 LDAP_CFLAGS = $LDAP_CFLAGS
20211 LDAP_LIBS = $LDAP_LIBS
20216 wine_fn_append_rule "
20217 # Rules automatically generated by configure
20219 .INIT: Makefile
20220 .MAKEFILEDEPS:
20221 all: Makefile
20222 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20223 @./config.status Make.tmp Makefile
20224 depend: \$(MAKEDEP) dummy
20225 \$(MAKEDEP)"
20227 ac_config_links="$ac_config_links wine:tools/winewrapper"
20228 wine_fn_config_symlink wine
20229 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20230 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20231 wine_fn_config_symlink wine64
20234 wine_fn_config_makefile dlls/acledit enable_acledit
20235 wine_fn_config_makefile dlls/aclui enable_aclui
20236 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20237 wine_fn_config_makefile dlls/activeds enable_activeds
20238 wine_fn_config_makefile dlls/activeds/tests enable_tests
20239 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20240 wine_fn_config_makefile dlls/adsiid enable_adsiid
20241 wine_fn_config_makefile dlls/adsldp enable_adsldp
20242 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20243 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20244 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20245 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20246 wine_fn_config_makefile dlls/advpack enable_advpack
20247 wine_fn_config_makefile dlls/advpack/tests enable_tests
20248 wine_fn_config_makefile dlls/amsi enable_amsi
20249 wine_fn_config_makefile dlls/amstream enable_amstream
20250 wine_fn_config_makefile dlls/amstream/tests enable_tests
20251 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20253 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20254 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20275 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20276 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20277 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20279 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20282 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20283 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20286 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20300 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20303 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20305 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20306 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20310 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20311 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20315 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20319 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20320 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20321 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20329 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20334 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20335 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20351 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20358 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20362 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20364 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20365 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20375 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20380 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20381 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20386 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20388 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20407 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20408 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20428 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20434 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20436 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20438 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20439 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20442 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20443 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20444 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20445 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20447 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20448 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20450 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20453 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20455 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20457 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20461 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20463 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20464 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20465 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20466 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20467 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20468 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20469 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20470 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20471 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20472 wine_fn_config_makefile dlls/apphelp enable_apphelp
20473 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20474 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20475 wine_fn_config_makefile dlls/atl enable_atl
20476 wine_fn_config_makefile dlls/atl/tests enable_tests
20477 wine_fn_config_makefile dlls/atl100 enable_atl100
20478 wine_fn_config_makefile dlls/atl100/tests enable_tests
20479 wine_fn_config_makefile dlls/atl110 enable_atl110
20480 wine_fn_config_makefile dlls/atl80 enable_atl80
20481 wine_fn_config_makefile dlls/atl80/tests enable_tests
20482 wine_fn_config_makefile dlls/atl90 enable_atl90
20483 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20484 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20485 wine_fn_config_makefile dlls/atmlib enable_atmlib
20486 wine_fn_config_makefile dlls/authz enable_authz
20487 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20488 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20489 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20490 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20491 wine_fn_config_makefile dlls/avrt enable_avrt
20492 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20493 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20494 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20495 wine_fn_config_makefile dlls/browseui enable_browseui
20496 wine_fn_config_makefile dlls/browseui/tests enable_tests
20497 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20498 wine_fn_config_makefile dlls/cabinet enable_cabinet
20499 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20500 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20501 wine_fn_config_makefile dlls/cards enable_cards
20502 wine_fn_config_makefile dlls/cdosys enable_cdosys
20503 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20504 wine_fn_config_makefile dlls/clusapi enable_clusapi
20505 wine_fn_config_makefile dlls/combase enable_combase
20506 wine_fn_config_makefile dlls/combase/tests enable_tests
20507 wine_fn_config_makefile dlls/comcat enable_comcat
20508 wine_fn_config_makefile dlls/comcat/tests enable_tests
20509 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20510 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20511 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20512 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20513 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20514 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20515 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20516 wine_fn_config_makefile dlls/compstui enable_compstui
20517 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20518 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20519 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20520 wine_fn_config_makefile dlls/connect enable_connect
20521 wine_fn_config_makefile dlls/credui enable_credui
20522 wine_fn_config_makefile dlls/credui/tests enable_tests
20523 wine_fn_config_makefile dlls/crtdll enable_crtdll
20524 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20525 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20526 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20527 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20528 wine_fn_config_makefile dlls/cryptext enable_cryptext
20529 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20530 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20531 wine_fn_config_makefile dlls/cryptui enable_cryptui
20532 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20533 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20534 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20535 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20536 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20537 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20538 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20539 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20540 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20541 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20542 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20543 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20544 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20545 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20546 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20547 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20548 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20549 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20550 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20551 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20552 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20553 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20554 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20555 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20556 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20557 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20558 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20559 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20560 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20561 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20562 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20563 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20564 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20565 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20566 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20567 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20568 wine_fn_config_makefile dlls/d3dim enable_d3dim
20569 wine_fn_config_makefile dlls/d3drm enable_d3drm
20570 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20571 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20572 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20573 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20574 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20575 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20576 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20577 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20578 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20579 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20580 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20581 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20582 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20583 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20584 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20585 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20586 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20587 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20588 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20589 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20590 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20591 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20592 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20593 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20594 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20595 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20596 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20597 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20598 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20599 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20600 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20601 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20602 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20603 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20604 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20605 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20606 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20607 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20608 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20609 wine_fn_config_makefile dlls/davclnt enable_davclnt
20610 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20611 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20612 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20613 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20614 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20615 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20616 wine_fn_config_makefile dlls/ddraw enable_ddraw
20617 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20618 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20619 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20620 wine_fn_config_makefile dlls/devenum enable_devenum
20621 wine_fn_config_makefile dlls/devenum/tests enable_tests
20622 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20623 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20624 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20625 wine_fn_config_makefile dlls/difxapi enable_difxapi
20626 wine_fn_config_makefile dlls/dinput enable_dinput
20627 wine_fn_config_makefile dlls/dinput/tests enable_tests
20628 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20629 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20630 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20631 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20632 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20633 wine_fn_config_makefile dlls/dispex enable_dispex
20634 wine_fn_config_makefile dlls/dispex/tests enable_tests
20635 wine_fn_config_makefile dlls/display.drv16 enable_win16
20636 wine_fn_config_makefile dlls/dmband enable_dmband
20637 wine_fn_config_makefile dlls/dmband/tests enable_tests
20638 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20639 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20640 wine_fn_config_makefile dlls/dmime enable_dmime
20641 wine_fn_config_makefile dlls/dmime/tests enable_tests
20642 wine_fn_config_makefile dlls/dmloader enable_dmloader
20643 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20644 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20645 wine_fn_config_makefile dlls/dmscript enable_dmscript
20646 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20647 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20648 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20649 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20650 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20651 wine_fn_config_makefile dlls/dmusic enable_dmusic
20652 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20653 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20654 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20655 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20656 wine_fn_config_makefile dlls/dplay enable_dplay
20657 wine_fn_config_makefile dlls/dplayx enable_dplayx
20658 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20659 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20660 wine_fn_config_makefile dlls/dpnet enable_dpnet
20661 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20662 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20663 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20664 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20665 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20666 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20667 wine_fn_config_makefile dlls/drmclien enable_drmclien
20668 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20669 wine_fn_config_makefile dlls/dsound enable_dsound
20670 wine_fn_config_makefile dlls/dsound/tests enable_tests
20671 wine_fn_config_makefile dlls/dsquery enable_dsquery
20672 wine_fn_config_makefile dlls/dssenh enable_dssenh
20673 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20674 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20675 wine_fn_config_makefile dlls/dswave enable_dswave
20676 wine_fn_config_makefile dlls/dswave/tests enable_tests
20677 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20678 wine_fn_config_makefile dlls/dwrite enable_dwrite
20679 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20680 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20681 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20682 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20683 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20684 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20685 wine_fn_config_makefile dlls/dxgi enable_dxgi
20686 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20687 wine_fn_config_makefile dlls/dxguid enable_dxguid
20688 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20689 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20690 wine_fn_config_makefile dlls/esent enable_esent
20691 wine_fn_config_makefile dlls/evr enable_evr
20692 wine_fn_config_makefile dlls/evr/tests enable_tests
20693 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20694 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20695 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20699 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20700 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20701 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20702 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20703 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20704 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20705 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20706 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20707 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20708 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20709 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20710 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20711 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20712 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20713 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20714 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20715 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20716 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20717 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20718 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20719 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20720 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20721 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20722 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20723 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20724 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20725 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20726 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20727 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20728 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20729 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20730 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20731 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20732 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20733 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20734 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20735 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
20736 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20737 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20738 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20739 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20740 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20741 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20742 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20743 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20744 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20745 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20746 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20747 wine_fn_config_makefile dlls/faultrep enable_faultrep
20748 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20749 wine_fn_config_makefile dlls/feclient enable_feclient
20750 wine_fn_config_makefile dlls/fltlib enable_fltlib
20751 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20752 wine_fn_config_makefile dlls/fntcache enable_fntcache
20753 wine_fn_config_makefile dlls/fontsub enable_fontsub
20754 wine_fn_config_makefile dlls/fusion enable_fusion
20755 wine_fn_config_makefile dlls/fusion/tests enable_tests
20756 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20757 wine_fn_config_makefile dlls/gameux enable_gameux
20758 wine_fn_config_makefile dlls/gameux/tests enable_tests
20759 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20760 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20761 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20762 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20763 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20764 wine_fn_config_makefile dlls/glu32 enable_glu32
20765 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20766 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20767 wine_fn_config_makefile dlls/hal enable_hal
20768 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20769 wine_fn_config_makefile dlls/hid enable_hid
20770 wine_fn_config_makefile dlls/hid/tests enable_tests
20771 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20772 wine_fn_config_makefile dlls/hlink enable_hlink
20773 wine_fn_config_makefile dlls/hlink/tests enable_tests
20774 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20775 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20776 wine_fn_config_makefile dlls/http.sys enable_http_sys
20777 wine_fn_config_makefile dlls/httpapi enable_httpapi
20778 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20779 wine_fn_config_makefile dlls/iccvid enable_iccvid
20780 wine_fn_config_makefile dlls/icmp enable_icmp
20781 wine_fn_config_makefile dlls/ieframe enable_ieframe
20782 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20783 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20784 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20785 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20786 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20787 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20788 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20789 wine_fn_config_makefile dlls/imm32 enable_imm32
20790 wine_fn_config_makefile dlls/imm32/tests enable_tests
20791 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20792 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20793 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20794 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20795 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20796 wine_fn_config_makefile dlls/infosoft enable_infosoft
20797 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20798 wine_fn_config_makefile dlls/initpki enable_initpki
20799 wine_fn_config_makefile dlls/inkobj enable_inkobj
20800 wine_fn_config_makefile dlls/inseng enable_inseng
20801 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20802 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20803 wine_fn_config_makefile dlls/iprop enable_iprop
20804 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20805 wine_fn_config_makefile dlls/itircl enable_itircl
20806 wine_fn_config_makefile dlls/itss enable_itss
20807 wine_fn_config_makefile dlls/itss/tests enable_tests
20808 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20809 wine_fn_config_makefile dlls/jscript enable_jscript
20810 wine_fn_config_makefile dlls/jscript/tests enable_tests
20811 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20812 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20813 wine_fn_config_makefile dlls/kerberos enable_kerberos
20814 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20815 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20816 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20817 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20818 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20819 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20820 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20821 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20822 wine_fn_config_makefile dlls/ksuser enable_ksuser
20823 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20824 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20825 wine_fn_config_makefile dlls/loadperf enable_loadperf
20826 wine_fn_config_makefile dlls/localspl enable_localspl
20827 wine_fn_config_makefile dlls/localspl/tests enable_tests
20828 wine_fn_config_makefile dlls/localui enable_localui
20829 wine_fn_config_makefile dlls/localui/tests enable_tests
20830 wine_fn_config_makefile dlls/lz32 enable_lz32
20831 wine_fn_config_makefile dlls/lz32/tests enable_tests
20832 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20833 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20834 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20835 wine_fn_config_makefile dlls/mapistub enable_mapistub
20836 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20837 wine_fn_config_makefile dlls/mcicda enable_mcicda
20838 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20839 wine_fn_config_makefile dlls/mciseq enable_mciseq
20840 wine_fn_config_makefile dlls/mciwave enable_mciwave
20841 wine_fn_config_makefile dlls/mf enable_mf
20842 wine_fn_config_makefile dlls/mf/tests enable_tests
20843 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20844 wine_fn_config_makefile dlls/mferror enable_mferror
20845 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20846 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20847 wine_fn_config_makefile dlls/mfplat enable_mfplat
20848 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20849 wine_fn_config_makefile dlls/mfplay enable_mfplay
20850 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20851 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20852 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20853 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20854 wine_fn_config_makefile dlls/midimap enable_midimap
20855 wine_fn_config_makefile dlls/mlang enable_mlang
20856 wine_fn_config_makefile dlls/mlang/tests enable_tests
20857 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20858 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20859 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20860 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20861 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20862 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20863 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20864 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20865 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20866 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20867 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20868 wine_fn_config_makefile dlls/mpr enable_mpr
20869 wine_fn_config_makefile dlls/mpr/tests enable_tests
20870 wine_fn_config_makefile dlls/mprapi enable_mprapi
20871 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20872 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20873 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20874 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20875 wine_fn_config_makefile dlls/msado15 enable_msado15
20876 wine_fn_config_makefile dlls/msado15/tests enable_tests
20877 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20878 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20879 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20880 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20881 wine_fn_config_makefile dlls/mscms enable_mscms
20882 wine_fn_config_makefile dlls/mscms/tests enable_tests
20883 wine_fn_config_makefile dlls/mscoree enable_mscoree
20884 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20885 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20886 wine_fn_config_makefile dlls/msctf enable_msctf
20887 wine_fn_config_makefile dlls/msctf/tests enable_tests
20888 wine_fn_config_makefile dlls/msctfp enable_msctfp
20889 wine_fn_config_makefile dlls/msdaps enable_msdaps
20890 wine_fn_config_makefile dlls/msdelta enable_msdelta
20891 wine_fn_config_makefile dlls/msdmo enable_msdmo
20892 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20893 wine_fn_config_makefile dlls/msdrm enable_msdrm
20894 wine_fn_config_makefile dlls/msftedit enable_msftedit
20895 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20896 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20897 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20898 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20899 wine_fn_config_makefile dlls/mshtml enable_mshtml
20900 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20901 wine_fn_config_makefile dlls/msi enable_msi
20902 wine_fn_config_makefile dlls/msi/tests enable_tests
20903 wine_fn_config_makefile dlls/msident enable_msident
20904 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20905 wine_fn_config_makefile dlls/msimsg enable_msimsg
20906 wine_fn_config_makefile dlls/msimtf enable_msimtf
20907 wine_fn_config_makefile dlls/msisip enable_msisip
20908 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20909 wine_fn_config_makefile dlls/msls31 enable_msls31
20910 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20911 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20912 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20913 wine_fn_config_makefile dlls/msports enable_msports
20914 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20915 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20916 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20917 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20918 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20919 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20920 wine_fn_config_makefile dlls/mstask enable_mstask
20921 wine_fn_config_makefile dlls/mstask/tests enable_tests
20922 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20923 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20924 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20925 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20926 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20927 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20928 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20929 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20930 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20931 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20932 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20933 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20934 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20935 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20936 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20937 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20938 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20939 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20940 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20941 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20942 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20943 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20944 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20945 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20946 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20947 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20948 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20949 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20950 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20951 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20952 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20953 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20954 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20955 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20956 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20957 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20958 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20959 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20960 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20961 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20962 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20963 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20964 wine_fn_config_makefile dlls/mswsock enable_mswsock
20965 wine_fn_config_makefile dlls/msxml enable_msxml
20966 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20967 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20968 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20969 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20970 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20971 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20972 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20973 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20974 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20975 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20976 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20977 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20978 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20979 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20980 wine_fn_config_makefile dlls/netprofm enable_netprofm
20981 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20982 wine_fn_config_makefile dlls/newdev enable_newdev
20983 wine_fn_config_makefile dlls/ninput enable_ninput
20984 wine_fn_config_makefile dlls/ninput/tests enable_tests
20985 wine_fn_config_makefile dlls/normaliz enable_normaliz
20986 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20987 wine_fn_config_makefile dlls/npptools enable_npptools
20988 wine_fn_config_makefile dlls/ntdll enable_ntdll
20989 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20990 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20991 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20992 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20993 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20994 wine_fn_config_makefile dlls/ntprint enable_ntprint
20995 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20996 wine_fn_config_makefile dlls/objsel enable_objsel
20997 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20998 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20999 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21000 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21001 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21002 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21003 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21004 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21005 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21006 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21007 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21008 wine_fn_config_makefile dlls/ole32 enable_ole32
21009 wine_fn_config_makefile dlls/ole32/tests enable_tests
21010 wine_fn_config_makefile dlls/oleacc enable_oleacc
21011 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21012 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21013 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21014 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21015 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21016 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21017 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21018 wine_fn_config_makefile dlls/oledlg enable_oledlg
21019 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21020 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21021 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21022 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21023 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21024 wine_fn_config_makefile dlls/opcservices enable_opcservices
21025 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21026 wine_fn_config_makefile dlls/openal32 enable_openal32
21027 wine_fn_config_makefile dlls/opencl enable_opencl
21028 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21029 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21030 wine_fn_config_makefile dlls/packager enable_packager
21031 wine_fn_config_makefile dlls/packager/tests enable_tests
21032 wine_fn_config_makefile dlls/pdh enable_pdh
21033 wine_fn_config_makefile dlls/pdh/tests enable_tests
21034 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21035 wine_fn_config_makefile dlls/pidgen enable_pidgen
21036 wine_fn_config_makefile dlls/powrprof enable_powrprof
21037 wine_fn_config_makefile dlls/printui enable_printui
21038 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21039 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21040 wine_fn_config_makefile dlls/propsys enable_propsys
21041 wine_fn_config_makefile dlls/propsys/tests enable_tests
21042 wine_fn_config_makefile dlls/psapi enable_psapi
21043 wine_fn_config_makefile dlls/psapi/tests enable_tests
21044 wine_fn_config_makefile dlls/pstorec enable_pstorec
21045 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21046 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21047 wine_fn_config_makefile dlls/qasf enable_qasf
21048 wine_fn_config_makefile dlls/qasf/tests enable_tests
21049 wine_fn_config_makefile dlls/qcap enable_qcap
21050 wine_fn_config_makefile dlls/qcap/tests enable_tests
21051 wine_fn_config_makefile dlls/qdvd enable_qdvd
21052 wine_fn_config_makefile dlls/qedit enable_qedit
21053 wine_fn_config_makefile dlls/qedit/tests enable_tests
21054 wine_fn_config_makefile dlls/qmgr enable_qmgr
21055 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21056 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21057 wine_fn_config_makefile dlls/quartz enable_quartz
21058 wine_fn_config_makefile dlls/quartz/tests enable_tests
21059 wine_fn_config_makefile dlls/query enable_query
21060 wine_fn_config_makefile dlls/qwave enable_qwave
21061 wine_fn_config_makefile dlls/qwave/tests enable_tests
21062 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21063 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21064 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21065 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21066 wine_fn_config_makefile dlls/regapi enable_regapi
21067 wine_fn_config_makefile dlls/resutils enable_resutils
21068 wine_fn_config_makefile dlls/riched20 enable_riched20
21069 wine_fn_config_makefile dlls/riched20/tests enable_tests
21070 wine_fn_config_makefile dlls/riched32 enable_riched32
21071 wine_fn_config_makefile dlls/riched32/tests enable_tests
21072 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21073 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21074 wine_fn_config_makefile dlls/rsabase enable_rsabase
21075 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21076 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21077 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21078 wine_fn_config_makefile dlls/rtutils enable_rtutils
21079 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21080 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21081 wine_fn_config_makefile dlls/samlib enable_samlib
21082 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21083 wine_fn_config_makefile dlls/sapi enable_sapi
21084 wine_fn_config_makefile dlls/sapi/tests enable_tests
21085 wine_fn_config_makefile dlls/sas enable_sas
21086 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21087 wine_fn_config_makefile dlls/sccbase enable_sccbase
21088 wine_fn_config_makefile dlls/schannel enable_schannel
21089 wine_fn_config_makefile dlls/schannel/tests enable_tests
21090 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21091 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21092 wine_fn_config_makefile dlls/scrobj enable_scrobj
21093 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21094 wine_fn_config_makefile dlls/scrrun enable_scrrun
21095 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21096 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21097 wine_fn_config_makefile dlls/sechost enable_sechost
21098 wine_fn_config_makefile dlls/secur32 enable_secur32
21099 wine_fn_config_makefile dlls/secur32/tests enable_tests
21100 wine_fn_config_makefile dlls/security enable_security
21101 wine_fn_config_makefile dlls/sensapi enable_sensapi
21102 wine_fn_config_makefile dlls/serialui enable_serialui
21103 wine_fn_config_makefile dlls/serialui/tests enable_tests
21104 wine_fn_config_makefile dlls/setupapi enable_setupapi
21105 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21106 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21107 wine_fn_config_makefile dlls/sfc enable_sfc
21108 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21109 wine_fn_config_makefile dlls/shcore enable_shcore
21110 wine_fn_config_makefile dlls/shcore/tests enable_tests
21111 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21112 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21113 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21114 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21115 wine_fn_config_makefile dlls/shell32 enable_shell32
21116 wine_fn_config_makefile dlls/shell32/tests enable_tests
21117 wine_fn_config_makefile dlls/shfolder enable_shfolder
21118 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21119 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21120 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21121 wine_fn_config_makefile dlls/slc enable_slc
21122 wine_fn_config_makefile dlls/slc/tests enable_tests
21123 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21124 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21125 wine_fn_config_makefile dlls/softpub enable_softpub
21126 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21127 wine_fn_config_makefile dlls/spoolss enable_spoolss
21128 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21129 wine_fn_config_makefile dlls/srclient enable_srclient
21130 wine_fn_config_makefile dlls/sspicli enable_sspicli
21131 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21132 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21133 wine_fn_config_makefile dlls/sti enable_sti
21134 wine_fn_config_makefile dlls/sti/tests enable_tests
21135 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21136 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21137 wine_fn_config_makefile dlls/strmbase enable_strmbase
21138 wine_fn_config_makefile dlls/strmdll enable_strmdll
21139 wine_fn_config_makefile dlls/strmiids enable_strmiids
21140 wine_fn_config_makefile dlls/svrapi enable_svrapi
21141 wine_fn_config_makefile dlls/sxs enable_sxs
21142 wine_fn_config_makefile dlls/sxs/tests enable_tests
21143 wine_fn_config_makefile dlls/system.drv16 enable_win16
21144 wine_fn_config_makefile dlls/t2embed enable_t2embed
21145 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21146 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21147 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21148 wine_fn_config_makefile dlls/taskschd enable_taskschd
21149 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21150 wine_fn_config_makefile dlls/tdh enable_tdh
21151 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21152 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21153 wine_fn_config_makefile dlls/traffic enable_traffic
21154 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21155 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21156 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21157 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21158 wine_fn_config_makefile dlls/tzres enable_tzres
21159 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21160 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21161 wine_fn_config_makefile dlls/uianimation enable_uianimation
21162 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21163 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21164 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21165 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21166 wine_fn_config_makefile dlls/unicows enable_unicows
21167 wine_fn_config_makefile dlls/updspapi enable_updspapi
21168 wine_fn_config_makefile dlls/url enable_url
21169 wine_fn_config_makefile dlls/urlmon enable_urlmon
21170 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21171 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21172 wine_fn_config_makefile dlls/user.exe16 enable_win16
21173 wine_fn_config_makefile dlls/user32 enable_user32
21174 wine_fn_config_makefile dlls/user32/tests enable_tests
21175 wine_fn_config_makefile dlls/userenv enable_userenv
21176 wine_fn_config_makefile dlls/userenv/tests enable_tests
21177 wine_fn_config_makefile dlls/usp10 enable_usp10
21178 wine_fn_config_makefile dlls/usp10/tests enable_tests
21179 wine_fn_config_makefile dlls/utildll enable_utildll
21180 wine_fn_config_makefile dlls/uuid enable_uuid
21181 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21182 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21183 wine_fn_config_makefile dlls/vbscript enable_vbscript
21184 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21185 wine_fn_config_makefile dlls/vcomp enable_vcomp
21186 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21187 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21188 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21189 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21190 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21191 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21192 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21193 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21194 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21195 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21196 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21197 wine_fn_config_makefile dlls/version enable_version
21198 wine_fn_config_makefile dlls/version/tests enable_tests
21199 wine_fn_config_makefile dlls/vga enable_vga
21200 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21201 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21202 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21203 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21204 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21205 wine_fn_config_makefile dlls/vssapi enable_vssapi
21206 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21207 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21208 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21209 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21210 wine_fn_config_makefile dlls/w32skrnl enable_win16
21211 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21212 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21213 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21214 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21215 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21216 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21217 wine_fn_config_makefile dlls/wdscore enable_wdscore
21218 wine_fn_config_makefile dlls/webservices enable_webservices
21219 wine_fn_config_makefile dlls/webservices/tests enable_tests
21220 wine_fn_config_makefile dlls/wer enable_wer
21221 wine_fn_config_makefile dlls/wer/tests enable_tests
21222 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21223 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21224 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21225 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21226 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21227 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21228 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21229 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21230 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21231 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21232 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21233 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21234 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21235 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21236 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21237 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21238 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21239 wine_fn_config_makefile dlls/wined3d enable_wined3d
21240 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21241 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21242 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21243 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21244 wine_fn_config_makefile dlls/winemapi enable_winemapi
21245 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21246 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21247 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21248 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21249 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21250 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21251 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21252 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21253 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21254 wine_fn_config_makefile dlls/wing32 enable_wing32
21255 wine_fn_config_makefile dlls/winhttp enable_winhttp
21256 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21257 wine_fn_config_makefile dlls/wininet enable_wininet
21258 wine_fn_config_makefile dlls/wininet/tests enable_tests
21259 wine_fn_config_makefile dlls/winmm enable_winmm
21260 wine_fn_config_makefile dlls/winmm/tests enable_tests
21261 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21262 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21263 wine_fn_config_makefile dlls/winscard enable_winscard
21264 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21265 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21266 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21267 wine_fn_config_makefile dlls/winsta enable_winsta
21268 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21269 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21270 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21271 wine_fn_config_makefile dlls/wintrust enable_wintrust
21272 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21273 wine_fn_config_makefile dlls/winusb enable_winusb
21274 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21275 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21276 wine_fn_config_makefile dlls/wlanui enable_wlanui
21277 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21278 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21279 wine_fn_config_makefile dlls/wmasf enable_wmasf
21280 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21281 wine_fn_config_makefile dlls/wmi enable_wmi
21282 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21283 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21284 wine_fn_config_makefile dlls/wmp enable_wmp
21285 wine_fn_config_makefile dlls/wmp/tests enable_tests
21286 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21287 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21288 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21289 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21290 wine_fn_config_makefile dlls/wow32 enable_win16
21291 wine_fn_config_makefile dlls/wpc enable_wpc
21292 wine_fn_config_makefile dlls/wpc/tests enable_tests
21293 wine_fn_config_makefile dlls/wpcap enable_wpcap
21294 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21295 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21296 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21297 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21298 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21299 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21300 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21301 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21302 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21303 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21304 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21305 wine_fn_config_makefile dlls/wuapi enable_wuapi
21306 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21307 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21308 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21309 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21310 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21311 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21312 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21313 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21314 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21315 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21316 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21317 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21318 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21319 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21320 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21321 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21322 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21323 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21324 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21325 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21326 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21327 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21328 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21329 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21330 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21331 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21332 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21333 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21334 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21335 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21336 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21337 wine_fn_config_makefile dlls/xmllite enable_xmllite
21338 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21339 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21340 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21341 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21342 wine_fn_config_makefile fonts enable_fonts
21343 wine_fn_config_makefile include enable_include
21344 wine_fn_config_makefile libs/port enable_port
21345 wine_fn_config_makefile libs/wine enable_wine
21346 wine_fn_config_makefile libs/wpp enable_wpp
21347 wine_fn_config_makefile loader enable_loader
21348 wine_fn_config_makefile nls enable_nls
21349 wine_fn_config_makefile po enable_po
21350 wine_fn_config_makefile programs/arp enable_arp
21351 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21352 wine_fn_config_makefile programs/attrib enable_attrib
21353 wine_fn_config_makefile programs/cabarc enable_cabarc
21354 wine_fn_config_makefile programs/cacls enable_cacls
21355 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21356 wine_fn_config_makefile programs/clock enable_clock
21357 wine_fn_config_makefile programs/cmd enable_cmd
21358 wine_fn_config_makefile programs/cmd/tests enable_tests
21359 wine_fn_config_makefile programs/conhost enable_conhost
21360 wine_fn_config_makefile programs/control enable_control
21361 wine_fn_config_makefile programs/cscript enable_cscript
21362 wine_fn_config_makefile programs/dism enable_dism
21363 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21364 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21365 wine_fn_config_makefile programs/eject enable_eject
21366 wine_fn_config_makefile programs/expand enable_expand
21367 wine_fn_config_makefile programs/explorer enable_explorer
21368 wine_fn_config_makefile programs/extrac32 enable_extrac32
21369 wine_fn_config_makefile programs/fc enable_fc
21370 wine_fn_config_makefile programs/find enable_find
21371 wine_fn_config_makefile programs/find/tests enable_tests
21372 wine_fn_config_makefile programs/findstr enable_findstr
21373 wine_fn_config_makefile programs/fsutil enable_fsutil
21374 wine_fn_config_makefile programs/hh enable_hh
21375 wine_fn_config_makefile programs/hostname enable_hostname
21376 wine_fn_config_makefile programs/icacls enable_icacls
21377 wine_fn_config_makefile programs/icinfo enable_icinfo
21378 wine_fn_config_makefile programs/iexplore enable_iexplore
21379 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21380 wine_fn_config_makefile programs/lodctr enable_lodctr
21381 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21382 wine_fn_config_makefile programs/mshta enable_mshta
21383 wine_fn_config_makefile programs/msidb enable_msidb
21384 wine_fn_config_makefile programs/msiexec enable_msiexec
21385 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21386 wine_fn_config_makefile programs/net enable_net
21387 wine_fn_config_makefile programs/netsh enable_netsh
21388 wine_fn_config_makefile programs/netstat enable_netstat
21389 wine_fn_config_makefile programs/ngen enable_ngen
21390 wine_fn_config_makefile programs/notepad enable_notepad
21391 wine_fn_config_makefile programs/oleview enable_oleview
21392 wine_fn_config_makefile programs/ping enable_ping
21393 wine_fn_config_makefile programs/plugplay enable_plugplay
21394 wine_fn_config_makefile programs/powershell enable_powershell
21395 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21396 wine_fn_config_makefile programs/progman enable_progman
21397 wine_fn_config_makefile programs/reg enable_reg
21398 wine_fn_config_makefile programs/reg/tests enable_tests
21399 wine_fn_config_makefile programs/regasm enable_regasm
21400 wine_fn_config_makefile programs/regedit enable_regedit
21401 wine_fn_config_makefile programs/regedit/tests enable_tests
21402 wine_fn_config_makefile programs/regini enable_regini
21403 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21404 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21405 wine_fn_config_makefile programs/rpcss enable_rpcss
21406 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21407 wine_fn_config_makefile programs/rundll32 enable_rundll32
21408 wine_fn_config_makefile programs/sc enable_sc
21409 wine_fn_config_makefile programs/schtasks enable_schtasks
21410 wine_fn_config_makefile programs/schtasks/tests enable_tests
21411 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21412 wine_fn_config_makefile programs/secedit enable_secedit
21413 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21414 wine_fn_config_makefile programs/services enable_services
21415 wine_fn_config_makefile programs/services/tests enable_tests
21416 wine_fn_config_makefile programs/shutdown enable_shutdown
21417 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21418 wine_fn_config_makefile programs/start enable_start
21419 wine_fn_config_makefile programs/subst enable_subst
21420 wine_fn_config_makefile programs/svchost enable_svchost
21421 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21422 wine_fn_config_makefile programs/taskkill enable_taskkill
21423 wine_fn_config_makefile programs/tasklist enable_tasklist
21424 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21425 wine_fn_config_makefile programs/termsv enable_termsv
21426 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21427 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21428 wine_fn_config_makefile programs/view enable_view
21429 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21430 wine_fn_config_makefile programs/where enable_where
21431 wine_fn_config_makefile programs/whoami enable_whoami
21432 wine_fn_config_makefile programs/wineboot enable_wineboot
21433 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21434 wine_fn_config_makefile programs/winecfg enable_winecfg
21435 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21436 wine_fn_config_makefile programs/winedbg enable_winedbg
21437 wine_fn_config_makefile programs/winedevice enable_winedevice
21438 wine_fn_config_makefile programs/winefile enable_winefile
21439 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21440 wine_fn_config_makefile programs/winemine enable_winemine
21441 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21442 wine_fn_config_makefile programs/winepath enable_winepath
21443 wine_fn_config_makefile programs/winetest enable_winetest
21444 wine_fn_config_makefile programs/winevdm enable_win16
21445 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21446 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21447 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21448 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21449 wine_fn_config_makefile programs/winver enable_winver
21450 wine_fn_config_makefile programs/wmic enable_wmic
21451 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21452 wine_fn_config_makefile programs/wordpad enable_wordpad
21453 wine_fn_config_makefile programs/write enable_write
21454 wine_fn_config_makefile programs/wscript enable_wscript
21455 wine_fn_config_makefile programs/wscript/tests enable_tests
21456 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21457 wine_fn_config_makefile programs/wusa enable_wusa
21458 wine_fn_config_makefile programs/xcopy enable_xcopy
21459 wine_fn_config_makefile programs/xcopy/tests enable_tests
21460 wine_fn_config_makefile server enable_server
21461 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21462 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21463 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21464 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21465 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21466 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21467 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21468 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21469 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21472 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21473 wine_fn_append_file CONFIGURE_TARGETS "tags"
21474 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21475 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21476 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21477 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21478 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21479 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21481 if test "x$enable_tools" != xno
21482 then
21483 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21484 ac_config_commands="$ac_config_commands tools/makedep"
21488 ac_config_commands="$ac_config_commands Makefile"
21491 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21495 if test "x$enable_maintainer_mode" = xyes
21496 then
21497 wine_fn_append_rule "configure: configure.ac aclocal.m4
21498 autoconf --warnings=all
21499 include/config.h.in: include/stamp-h.in
21500 include/stamp-h.in: configure.ac aclocal.m4
21501 autoheader --warnings=all
21502 @echo timestamp > \$@"
21505 if test "x$enable_tools" != xno
21506 then
21507 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21508 @./config.status tools/makedep
21509 Makefile: tools/makedep$ac_exeext
21510 fonts: tools/sfnt2fon
21511 include: tools tools/widl"
21512 else
21513 wine_fn_append_rule "\$(MAKEDEP):
21514 @echo \"You need to run make in $TOOLSDIR first\" && false"
21517 if test -n "$with_wine64"
21518 then
21519 case "$with_wine64" in
21520 /*) reldir="" ;;
21521 *) reldir="../" ;;
21522 esac
21523 rm -f fonts server 2>/dev/null
21524 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21525 loader/wine64 loader/wine64-preloader:
21526 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21527 $with_wine64/loader/wine:
21528 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21529 $with_wine64/loader/wine-preloader:
21530 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21531 clean::
21532 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21533 else
21534 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21535 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21536 fonts \
21537 loader/wine.inf \
21538 loader/winebus.inf \
21539 loader/winehid.inf \
21540 loader/wineusb.inf \
21541 nls \
21542 programs/msidb/msidb \
21543 programs/msiexec/msiexec \
21544 programs/notepad/notepad \
21545 programs/regedit/regedit \
21546 programs/regsvr32/regsvr32 \
21547 programs/wineboot/wineboot \
21548 programs/winecfg/winecfg \
21549 programs/wineconsole/wineconsole \
21550 programs/winedbg/winedbg \
21551 programs/winefile/winefile \
21552 programs/winemine/winemine \
21553 programs/winepath/winepath \
21554 server/wineserver"
21556 case $host_os in
21557 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21558 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21559 esac
21562 $as_echo " done" >&6
21563 cat >confcache <<\_ACEOF
21564 # This file is a shell script that caches the results of configure
21565 # tests run on this system so they can be shared between configure
21566 # scripts and configure runs, see configure's option --config-cache.
21567 # It is not useful on other systems. If it contains results you don't
21568 # want to keep, you may remove or edit it.
21570 # config.status only pays attention to the cache file if you give it
21571 # the --recheck option to rerun configure.
21573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21575 # following values.
21577 _ACEOF
21579 # The following way of writing the cache mishandles newlines in values,
21580 # but we know of no workaround that is simple, portable, and efficient.
21581 # So, we kill variables containing newlines.
21582 # Ultrix sh set writes to stderr and can't be redirected directly,
21583 # and sets the high bit in the cache file unless we assign to the vars.
21585 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21586 eval ac_val=\$$ac_var
21587 case $ac_val in #(
21588 *${as_nl}*)
21589 case $ac_var in #(
21590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21592 esac
21593 case $ac_var in #(
21594 _ | IFS | as_nl) ;; #(
21595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21596 *) { eval $ac_var=; unset $ac_var;} ;;
21597 esac ;;
21598 esac
21599 done
21601 (set) 2>&1 |
21602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21603 *${as_nl}ac_space=\ *)
21604 # `set' does not quote correctly, so add quotes: double-quote
21605 # substitution turns \\\\ into \\, and sed turns \\ into \.
21606 sed -n \
21607 "s/'/'\\\\''/g;
21608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21609 ;; #(
21611 # `set' quotes correctly as required by POSIX, so do not add quotes.
21612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21614 esac |
21615 sort
21617 sed '
21618 /^ac_cv_env_/b end
21619 t clear
21620 :clear
21621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21622 t end
21623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21624 :end' >>confcache
21625 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21626 if test -w "$cache_file"; then
21627 if test "x$cache_file" != "x/dev/null"; then
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21629 $as_echo "$as_me: updating cache $cache_file" >&6;}
21630 if test ! -f "$cache_file" || test -h "$cache_file"; then
21631 cat confcache >"$cache_file"
21632 else
21633 case $cache_file in #(
21634 */* | ?:*)
21635 mv -f confcache "$cache_file"$$ &&
21636 mv -f "$cache_file"$$ "$cache_file" ;; #(
21638 mv -f confcache "$cache_file" ;;
21639 esac
21642 else
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21644 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21647 rm -f confcache
21649 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21650 # Let make expand exec_prefix.
21651 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21653 DEFS=-DHAVE_CONFIG_H
21655 ac_libobjs=
21656 ac_ltlibobjs=
21658 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21659 # 1. Remove the extension, and $U if already installed.
21660 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21661 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21663 # will be set to the directory where LIBOBJS objects are built.
21664 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21665 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21666 done
21667 LIBOBJS=$ac_libobjs
21669 LTLIBOBJS=$ac_ltlibobjs
21673 : "${CONFIG_STATUS=./config.status}"
21674 ac_write_fail=0
21675 ac_clean_files_save=$ac_clean_files
21676 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21678 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21679 as_write_fail=0
21680 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21681 #! $SHELL
21682 # Generated by $as_me.
21683 # Run this file to recreate the current configuration.
21684 # Compiler output produced by configure, useful for debugging
21685 # configure, is in config.log if it exists.
21687 debug=false
21688 ac_cs_recheck=false
21689 ac_cs_silent=false
21691 SHELL=\${CONFIG_SHELL-$SHELL}
21692 export SHELL
21693 _ASEOF
21694 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21695 ## -------------------- ##
21696 ## M4sh Initialization. ##
21697 ## -------------------- ##
21699 # Be more Bourne compatible
21700 DUALCASE=1; export DUALCASE # for MKS sh
21701 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21702 emulate sh
21703 NULLCMD=:
21704 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21705 # is contrary to our usage. Disable this feature.
21706 alias -g '${1+"$@"}'='"$@"'
21707 setopt NO_GLOB_SUBST
21708 else
21709 case `(set -o) 2>/dev/null` in #(
21710 *posix*) :
21711 set -o posix ;; #(
21712 *) :
21714 esac
21718 as_nl='
21720 export as_nl
21721 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21722 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21725 # Prefer a ksh shell builtin over an external printf program on Solaris,
21726 # but without wasting forks for bash or zsh.
21727 if test -z "$BASH_VERSION$ZSH_VERSION" \
21728 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21729 as_echo='print -r --'
21730 as_echo_n='print -rn --'
21731 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21732 as_echo='printf %s\n'
21733 as_echo_n='printf %s'
21734 else
21735 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21736 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21737 as_echo_n='/usr/ucb/echo -n'
21738 else
21739 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21740 as_echo_n_body='eval
21741 arg=$1;
21742 case $arg in #(
21743 *"$as_nl"*)
21744 expr "X$arg" : "X\\(.*\\)$as_nl";
21745 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21746 esac;
21747 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21749 export as_echo_n_body
21750 as_echo_n='sh -c $as_echo_n_body as_echo'
21752 export as_echo_body
21753 as_echo='sh -c $as_echo_body as_echo'
21756 # The user is always right.
21757 if test "${PATH_SEPARATOR+set}" != set; then
21758 PATH_SEPARATOR=:
21759 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21760 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21761 PATH_SEPARATOR=';'
21766 # IFS
21767 # We need space, tab and new line, in precisely that order. Quoting is
21768 # there to prevent editors from complaining about space-tab.
21769 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21770 # splitting by setting IFS to empty value.)
21771 IFS=" "" $as_nl"
21773 # Find who we are. Look in the path if we contain no directory separator.
21774 as_myself=
21775 case $0 in #((
21776 *[\\/]* ) as_myself=$0 ;;
21777 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21778 for as_dir in $PATH
21780 IFS=$as_save_IFS
21781 test -z "$as_dir" && as_dir=.
21782 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21783 done
21784 IFS=$as_save_IFS
21787 esac
21788 # We did not find ourselves, most probably we were run as `sh COMMAND'
21789 # in which case we are not to be found in the path.
21790 if test "x$as_myself" = x; then
21791 as_myself=$0
21793 if test ! -f "$as_myself"; then
21794 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21795 exit 1
21798 # Unset variables that we do not need and which cause bugs (e.g. in
21799 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21800 # suppresses any "Segmentation fault" message there. '((' could
21801 # trigger a bug in pdksh 5.2.14.
21802 for as_var in BASH_ENV ENV MAIL MAILPATH
21803 do eval test x\${$as_var+set} = xset \
21804 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21805 done
21806 PS1='$ '
21807 PS2='> '
21808 PS4='+ '
21810 # NLS nuisances.
21811 LC_ALL=C
21812 export LC_ALL
21813 LANGUAGE=C
21814 export LANGUAGE
21816 # CDPATH.
21817 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21820 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21821 # ----------------------------------------
21822 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21823 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21824 # script with STATUS, using 1 if that was 0.
21825 as_fn_error ()
21827 as_status=$1; test $as_status -eq 0 && as_status=1
21828 if test "$4"; then
21829 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21830 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21832 $as_echo "$as_me: error: $2" >&2
21833 as_fn_exit $as_status
21834 } # as_fn_error
21837 # as_fn_set_status STATUS
21838 # -----------------------
21839 # Set $? to STATUS, without forking.
21840 as_fn_set_status ()
21842 return $1
21843 } # as_fn_set_status
21845 # as_fn_exit STATUS
21846 # -----------------
21847 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21848 as_fn_exit ()
21850 set +e
21851 as_fn_set_status $1
21852 exit $1
21853 } # as_fn_exit
21855 # as_fn_unset VAR
21856 # ---------------
21857 # Portably unset VAR.
21858 as_fn_unset ()
21860 { eval $1=; unset $1;}
21862 as_unset=as_fn_unset
21863 # as_fn_append VAR VALUE
21864 # ----------------------
21865 # Append the text in VALUE to the end of the definition contained in VAR. Take
21866 # advantage of any shell optimizations that allow amortized linear growth over
21867 # repeated appends, instead of the typical quadratic growth present in naive
21868 # implementations.
21869 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21870 eval 'as_fn_append ()
21872 eval $1+=\$2
21874 else
21875 as_fn_append ()
21877 eval $1=\$$1\$2
21879 fi # as_fn_append
21881 # as_fn_arith ARG...
21882 # ------------------
21883 # Perform arithmetic evaluation on the ARGs, and store the result in the
21884 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21885 # must be portable across $(()) and expr.
21886 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21887 eval 'as_fn_arith ()
21889 as_val=$(( $* ))
21891 else
21892 as_fn_arith ()
21894 as_val=`expr "$@" || test $? -eq 1`
21896 fi # as_fn_arith
21899 if expr a : '\(a\)' >/dev/null 2>&1 &&
21900 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21901 as_expr=expr
21902 else
21903 as_expr=false
21906 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21907 as_basename=basename
21908 else
21909 as_basename=false
21912 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21913 as_dirname=dirname
21914 else
21915 as_dirname=false
21918 as_me=`$as_basename -- "$0" ||
21919 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21920 X"$0" : 'X\(//\)$' \| \
21921 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21922 $as_echo X/"$0" |
21923 sed '/^.*\/\([^/][^/]*\)\/*$/{
21924 s//\1/
21927 /^X\/\(\/\/\)$/{
21928 s//\1/
21931 /^X\/\(\/\).*/{
21932 s//\1/
21935 s/.*/./; q'`
21937 # Avoid depending upon Character Ranges.
21938 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21939 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21940 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21941 as_cr_digits='0123456789'
21942 as_cr_alnum=$as_cr_Letters$as_cr_digits
21944 ECHO_C= ECHO_N= ECHO_T=
21945 case `echo -n x` in #(((((
21946 -n*)
21947 case `echo 'xy\c'` in
21948 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21949 xy) ECHO_C='\c';;
21950 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21951 ECHO_T=' ';;
21952 esac;;
21954 ECHO_N='-n';;
21955 esac
21957 rm -f conf$$ conf$$.exe conf$$.file
21958 if test -d conf$$.dir; then
21959 rm -f conf$$.dir/conf$$.file
21960 else
21961 rm -f conf$$.dir
21962 mkdir conf$$.dir 2>/dev/null
21964 if (echo >conf$$.file) 2>/dev/null; then
21965 if ln -s conf$$.file conf$$ 2>/dev/null; then
21966 as_ln_s='ln -s'
21967 # ... but there are two gotchas:
21968 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21969 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21970 # In both cases, we have to default to `cp -pR'.
21971 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21972 as_ln_s='cp -pR'
21973 elif ln conf$$.file conf$$ 2>/dev/null; then
21974 as_ln_s=ln
21975 else
21976 as_ln_s='cp -pR'
21978 else
21979 as_ln_s='cp -pR'
21981 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21982 rmdir conf$$.dir 2>/dev/null
21985 # as_fn_mkdir_p
21986 # -------------
21987 # Create "$as_dir" as a directory, including parents if necessary.
21988 as_fn_mkdir_p ()
21991 case $as_dir in #(
21992 -*) as_dir=./$as_dir;;
21993 esac
21994 test -d "$as_dir" || eval $as_mkdir_p || {
21995 as_dirs=
21996 while :; do
21997 case $as_dir in #(
21998 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21999 *) as_qdir=$as_dir;;
22000 esac
22001 as_dirs="'$as_qdir' $as_dirs"
22002 as_dir=`$as_dirname -- "$as_dir" ||
22003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22004 X"$as_dir" : 'X\(//\)[^/]' \| \
22005 X"$as_dir" : 'X\(//\)$' \| \
22006 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22007 $as_echo X"$as_dir" |
22008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22009 s//\1/
22012 /^X\(\/\/\)[^/].*/{
22013 s//\1/
22016 /^X\(\/\/\)$/{
22017 s//\1/
22020 /^X\(\/\).*/{
22021 s//\1/
22024 s/.*/./; q'`
22025 test -d "$as_dir" && break
22026 done
22027 test -z "$as_dirs" || eval "mkdir $as_dirs"
22028 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22031 } # as_fn_mkdir_p
22032 if mkdir -p . 2>/dev/null; then
22033 as_mkdir_p='mkdir -p "$as_dir"'
22034 else
22035 test -d ./-p && rmdir ./-p
22036 as_mkdir_p=false
22040 # as_fn_executable_p FILE
22041 # -----------------------
22042 # Test if FILE is an executable regular file.
22043 as_fn_executable_p ()
22045 test -f "$1" && test -x "$1"
22046 } # as_fn_executable_p
22047 as_test_x='test -x'
22048 as_executable_p=as_fn_executable_p
22050 # Sed expression to map a string onto a valid CPP name.
22051 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22053 # Sed expression to map a string onto a valid variable name.
22054 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22057 exec 6>&1
22058 ## ----------------------------------- ##
22059 ## Main body of $CONFIG_STATUS script. ##
22060 ## ----------------------------------- ##
22061 _ASEOF
22062 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22065 # Save the log message, to keep $0 and so on meaningful, and to
22066 # report actual input values of CONFIG_FILES etc. instead of their
22067 # values after options handling.
22068 ac_log="
22069 This file was extended by Wine $as_me 5.11, which was
22070 generated by GNU Autoconf 2.69. Invocation command line was
22072 CONFIG_FILES = $CONFIG_FILES
22073 CONFIG_HEADERS = $CONFIG_HEADERS
22074 CONFIG_LINKS = $CONFIG_LINKS
22075 CONFIG_COMMANDS = $CONFIG_COMMANDS
22076 $ $0 $@
22078 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22081 _ACEOF
22083 case $ac_config_files in *"
22084 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22085 esac
22087 case $ac_config_headers in *"
22088 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22089 esac
22092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22093 # Files that config.status was made for.
22094 config_files="$ac_config_files"
22095 config_headers="$ac_config_headers"
22096 config_links="$ac_config_links"
22097 config_commands="$ac_config_commands"
22099 _ACEOF
22101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22102 ac_cs_usage="\
22103 \`$as_me' instantiates files and other configuration actions
22104 from templates according to the current configuration. Unless the files
22105 and actions are specified as TAGs, all are instantiated by default.
22107 Usage: $0 [OPTION]... [TAG]...
22109 -h, --help print this help, then exit
22110 -V, --version print version number and configuration settings, then exit
22111 --config print configuration, then exit
22112 -q, --quiet, --silent
22113 do not print progress messages
22114 -d, --debug don't remove temporary files
22115 --recheck update $as_me by reconfiguring in the same conditions
22116 --file=FILE[:TEMPLATE]
22117 instantiate the configuration file FILE
22118 --header=FILE[:TEMPLATE]
22119 instantiate the configuration header FILE
22121 Configuration files:
22122 $config_files
22124 Configuration headers:
22125 $config_headers
22127 Configuration links:
22128 $config_links
22130 Configuration commands:
22131 $config_commands
22133 Report bugs to <wine-devel@winehq.org>.
22134 Wine home page: <https://www.winehq.org>."
22136 _ACEOF
22137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22138 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22139 ac_cs_version="\\
22140 Wine config.status 5.11
22141 configured by $0, generated by GNU Autoconf 2.69,
22142 with options \\"\$ac_cs_config\\"
22144 Copyright (C) 2012 Free Software Foundation, Inc.
22145 This config.status script is free software; the Free Software Foundation
22146 gives unlimited permission to copy, distribute and modify it."
22148 ac_pwd='$ac_pwd'
22149 srcdir='$srcdir'
22150 test -n "\$AWK" || AWK=awk
22151 _ACEOF
22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22154 # The default lists apply if the user does not specify any file.
22155 ac_need_defaults=:
22156 while test $# != 0
22158 case $1 in
22159 --*=?*)
22160 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22161 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22162 ac_shift=:
22164 --*=)
22165 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22166 ac_optarg=
22167 ac_shift=:
22170 ac_option=$1
22171 ac_optarg=$2
22172 ac_shift=shift
22174 esac
22176 case $ac_option in
22177 # Handling of the options.
22178 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22179 ac_cs_recheck=: ;;
22180 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22181 $as_echo "$ac_cs_version"; exit ;;
22182 --config | --confi | --conf | --con | --co | --c )
22183 $as_echo "$ac_cs_config"; exit ;;
22184 --debug | --debu | --deb | --de | --d | -d )
22185 debug=: ;;
22186 --file | --fil | --fi | --f )
22187 $ac_shift
22188 case $ac_optarg in
22189 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22190 '') as_fn_error $? "missing file argument" ;;
22191 esac
22192 as_fn_append CONFIG_FILES " '$ac_optarg'"
22193 ac_need_defaults=false;;
22194 --header | --heade | --head | --hea )
22195 $ac_shift
22196 case $ac_optarg in
22197 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22198 esac
22199 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22200 ac_need_defaults=false;;
22201 --he | --h)
22202 # Conflict between --help and --header
22203 as_fn_error $? "ambiguous option: \`$1'
22204 Try \`$0 --help' for more information.";;
22205 --help | --hel | -h )
22206 $as_echo "$ac_cs_usage"; exit ;;
22207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22208 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22209 ac_cs_silent=: ;;
22211 # This is an error.
22212 -*) as_fn_error $? "unrecognized option: \`$1'
22213 Try \`$0 --help' for more information." ;;
22215 *) as_fn_append ac_config_targets " $1"
22216 ac_need_defaults=false ;;
22218 esac
22219 shift
22220 done
22222 ac_configure_extra_args=
22224 if $ac_cs_silent; then
22225 exec 6>/dev/null
22226 ac_configure_extra_args="$ac_configure_extra_args --silent"
22229 _ACEOF
22230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22231 if \$ac_cs_recheck; then
22232 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22233 shift
22234 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22235 CONFIG_SHELL='$SHELL'
22236 export CONFIG_SHELL
22237 exec "\$@"
22240 _ACEOF
22241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22242 exec 5>>config.log
22244 echo
22245 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22246 ## Running $as_me. ##
22247 _ASBOX
22248 $as_echo "$ac_log"
22249 } >&5
22251 _ACEOF
22252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22254 # INIT-COMMANDS
22256 wine_fn_output_makedep ()
22258 as_dir=tools; as_fn_mkdir_p
22259 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22261 wine_fn_output_makefile ()
22263 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22264 `cat $wine_rules_file`
22265 _WINE_EOF
22266 as_fn_error $? "could not create Makefile" "$LINENO" 5
22269 _ACEOF
22271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22273 # Handling of arguments.
22274 for ac_config_target in $ac_config_targets
22276 case $ac_config_target in
22277 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22278 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22279 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22280 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22281 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22282 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22283 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22285 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22286 esac
22287 done
22290 # If the user did not use the arguments to specify the items to instantiate,
22291 # then the envvar interface is used. Set only those that are not.
22292 # We use the long form for the default assignment because of an extremely
22293 # bizarre bug on SunOS 4.1.3.
22294 if $ac_need_defaults; then
22295 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22296 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22297 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22298 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22301 # Have a temporary directory for convenience. Make it in the build tree
22302 # simply because there is no reason against having it here, and in addition,
22303 # creating and moving files from /tmp can sometimes cause problems.
22304 # Hook for its removal unless debugging.
22305 # Note that there is a small window in which the directory will not be cleaned:
22306 # after its creation but before its name has been assigned to `$tmp'.
22307 $debug ||
22309 tmp= ac_tmp=
22310 trap 'exit_status=$?
22311 : "${ac_tmp:=$tmp}"
22312 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22314 trap 'as_fn_exit 1' 1 2 13 15
22316 # Create a (secure) tmp directory for tmp files.
22319 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22320 test -d "$tmp"
22321 } ||
22323 tmp=./conf$$-$RANDOM
22324 (umask 077 && mkdir "$tmp")
22325 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22326 ac_tmp=$tmp
22328 # Set up the scripts for CONFIG_FILES section.
22329 # No need to generate them if there are no CONFIG_FILES.
22330 # This happens for instance with `./config.status config.h'.
22331 if test -n "$CONFIG_FILES"; then
22334 ac_cr=`echo X | tr X '\015'`
22335 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22336 # But we know of no other shell where ac_cr would be empty at this
22337 # point, so we can use a bashism as a fallback.
22338 if test "x$ac_cr" = x; then
22339 eval ac_cr=\$\'\\r\'
22341 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22342 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22343 ac_cs_awk_cr='\\r'
22344 else
22345 ac_cs_awk_cr=$ac_cr
22348 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22349 _ACEOF
22353 echo "cat >conf$$subs.awk <<_ACEOF" &&
22354 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22355 echo "_ACEOF"
22356 } >conf$$subs.sh ||
22357 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22358 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22359 ac_delim='%!_!# '
22360 for ac_last_try in false false false false false :; do
22361 . ./conf$$subs.sh ||
22362 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22364 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22365 if test $ac_delim_n = $ac_delim_num; then
22366 break
22367 elif $ac_last_try; then
22368 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22369 else
22370 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22372 done
22373 rm -f conf$$subs.sh
22375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22376 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22377 _ACEOF
22378 sed -n '
22380 s/^/S["/; s/!.*/"]=/
22383 s/^[^!]*!//
22384 :repl
22385 t repl
22386 s/'"$ac_delim"'$//
22387 t delim
22390 s/\(.\{148\}\)..*/\1/
22391 t more1
22392 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22395 b repl
22396 :more1
22397 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22400 s/.\{148\}//
22401 t nl
22402 :delim
22404 s/\(.\{148\}\)..*/\1/
22405 t more2
22406 s/["\\]/\\&/g; s/^/"/; s/$/"/
22409 :more2
22410 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22413 s/.\{148\}//
22414 t delim
22415 ' <conf$$subs.awk | sed '
22416 /^[^""]/{
22418 s/\n//
22420 ' >>$CONFIG_STATUS || ac_write_fail=1
22421 rm -f conf$$subs.awk
22422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22423 _ACAWK
22424 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22425 for (key in S) S_is_set[key] = 1
22426 FS = "\a"
22430 line = $ 0
22431 nfields = split(line, field, "@")
22432 substed = 0
22433 len = length(field[1])
22434 for (i = 2; i < nfields; i++) {
22435 key = field[i]
22436 keylen = length(key)
22437 if (S_is_set[key]) {
22438 value = S[key]
22439 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22440 len += length(value) + length(field[++i])
22441 substed = 1
22442 } else
22443 len += 1 + keylen
22446 print line
22449 _ACAWK
22450 _ACEOF
22451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22452 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22453 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22454 else
22456 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22457 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22458 _ACEOF
22460 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22461 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22462 # trailing colons and then remove the whole line if VPATH becomes empty
22463 # (actually we leave an empty line to preserve line numbers).
22464 if test "x$srcdir" = x.; then
22465 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22467 s///
22468 s/^/:/
22469 s/[ ]*$/:/
22470 s/:\$(srcdir):/:/g
22471 s/:\${srcdir}:/:/g
22472 s/:@srcdir@:/:/g
22473 s/^:*//
22474 s/:*$//
22476 s/\(=[ ]*\).*/\1/
22478 s/\n//
22479 s/^[^=]*=[ ]*$//
22483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22484 fi # test -n "$CONFIG_FILES"
22486 # Set up the scripts for CONFIG_HEADERS section.
22487 # No need to generate them if there are no CONFIG_HEADERS.
22488 # This happens for instance with `./config.status Makefile'.
22489 if test -n "$CONFIG_HEADERS"; then
22490 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22491 BEGIN {
22492 _ACEOF
22494 # Transform confdefs.h into an awk script `defines.awk', embedded as
22495 # here-document in config.status, that substitutes the proper values into
22496 # config.h.in to produce config.h.
22498 # Create a delimiter string that does not exist in confdefs.h, to ease
22499 # handling of long lines.
22500 ac_delim='%!_!# '
22501 for ac_last_try in false false :; do
22502 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22503 if test -z "$ac_tt"; then
22504 break
22505 elif $ac_last_try; then
22506 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22507 else
22508 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22510 done
22512 # For the awk script, D is an array of macro values keyed by name,
22513 # likewise P contains macro parameters if any. Preserve backslash
22514 # newline sequences.
22516 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22517 sed -n '
22518 s/.\{148\}/&'"$ac_delim"'/g
22519 t rset
22520 :rset
22521 s/^[ ]*#[ ]*define[ ][ ]*/ /
22522 t def
22524 :def
22525 s/\\$//
22526 t bsnl
22527 s/["\\]/\\&/g
22528 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22529 D["\1"]=" \3"/p
22530 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22532 :bsnl
22533 s/["\\]/\\&/g
22534 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22535 D["\1"]=" \3\\\\\\n"\\/p
22536 t cont
22537 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22538 t cont
22540 :cont
22542 s/.\{148\}/&'"$ac_delim"'/g
22543 t clear
22544 :clear
22545 s/\\$//
22546 t bsnlc
22547 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22549 :bsnlc
22550 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22551 b cont
22552 ' <confdefs.h | sed '
22553 s/'"$ac_delim"'/"\\\
22554 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22557 for (key in D) D_is_set[key] = 1
22558 FS = "\a"
22560 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22561 line = \$ 0
22562 split(line, arg, " ")
22563 if (arg[1] == "#") {
22564 defundef = arg[2]
22565 mac1 = arg[3]
22566 } else {
22567 defundef = substr(arg[1], 2)
22568 mac1 = arg[2]
22570 split(mac1, mac2, "(") #)
22571 macro = mac2[1]
22572 prefix = substr(line, 1, index(line, defundef) - 1)
22573 if (D_is_set[macro]) {
22574 # Preserve the white space surrounding the "#".
22575 print prefix "define", macro P[macro] D[macro]
22576 next
22577 } else {
22578 # Replace #undef with comments. This is necessary, for example,
22579 # in the case of _POSIX_SOURCE, which is predefined and required
22580 # on some systems where configure will not decide to define it.
22581 if (defundef == "undef") {
22582 print "/*", prefix defundef, macro, "*/"
22583 next
22587 { print }
22588 _ACAWK
22589 _ACEOF
22590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22591 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22592 fi # test -n "$CONFIG_HEADERS"
22595 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22596 shift
22597 for ac_tag
22599 case $ac_tag in
22600 :[FHLC]) ac_mode=$ac_tag; continue;;
22601 esac
22602 case $ac_mode$ac_tag in
22603 :[FHL]*:*);;
22604 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22605 :[FH]-) ac_tag=-:-;;
22606 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22607 esac
22608 ac_save_IFS=$IFS
22609 IFS=:
22610 set x $ac_tag
22611 IFS=$ac_save_IFS
22612 shift
22613 ac_file=$1
22614 shift
22616 case $ac_mode in
22617 :L) ac_source=$1;;
22618 :[FH])
22619 ac_file_inputs=
22620 for ac_f
22622 case $ac_f in
22623 -) ac_f="$ac_tmp/stdin";;
22624 *) # Look for the file first in the build tree, then in the source tree
22625 # (if the path is not absolute). The absolute path cannot be DOS-style,
22626 # because $ac_f cannot contain `:'.
22627 test -f "$ac_f" ||
22628 case $ac_f in
22629 [\\/$]*) false;;
22630 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22631 esac ||
22632 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22633 esac
22634 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22635 as_fn_append ac_file_inputs " '$ac_f'"
22636 done
22638 # Let's still pretend it is `configure' which instantiates (i.e., don't
22639 # use $as_me), people would be surprised to read:
22640 # /* config.h. Generated by config.status. */
22641 configure_input='Generated from '`
22642 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22643 `' by configure.'
22644 if test x"$ac_file" != x-; then
22645 configure_input="$ac_file. $configure_input"
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22647 $as_echo "$as_me: creating $ac_file" >&6;}
22649 # Neutralize special characters interpreted by sed in replacement strings.
22650 case $configure_input in #(
22651 *\&* | *\|* | *\\* )
22652 ac_sed_conf_input=`$as_echo "$configure_input" |
22653 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22654 *) ac_sed_conf_input=$configure_input;;
22655 esac
22657 case $ac_tag in
22658 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22660 esac
22662 esac
22664 ac_dir=`$as_dirname -- "$ac_file" ||
22665 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22666 X"$ac_file" : 'X\(//\)[^/]' \| \
22667 X"$ac_file" : 'X\(//\)$' \| \
22668 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22669 $as_echo X"$ac_file" |
22670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22671 s//\1/
22674 /^X\(\/\/\)[^/].*/{
22675 s//\1/
22678 /^X\(\/\/\)$/{
22679 s//\1/
22682 /^X\(\/\).*/{
22683 s//\1/
22686 s/.*/./; q'`
22687 as_dir="$ac_dir"; as_fn_mkdir_p
22688 ac_builddir=.
22690 case "$ac_dir" in
22691 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22693 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22694 # A ".." for each directory in $ac_dir_suffix.
22695 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22696 case $ac_top_builddir_sub in
22697 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22698 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22699 esac ;;
22700 esac
22701 ac_abs_top_builddir=$ac_pwd
22702 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22703 # for backward compatibility:
22704 ac_top_builddir=$ac_top_build_prefix
22706 case $srcdir in
22707 .) # We are building in place.
22708 ac_srcdir=.
22709 ac_top_srcdir=$ac_top_builddir_sub
22710 ac_abs_top_srcdir=$ac_pwd ;;
22711 [\\/]* | ?:[\\/]* ) # Absolute name.
22712 ac_srcdir=$srcdir$ac_dir_suffix;
22713 ac_top_srcdir=$srcdir
22714 ac_abs_top_srcdir=$srcdir ;;
22715 *) # Relative name.
22716 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22717 ac_top_srcdir=$ac_top_build_prefix$srcdir
22718 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22719 esac
22720 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22723 case $ac_mode in
22726 # CONFIG_FILE
22729 _ACEOF
22731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22732 # If the template does not know about datarootdir, expand it.
22733 # FIXME: This hack should be removed a few years after 2.60.
22734 ac_datarootdir_hack=; ac_datarootdir_seen=
22735 ac_sed_dataroot='
22736 /datarootdir/ {
22740 /@datadir@/p
22741 /@docdir@/p
22742 /@infodir@/p
22743 /@localedir@/p
22744 /@mandir@/p'
22745 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22746 *datarootdir*) ac_datarootdir_seen=yes;;
22747 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22749 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22750 _ACEOF
22751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22752 ac_datarootdir_hack='
22753 s&@datadir@&$datadir&g
22754 s&@docdir@&$docdir&g
22755 s&@infodir@&$infodir&g
22756 s&@localedir@&$localedir&g
22757 s&@mandir@&$mandir&g
22758 s&\\\${datarootdir}&$datarootdir&g' ;;
22759 esac
22760 _ACEOF
22762 # Neutralize VPATH when `$srcdir' = `.'.
22763 # Shell code in configure.ac might set extrasub.
22764 # FIXME: do we really want to maintain this feature?
22765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22766 ac_sed_extra="$ac_vpsub
22767 $extrasub
22768 _ACEOF
22769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22771 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22772 s|@configure_input@|$ac_sed_conf_input|;t t
22773 s&@top_builddir@&$ac_top_builddir_sub&;t t
22774 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22775 s&@srcdir@&$ac_srcdir&;t t
22776 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22777 s&@top_srcdir@&$ac_top_srcdir&;t t
22778 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22779 s&@builddir@&$ac_builddir&;t t
22780 s&@abs_builddir@&$ac_abs_builddir&;t t
22781 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22782 $ac_datarootdir_hack
22784 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22785 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22787 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22788 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22789 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22790 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22792 which seems to be undefined. Please make sure it is defined" >&5
22793 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22794 which seems to be undefined. Please make sure it is defined" >&2;}
22796 rm -f "$ac_tmp/stdin"
22797 case $ac_file in
22798 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22799 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22800 esac \
22801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22805 # CONFIG_HEADER
22807 if test x"$ac_file" != x-; then
22809 $as_echo "/* $configure_input */" \
22810 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22811 } >"$ac_tmp/config.h" \
22812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22813 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22815 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22816 else
22817 rm -f "$ac_file"
22818 mv "$ac_tmp/config.h" "$ac_file" \
22819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22821 else
22822 $as_echo "/* $configure_input */" \
22823 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22824 || as_fn_error $? "could not create -" "$LINENO" 5
22829 # CONFIG_LINK
22832 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22834 else
22835 # Prefer the file from the source tree if names are identical.
22836 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22837 ac_source=$srcdir/$ac_source
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22841 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22843 if test ! -r "$ac_source"; then
22844 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22846 rm -f "$ac_file"
22848 # Try a relative symlink, then a hard link, then a copy.
22849 case $ac_source in
22850 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22851 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22852 esac
22853 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22854 ln "$ac_source" "$ac_file" 2>/dev/null ||
22855 cp -p "$ac_source" "$ac_file" ||
22856 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22859 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22860 $as_echo "$as_me: executing $ac_file commands" >&6;}
22862 esac
22865 case $ac_file$ac_mode in
22866 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22867 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22868 "Makefile":C) wine_fn_output_makefile Makefile ;;
22870 esac
22871 done # for ac_tag
22874 as_fn_exit 0
22875 _ACEOF
22876 ac_clean_files=$ac_clean_files_save
22878 test $ac_write_fail = 0 ||
22879 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22882 # configure is writing to config.log, and then calls config.status.
22883 # config.status does its own redirection, appending to config.log.
22884 # Unfortunately, on DOS this fails, as config.log is still kept open
22885 # by configure, so config.status won't be able to write to it; its
22886 # output is simply discarded. So we exec the FD to /dev/null,
22887 # effectively closing config.log, so it can be properly (re)opened and
22888 # appended to by config.status. When coming back to configure, we
22889 # need to make the FD available again.
22890 if test "$no_create" != yes; then
22891 ac_cs_success=:
22892 ac_config_status_args=
22893 test "$silent" = yes &&
22894 ac_config_status_args="$ac_config_status_args --quiet"
22895 exec 5>/dev/null
22896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22897 exec 5>>config.log
22898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22899 # would make configure fail if this is the last instruction.
22900 $ac_cs_success || as_fn_exit 1
22902 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22904 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22908 if test "$no_create" = "yes"
22909 then
22910 exit 0
22913 ac_save_IFS="$IFS"
22914 if test "x$wine_notices" != x; then
22915 echo >&6
22916 IFS="|"
22917 for msg in $wine_notices; do
22918 IFS="$ac_save_IFS"
22919 if ${msg:+false} :; then :
22921 else
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22923 $as_echo "$as_me: $msg" >&6;}
22925 done
22927 IFS="|"
22928 for msg in $wine_warnings; do
22929 IFS="$ac_save_IFS"
22930 if ${msg:+false} :; then :
22932 else
22933 echo >&2
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22935 $as_echo "$as_me: WARNING: $msg" >&2;}
22937 done
22938 IFS="$ac_save_IFS"
22940 $as_echo "
22941 $as_me: Finished. Do '${ac_make}' to compile Wine.
22942 " >&6