mshtml: Use variant_to_nsstr in IHTMLIFrameElement2::put_width.
[wine.git] / configure
blobee0439425ab4db06738a3132a5e2b7463fbd8f10
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_whoami
1811 enable_wineboot
1812 enable_winebrowser
1813 enable_winecfg
1814 enable_wineconsole
1815 enable_winedbg
1816 enable_winedevice
1817 enable_winefile
1818 enable_winemenubuilder
1819 enable_winemine
1820 enable_winemsibuilder
1821 enable_winepath
1822 enable_winetest
1823 enable_winhlp32
1824 enable_winmgmt
1825 enable_winver
1826 enable_wmic
1827 enable_wmplayer
1828 enable_wordpad
1829 enable_write
1830 enable_wscript
1831 enable_wuauserv
1832 enable_wusa
1833 enable_xcopy
1834 enable_server
1835 enable_tools
1836 enable_sfnt2fon
1837 enable_widl
1838 enable_winebuild
1839 enable_winedump
1840 enable_winegcc
1841 enable_winemaker
1842 enable_wmc
1843 enable_wrc
1845 ac_precious_vars='build_alias
1846 host_alias
1847 target_alias
1849 CFLAGS
1850 LDFLAGS
1851 LIBS
1852 CPPFLAGS
1854 CXXFLAGS
1857 OBJC
1858 OBJCFLAGS
1859 OBJCPP
1860 XMKMF
1861 XML2_CFLAGS
1862 XML2_LIBS
1863 XSLT_CFLAGS
1864 XSLT_LIBS
1865 INOTIFY_CFLAGS
1866 INOTIFY_LIBS
1867 DBUS_CFLAGS
1868 DBUS_LIBS
1869 HAL_CFLAGS
1870 HAL_LIBS
1871 GNUTLS_CFLAGS
1872 GNUTLS_LIBS
1873 SANE_CFLAGS
1874 SANE_LIBS
1875 USB_CFLAGS
1876 USB_LIBS
1877 GPHOTO2_CFLAGS
1878 GPHOTO2_LIBS
1879 GPHOTO2_PORT_CFLAGS
1880 GPHOTO2_PORT_LIBS
1881 LCMS2_CFLAGS
1882 LCMS2_LIBS
1883 FREETYPE_CFLAGS
1884 FREETYPE_LIBS
1885 PULSE_CFLAGS
1886 PULSE_LIBS
1887 GSTREAMER_CFLAGS
1888 GSTREAMER_LIBS
1889 UDEV_CFLAGS
1890 UDEV_LIBS
1891 UNWIND_CFLAGS
1892 UNWIND_LIBS
1893 SDL2_CFLAGS
1894 SDL2_LIBS
1895 FAUDIO_CFLAGS
1896 FAUDIO_LIBS
1897 CAPI20_CFLAGS
1898 CAPI20_LIBS
1899 CUPS_CFLAGS
1900 CUPS_LIBS
1901 FONTCONFIG_CFLAGS
1902 FONTCONFIG_LIBS
1903 KRB5_CFLAGS
1904 KRB5_LIBS
1905 GSSAPI_CFLAGS
1906 GSSAPI_LIBS
1907 JPEG_CFLAGS
1908 JPEG_LIBS
1909 PNG_CFLAGS
1910 PNG_LIBS
1911 TIFF_CFLAGS
1912 TIFF_LIBS
1913 MPG123_CFLAGS
1914 MPG123_LIBS
1915 NETAPI_CFLAGS
1916 NETAPI_LIBS
1917 VKD3D_CFLAGS
1918 VKD3D_LIBS
1919 LDAP_CFLAGS
1920 LDAP_LIBS'
1923 # Initialize some variables set by options.
1924 ac_init_help=
1925 ac_init_version=false
1926 ac_unrecognized_opts=
1927 ac_unrecognized_sep=
1928 # The variables have the same names as the options, with
1929 # dashes changed to underlines.
1930 cache_file=/dev/null
1931 exec_prefix=NONE
1932 no_create=
1933 no_recursion=
1934 prefix=NONE
1935 program_prefix=NONE
1936 program_suffix=NONE
1937 program_transform_name=s,x,x,
1938 silent=
1939 site=
1940 srcdir=
1941 verbose=
1942 x_includes=NONE
1943 x_libraries=NONE
1945 # Installation directory options.
1946 # These are left unexpanded so users can "make install exec_prefix=/foo"
1947 # and all the variables that are supposed to be based on exec_prefix
1948 # by default will actually change.
1949 # Use braces instead of parens because sh, perl, etc. also accept them.
1950 # (The list follows the same order as the GNU Coding Standards.)
1951 bindir='${exec_prefix}/bin'
1952 sbindir='${exec_prefix}/sbin'
1953 libexecdir='${exec_prefix}/libexec'
1954 datarootdir='${prefix}/share'
1955 datadir='${datarootdir}'
1956 sysconfdir='${prefix}/etc'
1957 sharedstatedir='${prefix}/com'
1958 localstatedir='${prefix}/var'
1959 runstatedir='${localstatedir}/run'
1960 includedir='${prefix}/include'
1961 oldincludedir='/usr/include'
1962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1963 infodir='${datarootdir}/info'
1964 htmldir='${docdir}'
1965 dvidir='${docdir}'
1966 pdfdir='${docdir}'
1967 psdir='${docdir}'
1968 libdir='${exec_prefix}/lib'
1969 localedir='${datarootdir}/locale'
1970 mandir='${datarootdir}/man'
1972 ac_prev=
1973 ac_dashdash=
1974 for ac_option
1976 # If the previous option needs an argument, assign it.
1977 if test -n "$ac_prev"; then
1978 eval $ac_prev=\$ac_option
1979 ac_prev=
1980 continue
1983 case $ac_option in
1984 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1985 *=) ac_optarg= ;;
1986 *) ac_optarg=yes ;;
1987 esac
1989 # Accept the important Cygnus configure options, so we can diagnose typos.
1991 case $ac_dashdash$ac_option in
1993 ac_dashdash=yes ;;
1995 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1996 ac_prev=bindir ;;
1997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1998 bindir=$ac_optarg ;;
2000 -build | --build | --buil | --bui | --bu)
2001 ac_prev=build_alias ;;
2002 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2003 build_alias=$ac_optarg ;;
2005 -cache-file | --cache-file | --cache-fil | --cache-fi \
2006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2007 ac_prev=cache_file ;;
2008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2010 cache_file=$ac_optarg ;;
2012 --config-cache | -C)
2013 cache_file=config.cache ;;
2015 -datadir | --datadir | --datadi | --datad)
2016 ac_prev=datadir ;;
2017 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2018 datadir=$ac_optarg ;;
2020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2021 | --dataroo | --dataro | --datar)
2022 ac_prev=datarootdir ;;
2023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2025 datarootdir=$ac_optarg ;;
2027 -disable-* | --disable-*)
2028 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2029 # Reject names that are not valid shell variable names.
2030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2031 as_fn_error $? "invalid feature name: $ac_useropt"
2032 ac_useropt_orig=$ac_useropt
2033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2034 case $ac_user_opts in
2036 "enable_$ac_useropt"
2037 "*) ;;
2038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2039 ac_unrecognized_sep=', ';;
2040 esac
2041 eval enable_$ac_useropt=no ;;
2043 -docdir | --docdir | --docdi | --doc | --do)
2044 ac_prev=docdir ;;
2045 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2046 docdir=$ac_optarg ;;
2048 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2049 ac_prev=dvidir ;;
2050 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2051 dvidir=$ac_optarg ;;
2053 -enable-* | --enable-*)
2054 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2055 # Reject names that are not valid shell variable names.
2056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2057 as_fn_error $? "invalid feature name: $ac_useropt"
2058 ac_useropt_orig=$ac_useropt
2059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2060 case $ac_user_opts in
2062 "enable_$ac_useropt"
2063 "*) ;;
2064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2065 ac_unrecognized_sep=', ';;
2066 esac
2067 eval enable_$ac_useropt=\$ac_optarg ;;
2069 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2070 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2071 | --exec | --exe | --ex)
2072 ac_prev=exec_prefix ;;
2073 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2074 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2075 | --exec=* | --exe=* | --ex=*)
2076 exec_prefix=$ac_optarg ;;
2078 -gas | --gas | --ga | --g)
2079 # Obsolete; use --with-gas.
2080 with_gas=yes ;;
2082 -help | --help | --hel | --he | -h)
2083 ac_init_help=long ;;
2084 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2085 ac_init_help=recursive ;;
2086 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2087 ac_init_help=short ;;
2089 -host | --host | --hos | --ho)
2090 ac_prev=host_alias ;;
2091 -host=* | --host=* | --hos=* | --ho=*)
2092 host_alias=$ac_optarg ;;
2094 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2095 ac_prev=htmldir ;;
2096 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2097 | --ht=*)
2098 htmldir=$ac_optarg ;;
2100 -includedir | --includedir | --includedi | --included | --include \
2101 | --includ | --inclu | --incl | --inc)
2102 ac_prev=includedir ;;
2103 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2104 | --includ=* | --inclu=* | --incl=* | --inc=*)
2105 includedir=$ac_optarg ;;
2107 -infodir | --infodir | --infodi | --infod | --info | --inf)
2108 ac_prev=infodir ;;
2109 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2110 infodir=$ac_optarg ;;
2112 -libdir | --libdir | --libdi | --libd)
2113 ac_prev=libdir ;;
2114 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2115 libdir=$ac_optarg ;;
2117 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2118 | --libexe | --libex | --libe)
2119 ac_prev=libexecdir ;;
2120 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2121 | --libexe=* | --libex=* | --libe=*)
2122 libexecdir=$ac_optarg ;;
2124 -localedir | --localedir | --localedi | --localed | --locale)
2125 ac_prev=localedir ;;
2126 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2127 localedir=$ac_optarg ;;
2129 -localstatedir | --localstatedir | --localstatedi | --localstated \
2130 | --localstate | --localstat | --localsta | --localst | --locals)
2131 ac_prev=localstatedir ;;
2132 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2133 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2134 localstatedir=$ac_optarg ;;
2136 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2137 ac_prev=mandir ;;
2138 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2139 mandir=$ac_optarg ;;
2141 -nfp | --nfp | --nf)
2142 # Obsolete; use --without-fp.
2143 with_fp=no ;;
2145 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2146 | --no-cr | --no-c | -n)
2147 no_create=yes ;;
2149 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2150 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2151 no_recursion=yes ;;
2153 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2154 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2155 | --oldin | --oldi | --old | --ol | --o)
2156 ac_prev=oldincludedir ;;
2157 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2158 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2159 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2160 oldincludedir=$ac_optarg ;;
2162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2163 ac_prev=prefix ;;
2164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2165 prefix=$ac_optarg ;;
2167 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2168 | --program-pre | --program-pr | --program-p)
2169 ac_prev=program_prefix ;;
2170 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2171 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2172 program_prefix=$ac_optarg ;;
2174 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2175 | --program-suf | --program-su | --program-s)
2176 ac_prev=program_suffix ;;
2177 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2178 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2179 program_suffix=$ac_optarg ;;
2181 -program-transform-name | --program-transform-name \
2182 | --program-transform-nam | --program-transform-na \
2183 | --program-transform-n | --program-transform- \
2184 | --program-transform | --program-transfor \
2185 | --program-transfo | --program-transf \
2186 | --program-trans | --program-tran \
2187 | --progr-tra | --program-tr | --program-t)
2188 ac_prev=program_transform_name ;;
2189 -program-transform-name=* | --program-transform-name=* \
2190 | --program-transform-nam=* | --program-transform-na=* \
2191 | --program-transform-n=* | --program-transform-=* \
2192 | --program-transform=* | --program-transfor=* \
2193 | --program-transfo=* | --program-transf=* \
2194 | --program-trans=* | --program-tran=* \
2195 | --progr-tra=* | --program-tr=* | --program-t=*)
2196 program_transform_name=$ac_optarg ;;
2198 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2199 ac_prev=pdfdir ;;
2200 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2201 pdfdir=$ac_optarg ;;
2203 -psdir | --psdir | --psdi | --psd | --ps)
2204 ac_prev=psdir ;;
2205 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2206 psdir=$ac_optarg ;;
2208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2209 | -silent | --silent | --silen | --sile | --sil)
2210 silent=yes ;;
2212 -runstatedir | --runstatedir | --runstatedi | --runstated \
2213 | --runstate | --runstat | --runsta | --runst | --runs \
2214 | --run | --ru | --r)
2215 ac_prev=runstatedir ;;
2216 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2217 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2218 | --run=* | --ru=* | --r=*)
2219 runstatedir=$ac_optarg ;;
2221 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2222 ac_prev=sbindir ;;
2223 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2224 | --sbi=* | --sb=*)
2225 sbindir=$ac_optarg ;;
2227 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2228 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2229 | --sharedst | --shareds | --shared | --share | --shar \
2230 | --sha | --sh)
2231 ac_prev=sharedstatedir ;;
2232 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2233 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2234 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2235 | --sha=* | --sh=*)
2236 sharedstatedir=$ac_optarg ;;
2238 -site | --site | --sit)
2239 ac_prev=site ;;
2240 -site=* | --site=* | --sit=*)
2241 site=$ac_optarg ;;
2243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2244 ac_prev=srcdir ;;
2245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2246 srcdir=$ac_optarg ;;
2248 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2249 | --syscon | --sysco | --sysc | --sys | --sy)
2250 ac_prev=sysconfdir ;;
2251 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2252 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2253 sysconfdir=$ac_optarg ;;
2255 -target | --target | --targe | --targ | --tar | --ta | --t)
2256 ac_prev=target_alias ;;
2257 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2258 target_alias=$ac_optarg ;;
2260 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2261 verbose=yes ;;
2263 -version | --version | --versio | --versi | --vers | -V)
2264 ac_init_version=: ;;
2266 -with-* | --with-*)
2267 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2268 # Reject names that are not valid shell variable names.
2269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2270 as_fn_error $? "invalid package name: $ac_useropt"
2271 ac_useropt_orig=$ac_useropt
2272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2273 case $ac_user_opts in
2275 "with_$ac_useropt"
2276 "*) ;;
2277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2278 ac_unrecognized_sep=', ';;
2279 esac
2280 eval with_$ac_useropt=\$ac_optarg ;;
2282 -without-* | --without-*)
2283 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2284 # Reject names that are not valid shell variable names.
2285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2286 as_fn_error $? "invalid package name: $ac_useropt"
2287 ac_useropt_orig=$ac_useropt
2288 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2289 case $ac_user_opts in
2291 "with_$ac_useropt"
2292 "*) ;;
2293 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2294 ac_unrecognized_sep=', ';;
2295 esac
2296 eval with_$ac_useropt=no ;;
2298 --x)
2299 # Obsolete; use --with-x.
2300 with_x=yes ;;
2302 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2303 | --x-incl | --x-inc | --x-in | --x-i)
2304 ac_prev=x_includes ;;
2305 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2306 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2307 x_includes=$ac_optarg ;;
2309 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2310 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2311 ac_prev=x_libraries ;;
2312 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2313 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2314 x_libraries=$ac_optarg ;;
2316 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2317 Try \`$0 --help' for more information"
2320 *=*)
2321 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2322 # Reject names that are not valid shell variable names.
2323 case $ac_envvar in #(
2324 '' | [0-9]* | *[!_$as_cr_alnum]* )
2325 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2326 esac
2327 eval $ac_envvar=\$ac_optarg
2328 export $ac_envvar ;;
2331 # FIXME: should be removed in autoconf 3.0.
2332 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2334 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2335 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2338 esac
2339 done
2341 if test -n "$ac_prev"; then
2342 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2343 as_fn_error $? "missing argument to $ac_option"
2346 if test -n "$ac_unrecognized_opts"; then
2347 case $enable_option_checking in
2348 no) ;;
2349 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2351 esac
2354 # Check all directory arguments for consistency.
2355 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2356 datadir sysconfdir sharedstatedir localstatedir includedir \
2357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2358 libdir localedir mandir runstatedir
2360 eval ac_val=\$$ac_var
2361 # Remove trailing slashes.
2362 case $ac_val in
2363 */ )
2364 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2365 eval $ac_var=\$ac_val;;
2366 esac
2367 # Be sure to have absolute directory names.
2368 case $ac_val in
2369 [\\/$]* | ?:[\\/]* ) continue;;
2370 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2371 esac
2372 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2373 done
2375 # There might be people who depend on the old broken behavior: `$host'
2376 # used to hold the argument of --host etc.
2377 # FIXME: To remove some day.
2378 build=$build_alias
2379 host=$host_alias
2380 target=$target_alias
2382 # FIXME: To remove some day.
2383 if test "x$host_alias" != x; then
2384 if test "x$build_alias" = x; then
2385 cross_compiling=maybe
2386 elif test "x$build_alias" != "x$host_alias"; then
2387 cross_compiling=yes
2391 ac_tool_prefix=
2392 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2394 test "$silent" = yes && exec 6>/dev/null
2397 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2398 ac_ls_di=`ls -di .` &&
2399 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2400 as_fn_error $? "working directory cannot be determined"
2401 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2402 as_fn_error $? "pwd does not report name of working directory"
2405 # Find the source files, if location was not specified.
2406 if test -z "$srcdir"; then
2407 ac_srcdir_defaulted=yes
2408 # Try the directory containing this script, then the parent directory.
2409 ac_confdir=`$as_dirname -- "$as_myself" ||
2410 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2411 X"$as_myself" : 'X\(//\)[^/]' \| \
2412 X"$as_myself" : 'X\(//\)$' \| \
2413 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2414 $as_echo X"$as_myself" |
2415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2416 s//\1/
2419 /^X\(\/\/\)[^/].*/{
2420 s//\1/
2423 /^X\(\/\/\)$/{
2424 s//\1/
2427 /^X\(\/\).*/{
2428 s//\1/
2431 s/.*/./; q'`
2432 srcdir=$ac_confdir
2433 if test ! -r "$srcdir/$ac_unique_file"; then
2434 srcdir=..
2436 else
2437 ac_srcdir_defaulted=no
2439 if test ! -r "$srcdir/$ac_unique_file"; then
2440 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2441 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2443 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2444 ac_abs_confdir=`(
2445 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2446 pwd)`
2447 # When building in place, set srcdir=.
2448 if test "$ac_abs_confdir" = "$ac_pwd"; then
2449 srcdir=.
2451 # Remove unnecessary trailing slashes from srcdir.
2452 # Double slashes in file names in object file debugging info
2453 # mess up M-x gdb in Emacs.
2454 case $srcdir in
2455 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2456 esac
2457 for ac_var in $ac_precious_vars; do
2458 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2459 eval ac_env_${ac_var}_value=\$${ac_var}
2460 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2461 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2462 done
2465 # Report the --help message.
2467 if test "$ac_init_help" = "long"; then
2468 # Omit some internal or obsolete options to make the list less imposing.
2469 # This message is too long to be a string in the A/UX 3.1 sh.
2470 cat <<_ACEOF
2471 \`configure' configures Wine 5.11 to adapt to many kinds of systems.
2473 Usage: $0 [OPTION]... [VAR=VALUE]...
2475 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2476 VAR=VALUE. See below for descriptions of some of the useful variables.
2478 Defaults for the options are specified in brackets.
2480 Configuration:
2481 -h, --help display this help and exit
2482 --help=short display options specific to this package
2483 --help=recursive display the short help of all the included packages
2484 -V, --version display version information and exit
2485 -q, --quiet, --silent do not print \`checking ...' messages
2486 --cache-file=FILE cache test results in FILE [disabled]
2487 -C, --config-cache alias for \`--cache-file=config.cache'
2488 -n, --no-create do not create output files
2489 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2491 Installation directories:
2492 --prefix=PREFIX install architecture-independent files in PREFIX
2493 [$ac_default_prefix]
2494 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2495 [PREFIX]
2497 By default, \`make install' will install all the files in
2498 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2499 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2500 for instance \`--prefix=\$HOME'.
2502 For better control, use the options below.
2504 Fine tuning of the installation directories:
2505 --bindir=DIR user executables [EPREFIX/bin]
2506 --sbindir=DIR system admin executables [EPREFIX/sbin]
2507 --libexecdir=DIR program executables [EPREFIX/libexec]
2508 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2509 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2510 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2511 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2512 --libdir=DIR object code libraries [EPREFIX/lib]
2513 --includedir=DIR C header files [PREFIX/include]
2514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2517 --infodir=DIR info documentation [DATAROOTDIR/info]
2518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2519 --mandir=DIR man documentation [DATAROOTDIR/man]
2520 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2521 --htmldir=DIR html documentation [DOCDIR]
2522 --dvidir=DIR dvi documentation [DOCDIR]
2523 --pdfdir=DIR pdf documentation [DOCDIR]
2524 --psdir=DIR ps documentation [DOCDIR]
2525 _ACEOF
2527 cat <<\_ACEOF
2529 X features:
2530 --x-includes=DIR X include files are in DIR
2531 --x-libraries=DIR X library files are in DIR
2533 System types:
2534 --build=BUILD configure for building on BUILD [guessed]
2535 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2536 _ACEOF
2539 if test -n "$ac_init_help"; then
2540 case $ac_init_help in
2541 short | recursive ) echo "Configuration of Wine 5.11:";;
2542 esac
2543 cat <<\_ACEOF
2545 Optional Features:
2546 --disable-option-checking ignore unrecognized --enable/--with options
2547 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2548 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2549 --disable-win16 do not include Win16 support
2550 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2551 binaries)
2552 --disable-tests do not build the regression tests
2553 --enable-maintainer-mode
2554 enable maintainer-specific build rules
2555 --enable-werror treat compilation warnings as errors
2556 --disable-largefile omit support for large files
2558 Optional Packages:
2559 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2560 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2561 --without-alsa do not use the Alsa sound support
2562 --without-capi do not use CAPI (ISDN support)
2563 --without-cms do not use CMS (color management support)
2564 --without-coreaudio do not use the CoreAudio sound support
2565 --without-cups do not use CUPS
2566 --without-curses do not use (n)curses
2567 --without-dbus do not use DBus (dynamic device support)
2568 --without-faudio do not use FAudio (XAudio2 support)
2569 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2570 --without-fontconfig do not use fontconfig
2571 --without-freetype do not use the FreeType library
2572 --without-gettext do not use gettext
2573 --with-gettextpo use the GetTextPO library to rebuild po files
2574 --without-gphoto do not use gphoto (Digital Camera support)
2575 --without-glu do not use the GLU library
2576 --without-gnutls do not use GnuTLS (schannel support)
2577 --without-gsm do not use libgsm (GSM 06.10 codec support)
2578 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2579 --without-gstreamer do not use GStreamer (codecs support)
2580 --without-hal do not use HAL (dynamic device support)
2581 --without-inotify do not use inotify (filesystem change notifications)
2582 --without-jpeg do not use JPEG
2583 --without-krb5 do not use krb5 (Kerberos)
2584 --without-ldap do not use LDAP
2585 --without-mingw do not use the MinGW cross-compiler
2586 --without-mpg123 do not use the mpg123 library
2587 --without-netapi do not use the Samba NetAPI library
2588 --without-openal do not use OpenAL
2589 --without-opencl do not use OpenCL
2590 --without-opengl do not use OpenGL
2591 --without-osmesa do not use the OSMesa library
2592 --without-oss do not use the OSS sound support
2593 --without-pcap do not use the Packet Capture library
2594 --without-png do not use PNG
2595 --without-pthread do not use the pthread library
2596 --without-pulse do not use PulseAudio sound support
2597 --without-sane do not use SANE (scanner support)
2598 --without-sdl do not use SDL
2599 --without-tiff do not use TIFF
2600 --without-udev do not use udev (plug and play support)
2601 --without-unwind do not use the libunwind library (exception
2602 handling)
2603 --without-usb do not use the libusb library
2604 --without-v4l2 do not use v4l2 (video capture)
2605 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2606 --without-vulkan do not use Vulkan
2607 --without-xcomposite do not use the Xcomposite extension
2608 --without-xcursor do not use the Xcursor extension
2609 --without-xfixes do not use Xfixes for clipboard change notifications
2610 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2611 --without-xinput do not use the Xinput extension
2612 --without-xinput2 do not use the Xinput 2 extension
2613 --without-xml do not use XML
2614 --without-xrandr do not use Xrandr (multi-monitor support)
2615 --without-xrender do not use the Xrender extension
2616 --without-xshape do not use the Xshape extension
2617 --without-xshm do not use XShm (shared memory extension)
2618 --without-xslt do not use XSLT
2619 --without-xxf86vm do not use XFree video mode extension
2620 --with-wine-tools=DIR use Wine tools from directory DIR
2621 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2622 --with-x use the X Window System
2624 Some influential environment variables:
2625 CC C compiler command
2626 CFLAGS C compiler flags
2627 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2628 nonstandard directory <lib dir>
2629 LIBS libraries to pass to the linker, e.g. -l<library>
2630 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2631 you have headers in a nonstandard directory <include dir>
2632 CXX C++ compiler command
2633 CXXFLAGS C++ compiler flags
2634 CPP C preprocessor
2635 OBJC Objective C compiler command
2636 OBJCFLAGS Objective C compiler flags
2637 OBJCPP Objective C preprocessor
2638 XMKMF Path to xmkmf, Makefile generator for X Window System
2639 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2640 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2641 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2642 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2643 INOTIFY_CFLAGS
2644 C compiler flags for libinotify, overriding pkg-config
2645 INOTIFY_LIBS
2646 Linker flags for libinotify, overriding pkg-config
2647 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2648 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2649 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2650 HAL_LIBS Linker flags for hal, overriding pkg-config
2651 GNUTLS_CFLAGS
2652 C compiler flags for gnutls, overriding pkg-config
2653 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2654 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2655 SANE_LIBS Linker flags for libsane, overriding pkg-config
2656 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2657 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2658 GPHOTO2_CFLAGS
2659 C compiler flags for libgphoto2, overriding pkg-config
2660 GPHOTO2_LIBS
2661 Linker flags for libgphoto2, overriding pkg-config
2662 GPHOTO2_PORT_CFLAGS
2663 C compiler flags for libgphoto2_port, overriding pkg-config
2664 GPHOTO2_PORT_LIBS
2665 Linker flags for libgphoto2_port, overriding pkg-config
2666 LCMS2_CFLAGS
2667 C compiler flags for lcms2, overriding pkg-config
2668 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2669 FREETYPE_CFLAGS
2670 C compiler flags for freetype2, overriding pkg-config
2671 FREETYPE_LIBS
2672 Linker flags for freetype2, overriding pkg-config
2673 PULSE_CFLAGS
2674 C compiler flags for libpulse, overriding pkg-config
2675 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2676 GSTREAMER_CFLAGS
2677 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2678 gstreamer-audio-1.0, overriding pkg-config
2679 GSTREAMER_LIBS
2680 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2681 gstreamer-audio-1.0, overriding pkg-config
2682 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2683 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2684 UNWIND_CFLAGS
2685 C compiler flags for libunwind, overriding pkg-config
2686 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2687 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2688 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2689 FAUDIO_CFLAGS
2690 C compiler flags for faudio, overriding pkg-config
2691 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2692 CAPI20_CFLAGS
2693 C compiler flags for capi20, overriding pkg-config
2694 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2695 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2696 CUPS_LIBS Linker flags for cups, overriding pkg-config
2697 FONTCONFIG_CFLAGS
2698 C compiler flags for fontconfig, overriding pkg-config
2699 FONTCONFIG_LIBS
2700 Linker flags for fontconfig, overriding pkg-config
2701 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2702 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2703 GSSAPI_CFLAGS
2704 C compiler flags for krb5-gssapi, overriding pkg-config
2705 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2706 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2707 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2708 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2709 PNG_LIBS Linker flags for libpng, overriding pkg-config
2710 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2711 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2712 MPG123_CFLAGS
2713 C compiler flags for libmpg123, overriding pkg-config
2714 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2715 NETAPI_CFLAGS
2716 C compiler flags for netapi, overriding pkg-config
2717 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2718 VKD3D_CFLAGS
2719 C compiler flags for libvkd3d, overriding pkg-config
2720 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2721 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2722 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2724 Use these variables to override the choices made by `configure' or to help
2725 it to find libraries and programs with nonstandard names/locations.
2727 Report bugs to <wine-devel@winehq.org>.
2728 Wine home page: <https://www.winehq.org>.
2729 _ACEOF
2730 ac_status=$?
2733 if test "$ac_init_help" = "recursive"; then
2734 # If there are subdirs, report their specific --help.
2735 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2736 test -d "$ac_dir" ||
2737 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2738 continue
2739 ac_builddir=.
2741 case "$ac_dir" in
2742 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2744 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2745 # A ".." for each directory in $ac_dir_suffix.
2746 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2747 case $ac_top_builddir_sub in
2748 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2749 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2750 esac ;;
2751 esac
2752 ac_abs_top_builddir=$ac_pwd
2753 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2754 # for backward compatibility:
2755 ac_top_builddir=$ac_top_build_prefix
2757 case $srcdir in
2758 .) # We are building in place.
2759 ac_srcdir=.
2760 ac_top_srcdir=$ac_top_builddir_sub
2761 ac_abs_top_srcdir=$ac_pwd ;;
2762 [\\/]* | ?:[\\/]* ) # Absolute name.
2763 ac_srcdir=$srcdir$ac_dir_suffix;
2764 ac_top_srcdir=$srcdir
2765 ac_abs_top_srcdir=$srcdir ;;
2766 *) # Relative name.
2767 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2768 ac_top_srcdir=$ac_top_build_prefix$srcdir
2769 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2770 esac
2771 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2773 cd "$ac_dir" || { ac_status=$?; continue; }
2774 # Check for guested configure.
2775 if test -f "$ac_srcdir/configure.gnu"; then
2776 echo &&
2777 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2778 elif test -f "$ac_srcdir/configure"; then
2779 echo &&
2780 $SHELL "$ac_srcdir/configure" --help=recursive
2781 else
2782 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2783 fi || ac_status=$?
2784 cd "$ac_pwd" || { ac_status=$?; break; }
2785 done
2788 test -n "$ac_init_help" && exit $ac_status
2789 if $ac_init_version; then
2790 cat <<\_ACEOF
2791 Wine configure 5.11
2792 generated by GNU Autoconf 2.69
2794 Copyright (C) 2012 Free Software Foundation, Inc.
2795 This configure script is free software; the Free Software Foundation
2796 gives unlimited permission to copy, distribute and modify it.
2797 _ACEOF
2798 exit
2801 ## ------------------------ ##
2802 ## Autoconf initialization. ##
2803 ## ------------------------ ##
2805 # ac_fn_c_try_compile LINENO
2806 # --------------------------
2807 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2808 ac_fn_c_try_compile ()
2810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2811 rm -f conftest.$ac_objext
2812 if { { ac_try="$ac_compile"
2813 case "(($ac_try" in
2814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2815 *) ac_try_echo=$ac_try;;
2816 esac
2817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2818 $as_echo "$ac_try_echo"; } >&5
2819 (eval "$ac_compile") 2>conftest.err
2820 ac_status=$?
2821 if test -s conftest.err; then
2822 grep -v '^ *+' conftest.err >conftest.er1
2823 cat conftest.er1 >&5
2824 mv -f conftest.er1 conftest.err
2826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2827 test $ac_status = 0; } && {
2828 test -z "$ac_c_werror_flag" ||
2829 test ! -s conftest.err
2830 } && test -s conftest.$ac_objext; then :
2831 ac_retval=0
2832 else
2833 $as_echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2836 ac_retval=1
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 as_fn_set_status $ac_retval
2841 } # ac_fn_c_try_compile
2843 # ac_fn_cxx_try_compile LINENO
2844 # ----------------------------
2845 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2846 ac_fn_cxx_try_compile ()
2848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2849 rm -f conftest.$ac_objext
2850 if { { ac_try="$ac_compile"
2851 case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2854 esac
2855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2856 $as_echo "$ac_try_echo"; } >&5
2857 (eval "$ac_compile") 2>conftest.err
2858 ac_status=$?
2859 if test -s conftest.err; then
2860 grep -v '^ *+' conftest.err >conftest.er1
2861 cat conftest.er1 >&5
2862 mv -f conftest.er1 conftest.err
2864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2865 test $ac_status = 0; } && {
2866 test -z "$ac_cxx_werror_flag" ||
2867 test ! -s conftest.err
2868 } && test -s conftest.$ac_objext; then :
2869 ac_retval=0
2870 else
2871 $as_echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2874 ac_retval=1
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2877 as_fn_set_status $ac_retval
2879 } # ac_fn_cxx_try_compile
2881 # ac_fn_c_try_link LINENO
2882 # -----------------------
2883 # Try to link conftest.$ac_ext, and return whether this succeeded.
2884 ac_fn_c_try_link ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 rm -f conftest.$ac_objext conftest$ac_exeext
2888 if { { ac_try="$ac_link"
2889 case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892 esac
2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894 $as_echo "$ac_try_echo"; } >&5
2895 (eval "$ac_link") 2>conftest.err
2896 ac_status=$?
2897 if test -s conftest.err; then
2898 grep -v '^ *+' conftest.err >conftest.er1
2899 cat conftest.er1 >&5
2900 mv -f conftest.er1 conftest.err
2902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; } && {
2904 test -z "$ac_c_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest$ac_exeext && {
2907 test "$cross_compiling" = yes ||
2908 test -x conftest$ac_exeext
2909 }; then :
2910 ac_retval=0
2911 else
2912 $as_echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2915 ac_retval=1
2917 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2918 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2919 # interfere with the next link command; also delete a directory that is
2920 # left behind by Apple's compiler. We do this before executing the actions.
2921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2923 as_fn_set_status $ac_retval
2925 } # ac_fn_c_try_link
2927 # ac_fn_c_try_cpp LINENO
2928 # ----------------------
2929 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2930 ac_fn_c_try_cpp ()
2932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2933 if { { ac_try="$ac_cpp conftest.$ac_ext"
2934 case "(($ac_try" in
2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2937 esac
2938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2939 $as_echo "$ac_try_echo"; } >&5
2940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2941 ac_status=$?
2942 if test -s conftest.err; then
2943 grep -v '^ *+' conftest.err >conftest.er1
2944 cat conftest.er1 >&5
2945 mv -f conftest.er1 conftest.err
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; } > conftest.i && {
2949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 }; then :
2952 ac_retval=0
2953 else
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 ac_retval=1
2959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2960 as_fn_set_status $ac_retval
2962 } # ac_fn_c_try_cpp
2964 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2965 # -------------------------------------------------------
2966 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2967 # the include files in INCLUDES and setting the cache variable VAR
2968 # accordingly.
2969 ac_fn_c_check_header_mongrel ()
2971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972 if eval \${$3+:} false; then :
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2974 $as_echo_n "checking for $2... " >&6; }
2975 if eval \${$3+:} false; then :
2976 $as_echo_n "(cached) " >&6
2978 eval ac_res=\$$3
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2980 $as_echo "$ac_res" >&6; }
2981 else
2982 # Is the header compilable?
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2984 $as_echo_n "checking $2 usability... " >&6; }
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2988 #include <$2>
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991 ac_header_compiler=yes
2992 else
2993 ac_header_compiler=no
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2997 $as_echo "$ac_header_compiler" >&6; }
2999 # Is the header present?
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3001 $as_echo_n "checking $2 presence... " >&6; }
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3004 #include <$2>
3005 _ACEOF
3006 if ac_fn_c_try_cpp "$LINENO"; then :
3007 ac_header_preproc=yes
3008 else
3009 ac_header_preproc=no
3011 rm -f conftest.err conftest.i conftest.$ac_ext
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3013 $as_echo "$ac_header_preproc" >&6; }
3015 # So? What about this header?
3016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3017 yes:no: )
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3019 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3021 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3023 no:yes:* )
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3025 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3027 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3029 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3031 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3034 ( $as_echo "## ------------------------------------ ##
3035 ## Report this to wine-devel@winehq.org ##
3036 ## ------------------------------------ ##"
3037 ) | sed "s/^/$as_me: WARNING: /" >&2
3039 esac
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 $as_echo_n "checking for $2... " >&6; }
3042 if eval \${$3+:} false; then :
3043 $as_echo_n "(cached) " >&6
3044 else
3045 eval "$3=\$ac_header_compiler"
3047 eval ac_res=\$$3
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3049 $as_echo "$ac_res" >&6; }
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3053 } # ac_fn_c_check_header_mongrel
3055 # ac_fn_c_try_run LINENO
3056 # ----------------------
3057 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3058 # that executables *can* be run.
3059 ac_fn_c_try_run ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 if { { ac_try="$ac_link"
3063 case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3066 esac
3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3068 $as_echo "$ac_try_echo"; } >&5
3069 (eval "$ac_link") 2>&5
3070 ac_status=$?
3071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3072 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3073 { { case "(($ac_try" in
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3076 esac
3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_try") 2>&5
3080 ac_status=$?
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; }; then :
3083 ac_retval=0
3084 else
3085 $as_echo "$as_me: program exited with status $ac_status" >&5
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 ac_retval=$ac_status
3091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 as_fn_set_status $ac_retval
3095 } # ac_fn_c_try_run
3097 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3098 # -------------------------------------------------------
3099 # Tests whether HEADER exists and can be compiled using the include files in
3100 # INCLUDES, setting the cache variable VAR accordingly.
3101 ac_fn_c_check_header_compile ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3105 $as_echo_n "checking for $2... " >&6; }
3106 if eval \${$3+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108 else
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3112 #include <$2>
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"; then :
3115 eval "$3=yes"
3116 else
3117 eval "$3=no"
3119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 eval ac_res=\$$3
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 $as_echo "$ac_res" >&6; }
3124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 } # ac_fn_c_check_header_compile
3128 # ac_fn_objc_try_compile LINENO
3129 # -----------------------------
3130 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3131 ac_fn_objc_try_compile ()
3133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3134 rm -f conftest.$ac_objext
3135 if { { ac_try="$ac_compile"
3136 case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_compile") 2>conftest.err
3143 ac_status=$?
3144 if test -s conftest.err; then
3145 grep -v '^ *+' conftest.err >conftest.er1
3146 cat conftest.er1 >&5
3147 mv -f conftest.er1 conftest.err
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; } && {
3151 test -z "$ac_objc_werror_flag" ||
3152 test ! -s conftest.err
3153 } && test -s conftest.$ac_objext; then :
3154 ac_retval=0
3155 else
3156 $as_echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_retval=1
3161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3162 as_fn_set_status $ac_retval
3164 } # ac_fn_objc_try_compile
3166 # ac_fn_objc_try_cpp LINENO
3167 # -------------------------
3168 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3169 ac_fn_objc_try_cpp ()
3171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3172 if { { ac_try="$ac_cpp conftest.$ac_ext"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3180 ac_status=$?
3181 if test -s conftest.err; then
3182 grep -v '^ *+' conftest.err >conftest.er1
3183 cat conftest.er1 >&5
3184 mv -f conftest.er1 conftest.err
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; } > conftest.i && {
3188 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3189 test ! -s conftest.err
3190 }; then :
3191 ac_retval=0
3192 else
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3196 ac_retval=1
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 as_fn_set_status $ac_retval
3201 } # ac_fn_objc_try_cpp
3203 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3204 # ----------------------------------------------------------
3205 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3206 # the include files in INCLUDES and setting the cache variable VAR
3207 # accordingly.
3208 ac_fn_objc_check_header_mongrel ()
3210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3211 if eval \${$3+:} false; then :
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3213 $as_echo_n "checking for $2... " >&6; }
3214 if eval \${$3+:} false; then :
3215 $as_echo_n "(cached) " >&6
3217 eval ac_res=\$$3
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3219 $as_echo "$ac_res" >&6; }
3220 else
3221 # Is the header compilable?
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3223 $as_echo_n "checking $2 usability... " >&6; }
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3227 #include <$2>
3228 _ACEOF
3229 if ac_fn_objc_try_compile "$LINENO"; then :
3230 ac_header_compiler=yes
3231 else
3232 ac_header_compiler=no
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3236 $as_echo "$ac_header_compiler" >&6; }
3238 # Is the header present?
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3240 $as_echo_n "checking $2 presence... " >&6; }
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3243 #include <$2>
3244 _ACEOF
3245 if ac_fn_objc_try_cpp "$LINENO"; then :
3246 ac_header_preproc=yes
3247 else
3248 ac_header_preproc=no
3250 rm -f conftest.err conftest.i conftest.$ac_ext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3252 $as_echo "$ac_header_preproc" >&6; }
3254 # So? What about this header?
3255 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3256 yes:no: )
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3258 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3260 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3262 no:yes:* )
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3264 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3266 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3268 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3270 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3272 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3273 ( $as_echo "## ------------------------------------ ##
3274 ## Report this to wine-devel@winehq.org ##
3275 ## ------------------------------------ ##"
3276 ) | sed "s/^/$as_me: WARNING: /" >&2
3278 esac
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3280 $as_echo_n "checking for $2... " >&6; }
3281 if eval \${$3+:} false; then :
3282 $as_echo_n "(cached) " >&6
3283 else
3284 eval "$3=\$ac_header_compiler"
3286 eval ac_res=\$$3
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3288 $as_echo "$ac_res" >&6; }
3290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3292 } # ac_fn_objc_check_header_mongrel
3294 # ac_fn_c_check_func LINENO FUNC VAR
3295 # ----------------------------------
3296 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3297 ac_fn_c_check_func ()
3299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3301 $as_echo_n "checking for $2... " >&6; }
3302 if eval \${$3+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3307 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3309 #define $2 innocuous_$2
3311 /* System header to define __stub macros and hopefully few prototypes,
3312 which can conflict with char $2 (); below.
3313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3314 <limits.h> exists even on freestanding compilers. */
3316 #ifdef __STDC__
3317 # include <limits.h>
3318 #else
3319 # include <assert.h>
3320 #endif
3322 #undef $2
3324 /* Override any GCC internal prototype to avoid an error.
3325 Use char because int might match the return type of a GCC
3326 builtin and then its argument prototype would still apply. */
3327 #ifdef __cplusplus
3328 extern "C"
3329 #endif
3330 char $2 ();
3331 /* The GNU C library defines this for functions which it implements
3332 to always fail with ENOSYS. Some functions are actually named
3333 something starting with __ and the normal name is an alias. */
3334 #if defined __stub_$2 || defined __stub___$2
3335 choke me
3336 #endif
3339 main ()
3341 return $2 ();
3343 return 0;
3345 _ACEOF
3346 if ac_fn_c_try_link "$LINENO"; then :
3347 eval "$3=yes"
3348 else
3349 eval "$3=no"
3351 rm -f core conftest.err conftest.$ac_objext \
3352 conftest$ac_exeext conftest.$ac_ext
3354 eval ac_res=\$$3
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3356 $as_echo "$ac_res" >&6; }
3357 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3359 } # ac_fn_c_check_func
3361 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3362 # ----------------------------------------------------
3363 # Tries to find if the field MEMBER exists in type AGGR, after including
3364 # INCLUDES, setting cache variable VAR accordingly.
3365 ac_fn_c_check_member ()
3367 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3369 $as_echo_n "checking for $2.$3... " >&6; }
3370 if eval \${$4+:} false; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3379 static $2 ac_aggr;
3380 if (ac_aggr.$3)
3381 return 0;
3383 return 0;
3385 _ACEOF
3386 if ac_fn_c_try_compile "$LINENO"; then :
3387 eval "$4=yes"
3388 else
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3393 main ()
3395 static $2 ac_aggr;
3396 if (sizeof ac_aggr.$3)
3397 return 0;
3399 return 0;
3401 _ACEOF
3402 if ac_fn_c_try_compile "$LINENO"; then :
3403 eval "$4=yes"
3404 else
3405 eval "$4=no"
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 eval ac_res=\$$4
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3413 $as_echo "$ac_res" >&6; }
3414 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3416 } # ac_fn_c_check_member
3418 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3419 # -------------------------------------------
3420 # Tests whether TYPE exists after having included INCLUDES, setting cache
3421 # variable VAR accordingly.
3422 ac_fn_c_check_type ()
3424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3426 $as_echo_n "checking for $2... " >&6; }
3427 if eval \${$3+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 eval "$3=no"
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 if (sizeof ($2))
3438 return 0;
3440 return 0;
3442 _ACEOF
3443 if ac_fn_c_try_compile "$LINENO"; then :
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3448 main ()
3450 if (sizeof (($2)))
3451 return 0;
3453 return 0;
3455 _ACEOF
3456 if ac_fn_c_try_compile "$LINENO"; then :
3458 else
3459 eval "$3=yes"
3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 eval ac_res=\$$3
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3467 $as_echo "$ac_res" >&6; }
3468 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3470 } # ac_fn_c_check_type
3471 cat >config.log <<_ACEOF
3472 This file contains any messages produced by compilers while
3473 running configure, to aid debugging if configure makes a mistake.
3475 It was created by Wine $as_me 5.11, which was
3476 generated by GNU Autoconf 2.69. Invocation command line was
3478 $ $0 $@
3480 _ACEOF
3481 exec 5>>config.log
3483 cat <<_ASUNAME
3484 ## --------- ##
3485 ## Platform. ##
3486 ## --------- ##
3488 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3489 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3490 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3491 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3492 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3494 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3495 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3497 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3498 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3499 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3500 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3501 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3502 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3503 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3505 _ASUNAME
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 $as_echo "PATH: $as_dir"
3513 done
3514 IFS=$as_save_IFS
3516 } >&5
3518 cat >&5 <<_ACEOF
3521 ## ----------- ##
3522 ## Core tests. ##
3523 ## ----------- ##
3525 _ACEOF
3528 # Keep a trace of the command line.
3529 # Strip out --no-create and --no-recursion so they do not pile up.
3530 # Strip out --silent because we don't want to record it for future runs.
3531 # Also quote any args containing shell meta-characters.
3532 # Make two passes to allow for proper duplicate-argument suppression.
3533 ac_configure_args=
3534 ac_configure_args0=
3535 ac_configure_args1=
3536 ac_must_keep_next=false
3537 for ac_pass in 1 2
3539 for ac_arg
3541 case $ac_arg in
3542 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3544 | -silent | --silent | --silen | --sile | --sil)
3545 continue ;;
3546 *\'*)
3547 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3548 esac
3549 case $ac_pass in
3550 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3552 as_fn_append ac_configure_args1 " '$ac_arg'"
3553 if test $ac_must_keep_next = true; then
3554 ac_must_keep_next=false # Got value, back to normal.
3555 else
3556 case $ac_arg in
3557 *=* | --config-cache | -C | -disable-* | --disable-* \
3558 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3559 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3560 | -with-* | --with-* | -without-* | --without-* | --x)
3561 case "$ac_configure_args0 " in
3562 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3563 esac
3565 -* ) ac_must_keep_next=true ;;
3566 esac
3568 as_fn_append ac_configure_args " '$ac_arg'"
3570 esac
3571 done
3572 done
3573 { ac_configure_args0=; unset ac_configure_args0;}
3574 { ac_configure_args1=; unset ac_configure_args1;}
3576 # When interrupted or exit'd, cleanup temporary files, and complete
3577 # config.log. We remove comments because anyway the quotes in there
3578 # would cause problems or look ugly.
3579 # WARNING: Use '\'' to represent an apostrophe within the trap.
3580 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3581 trap 'exit_status=$?
3582 # Save into config.log some information that might help in debugging.
3584 echo
3586 $as_echo "## ---------------- ##
3587 ## Cache variables. ##
3588 ## ---------------- ##"
3589 echo
3590 # The following way of writing the cache mishandles newlines in values,
3592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3593 eval ac_val=\$$ac_var
3594 case $ac_val in #(
3595 *${as_nl}*)
3596 case $ac_var in #(
3597 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3599 esac
3600 case $ac_var in #(
3601 _ | IFS | as_nl) ;; #(
3602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3603 *) { eval $ac_var=; unset $ac_var;} ;;
3604 esac ;;
3605 esac
3606 done
3607 (set) 2>&1 |
3608 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3609 *${as_nl}ac_space=\ *)
3610 sed -n \
3611 "s/'\''/'\''\\\\'\'''\''/g;
3612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3613 ;; #(
3615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3617 esac |
3618 sort
3620 echo
3622 $as_echo "## ----------------- ##
3623 ## Output variables. ##
3624 ## ----------------- ##"
3625 echo
3626 for ac_var in $ac_subst_vars
3628 eval ac_val=\$$ac_var
3629 case $ac_val in
3630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3631 esac
3632 $as_echo "$ac_var='\''$ac_val'\''"
3633 done | sort
3634 echo
3636 if test -n "$ac_subst_files"; then
3637 $as_echo "## ------------------- ##
3638 ## File substitutions. ##
3639 ## ------------------- ##"
3640 echo
3641 for ac_var in $ac_subst_files
3643 eval ac_val=\$$ac_var
3644 case $ac_val in
3645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3646 esac
3647 $as_echo "$ac_var='\''$ac_val'\''"
3648 done | sort
3649 echo
3652 if test -s confdefs.h; then
3653 $as_echo "## ----------- ##
3654 ## confdefs.h. ##
3655 ## ----------- ##"
3656 echo
3657 cat confdefs.h
3658 echo
3660 test "$ac_signal" != 0 &&
3661 $as_echo "$as_me: caught signal $ac_signal"
3662 $as_echo "$as_me: exit $exit_status"
3663 } >&5
3664 rm -f core *.core core.conftest.* &&
3665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3666 exit $exit_status
3668 for ac_signal in 1 2 13 15; do
3669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3670 done
3671 ac_signal=0
3673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3674 rm -f -r conftest* confdefs.h
3676 $as_echo "/* confdefs.h */" > confdefs.h
3678 # Predefined preprocessor variables.
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_NAME "$PACKAGE_NAME"
3682 _ACEOF
3684 cat >>confdefs.h <<_ACEOF
3685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3686 _ACEOF
3688 cat >>confdefs.h <<_ACEOF
3689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3690 _ACEOF
3692 cat >>confdefs.h <<_ACEOF
3693 #define PACKAGE_STRING "$PACKAGE_STRING"
3694 _ACEOF
3696 cat >>confdefs.h <<_ACEOF
3697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3698 _ACEOF
3700 cat >>confdefs.h <<_ACEOF
3701 #define PACKAGE_URL "$PACKAGE_URL"
3702 _ACEOF
3705 # Let the site file select an alternate cache file if it wants to.
3706 # Prefer an explicitly selected file to automatically selected ones.
3707 ac_site_file1=NONE
3708 ac_site_file2=NONE
3709 if test -n "$CONFIG_SITE"; then
3710 # We do not want a PATH search for config.site.
3711 case $CONFIG_SITE in #((
3712 -*) ac_site_file1=./$CONFIG_SITE;;
3713 */*) ac_site_file1=$CONFIG_SITE;;
3714 *) ac_site_file1=./$CONFIG_SITE;;
3715 esac
3716 elif test "x$prefix" != xNONE; then
3717 ac_site_file1=$prefix/share/config.site
3718 ac_site_file2=$prefix/etc/config.site
3719 else
3720 ac_site_file1=$ac_default_prefix/share/config.site
3721 ac_site_file2=$ac_default_prefix/etc/config.site
3723 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3725 test "x$ac_site_file" = xNONE && continue
3726 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3728 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3729 sed 's/^/| /' "$ac_site_file" >&5
3730 . "$ac_site_file" \
3731 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3733 as_fn_error $? "failed to load site script $ac_site_file
3734 See \`config.log' for more details" "$LINENO" 5; }
3736 done
3738 if test -r "$cache_file"; then
3739 # Some versions of bash will fail to source /dev/null (special files
3740 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3741 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3743 $as_echo "$as_me: loading cache $cache_file" >&6;}
3744 case $cache_file in
3745 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3746 *) . "./$cache_file";;
3747 esac
3749 else
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3751 $as_echo "$as_me: creating cache $cache_file" >&6;}
3752 >$cache_file
3755 # Check that the precious variables saved in the cache have kept the same
3756 # value.
3757 ac_cache_corrupted=false
3758 for ac_var in $ac_precious_vars; do
3759 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3760 eval ac_new_set=\$ac_env_${ac_var}_set
3761 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3762 eval ac_new_val=\$ac_env_${ac_var}_value
3763 case $ac_old_set,$ac_new_set in
3764 set,)
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3766 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3767 ac_cache_corrupted=: ;;
3768 ,set)
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3770 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3771 ac_cache_corrupted=: ;;
3772 ,);;
3774 if test "x$ac_old_val" != "x$ac_new_val"; then
3775 # differences in whitespace do not lead to failure.
3776 ac_old_val_w=`echo x $ac_old_val`
3777 ac_new_val_w=`echo x $ac_new_val`
3778 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3780 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3781 ac_cache_corrupted=:
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3784 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3785 eval $ac_var=\$ac_old_val
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3788 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3790 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3791 fi;;
3792 esac
3793 # Pass precious variables to config.status.
3794 if test "$ac_new_set" = set; then
3795 case $ac_new_val in
3796 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3797 *) ac_arg=$ac_var=$ac_new_val ;;
3798 esac
3799 case " $ac_configure_args " in
3800 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3801 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3802 esac
3804 done
3805 if $ac_cache_corrupted; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3809 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3810 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3812 ## -------------------- ##
3813 ## Main body of script. ##
3814 ## -------------------- ##
3816 ac_ext=c
3817 ac_cpp='$CPP $CPPFLAGS'
3818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3824 ac_config_headers="$ac_config_headers include/config.h"
3826 ac_aux_dir=
3827 for ac_dir in tools "$srcdir"/tools; do
3828 if test -f "$ac_dir/install-sh"; then
3829 ac_aux_dir=$ac_dir
3830 ac_install_sh="$ac_aux_dir/install-sh -c"
3831 break
3832 elif test -f "$ac_dir/install.sh"; then
3833 ac_aux_dir=$ac_dir
3834 ac_install_sh="$ac_aux_dir/install.sh -c"
3835 break
3836 elif test -f "$ac_dir/shtool"; then
3837 ac_aux_dir=$ac_dir
3838 ac_install_sh="$ac_aux_dir/shtool install -c"
3839 break
3841 done
3842 if test -z "$ac_aux_dir"; then
3843 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3846 # These three variables are undocumented and unsupported,
3847 # and are intended to be withdrawn in a future Autoconf release.
3848 # They can cause serious problems if a builder's source tree is in a directory
3849 # whose full name contains unusual characters.
3850 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3851 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3852 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3856 libwine_version="1.0"
3860 # Check whether --enable-win16 was given.
3861 if test "${enable_win16+set}" = set; then :
3862 enableval=$enable_win16;
3865 # Check whether --enable-win64 was given.
3866 if test "${enable_win64+set}" = set; then :
3867 enableval=$enable_win64;
3870 # Check whether --enable-tests was given.
3871 if test "${enable_tests+set}" = set; then :
3872 enableval=$enable_tests;
3875 # Check whether --enable-maintainer-mode was given.
3876 if test "${enable_maintainer_mode+set}" = set; then :
3877 enableval=$enable_maintainer_mode;
3880 # Check whether --enable-werror was given.
3881 if test "${enable_werror+set}" = set; then :
3882 enableval=$enable_werror;
3887 # Check whether --with-alsa was given.
3888 if test "${with_alsa+set}" = set; then :
3889 withval=$with_alsa;
3893 # Check whether --with-capi was given.
3894 if test "${with_capi+set}" = set; then :
3895 withval=$with_capi;
3899 # Check whether --with-cms was given.
3900 if test "${with_cms+set}" = set; then :
3901 withval=$with_cms;
3905 # Check whether --with-coreaudio was given.
3906 if test "${with_coreaudio+set}" = set; then :
3907 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3911 # Check whether --with-cups was given.
3912 if test "${with_cups+set}" = set; then :
3913 withval=$with_cups;
3917 # Check whether --with-curses was given.
3918 if test "${with_curses+set}" = set; then :
3919 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3923 # Check whether --with-dbus was given.
3924 if test "${with_dbus+set}" = set; then :
3925 withval=$with_dbus;
3929 # Check whether --with-faudio was given.
3930 if test "${with_faudio+set}" = set; then :
3931 withval=$with_faudio;
3935 # Check whether --with-float-abi was given.
3936 if test "${with_float_abi+set}" = set; then :
3937 withval=$with_float_abi;
3941 # Check whether --with-fontconfig was given.
3942 if test "${with_fontconfig+set}" = set; then :
3943 withval=$with_fontconfig;
3947 # Check whether --with-freetype was given.
3948 if test "${with_freetype+set}" = set; then :
3949 withval=$with_freetype;
3953 # Check whether --with-gettext was given.
3954 if test "${with_gettext+set}" = set; then :
3955 withval=$with_gettext;
3959 # Check whether --with-gettextpo was given.
3960 if test "${with_gettextpo+set}" = set; then :
3961 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3965 # Check whether --with-gphoto was given.
3966 if test "${with_gphoto+set}" = set; then :
3967 withval=$with_gphoto;
3971 # Check whether --with-glu was given.
3972 if test "${with_glu+set}" = set; then :
3973 withval=$with_glu;
3977 # Check whether --with-gnutls was given.
3978 if test "${with_gnutls+set}" = set; then :
3979 withval=$with_gnutls;
3983 # Check whether --with-gsm was given.
3984 if test "${with_gsm+set}" = set; then :
3985 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3989 # Check whether --with-gssapi was given.
3990 if test "${with_gssapi+set}" = set; then :
3991 withval=$with_gssapi;
3995 # Check whether --with-gstreamer was given.
3996 if test "${with_gstreamer+set}" = set; then :
3997 withval=$with_gstreamer;
4001 # Check whether --with-hal was given.
4002 if test "${with_hal+set}" = set; then :
4003 withval=$with_hal;
4007 # Check whether --with-inotify was given.
4008 if test "${with_inotify+set}" = set; then :
4009 withval=$with_inotify;
4013 # Check whether --with-jpeg was given.
4014 if test "${with_jpeg+set}" = set; then :
4015 withval=$with_jpeg;
4019 # Check whether --with-krb5 was given.
4020 if test "${with_krb5+set}" = set; then :
4021 withval=$with_krb5;
4025 # Check whether --with-ldap was given.
4026 if test "${with_ldap+set}" = set; then :
4027 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4031 # Check whether --with-mingw was given.
4032 if test "${with_mingw+set}" = set; then :
4033 withval=$with_mingw;
4037 # Check whether --with-mpg123 was given.
4038 if test "${with_mpg123+set}" = set; then :
4039 withval=$with_mpg123;
4043 # Check whether --with-netapi was given.
4044 if test "${with_netapi+set}" = set; then :
4045 withval=$with_netapi;
4049 # Check whether --with-openal was given.
4050 if test "${with_openal+set}" = set; then :
4051 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4055 # Check whether --with-opencl was given.
4056 if test "${with_opencl+set}" = set; then :
4057 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4061 # Check whether --with-opengl was given.
4062 if test "${with_opengl+set}" = set; then :
4063 withval=$with_opengl;
4067 # Check whether --with-osmesa was given.
4068 if test "${with_osmesa+set}" = set; then :
4069 withval=$with_osmesa;
4073 # Check whether --with-oss was given.
4074 if test "${with_oss+set}" = set; then :
4075 withval=$with_oss;
4079 # Check whether --with-pcap was given.
4080 if test "${with_pcap+set}" = set; then :
4081 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4085 # Check whether --with-png was given.
4086 if test "${with_png+set}" = set; then :
4087 withval=$with_png;
4091 # Check whether --with-pthread was given.
4092 if test "${with_pthread+set}" = set; then :
4093 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4097 # Check whether --with-pulse was given.
4098 if test "${with_pulse+set}" = set; then :
4099 withval=$with_pulse;
4103 # Check whether --with-sane was given.
4104 if test "${with_sane+set}" = set; then :
4105 withval=$with_sane;
4109 # Check whether --with-sdl was given.
4110 if test "${with_sdl+set}" = set; then :
4111 withval=$with_sdl;
4115 # Check whether --with-tiff was given.
4116 if test "${with_tiff+set}" = set; then :
4117 withval=$with_tiff;
4121 # Check whether --with-udev was given.
4122 if test "${with_udev+set}" = set; then :
4123 withval=$with_udev;
4127 # Check whether --with-unwind was given.
4128 if test "${with_unwind+set}" = set; then :
4129 withval=$with_unwind;
4133 # Check whether --with-usb was given.
4134 if test "${with_usb+set}" = set; then :
4135 withval=$with_usb;
4139 # Check whether --with-v4l2 was given.
4140 if test "${with_v4l2+set}" = set; then :
4141 withval=$with_v4l2;
4145 # Check whether --with-vkd3d was given.
4146 if test "${with_vkd3d+set}" = set; then :
4147 withval=$with_vkd3d;
4151 # Check whether --with-vulkan was given.
4152 if test "${with_vulkan+set}" = set; then :
4153 withval=$with_vulkan;
4157 # Check whether --with-xcomposite was given.
4158 if test "${with_xcomposite+set}" = set; then :
4159 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4163 # Check whether --with-xcursor was given.
4164 if test "${with_xcursor+set}" = set; then :
4165 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4169 # Check whether --with-xfixes was given.
4170 if test "${with_xfixes+set}" = set; then :
4171 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4175 # Check whether --with-xinerama was given.
4176 if test "${with_xinerama+set}" = set; then :
4177 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4181 # Check whether --with-xinput was given.
4182 if test "${with_xinput+set}" = set; then :
4183 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4187 # Check whether --with-xinput2 was given.
4188 if test "${with_xinput2+set}" = set; then :
4189 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4193 # Check whether --with-xml was given.
4194 if test "${with_xml+set}" = set; then :
4195 withval=$with_xml;
4199 # Check whether --with-xrandr was given.
4200 if test "${with_xrandr+set}" = set; then :
4201 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4205 # Check whether --with-xrender was given.
4206 if test "${with_xrender+set}" = set; then :
4207 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4211 # Check whether --with-xshape was given.
4212 if test "${with_xshape+set}" = set; then :
4213 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4217 # Check whether --with-xshm was given.
4218 if test "${with_xshm+set}" = set; then :
4219 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4223 # Check whether --with-xslt was given.
4224 if test "${with_xslt+set}" = set; then :
4225 withval=$with_xslt;
4229 # Check whether --with-xxf86vm was given.
4230 if test "${with_xxf86vm+set}" = set; then :
4231 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
4236 # Check whether --with-wine-tools was given.
4237 if test "${with_wine_tools+set}" = set; then :
4238 withval=$with_wine_tools;
4242 # Check whether --with-wine64 was given.
4243 if test "${with_wine64+set}" = set; then :
4244 withval=$with_wine64;
4248 # Make sure we can run config.sub.
4249 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4250 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4253 $as_echo_n "checking build system type... " >&6; }
4254 if ${ac_cv_build+:} false; then :
4255 $as_echo_n "(cached) " >&6
4256 else
4257 ac_build_alias=$build_alias
4258 test "x$ac_build_alias" = x &&
4259 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4260 test "x$ac_build_alias" = x &&
4261 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4262 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4263 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4267 $as_echo "$ac_cv_build" >&6; }
4268 case $ac_cv_build in
4269 *-*-*) ;;
4270 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4271 esac
4272 build=$ac_cv_build
4273 ac_save_IFS=$IFS; IFS='-'
4274 set x $ac_cv_build
4275 shift
4276 build_cpu=$1
4277 build_vendor=$2
4278 shift; shift
4279 # Remember, the first character of IFS is used to create $*,
4280 # except with old shells:
4281 build_os=$*
4282 IFS=$ac_save_IFS
4283 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4287 $as_echo_n "checking host system type... " >&6; }
4288 if ${ac_cv_host+:} false; then :
4289 $as_echo_n "(cached) " >&6
4290 else
4291 if test "x$host_alias" = x; then
4292 ac_cv_host=$ac_cv_build
4293 else
4294 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4295 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4300 $as_echo "$ac_cv_host" >&6; }
4301 case $ac_cv_host in
4302 *-*-*) ;;
4303 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4304 esac
4305 host=$ac_cv_host
4306 ac_save_IFS=$IFS; IFS='-'
4307 set x $ac_cv_host
4308 shift
4309 host_cpu=$1
4310 host_vendor=$2
4311 shift; shift
4312 # Remember, the first character of IFS is used to create $*,
4313 # except with old shells:
4314 host_os=$*
4315 IFS=$ac_save_IFS
4316 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4323 set x ${MAKE-make}
4324 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4325 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 cat >conftest.make <<\_ACEOF
4329 SHELL = /bin/sh
4330 all:
4331 @echo '@@@%%%=$(MAKE)=@@@%%%'
4332 _ACEOF
4333 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4335 *@@@%%%=?*=@@@%%%*)
4336 eval ac_cv_prog_make_${ac_make}_set=yes;;
4338 eval ac_cv_prog_make_${ac_make}_set=no;;
4339 esac
4340 rm -f conftest.make
4342 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4345 SET_MAKE=
4346 else
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 SET_MAKE="MAKE=${MAKE-make}"
4352 ac_ext=c
4353 ac_cpp='$CPP $CPPFLAGS'
4354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 if test -n "$ac_tool_prefix"; then
4358 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4359 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_prog_CC+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 if test -n "$CC"; then
4366 ac_cv_prog_CC="$CC" # Let the user override the test.
4367 else
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 for as_dir in $PATH
4371 IFS=$as_save_IFS
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 break 2
4379 done
4380 done
4381 IFS=$as_save_IFS
4385 CC=$ac_cv_prog_CC
4386 if test -n "$CC"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4388 $as_echo "$CC" >&6; }
4389 else
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4396 if test -z "$ac_cv_prog_CC"; then
4397 ac_ct_CC=$CC
4398 # Extract the first word of "gcc", so it can be a program name with args.
4399 set dummy gcc; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$ac_ct_CC"; then
4406 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_ac_ct_CC="gcc"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4419 done
4420 done
4421 IFS=$as_save_IFS
4425 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4426 if test -n "$ac_ct_CC"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4428 $as_echo "$ac_ct_CC" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4434 if test "x$ac_ct_CC" = x; then
4435 CC=""
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CC=$ac_ct_CC
4445 else
4446 CC="$ac_cv_prog_CC"
4449 if test -z "$CC"; then
4450 if test -n "$ac_tool_prefix"; then
4451 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4452 set dummy ${ac_tool_prefix}cc; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_CC+:} false; then :
4456 $as_echo_n "(cached) " >&6
4457 else
4458 if test -n "$CC"; then
4459 ac_cv_prog_CC="$CC" # Let the user override the test.
4460 else
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH
4464 IFS=$as_save_IFS
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_CC="${ac_tool_prefix}cc"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 break 2
4472 done
4473 done
4474 IFS=$as_save_IFS
4478 CC=$ac_cv_prog_CC
4479 if test -n "$CC"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4481 $as_echo "$CC" >&6; }
4482 else
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4490 if test -z "$CC"; then
4491 # Extract the first word of "cc", so it can be a program name with args.
4492 set dummy cc; ac_word=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_prog_CC+:} false; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 if test -n "$CC"; then
4499 ac_cv_prog_CC="$CC" # Let the user override the test.
4500 else
4501 ac_prog_rejected=no
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH
4505 IFS=$as_save_IFS
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4509 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4510 ac_prog_rejected=yes
4511 continue
4513 ac_cv_prog_CC="cc"
4514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 break 2
4517 done
4518 done
4519 IFS=$as_save_IFS
4521 if test $ac_prog_rejected = yes; then
4522 # We found a bogon in the path, so make sure we never use it.
4523 set dummy $ac_cv_prog_CC
4524 shift
4525 if test $# != 0; then
4526 # We chose a different compiler from the bogus one.
4527 # However, it has the same basename, so the bogon will be chosen
4528 # first if we set CC to just the basename; use the full file name.
4529 shift
4530 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4535 CC=$ac_cv_prog_CC
4536 if test -n "$CC"; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4538 $as_echo "$CC" >&6; }
4539 else
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541 $as_echo "no" >&6; }
4546 if test -z "$CC"; then
4547 if test -n "$ac_tool_prefix"; then
4548 for ac_prog in cl.exe
4550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4551 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_CC+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 if test -n "$CC"; then
4558 ac_cv_prog_CC="$CC" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4563 IFS=$as_save_IFS
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 break 2
4571 done
4572 done
4573 IFS=$as_save_IFS
4577 CC=$ac_cv_prog_CC
4578 if test -n "$CC"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4580 $as_echo "$CC" >&6; }
4581 else
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4587 test -n "$CC" && break
4588 done
4590 if test -z "$CC"; then
4591 ac_ct_CC=$CC
4592 for ac_prog in cl.exe
4594 # Extract the first word of "$ac_prog", so it can be a program name with args.
4595 set dummy $ac_prog; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 if test -n "$ac_ct_CC"; then
4602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4607 IFS=$as_save_IFS
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_ac_ct_CC="$ac_prog"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 break 2
4615 done
4616 done
4617 IFS=$as_save_IFS
4621 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4622 if test -n "$ac_ct_CC"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4624 $as_echo "$ac_ct_CC" >&6; }
4625 else
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4631 test -n "$ac_ct_CC" && break
4632 done
4634 if test "x$ac_ct_CC" = x; then
4635 CC=""
4636 else
4637 case $cross_compiling:$ac_tool_warned in
4638 yes:)
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned=yes ;;
4642 esac
4643 CC=$ac_ct_CC
4650 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4652 as_fn_error $? "no acceptable C compiler found in \$PATH
4653 See \`config.log' for more details" "$LINENO" 5; }
4655 # Provide some information about the compiler.
4656 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4657 set X $ac_compile
4658 ac_compiler=$2
4659 for ac_option in --version -v -V -qversion; do
4660 { { ac_try="$ac_compiler $ac_option >&5"
4661 case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664 esac
4665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4666 $as_echo "$ac_try_echo"; } >&5
4667 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4668 ac_status=$?
4669 if test -s conftest.err; then
4670 sed '10a\
4671 ... rest of stderr output deleted ...
4672 10q' conftest.err >conftest.er1
4673 cat conftest.er1 >&5
4675 rm -f conftest.er1 conftest.err
4676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4677 test $ac_status = 0; }
4678 done
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4684 main ()
4688 return 0;
4690 _ACEOF
4691 ac_clean_files_save=$ac_clean_files
4692 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4693 # Try to create an executable without -o first, disregard a.out.
4694 # It will help us diagnose broken compilers, and finding out an intuition
4695 # of exeext.
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4697 $as_echo_n "checking whether the C compiler works... " >&6; }
4698 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4700 # The possible output files:
4701 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4703 ac_rmfiles=
4704 for ac_file in $ac_files
4706 case $ac_file in
4707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4708 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4709 esac
4710 done
4711 rm -f $ac_rmfiles
4713 if { { ac_try="$ac_link_default"
4714 case "(($ac_try" in
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4717 esac
4718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4719 $as_echo "$ac_try_echo"; } >&5
4720 (eval "$ac_link_default") 2>&5
4721 ac_status=$?
4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4723 test $ac_status = 0; }; then :
4724 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4725 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4726 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4727 # so that the user can short-circuit this test for compilers unknown to
4728 # Autoconf.
4729 for ac_file in $ac_files ''
4731 test -f "$ac_file" || continue
4732 case $ac_file in
4733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4735 [ab].out )
4736 # We found the default executable, but exeext='' is most
4737 # certainly right.
4738 break;;
4739 *.* )
4740 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4741 then :; else
4742 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4744 # We set ac_cv_exeext here because the later test for it is not
4745 # safe: cross compilers may not add the suffix if given an `-o'
4746 # argument, so we may need to know it at that point already.
4747 # Even if this section looks crufty: it has the advantage of
4748 # actually working.
4749 break;;
4751 break;;
4752 esac
4753 done
4754 test "$ac_cv_exeext" = no && ac_cv_exeext=
4756 else
4757 ac_file=''
4759 if test -z "$ac_file"; then :
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4762 $as_echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.$ac_ext >&5
4765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4767 as_fn_error 77 "C compiler cannot create executables
4768 See \`config.log' for more details" "$LINENO" 5; }
4769 else
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4771 $as_echo "yes" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4774 $as_echo_n "checking for C compiler default output file name... " >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4776 $as_echo "$ac_file" >&6; }
4777 ac_exeext=$ac_cv_exeext
4779 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4780 ac_clean_files=$ac_clean_files_save
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4782 $as_echo_n "checking for suffix of executables... " >&6; }
4783 if { { ac_try="$ac_link"
4784 case "(($ac_try" in
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4787 esac
4788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4789 $as_echo "$ac_try_echo"; } >&5
4790 (eval "$ac_link") 2>&5
4791 ac_status=$?
4792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4793 test $ac_status = 0; }; then :
4794 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4795 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4796 # work properly (i.e., refer to `conftest.exe'), while it won't with
4797 # `rm'.
4798 for ac_file in conftest.exe conftest conftest.*; do
4799 test -f "$ac_file" || continue
4800 case $ac_file in
4801 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4802 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4803 break;;
4804 * ) break;;
4805 esac
4806 done
4807 else
4808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4810 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4811 See \`config.log' for more details" "$LINENO" 5; }
4813 rm -f conftest conftest$ac_cv_exeext
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4815 $as_echo "$ac_cv_exeext" >&6; }
4817 rm -f conftest.$ac_ext
4818 EXEEXT=$ac_cv_exeext
4819 ac_exeext=$EXEEXT
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4822 #include <stdio.h>
4824 main ()
4826 FILE *f = fopen ("conftest.out", "w");
4827 return ferror (f) || fclose (f) != 0;
4830 return 0;
4832 _ACEOF
4833 ac_clean_files="$ac_clean_files conftest.out"
4834 # Check that the compiler produces executables we can run. If not, either
4835 # the compiler is broken, or we cross compile.
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4837 $as_echo_n "checking whether we are cross compiling... " >&6; }
4838 if test "$cross_compiling" != yes; then
4839 { { ac_try="$ac_link"
4840 case "(($ac_try" in
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
4843 esac
4844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4845 $as_echo "$ac_try_echo"; } >&5
4846 (eval "$ac_link") 2>&5
4847 ac_status=$?
4848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4849 test $ac_status = 0; }
4850 if { ac_try='./conftest$ac_cv_exeext'
4851 { { case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4854 esac
4855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4856 $as_echo "$ac_try_echo"; } >&5
4857 (eval "$ac_try") 2>&5
4858 ac_status=$?
4859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4860 test $ac_status = 0; }; }; then
4861 cross_compiling=no
4862 else
4863 if test "$cross_compiling" = maybe; then
4864 cross_compiling=yes
4865 else
4866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4868 as_fn_error $? "cannot run C compiled programs.
4869 If you meant to cross compile, use \`--host'.
4870 See \`config.log' for more details" "$LINENO" 5; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4875 $as_echo "$cross_compiling" >&6; }
4877 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4878 ac_clean_files=$ac_clean_files_save
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4880 $as_echo_n "checking for suffix of object files... " >&6; }
4881 if ${ac_cv_objext+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4888 main ()
4892 return 0;
4894 _ACEOF
4895 rm -f conftest.o conftest.obj
4896 if { { ac_try="$ac_compile"
4897 case "(($ac_try" in
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4900 esac
4901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4902 $as_echo "$ac_try_echo"; } >&5
4903 (eval "$ac_compile") 2>&5
4904 ac_status=$?
4905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4906 test $ac_status = 0; }; then :
4907 for ac_file in conftest.o conftest.obj conftest.*; do
4908 test -f "$ac_file" || continue;
4909 case $ac_file in
4910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4911 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4912 break;;
4913 esac
4914 done
4915 else
4916 $as_echo "$as_me: failed program was:" >&5
4917 sed 's/^/| /' conftest.$ac_ext >&5
4919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4921 as_fn_error $? "cannot compute suffix of object files: cannot compile
4922 See \`config.log' for more details" "$LINENO" 5; }
4924 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4927 $as_echo "$ac_cv_objext" >&6; }
4928 OBJEXT=$ac_cv_objext
4929 ac_objext=$OBJEXT
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4931 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4932 if ${ac_cv_c_compiler_gnu+:} false; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 main ()
4941 #ifndef __GNUC__
4942 choke me
4943 #endif
4946 return 0;
4948 _ACEOF
4949 if ac_fn_c_try_compile "$LINENO"; then :
4950 ac_compiler_gnu=yes
4951 else
4952 ac_compiler_gnu=no
4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4955 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4959 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4960 if test $ac_compiler_gnu = yes; then
4961 GCC=yes
4962 else
4963 GCC=
4965 ac_test_CFLAGS=${CFLAGS+set}
4966 ac_save_CFLAGS=$CFLAGS
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4968 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4969 if ${ac_cv_prog_cc_g+:} false; then :
4970 $as_echo_n "(cached) " >&6
4971 else
4972 ac_save_c_werror_flag=$ac_c_werror_flag
4973 ac_c_werror_flag=yes
4974 ac_cv_prog_cc_g=no
4975 CFLAGS="-g"
4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4980 main ()
4984 return 0;
4986 _ACEOF
4987 if ac_fn_c_try_compile "$LINENO"; then :
4988 ac_cv_prog_cc_g=yes
4989 else
4990 CFLAGS=""
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4995 main ()
4999 return 0;
5001 _ACEOF
5002 if ac_fn_c_try_compile "$LINENO"; then :
5004 else
5005 ac_c_werror_flag=$ac_save_c_werror_flag
5006 CFLAGS="-g"
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5011 main ()
5015 return 0;
5017 _ACEOF
5018 if ac_fn_c_try_compile "$LINENO"; then :
5019 ac_cv_prog_cc_g=yes
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 ac_c_werror_flag=$ac_save_c_werror_flag
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5029 $as_echo "$ac_cv_prog_cc_g" >&6; }
5030 if test "$ac_test_CFLAGS" = set; then
5031 CFLAGS=$ac_save_CFLAGS
5032 elif test $ac_cv_prog_cc_g = yes; then
5033 if test "$GCC" = yes; then
5034 CFLAGS="-g -O2"
5035 else
5036 CFLAGS="-g"
5038 else
5039 if test "$GCC" = yes; then
5040 CFLAGS="-O2"
5041 else
5042 CFLAGS=
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5046 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5047 if ${ac_cv_prog_cc_c89+:} false; then :
5048 $as_echo_n "(cached) " >&6
5049 else
5050 ac_cv_prog_cc_c89=no
5051 ac_save_CC=$CC
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h. */
5054 #include <stdarg.h>
5055 #include <stdio.h>
5056 struct stat;
5057 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5058 struct buf { int x; };
5059 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5060 static char *e (p, i)
5061 char **p;
5062 int i;
5064 return p[i];
5066 static char *f (char * (*g) (char **, int), char **p, ...)
5068 char *s;
5069 va_list v;
5070 va_start (v,p);
5071 s = g (p, va_arg (v,int));
5072 va_end (v);
5073 return s;
5076 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5077 function prototypes and stuff, but not '\xHH' hex character constants.
5078 These don't provoke an error unfortunately, instead are silently treated
5079 as 'x'. The following induces an error, until -std is added to get
5080 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5081 array size at least. It's necessary to write '\x00'==0 to get something
5082 that's true only with -std. */
5083 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5085 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5086 inside strings and character constants. */
5087 #define FOO(x) 'x'
5088 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5090 int test (int i, double x);
5091 struct s1 {int (*f) (int a);};
5092 struct s2 {int (*f) (double a);};
5093 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5094 int argc;
5095 char **argv;
5097 main ()
5099 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5101 return 0;
5103 _ACEOF
5104 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5105 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5107 CC="$ac_save_CC $ac_arg"
5108 if ac_fn_c_try_compile "$LINENO"; then :
5109 ac_cv_prog_cc_c89=$ac_arg
5111 rm -f core conftest.err conftest.$ac_objext
5112 test "x$ac_cv_prog_cc_c89" != "xno" && break
5113 done
5114 rm -f conftest.$ac_ext
5115 CC=$ac_save_CC
5118 # AC_CACHE_VAL
5119 case "x$ac_cv_prog_cc_c89" in
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5122 $as_echo "none needed" >&6; } ;;
5123 xno)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5125 $as_echo "unsupported" >&6; } ;;
5127 CC="$CC $ac_cv_prog_cc_c89"
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5129 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5130 esac
5131 if test "x$ac_cv_prog_cc_c89" != xno; then :
5135 ac_ext=c
5136 ac_cpp='$CPP $CPPFLAGS'
5137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5141 ac_ext=cpp
5142 ac_cpp='$CXXCPP $CPPFLAGS'
5143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5146 if test -z "$CXX"; then
5147 if test -n "$CCC"; then
5148 CXX=$CCC
5149 else
5150 if test -n "$ac_tool_prefix"; then
5151 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_CXX+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$CXX"; then
5161 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 CXX=$ac_cv_prog_CXX
5181 if test -n "$CXX"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5183 $as_echo "$CXX" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5190 test -n "$CXX" && break
5191 done
5193 if test -z "$CXX"; then
5194 ac_ct_CXX=$CXX
5195 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5197 # Extract the first word of "$ac_prog", so it can be a program name with args.
5198 set dummy $ac_prog; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$ac_ct_CXX"; then
5205 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_ac_ct_CXX="$ac_prog"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5225 if test -n "$ac_ct_CXX"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5227 $as_echo "$ac_ct_CXX" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5234 test -n "$ac_ct_CXX" && break
5235 done
5237 if test "x$ac_ct_CXX" = x; then
5238 CXX="g++"
5239 else
5240 case $cross_compiling:$ac_tool_warned in
5241 yes:)
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5244 ac_tool_warned=yes ;;
5245 esac
5246 CXX=$ac_ct_CXX
5252 # Provide some information about the compiler.
5253 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5254 set X $ac_compile
5255 ac_compiler=$2
5256 for ac_option in --version -v -V -qversion; do
5257 { { ac_try="$ac_compiler $ac_option >&5"
5258 case "(($ac_try" in
5259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5260 *) ac_try_echo=$ac_try;;
5261 esac
5262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5263 $as_echo "$ac_try_echo"; } >&5
5264 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5265 ac_status=$?
5266 if test -s conftest.err; then
5267 sed '10a\
5268 ... rest of stderr output deleted ...
5269 10q' conftest.err >conftest.er1
5270 cat conftest.er1 >&5
5272 rm -f conftest.er1 conftest.err
5273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274 test $ac_status = 0; }
5275 done
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5278 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5279 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5286 main ()
5288 #ifndef __GNUC__
5289 choke me
5290 #endif
5293 return 0;
5295 _ACEOF
5296 if ac_fn_cxx_try_compile "$LINENO"; then :
5297 ac_compiler_gnu=yes
5298 else
5299 ac_compiler_gnu=no
5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5302 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5306 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5307 if test $ac_compiler_gnu = yes; then
5308 GXX=yes
5309 else
5310 GXX=
5312 ac_test_CXXFLAGS=${CXXFLAGS+set}
5313 ac_save_CXXFLAGS=$CXXFLAGS
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5315 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5316 if ${ac_cv_prog_cxx_g+:} false; then :
5317 $as_echo_n "(cached) " >&6
5318 else
5319 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5320 ac_cxx_werror_flag=yes
5321 ac_cv_prog_cxx_g=no
5322 CXXFLAGS="-g"
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5327 main ()
5331 return 0;
5333 _ACEOF
5334 if ac_fn_cxx_try_compile "$LINENO"; then :
5335 ac_cv_prog_cxx_g=yes
5336 else
5337 CXXFLAGS=""
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5342 main ()
5346 return 0;
5348 _ACEOF
5349 if ac_fn_cxx_try_compile "$LINENO"; then :
5351 else
5352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5353 CXXFLAGS="-g"
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5358 main ()
5362 return 0;
5364 _ACEOF
5365 if ac_fn_cxx_try_compile "$LINENO"; then :
5366 ac_cv_prog_cxx_g=yes
5368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5376 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5377 if test "$ac_test_CXXFLAGS" = set; then
5378 CXXFLAGS=$ac_save_CXXFLAGS
5379 elif test $ac_cv_prog_cxx_g = yes; then
5380 if test "$GXX" = yes; then
5381 CXXFLAGS="-g -O2"
5382 else
5383 CXXFLAGS="-g"
5385 else
5386 if test "$GXX" = yes; then
5387 CXXFLAGS="-O2"
5388 else
5389 CXXFLAGS=
5392 ac_ext=c
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5398 if test -n "$ac_tool_prefix"; then
5399 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5400 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_CPPBIN+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 if test -n "$CPPBIN"; then
5407 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5408 else
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 for as_dir in $PATH
5412 IFS=$as_save_IFS
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 IFS=$as_save_IFS
5426 CPPBIN=$ac_cv_prog_CPPBIN
5427 if test -n "$CPPBIN"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5429 $as_echo "$CPPBIN" >&6; }
5430 else
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5437 if test -z "$ac_cv_prog_CPPBIN"; then
5438 ac_ct_CPPBIN=$CPPBIN
5439 # Extract the first word of "cpp", so it can be a program name with args.
5440 set dummy cpp; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5444 $as_echo_n "(cached) " >&6
5445 else
5446 if test -n "$ac_ct_CPPBIN"; then
5447 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5448 else
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in $PATH
5452 IFS=$as_save_IFS
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_ac_ct_CPPBIN="cpp"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 break 2
5460 done
5461 done
5462 IFS=$as_save_IFS
5466 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5467 if test -n "$ac_ct_CPPBIN"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5469 $as_echo "$ac_ct_CPPBIN" >&6; }
5470 else
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5475 if test "x$ac_ct_CPPBIN" = x; then
5476 CPPBIN="cpp"
5477 else
5478 case $cross_compiling:$ac_tool_warned in
5479 yes:)
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5482 ac_tool_warned=yes ;;
5483 esac
5484 CPPBIN=$ac_ct_CPPBIN
5486 else
5487 CPPBIN="$ac_cv_prog_CPPBIN"
5491 cat >>confdefs.h <<_ACEOF
5492 #define EXEEXT "$ac_exeext"
5493 _ACEOF
5495 if test -n "$ac_tool_prefix"; then
5496 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5497 set dummy ${ac_tool_prefix}ld; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_LD+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$LD"; then
5504 ac_cv_prog_LD="$LD" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_LD="${ac_tool_prefix}ld"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 LD=$ac_cv_prog_LD
5524 if test -n "$LD"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5526 $as_echo "$LD" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5534 if test -z "$ac_cv_prog_LD"; then
5535 ac_ct_LD=$LD
5536 # Extract the first word of "ld", so it can be a program name with args.
5537 set dummy ld; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5541 $as_echo_n "(cached) " >&6
5542 else
5543 if test -n "$ac_ct_LD"; then
5544 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_ac_ct_LD="ld"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5564 if test -n "$ac_ct_LD"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5566 $as_echo "$ac_ct_LD" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5572 if test "x$ac_ct_LD" = x; then
5573 LD=""
5574 else
5575 case $cross_compiling:$ac_tool_warned in
5576 yes:)
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5579 ac_tool_warned=yes ;;
5580 esac
5581 LD=$ac_ct_LD
5583 else
5584 LD="$ac_cv_prog_LD"
5588 case $host in
5589 *-darwin*)
5590 with_fontconfig=${with_fontconfig:-no}
5592 *-mingw32*|*-cygwin*)
5593 enable_win16=${enable_win16:-no}
5594 with_mingw=${with_mingw:-no}
5595 CFLAGS="$CFLAGS -D_WIN32"
5597 esac
5599 case $host in
5600 x86_64*|amd64*)
5601 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5602 then
5603 CC="$CC -m32"
5604 CXX="$CXX -m32"
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5607 $as_echo_n "checking whether $CC works... " >&6; }
5608 if ${wine_cv_cc_m32+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5615 main ()
5619 return 0;
5621 _ACEOF
5622 if ac_fn_c_try_link "$LINENO"; then :
5623 wine_cv_cc_m32=yes
5624 else
5625 wine_cv_cc_m32=no
5627 rm -f core conftest.err conftest.$ac_objext \
5628 conftest$ac_exeext conftest.$ac_ext
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5631 $as_echo "$wine_cv_cc_m32" >&6; }
5632 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
5633 host_cpu="i386"
5634 notice_platform="32-bit "
5635 TARGETFLAGS="-m32"
5637 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5638 export PKG_CONFIG_PATH
5639 enable_win16=${enable_win16:-yes}
5640 with_unwind=${with_unwind:-no}
5641 else
5642 if test "x${GCC}" = "xyes"
5643 then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5645 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5646 if ${wine_cv_builtin_ms_va_list+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5650 /* end confdefs.h. */
5651 #include <stdarg.h>
5653 main ()
5655 void func(__builtin_ms_va_list *args);
5657 return 0;
5659 _ACEOF
5660 if ac_fn_c_try_compile "$LINENO"; then :
5661 wine_cv_builtin_ms_va_list=yes
5662 else
5663 wine_cv_builtin_ms_va_list=no
5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5668 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5669 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
5671 CC="$CC -m64"
5672 CXX="$CXX -m64"
5673 host_cpu="x86_64"
5674 notice_platform="64-bit "
5675 TARGETFLAGS="-m64"
5679 arm*)
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5681 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5682 if ${wine_cv_thumb+:} false; then :
5683 $as_echo_n "(cached) " >&6
5684 else
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5687 int ac_test(int i) { return i; }
5689 main ()
5691 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5693 return 0;
5695 _ACEOF
5696 if ac_fn_c_try_link "$LINENO"; then :
5697 wine_cv_thumb=yes
5698 else
5699 wine_cv_thumb=no
5701 rm -f core conftest.err conftest.$ac_objext \
5702 conftest$ac_exeext conftest.$ac_ext
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5705 $as_echo "$wine_cv_thumb" >&6; }
5706 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5707 case $with_float_abi in
5708 soft|softfp|hard)
5709 float_abi=$with_float_abi ;;
5711 case $host_os in
5712 *eabihf)
5713 float_abi=hard ;;
5715 float_abi=softfp
5716 saved_CFLAGS=$CFLAGS
5717 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5719 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5720 if ${wine_cv_float_abi+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5727 main ()
5729 asm("vmrs r2,fpscr");
5731 return 0;
5733 _ACEOF
5734 if ac_fn_c_try_link "$LINENO"; then :
5735 wine_cv_float_abi=yes
5736 else
5737 wine_cv_float_abi=no
5739 rm -f core conftest.err conftest.$ac_objext \
5740 conftest$ac_exeext conftest.$ac_ext
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5743 $as_echo "$wine_cv_float_abi" >&6; }
5744 if test $wine_cv_float_abi = no
5745 then
5746 float_abi=soft
5747 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5749 CFLAGS=$saved_CFLAGS
5750 esac
5752 esac
5753 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5754 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5757 aarch64*)
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5759 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5760 if ${wine_cv_builtin_ms_va_list+:} false; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5765 #include <stdarg.h>
5767 main ()
5769 void func(__builtin_ms_va_list *args);
5771 return 0;
5773 _ACEOF
5774 if ac_fn_c_try_compile "$LINENO"; then :
5775 wine_cv_builtin_ms_va_list=yes
5776 else
5777 wine_cv_builtin_ms_va_list=no
5779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5782 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5783 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5785 i[3456789]86*)
5786 enable_win16=${enable_win16:-yes}
5787 with_unwind=${with_unwind:-no}
5789 esac
5791 enable_win16=${enable_win16:-no}
5792 enable_win64=${enable_win64:-no}
5794 enable_winetest=${enable_winetest:-$enable_tests}
5796 if test "x$enable_win64" = "xyes"
5797 then
5798 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5799 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5800 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5804 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5805 if ${wine_cv_toolsdir+:} false; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5808 wine_cv_toolsdir="$with_wine_tools"
5809 if test -z "$with_wine_tools"; then
5810 if test "$cross_compiling" = "yes"; then
5811 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5812 elif test -n "$with_wine64"; then
5813 wine_cv_toolsdir="$with_wine64"
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5818 $as_echo "$wine_cv_toolsdir" >&6; }
5819 if test -z "$wine_cv_toolsdir"; then
5820 wine_makedep=tools/makedep
5821 TOOLSDIR="\$(top_builddir)"
5823 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5824 wine_makedep=$wine_cv_toolsdir/tools/makedep
5825 case "$wine_cv_toolsdir" in
5826 /*) TOOLSDIR=$wine_cv_toolsdir
5828 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5830 esac
5831 enable_tools=${enable_tools:-no}
5832 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5833 else
5834 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5836 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5837 then
5838 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5842 for ac_prog in flex
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy $ac_prog; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_FLEX+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 if test -n "$FLEX"; then
5852 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5857 IFS=$as_save_IFS
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_FLEX="$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 break 2
5865 done
5866 done
5867 IFS=$as_save_IFS
5871 FLEX=$ac_cv_prog_FLEX
5872 if test -n "$FLEX"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5874 $as_echo "$FLEX" >&6; }
5875 else
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$FLEX" && break
5882 done
5883 test -n "$FLEX" || FLEX="none"
5885 if test "$FLEX" = "none"
5886 then
5887 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5890 $as_echo_n "checking whether flex is recent enough... " >&6; }
5891 if ${wine_cv_recent_flex+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 cat >conftest.l <<EOF
5895 %top{
5896 #include "prediluvian.h"
5900 if $FLEX -t conftest.l >/dev/null 2>&5
5901 then
5902 wine_cv_recent_flex=yes
5903 else
5904 wine_cv_recent_flex=no
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5908 $as_echo "$wine_cv_recent_flex" >&6; }
5909 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
5911 for ac_prog in bison
5913 # Extract the first word of "$ac_prog", so it can be a program name with args.
5914 set dummy $ac_prog; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_BISON+:} false; then :
5918 $as_echo_n "(cached) " >&6
5919 else
5920 if test -n "$BISON"; then
5921 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5926 IFS=$as_save_IFS
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_BISON="$ac_prog"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 break 2
5934 done
5935 done
5936 IFS=$as_save_IFS
5940 BISON=$ac_cv_prog_BISON
5941 if test -n "$BISON"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5943 $as_echo "$BISON" >&6; }
5944 else
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5950 test -n "$BISON" && break
5951 done
5952 test -n "$BISON" || BISON="none"
5954 if test "$BISON" = "none"
5955 then
5956 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5959 $as_echo_n "checking whether bison is recent enough... " >&6; }
5960 if ${wine_cv_recent_bison+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 cat >conftest.y <<EOF
5964 %define parse.error verbose
5966 empty: ;
5968 if $BISON conftest.y >/dev/null 2>&5
5969 then
5970 wine_cv_recent_bison=yes
5971 else
5972 wine_cv_recent_bison=no
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5976 $as_echo "$wine_cv_recent_bison" >&6; }
5977 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
5979 if test -n "$ac_tool_prefix"; then
5980 for ac_prog in ar gar
5982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if ${ac_cv_prog_AR+:} false; then :
5987 $as_echo_n "(cached) " >&6
5988 else
5989 if test -n "$AR"; then
5990 ac_cv_prog_AR="$AR" # Let the user override the test.
5991 else
5992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 for as_dir in $PATH
5995 IFS=$as_save_IFS
5996 test -z "$as_dir" && as_dir=.
5997 for ac_exec_ext in '' $ac_executable_extensions; do
5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5999 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 break 2
6003 done
6004 done
6005 IFS=$as_save_IFS
6009 AR=$ac_cv_prog_AR
6010 if test -n "$AR"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6012 $as_echo "$AR" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6019 test -n "$AR" && break
6020 done
6022 if test -z "$AR"; then
6023 ac_ct_AR=$AR
6024 for ac_prog in ar gar
6026 # Extract the first word of "$ac_prog", so it can be a program name with args.
6027 set dummy $ac_prog; ac_word=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 if test -n "$ac_ct_AR"; then
6034 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6035 else
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH
6039 IFS=$as_save_IFS
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_ac_ct_AR="$ac_prog"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 break 2
6047 done
6048 done
6049 IFS=$as_save_IFS
6053 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6054 if test -n "$ac_ct_AR"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6056 $as_echo "$ac_ct_AR" >&6; }
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6063 test -n "$ac_ct_AR" && break
6064 done
6066 if test "x$ac_ct_AR" = x; then
6067 AR="ar"
6068 else
6069 case $cross_compiling:$ac_tool_warned in
6070 yes:)
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6073 ac_tool_warned=yes ;;
6074 esac
6075 AR=$ac_ct_AR
6079 if test -n "$ac_tool_prefix"; then
6080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6081 set dummy ${ac_tool_prefix}strip; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_STRIP+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 if test -n "$STRIP"; then
6088 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 STRIP=$ac_cv_prog_STRIP
6108 if test -n "$STRIP"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6110 $as_echo "$STRIP" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6118 if test -z "$ac_cv_prog_STRIP"; then
6119 ac_ct_STRIP=$STRIP
6120 # Extract the first word of "strip", so it can be a program name with args.
6121 set dummy strip; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 if test -n "$ac_ct_STRIP"; then
6128 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_ac_ct_STRIP="strip"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 break 2
6141 done
6142 done
6143 IFS=$as_save_IFS
6147 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6148 if test -n "$ac_ct_STRIP"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6150 $as_echo "$ac_ct_STRIP" >&6; }
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6156 if test "x$ac_ct_STRIP" = x; then
6157 STRIP="strip"
6158 else
6159 case $cross_compiling:$ac_tool_warned in
6160 yes:)
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6163 ac_tool_warned=yes ;;
6164 esac
6165 STRIP=$ac_ct_STRIP
6167 else
6168 STRIP="$ac_cv_prog_STRIP"
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if ${ac_cv_prog_RANLIB+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 if test -n "$RANLIB"; then
6180 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6193 done
6194 done
6195 IFS=$as_save_IFS
6199 RANLIB=$ac_cv_prog_RANLIB
6200 if test -n "$RANLIB"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6202 $as_echo "$RANLIB" >&6; }
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6210 if test -z "$ac_cv_prog_RANLIB"; then
6211 ac_ct_RANLIB=$RANLIB
6212 # Extract the first word of "ranlib", so it can be a program name with args.
6213 set dummy ranlib; ac_word=$2
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215 $as_echo_n "checking for $ac_word... " >&6; }
6216 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 if test -n "$ac_ct_RANLIB"; then
6220 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6221 else
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 for as_dir in $PATH
6225 IFS=$as_save_IFS
6226 test -z "$as_dir" && as_dir=.
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6229 ac_cv_prog_ac_ct_RANLIB="ranlib"
6230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 break 2
6233 done
6234 done
6235 IFS=$as_save_IFS
6239 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6240 if test -n "$ac_ct_RANLIB"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6242 $as_echo "$ac_ct_RANLIB" >&6; }
6243 else
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245 $as_echo "no" >&6; }
6248 if test "x$ac_ct_RANLIB" = x; then
6249 RANLIB=":"
6250 else
6251 case $cross_compiling:$ac_tool_warned in
6252 yes:)
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6255 ac_tool_warned=yes ;;
6256 esac
6257 RANLIB=$ac_ct_RANLIB
6259 else
6260 RANLIB="$ac_cv_prog_RANLIB"
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6264 $as_echo_n "checking whether ln -s works... " >&6; }
6265 LN_S=$as_ln_s
6266 if test "$LN_S" = "ln -s"; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6268 $as_echo "yes" >&6; }
6269 else
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6271 $as_echo "no, using $LN_S" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6275 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6276 if ${ac_cv_path_GREP+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 if test -z "$GREP"; then
6280 ac_path_GREP_found=false
6281 # Loop through the user's path and test for each of PROGNAME-LIST
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6285 IFS=$as_save_IFS
6286 test -z "$as_dir" && as_dir=.
6287 for ac_prog in grep ggrep; do
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6290 as_fn_executable_p "$ac_path_GREP" || continue
6291 # Check for GNU ac_path_GREP and select it if it is found.
6292 # Check for GNU $ac_path_GREP
6293 case `"$ac_path_GREP" --version 2>&1` in
6294 *GNU*)
6295 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6297 ac_count=0
6298 $as_echo_n 0123456789 >"conftest.in"
6299 while :
6301 cat "conftest.in" "conftest.in" >"conftest.tmp"
6302 mv "conftest.tmp" "conftest.in"
6303 cp "conftest.in" "conftest.nl"
6304 $as_echo 'GREP' >> "conftest.nl"
6305 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6306 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6307 as_fn_arith $ac_count + 1 && ac_count=$as_val
6308 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6309 # Best one so far, save it but keep looking for a better one
6310 ac_cv_path_GREP="$ac_path_GREP"
6311 ac_path_GREP_max=$ac_count
6313 # 10*(2^10) chars as input seems more than enough
6314 test $ac_count -gt 10 && break
6315 done
6316 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6317 esac
6319 $ac_path_GREP_found && break 3
6320 done
6321 done
6322 done
6323 IFS=$as_save_IFS
6324 if test -z "$ac_cv_path_GREP"; then
6325 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6327 else
6328 ac_cv_path_GREP=$GREP
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6333 $as_echo "$ac_cv_path_GREP" >&6; }
6334 GREP="$ac_cv_path_GREP"
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6338 $as_echo_n "checking for egrep... " >&6; }
6339 if ${ac_cv_path_EGREP+:} false; then :
6340 $as_echo_n "(cached) " >&6
6341 else
6342 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6343 then ac_cv_path_EGREP="$GREP -E"
6344 else
6345 if test -z "$EGREP"; then
6346 ac_path_EGREP_found=false
6347 # Loop through the user's path and test for each of PROGNAME-LIST
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6351 IFS=$as_save_IFS
6352 test -z "$as_dir" && as_dir=.
6353 for ac_prog in egrep; do
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6356 as_fn_executable_p "$ac_path_EGREP" || continue
6357 # Check for GNU ac_path_EGREP and select it if it is found.
6358 # Check for GNU $ac_path_EGREP
6359 case `"$ac_path_EGREP" --version 2>&1` in
6360 *GNU*)
6361 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6363 ac_count=0
6364 $as_echo_n 0123456789 >"conftest.in"
6365 while :
6367 cat "conftest.in" "conftest.in" >"conftest.tmp"
6368 mv "conftest.tmp" "conftest.in"
6369 cp "conftest.in" "conftest.nl"
6370 $as_echo 'EGREP' >> "conftest.nl"
6371 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6372 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6373 as_fn_arith $ac_count + 1 && ac_count=$as_val
6374 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6375 # Best one so far, save it but keep looking for a better one
6376 ac_cv_path_EGREP="$ac_path_EGREP"
6377 ac_path_EGREP_max=$ac_count
6379 # 10*(2^10) chars as input seems more than enough
6380 test $ac_count -gt 10 && break
6381 done
6382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6383 esac
6385 $ac_path_EGREP_found && break 3
6386 done
6387 done
6388 done
6389 IFS=$as_save_IFS
6390 if test -z "$ac_cv_path_EGREP"; then
6391 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6393 else
6394 ac_cv_path_EGREP=$EGREP
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6400 $as_echo "$ac_cv_path_EGREP" >&6; }
6401 EGREP="$ac_cv_path_EGREP"
6404 # Extract the first word of "ldconfig", so it can be a program name with args.
6405 set dummy ldconfig; ac_word=$2
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407 $as_echo_n "checking for $ac_word... " >&6; }
6408 if ${ac_cv_path_LDCONFIG+:} false; then :
6409 $as_echo_n "(cached) " >&6
6410 else
6411 case $LDCONFIG in
6412 [\\/]* | ?:[\\/]*)
6413 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in /sbin /usr/sbin $PATH
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6427 done
6428 done
6429 IFS=$as_save_IFS
6431 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6433 esac
6435 LDCONFIG=$ac_cv_path_LDCONFIG
6436 if test -n "$LDCONFIG"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6438 $as_echo "$LDCONFIG" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6445 for ac_prog in msgfmt
6447 # Extract the first word of "$ac_prog", so it can be a program name with args.
6448 set dummy $ac_prog; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if ${ac_cv_prog_MSGFMT+:} false; then :
6452 $as_echo_n "(cached) " >&6
6453 else
6454 if test -n "$MSGFMT"; then
6455 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6456 else
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH
6460 IFS=$as_save_IFS
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_MSGFMT="$ac_prog"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 break 2
6468 done
6469 done
6470 IFS=$as_save_IFS
6474 MSGFMT=$ac_cv_prog_MSGFMT
6475 if test -n "$MSGFMT"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6477 $as_echo "$MSGFMT" >&6; }
6478 else
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6484 test -n "$MSGFMT" && break
6485 done
6486 test -n "$MSGFMT" || MSGFMT="false"
6488 if ${ac_tool_prefix+:} false; then :
6489 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6490 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 if test -n "$PKG_CONFIG"; then
6497 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6498 else
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 for as_dir in $PATH
6502 IFS=$as_save_IFS
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 break 2
6510 done
6511 done
6512 IFS=$as_save_IFS
6516 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6517 if test -n "$PKG_CONFIG"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6519 $as_echo "$PKG_CONFIG" >&6; }
6520 else
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6527 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6528 if test "x$cross_compiling" = xyes; then :
6530 else
6531 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6532 # Extract the first word of "pkg-config", so it can be a program name with args.
6533 set dummy pkg-config; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 if test -n "$PKG_CONFIG"; then
6540 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_PKG_CONFIG="pkg-config"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6560 if test -n "$PKG_CONFIG"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6562 $as_echo "$PKG_CONFIG" >&6; }
6563 else
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6570 else
6571 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6574 if test "x$enable_maintainer_mode" != "xyes"
6575 then
6576 FONTFORGE=""
6577 RSVG=""
6578 CONVERT=""
6579 ICOTOOL=""
6580 else
6581 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6582 for ac_prog in fontforge
6584 # Extract the first word of "$ac_prog", so it can be a program name with args.
6585 set dummy $ac_prog; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if ${ac_cv_prog_FONTFORGE+:} false; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 if test -n "$FONTFORGE"; then
6592 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6597 IFS=$as_save_IFS
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6601 ac_cv_prog_FONTFORGE="$ac_prog"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603 break 2
6605 done
6606 done
6607 IFS=$as_save_IFS
6611 FONTFORGE=$ac_cv_prog_FONTFORGE
6612 if test -n "$FONTFORGE"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6614 $as_echo "$FONTFORGE" >&6; }
6615 else
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6621 test -n "$FONTFORGE" && break
6622 done
6623 test -n "$FONTFORGE" || FONTFORGE="false"
6625 for ac_prog in rsvg-convert rsvg
6627 # Extract the first word of "$ac_prog", so it can be a program name with args.
6628 set dummy $ac_prog; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_RSVG+:} false; then :
6632 $as_echo_n "(cached) " >&6
6633 else
6634 if test -n "$RSVG"; then
6635 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6640 IFS=$as_save_IFS
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_RSVG="$ac_prog"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 RSVG=$ac_cv_prog_RSVG
6655 if test -n "$RSVG"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6657 $as_echo "$RSVG" >&6; }
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6664 test -n "$RSVG" && break
6665 done
6666 test -n "$RSVG" || RSVG="false"
6668 for ac_prog in convert
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_CONVERT+:} false; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 if test -n "$CONVERT"; then
6678 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6683 IFS=$as_save_IFS
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_CONVERT="$ac_prog"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 break 2
6691 done
6692 done
6693 IFS=$as_save_IFS
6697 CONVERT=$ac_cv_prog_CONVERT
6698 if test -n "$CONVERT"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6700 $as_echo "$CONVERT" >&6; }
6701 else
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6707 test -n "$CONVERT" && break
6708 done
6709 test -n "$CONVERT" || CONVERT="false"
6711 for ac_prog in icotool
6713 # Extract the first word of "$ac_prog", so it can be a program name with args.
6714 set dummy $ac_prog; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_ICOTOOL+:} false; then :
6718 $as_echo_n "(cached) " >&6
6719 else
6720 if test -n "$ICOTOOL"; then
6721 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6726 IFS=$as_save_IFS
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_ICOTOOL="$ac_prog"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 break 2
6734 done
6735 done
6736 IFS=$as_save_IFS
6740 ICOTOOL=$ac_cv_prog_ICOTOOL
6741 if test -n "$ICOTOOL"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6743 $as_echo "$ICOTOOL" >&6; }
6744 else
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6750 test -n "$ICOTOOL" && break
6751 done
6752 test -n "$ICOTOOL" || ICOTOOL="false"
6754 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6755 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6757 if test "$CONVERT" = false
6758 then
6759 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6762 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6763 convert_version=`convert --version | head -n1`
6764 if test "x$convert_version" != "x"
6765 then
6766 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6767 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6768 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6769 then
6770 CONVERT=false
6773 if test "$CONVERT" = false
6774 then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6776 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6777 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6780 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6784 if test "$ICOTOOL" = false
6785 then
6786 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6789 $as_echo_n "checking for recent enough icotool... " >&6; }
6790 icotool_version=`icotool --version | head -n1`
6791 if test "x$icotool_version" != "x"
6792 then
6793 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6794 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6795 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6796 then
6797 ICOTOOL=false
6798 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6801 if test "$ICOTOOL" = false
6802 then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6804 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6805 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6806 else
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6808 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6812 with_gettext=yes
6813 with_gettextpo=yes
6815 enable_werror=yes
6818 test "x$with_gettext" != xno || MSGFMT=false
6819 if test "$MSGFMT" != "false"
6820 then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6822 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6823 if ${wine_cv_msgfmt_contexts+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 cat >conftest.po <<EOF
6827 # comment
6828 msgctxt "ctxt"
6829 msgid "id"
6830 msgstr "str"
6832 if $MSGFMT -o /dev/null conftest.po 2>&5
6833 then
6834 wine_cv_msgfmt_contexts=yes
6835 else
6836 wine_cv_msgfmt_contexts=no
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6840 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6841 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6843 if test "$MSGFMT" = false; then :
6844 case "x$with_gettext" in
6845 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6846 xno) ;;
6847 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6848 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6849 esac
6850 enable_po=${enable_po:-no}
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6855 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6856 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 ac_check_lib_save_LIBS=$LIBS
6860 LIBS="-li386 $LIBS"
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6864 /* Override any GCC internal prototype to avoid an error.
6865 Use char because int might match the return type of a GCC
6866 builtin and then its argument prototype would still apply. */
6867 #ifdef __cplusplus
6868 extern "C"
6869 #endif
6870 char i386_set_ldt ();
6872 main ()
6874 return i386_set_ldt ();
6876 return 0;
6878 _ACEOF
6879 if ac_fn_c_try_link "$LINENO"; then :
6880 ac_cv_lib_i386_i386_set_ldt=yes
6881 else
6882 ac_cv_lib_i386_i386_set_ldt=no
6884 rm -f core conftest.err conftest.$ac_objext \
6885 conftest$ac_exeext conftest.$ac_ext
6886 LIBS=$ac_check_lib_save_LIBS
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6889 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6890 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6891 I386_LIBS="-li386"
6896 OPENGL_LIBS=""
6900 # Check whether --enable-largefile was given.
6901 if test "${enable_largefile+set}" = set; then :
6902 enableval=$enable_largefile;
6905 if test "$enable_largefile" != no; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6908 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6909 if ${ac_cv_sys_largefile_CC+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 ac_cv_sys_largefile_CC=no
6913 if test "$GCC" != yes; then
6914 ac_save_CC=$CC
6915 while :; do
6916 # IRIX 6.2 and later do not support large files by default,
6917 # so use the C compiler's -n32 option if that helps.
6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6920 #include <sys/types.h>
6921 /* Check that off_t can represent 2**63 - 1 correctly.
6922 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6923 since some C++ compilers masquerading as C compilers
6924 incorrectly reject 9223372036854775807. */
6925 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6926 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6927 && LARGE_OFF_T % 2147483647 == 1)
6928 ? 1 : -1];
6930 main ()
6934 return 0;
6936 _ACEOF
6937 if ac_fn_c_try_compile "$LINENO"; then :
6938 break
6940 rm -f core conftest.err conftest.$ac_objext
6941 CC="$CC -n32"
6942 if ac_fn_c_try_compile "$LINENO"; then :
6943 ac_cv_sys_largefile_CC=' -n32'; break
6945 rm -f core conftest.err conftest.$ac_objext
6946 break
6947 done
6948 CC=$ac_save_CC
6949 rm -f conftest.$ac_ext
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6953 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6954 if test "$ac_cv_sys_largefile_CC" != no; then
6955 CC=$CC$ac_cv_sys_largefile_CC
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6959 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6960 if ${ac_cv_sys_file_offset_bits+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 while :; do
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6966 #include <sys/types.h>
6967 /* Check that off_t can represent 2**63 - 1 correctly.
6968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6969 since some C++ compilers masquerading as C compilers
6970 incorrectly reject 9223372036854775807. */
6971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6973 && LARGE_OFF_T % 2147483647 == 1)
6974 ? 1 : -1];
6976 main ()
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_sys_file_offset_bits=no; break
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 #define _FILE_OFFSET_BITS 64
6990 #include <sys/types.h>
6991 /* Check that off_t can represent 2**63 - 1 correctly.
6992 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6993 since some C++ compilers masquerading as C compilers
6994 incorrectly reject 9223372036854775807. */
6995 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6996 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6997 && LARGE_OFF_T % 2147483647 == 1)
6998 ? 1 : -1];
7000 main ()
7004 return 0;
7006 _ACEOF
7007 if ac_fn_c_try_compile "$LINENO"; then :
7008 ac_cv_sys_file_offset_bits=64; break
7010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7011 ac_cv_sys_file_offset_bits=unknown
7012 break
7013 done
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7016 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7017 case $ac_cv_sys_file_offset_bits in #(
7018 no | unknown) ;;
7020 cat >>confdefs.h <<_ACEOF
7021 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7022 _ACEOF
7024 esac
7025 rm -rf conftest*
7026 if test $ac_cv_sys_file_offset_bits = unknown; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7028 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7029 if ${ac_cv_sys_large_files+:} false; then :
7030 $as_echo_n "(cached) " >&6
7031 else
7032 while :; do
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7035 #include <sys/types.h>
7036 /* Check that off_t can represent 2**63 - 1 correctly.
7037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7038 since some C++ compilers masquerading as C compilers
7039 incorrectly reject 9223372036854775807. */
7040 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7042 && LARGE_OFF_T % 2147483647 == 1)
7043 ? 1 : -1];
7045 main ()
7049 return 0;
7051 _ACEOF
7052 if ac_fn_c_try_compile "$LINENO"; then :
7053 ac_cv_sys_large_files=no; break
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7058 #define _LARGE_FILES 1
7059 #include <sys/types.h>
7060 /* Check that off_t can represent 2**63 - 1 correctly.
7061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7062 since some C++ compilers masquerading as C compilers
7063 incorrectly reject 9223372036854775807. */
7064 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7066 && LARGE_OFF_T % 2147483647 == 1)
7067 ? 1 : -1];
7069 main ()
7073 return 0;
7075 _ACEOF
7076 if ac_fn_c_try_compile "$LINENO"; then :
7077 ac_cv_sys_large_files=1; break
7079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7080 ac_cv_sys_large_files=unknown
7081 break
7082 done
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7085 $as_echo "$ac_cv_sys_large_files" >&6; }
7086 case $ac_cv_sys_large_files in #(
7087 no | unknown) ;;
7089 cat >>confdefs.h <<_ACEOF
7090 #define _LARGE_FILES $ac_cv_sys_large_files
7091 _ACEOF
7093 esac
7094 rm -rf conftest*
7101 ac_ext=c
7102 ac_cpp='$CPP $CPPFLAGS'
7103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7107 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7108 # On Suns, sometimes $CPP names a directory.
7109 if test -n "$CPP" && test -d "$CPP"; then
7110 CPP=
7112 if test -z "$CPP"; then
7113 if ${ac_cv_prog_CPP+:} false; then :
7114 $as_echo_n "(cached) " >&6
7115 else
7116 # Double quotes because CPP needs to be expanded
7117 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7119 ac_preproc_ok=false
7120 for ac_c_preproc_warn_flag in '' yes
7122 # Use a header file that comes with gcc, so configuring glibc
7123 # with a fresh cross-compiler works.
7124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7125 # <limits.h> exists even on freestanding compilers.
7126 # On the NeXT, cc -E runs the code through the compiler's parser,
7127 # not just through cpp. "Syntax error" is here to catch this case.
7128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7129 /* end confdefs.h. */
7130 #ifdef __STDC__
7131 # include <limits.h>
7132 #else
7133 # include <assert.h>
7134 #endif
7135 Syntax error
7136 _ACEOF
7137 if ac_fn_c_try_cpp "$LINENO"; then :
7139 else
7140 # Broken: fails on valid input.
7141 continue
7143 rm -f conftest.err conftest.i conftest.$ac_ext
7145 # OK, works on sane cases. Now check whether nonexistent headers
7146 # can be detected and how.
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h. */
7149 #include <ac_nonexistent.h>
7150 _ACEOF
7151 if ac_fn_c_try_cpp "$LINENO"; then :
7152 # Broken: success on invalid input.
7153 continue
7154 else
7155 # Passes both tests.
7156 ac_preproc_ok=:
7157 break
7159 rm -f conftest.err conftest.i conftest.$ac_ext
7161 done
7162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7163 rm -f conftest.i conftest.err conftest.$ac_ext
7164 if $ac_preproc_ok; then :
7165 break
7168 done
7169 ac_cv_prog_CPP=$CPP
7172 CPP=$ac_cv_prog_CPP
7173 else
7174 ac_cv_prog_CPP=$CPP
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7177 $as_echo "$CPP" >&6; }
7178 ac_preproc_ok=false
7179 for ac_c_preproc_warn_flag in '' yes
7181 # Use a header file that comes with gcc, so configuring glibc
7182 # with a fresh cross-compiler works.
7183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7184 # <limits.h> exists even on freestanding compilers.
7185 # On the NeXT, cc -E runs the code through the compiler's parser,
7186 # not just through cpp. "Syntax error" is here to catch this case.
7187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189 #ifdef __STDC__
7190 # include <limits.h>
7191 #else
7192 # include <assert.h>
7193 #endif
7194 Syntax error
7195 _ACEOF
7196 if ac_fn_c_try_cpp "$LINENO"; then :
7198 else
7199 # Broken: fails on valid input.
7200 continue
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 # OK, works on sane cases. Now check whether nonexistent headers
7205 # can be detected and how.
7206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7207 /* end confdefs.h. */
7208 #include <ac_nonexistent.h>
7209 _ACEOF
7210 if ac_fn_c_try_cpp "$LINENO"; then :
7211 # Broken: success on invalid input.
7212 continue
7213 else
7214 # Passes both tests.
7215 ac_preproc_ok=:
7216 break
7218 rm -f conftest.err conftest.i conftest.$ac_ext
7220 done
7221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7222 rm -f conftest.i conftest.err conftest.$ac_ext
7223 if $ac_preproc_ok; then :
7225 else
7226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7228 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7229 See \`config.log' for more details" "$LINENO" 5; }
7232 ac_ext=c
7233 ac_cpp='$CPP $CPPFLAGS'
7234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7240 $as_echo_n "checking for ANSI C header files... " >&6; }
7241 if ${ac_cv_header_stdc+:} false; then :
7242 $as_echo_n "(cached) " >&6
7243 else
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <stdlib.h>
7247 #include <stdarg.h>
7248 #include <string.h>
7249 #include <float.h>
7252 main ()
7256 return 0;
7258 _ACEOF
7259 if ac_fn_c_try_compile "$LINENO"; then :
7260 ac_cv_header_stdc=yes
7261 else
7262 ac_cv_header_stdc=no
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7266 if test $ac_cv_header_stdc = yes; then
7267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7270 #include <string.h>
7272 _ACEOF
7273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7274 $EGREP "memchr" >/dev/null 2>&1; then :
7276 else
7277 ac_cv_header_stdc=no
7279 rm -f conftest*
7283 if test $ac_cv_header_stdc = yes; then
7284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7287 #include <stdlib.h>
7289 _ACEOF
7290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7291 $EGREP "free" >/dev/null 2>&1; then :
7293 else
7294 ac_cv_header_stdc=no
7296 rm -f conftest*
7300 if test $ac_cv_header_stdc = yes; then
7301 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7302 if test "$cross_compiling" = yes; then :
7304 else
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7307 #include <ctype.h>
7308 #include <stdlib.h>
7309 #if ((' ' & 0x0FF) == 0x020)
7310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7312 #else
7313 # define ISLOWER(c) \
7314 (('a' <= (c) && (c) <= 'i') \
7315 || ('j' <= (c) && (c) <= 'r') \
7316 || ('s' <= (c) && (c) <= 'z'))
7317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7318 #endif
7320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7322 main ()
7324 int i;
7325 for (i = 0; i < 256; i++)
7326 if (XOR (islower (i), ISLOWER (i))
7327 || toupper (i) != TOUPPER (i))
7328 return 2;
7329 return 0;
7331 _ACEOF
7332 if ac_fn_c_try_run "$LINENO"; then :
7334 else
7335 ac_cv_header_stdc=no
7337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7338 conftest.$ac_objext conftest.beam conftest.$ac_ext
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7344 $as_echo "$ac_cv_header_stdc" >&6; }
7345 if test $ac_cv_header_stdc = yes; then
7347 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7352 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7353 inttypes.h stdint.h unistd.h
7354 do :
7355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7359 cat >>confdefs.h <<_ACEOF
7360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7361 _ACEOF
7365 done
7368 for ac_header in \
7369 AL/al.h \
7370 ApplicationServices/ApplicationServices.h \
7371 AudioToolbox/AudioConverter.h \
7372 AudioUnit/AudioUnit.h \
7373 AudioUnit/AudioComponent.h \
7374 CL/cl.h \
7375 Carbon/Carbon.h \
7376 CommonCrypto/CommonCryptor.h \
7377 CoreAudio/CoreAudio.h \
7378 CoreServices/CoreServices.h \
7379 DiskArbitration/DiskArbitration.h \
7380 EGL/egl.h \
7381 IOKit/IOKitLib.h \
7382 IOKit/hid/IOHIDLib.h \
7383 OpenAL/al.h \
7384 OpenCL/opencl.h \
7385 QuickTime/ImageCompression.h \
7386 Security/Security.h \
7387 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7388 SystemConfiguration/SCNetworkConfiguration.h \
7389 alias.h \
7390 arpa/inet.h \
7391 arpa/nameser.h \
7392 asm/types.h \
7393 asm/user.h \
7394 curses.h \
7395 dirent.h \
7396 dlfcn.h \
7397 elf.h \
7398 float.h \
7399 fnmatch.h \
7400 getopt.h \
7401 gettext-po.h \
7402 grp.h \
7403 gsm.h \
7404 gsm/gsm.h \
7405 ieeefp.h \
7406 inet/mib2.h \
7407 kstat.h \
7408 libproc.h \
7409 link.h \
7410 linux/cdrom.h \
7411 linux/compiler.h \
7412 linux/filter.h \
7413 linux/hdreg.h \
7414 linux/hidraw.h \
7415 linux/input.h \
7416 linux/ioctl.h \
7417 linux/joystick.h \
7418 linux/major.h \
7419 linux/param.h \
7420 linux/serial.h \
7421 linux/types.h \
7422 linux/ucdrom.h \
7423 lwp.h \
7424 mach-o/nlist.h \
7425 mach-o/loader.h \
7426 mach/mach.h \
7427 mach/machine.h \
7428 machine/cpu.h \
7429 machine/sysarch.h \
7430 mntent.h \
7431 ncurses.h \
7432 netdb.h \
7433 netinet/in.h \
7434 netinet/in_systm.h \
7435 netinet/tcp.h \
7436 netinet/tcp_fsm.h \
7437 pcap/pcap.h \
7438 poll.h \
7439 port.h \
7440 pthread.h \
7441 pwd.h \
7442 sasl/sasl.h \
7443 sched.h \
7444 scsi/scsi.h \
7445 scsi/scsi_ioctl.h \
7446 scsi/sg.h \
7447 stdbool.h \
7448 stdint.h \
7449 stropts.h \
7450 sys/attr.h \
7451 sys/auxv.h \
7452 sys/cdio.h \
7453 sys/epoll.h \
7454 sys/event.h \
7455 sys/filio.h \
7456 sys/ioctl.h \
7457 sys/ipc.h \
7458 sys/link.h \
7459 sys/mman.h \
7460 sys/modem.h \
7461 sys/msg.h \
7462 sys/mtio.h \
7463 sys/param.h \
7464 sys/poll.h \
7465 sys/prctl.h \
7466 sys/protosw.h \
7467 sys/ptrace.h \
7468 sys/queue.h \
7469 sys/resource.h \
7470 sys/scsiio.h \
7471 sys/shm.h \
7472 sys/signal.h \
7473 sys/socket.h \
7474 sys/socketvar.h \
7475 sys/sockio.h \
7476 sys/statvfs.h \
7477 sys/strtio.h \
7478 sys/syscall.h \
7479 sys/sysinfo.h \
7480 sys/tihdr.h \
7481 sys/time.h \
7482 sys/timeout.h \
7483 sys/times.h \
7484 sys/uio.h \
7485 sys/user.h \
7486 sys/utsname.h \
7487 sys/vnode.h \
7488 sys/wait.h \
7489 syscall.h \
7490 termios.h \
7491 unistd.h \
7492 utime.h \
7493 valgrind/memcheck.h \
7494 valgrind/valgrind.h
7496 do :
7497 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7498 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7499 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7500 cat >>confdefs.h <<_ACEOF
7501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7502 _ACEOF
7506 done
7508 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7509 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7511 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7516 if test $ac_cv_header_sys_mkdev_h = no; then
7517 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7518 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7520 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7527 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7528 if ${ac_cv_header_stat_broken+:} false; then :
7529 $as_echo_n "(cached) " >&6
7530 else
7531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532 /* end confdefs.h. */
7533 #include <sys/types.h>
7534 #include <sys/stat.h>
7536 #if defined S_ISBLK && defined S_IFDIR
7537 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7538 #endif
7540 #if defined S_ISBLK && defined S_IFCHR
7541 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7542 #endif
7544 #if defined S_ISLNK && defined S_IFREG
7545 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7546 #endif
7548 #if defined S_ISSOCK && defined S_IFREG
7549 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7550 #endif
7552 _ACEOF
7553 if ac_fn_c_try_compile "$LINENO"; then :
7554 ac_cv_header_stat_broken=no
7555 else
7556 ac_cv_header_stat_broken=yes
7558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7561 $as_echo "$ac_cv_header_stat_broken" >&6; }
7562 if test $ac_cv_header_stat_broken = yes; then
7564 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7570 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7571 do :
7572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7573 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7574 #ifdef HAVE_SYS_PARAM_H
7575 # include <sys/param.h>
7576 #endif
7578 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7579 cat >>confdefs.h <<_ACEOF
7580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7581 _ACEOF
7585 done
7588 saved_sysctl_h_CFLAGS=$CFLAGS
7589 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7590 for ac_header in sys/sysctl.h
7591 do :
7592 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7593 #ifdef HAVE_SYS_PARAM_H
7594 # include <sys/param.h>
7595 #endif
7597 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7598 cat >>confdefs.h <<_ACEOF
7599 #define HAVE_SYS_SYSCTL_H 1
7600 _ACEOF
7604 done
7606 CFLAGS=$saved_sysctl_h_CFLAGS
7608 for ac_header in \
7609 netinet/ip.h \
7610 net/if.h \
7611 net/if_arp.h \
7612 net/if_dl.h \
7613 net/if_types.h \
7614 net/route.h \
7615 netinet/if_ether.h \
7616 netinet/if_inarp.h \
7617 netinet/in_pcb.h \
7618 netinet/ip_icmp.h \
7619 netinet/ip_var.h \
7620 netinet/udp.h \
7621 netipx/ipx.h \
7622 sys/un.h \
7624 do :
7625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7626 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7627 #ifdef HAVE_SYS_SOCKET_H
7628 # include <sys/socket.h>
7629 #endif
7630 #ifdef HAVE_SYS_SOCKETVAR_H
7631 # include <sys/socketvar.h>
7632 #endif
7633 #ifdef HAVE_NET_ROUTE_H
7634 # include <net/route.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IN_H
7637 # include <netinet/in.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IN_SYSTM_H
7640 # include <netinet/in_systm.h>
7641 #endif
7642 #ifdef HAVE_NET_IF_H
7643 # include <net/if.h>
7644 #endif
7645 #ifdef HAVE_NETINET_IP_H
7646 # include <netinet/ip.h>
7647 #endif
7649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7650 cat >>confdefs.h <<_ACEOF
7651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7652 _ACEOF
7656 done
7659 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7660 do :
7661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7663 #ifdef HAVE_ALIAS_H
7664 # include <alias.h>
7665 #endif
7666 #ifdef HAVE_SYS_SOCKET_H
7667 # include <sys/socket.h>
7668 #endif
7669 #ifdef HAVE_SYS_SOCKETVAR_H
7670 # include <sys/socketvar.h>
7671 #endif
7672 #ifdef HAVE_SYS_TIMEOUT_H
7673 # include <sys/timeout.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IN_H
7676 # include <netinet/in.h>
7677 #endif
7678 #ifdef HAVE_NETINET_IN_SYSTM_H
7679 # include <netinet/in_systm.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IP_H
7682 # include <netinet/ip.h>
7683 #endif
7684 #ifdef HAVE_NETINET_IP_VAR_H
7685 # include <netinet/ip_var.h>
7686 #endif
7687 #ifdef HAVE_NETINET_IP_ICMP_H
7688 # include <netinet/ip_icmp.h>
7689 #endif
7690 #ifdef HAVE_NETINET_UDP_H
7691 # include <netinet/udp.h>
7692 #endif
7693 #ifdef HAVE_NETINET_TCP_H
7694 # include <netinet/tcp.h>
7695 #endif
7696 #ifdef HAVE_NETINET_TCP_TIMER_H
7697 #include <netinet/tcp_timer.h>
7698 #endif
7700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7701 cat >>confdefs.h <<_ACEOF
7702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 _ACEOF
7707 done
7710 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7711 do :
7712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7714 #ifdef HAVE_ASM_TYPES_H
7715 # include <asm/types.h>
7716 #endif
7717 #ifdef HAVE_SYS_SOCKET_H
7718 # include <sys/socket.h>
7719 #endif
7720 #ifdef HAVE_LINUX_TYPES_H
7721 # include <linux/types.h>
7722 #endif
7724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7725 cat >>confdefs.h <<_ACEOF
7726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7727 _ACEOF
7731 done
7734 for ac_header in resolv.h
7735 do :
7736 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7737 #ifdef HAVE_SYS_SOCKET_H
7738 # include <sys/socket.h>
7739 #endif
7740 #ifdef HAVE_NETINET_IN_H
7741 # include <netinet/in.h>
7742 #endif
7743 #ifdef HAVE_ARPA_NAMESER_H
7744 # include <arpa/nameser.h>
7745 #endif
7747 if test "x$ac_cv_header_resolv_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_RESOLV_H 1
7750 _ACEOF
7754 done
7757 for ac_header in ifaddrs.h
7758 do :
7759 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7761 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_IFADDRS_H 1
7764 _ACEOF
7768 done
7771 for ac_header in sys/ucontext.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7775 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_SYS_UCONTEXT_H 1
7778 _ACEOF
7782 done
7785 for ac_header in sys/thr.h
7786 do :
7787 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7788 #ifdef HAVE_SYS_UCONTEXT_H
7789 #include <sys/ucontext.h>
7790 #endif
7792 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7793 cat >>confdefs.h <<_ACEOF
7794 #define HAVE_SYS_THR_H 1
7795 _ACEOF
7799 done
7802 for ac_header in pthread_np.h
7803 do :
7804 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7805 #include <pthread.h>
7806 #endif
7808 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7809 cat >>confdefs.h <<_ACEOF
7810 #define HAVE_PTHREAD_NP_H 1
7811 _ACEOF
7815 done
7818 for ac_header in linux/videodev2.h
7819 do :
7820 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7821 #include <sys/time.h>
7822 #endif
7823 #include <sys/types.h>
7824 #ifdef HAVE_ASM_TYPES_H
7825 #include <asm/types.h>
7826 #endif
7828 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7829 cat >>confdefs.h <<_ACEOF
7830 #define HAVE_LINUX_VIDEODEV2_H 1
7831 _ACEOF
7835 done
7838 for ac_header in libprocstat.h
7839 do :
7840 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7841 #include <sys/param.h>
7842 #endif
7843 #ifdef HAVE_SYS_QUEUE_H
7844 #include <sys/queue.h>
7845 #endif
7846 #ifdef HAVE_SYS_SOCKET_H
7847 #include <sys/socket.h>
7848 #endif
7850 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_LIBPROCSTAT_H 1
7853 _ACEOF
7857 done
7861 DLLFLAGS="-D_REENTRANT"
7863 LDRPATH_INSTALL=""
7865 LDRPATH_LOCAL=""
7867 LDDLLFLAGS=""
7869 LDEXECFLAGS=""
7871 TOP_INSTALL_LIB=""
7873 TOP_INSTALL_DEV=""
7875 WINELOADER_LDFLAGS=""
7877 WINEPRELOADER_LDFLAGS=""
7879 LIBEXT="so"
7880 DLLEXT=".so"
7881 # Extract the first word of "ldd", so it can be a program name with args.
7882 set dummy ldd; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_path_LDD+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 case $LDD in
7889 [\\/]* | ?:[\\/]*)
7890 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 as_dummy="/sbin:/usr/sbin:$PATH"
7895 for as_dir in $as_dummy
7897 IFS=$as_save_IFS
7898 test -z "$as_dir" && as_dir=.
7899 for ac_exec_ext in '' $ac_executable_extensions; do
7900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 break 2
7905 done
7906 done
7907 IFS=$as_save_IFS
7909 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7911 esac
7913 LDD=$ac_cv_path_LDD
7914 if test -n "$LDD"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7916 $as_echo "$LDD" >&6; }
7917 else
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7923 if test -n "$ac_tool_prefix"; then
7924 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7925 set dummy ${ac_tool_prefix}otool; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 $as_echo_n "checking for $ac_word... " >&6; }
7928 if ${ac_cv_prog_OTOOL+:} false; then :
7929 $as_echo_n "(cached) " >&6
7930 else
7931 if test -n "$OTOOL"; then
7932 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7933 else
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $PATH
7937 IFS=$as_save_IFS
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 break 2
7945 done
7946 done
7947 IFS=$as_save_IFS
7951 OTOOL=$ac_cv_prog_OTOOL
7952 if test -n "$OTOOL"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7954 $as_echo "$OTOOL" >&6; }
7955 else
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7962 if test -z "$ac_cv_prog_OTOOL"; then
7963 ac_ct_OTOOL=$OTOOL
7964 # Extract the first word of "otool", so it can be a program name with args.
7965 set dummy otool; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 if test -n "$ac_ct_OTOOL"; then
7972 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7973 else
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 for as_dir in $PATH
7977 IFS=$as_save_IFS
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_ac_ct_OTOOL="otool"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 break 2
7985 done
7986 done
7987 IFS=$as_save_IFS
7991 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7992 if test -n "$ac_ct_OTOOL"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7994 $as_echo "$ac_ct_OTOOL" >&6; }
7995 else
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8000 if test "x$ac_ct_OTOOL" = x; then
8001 OTOOL="otool"
8002 else
8003 case $cross_compiling:$ac_tool_warned in
8004 yes:)
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8007 ac_tool_warned=yes ;;
8008 esac
8009 OTOOL=$ac_ct_OTOOL
8011 else
8012 OTOOL="$ac_cv_prog_OTOOL"
8015 if test -n "$ac_tool_prefix"; then
8016 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8017 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_READELF+:} false; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8023 if test -n "$READELF"; then
8024 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8029 IFS=$as_save_IFS
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 break 2
8037 done
8038 done
8039 IFS=$as_save_IFS
8043 READELF=$ac_cv_prog_READELF
8044 if test -n "$READELF"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8046 $as_echo "$READELF" >&6; }
8047 else
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8054 if test -z "$ac_cv_prog_READELF"; then
8055 ac_ct_READELF=$READELF
8056 # Extract the first word of "readelf", so it can be a program name with args.
8057 set dummy readelf; ac_word=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8061 $as_echo_n "(cached) " >&6
8062 else
8063 if test -n "$ac_ct_READELF"; then
8064 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8065 else
8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8067 for as_dir in $PATH
8069 IFS=$as_save_IFS
8070 test -z "$as_dir" && as_dir=.
8071 for ac_exec_ext in '' $ac_executable_extensions; do
8072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073 ac_cv_prog_ac_ct_READELF="readelf"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8075 break 2
8077 done
8078 done
8079 IFS=$as_save_IFS
8083 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8084 if test -n "$ac_ct_READELF"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8086 $as_echo "$ac_ct_READELF" >&6; }
8087 else
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8092 if test "x$ac_ct_READELF" = x; then
8093 READELF="true"
8094 else
8095 case $cross_compiling:$ac_tool_warned in
8096 yes:)
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8099 ac_tool_warned=yes ;;
8100 esac
8101 READELF=$ac_ct_READELF
8103 else
8104 READELF="$ac_cv_prog_READELF"
8107 wine_rules_file=conf$$rules.make
8108 rm -f $wine_rules_file
8109 SUBDIRS=""
8111 DISABLED_SUBDIRS=""
8113 CONFIGURE_TARGETS=""
8116 wine_fn_append_file ()
8118 as_fn_append $1 " \\$as_nl $2"
8121 wine_fn_append_rule ()
8123 $as_echo "$1" >>$wine_rules_file
8126 wine_fn_config_makefile ()
8128 wine_fn_append_file SUBDIRS $1
8129 if eval test \"x\$"$2"\" = x"no"; then :
8130 wine_fn_append_file DISABLED_SUBDIRS $1
8134 wine_fn_config_symlink ()
8136 ac_links=$@
8137 wine_fn_append_rule \
8138 "$ac_links:
8139 @./config.status \$@"
8140 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8143 wine_binary="wine"
8144 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8145 WINELOADER_PROGRAMS="$wine_binary"
8147 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8149 case $host_os in
8150 cygwin*|mingw32*)
8151 if test -n "$ac_tool_prefix"; then
8152 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8153 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_DLLTOOL+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 if test -n "$DLLTOOL"; then
8160 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8173 done
8174 done
8175 IFS=$as_save_IFS
8179 DLLTOOL=$ac_cv_prog_DLLTOOL
8180 if test -n "$DLLTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8182 $as_echo "$DLLTOOL" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8190 if test -z "$ac_cv_prog_DLLTOOL"; then
8191 ac_ct_DLLTOOL=$DLLTOOL
8192 # Extract the first word of "dlltool", so it can be a program name with args.
8193 set dummy dlltool; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195 $as_echo_n "checking for $ac_word... " >&6; }
8196 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 if test -n "$ac_ct_DLLTOOL"; then
8200 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8201 else
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 for as_dir in $PATH
8205 IFS=$as_save_IFS
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 break 2
8213 done
8214 done
8215 IFS=$as_save_IFS
8219 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8220 if test -n "$ac_ct_DLLTOOL"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8222 $as_echo "$ac_ct_DLLTOOL" >&6; }
8223 else
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8228 if test "x$ac_ct_DLLTOOL" = x; then
8229 DLLTOOL="false"
8230 else
8231 case $cross_compiling:$ac_tool_warned in
8232 yes:)
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8235 ac_tool_warned=yes ;;
8236 esac
8237 DLLTOOL=$ac_ct_DLLTOOL
8239 else
8240 DLLTOOL="$ac_cv_prog_DLLTOOL"
8243 LIBEXT="dll"
8244 DLLEXT=""
8245 case $host_cpu in
8246 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8247 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8248 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 ac_wine_try_cflags_saved=$CFLAGS
8252 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 int main(int argc, char **argv) { return 0; }
8256 _ACEOF
8257 if ac_fn_c_try_link "$LINENO"; then :
8258 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8259 else
8260 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8262 rm -f core conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 CFLAGS=$ac_wine_try_cflags_saved
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8267 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8268 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8269 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8270 fi ;;
8271 esac
8272 enable_iphlpapi=${enable_iphlpapi:-no}
8273 enable_kernel32=${enable_kernel32:-no}
8274 enable_ntdll=${enable_ntdll:-no}
8275 enable_ws2_32=${enable_ws2_32:-no}
8276 enable_loader=${enable_loader:-no}
8277 enable_server=${enable_server:-no}
8278 with_x=${with_x:-no}
8279 with_pthread=${with_pthread:-no}
8282 darwin*|macosx*)
8283 ac_ext=m
8284 ac_cpp='$OBJCPP $CPPFLAGS'
8285 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8286 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8287 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8289 ac_ext=m
8290 ac_cpp='$OBJCPP $CPPFLAGS'
8291 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8292 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8293 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8294 if test -n "$ac_tool_prefix"; then
8295 for ac_prog in gcc objcc objc cc CC
8297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8300 $as_echo_n "checking for $ac_word... " >&6; }
8301 if ${ac_cv_prog_OBJC+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 if test -n "$OBJC"; then
8305 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8306 else
8307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 for as_dir in $PATH
8310 IFS=$as_save_IFS
8311 test -z "$as_dir" && as_dir=.
8312 for ac_exec_ext in '' $ac_executable_extensions; do
8313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8314 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8316 break 2
8318 done
8319 done
8320 IFS=$as_save_IFS
8324 OBJC=$ac_cv_prog_OBJC
8325 if test -n "$OBJC"; then
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8327 $as_echo "$OBJC" >&6; }
8328 else
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8330 $as_echo "no" >&6; }
8334 test -n "$OBJC" && break
8335 done
8337 if test -z "$OBJC"; then
8338 ac_ct_OBJC=$OBJC
8339 for ac_prog in gcc objcc objc cc CC
8341 # Extract the first word of "$ac_prog", so it can be a program name with args.
8342 set dummy $ac_prog; ac_word=$2
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344 $as_echo_n "checking for $ac_word... " >&6; }
8345 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 if test -n "$ac_ct_OBJC"; then
8349 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8350 else
8351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352 for as_dir in $PATH
8354 IFS=$as_save_IFS
8355 test -z "$as_dir" && as_dir=.
8356 for ac_exec_ext in '' $ac_executable_extensions; do
8357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8358 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 break 2
8362 done
8363 done
8364 IFS=$as_save_IFS
8368 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8369 if test -n "$ac_ct_OBJC"; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8371 $as_echo "$ac_ct_OBJC" >&6; }
8372 else
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374 $as_echo "no" >&6; }
8378 test -n "$ac_ct_OBJC" && break
8379 done
8381 if test "x$ac_ct_OBJC" = x; then
8382 OBJC="gcc"
8383 else
8384 case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390 OBJC=$ac_ct_OBJC
8394 # Provide some information about the compiler.
8395 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8396 set X $ac_compile
8397 ac_compiler=$2
8398 for ac_option in --version -v -V -qversion; do
8399 { { ac_try="$ac_compiler $ac_option >&5"
8400 case "(($ac_try" in
8401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8402 *) ac_try_echo=$ac_try;;
8403 esac
8404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8405 $as_echo "$ac_try_echo"; } >&5
8406 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8407 ac_status=$?
8408 if test -s conftest.err; then
8409 sed '10a\
8410 ... rest of stderr output deleted ...
8411 10q' conftest.err >conftest.er1
8412 cat conftest.er1 >&5
8414 rm -f conftest.er1 conftest.err
8415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8416 test $ac_status = 0; }
8417 done
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8420 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8421 if ${ac_cv_objc_compiler_gnu+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8428 main ()
8430 #ifndef __GNUC__
8431 choke me
8432 #endif
8435 return 0;
8437 _ACEOF
8438 if ac_fn_objc_try_compile "$LINENO"; then :
8439 ac_compiler_gnu=yes
8440 else
8441 ac_compiler_gnu=no
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8448 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8449 if test $ac_compiler_gnu = yes; then
8450 GOBJC=yes
8451 else
8452 GOBJC=
8454 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8455 ac_save_OBJCFLAGS=$OBJCFLAGS
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8457 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8458 if ${ac_cv_prog_objc_g+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_save_objc_werror_flag=$ac_objc_werror_flag
8462 ac_objc_werror_flag=yes
8463 ac_cv_prog_objc_g=no
8464 OBJCFLAGS="-g"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8469 main ()
8473 return 0;
8475 _ACEOF
8476 if ac_fn_objc_try_compile "$LINENO"; then :
8477 ac_cv_prog_objc_g=yes
8478 else
8479 OBJCFLAGS=""
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8484 main ()
8488 return 0;
8490 _ACEOF
8491 if ac_fn_objc_try_compile "$LINENO"; then :
8493 else
8494 ac_objc_werror_flag=$ac_save_objc_werror_flag
8495 OBJCFLAGS="-g"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 main ()
8504 return 0;
8506 _ACEOF
8507 if ac_fn_objc_try_compile "$LINENO"; then :
8508 ac_cv_prog_objc_g=yes
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 ac_objc_werror_flag=$ac_save_objc_werror_flag
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8518 $as_echo "$ac_cv_prog_objc_g" >&6; }
8519 if test "$ac_test_OBJCFLAGS" = set; then
8520 OBJCFLAGS=$ac_save_OBJCFLAGS
8521 elif test $ac_cv_prog_objc_g = yes; then
8522 if test "$GOBJC" = yes; then
8523 OBJCFLAGS="-g -O2"
8524 else
8525 OBJCFLAGS="-g"
8527 else
8528 if test "$GOBJC" = yes; then
8529 OBJCFLAGS="-O2"
8530 else
8531 OBJCFLAGS=
8534 ac_ext=m
8535 ac_cpp='$OBJCPP $CPPFLAGS'
8536 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8537 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8538 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8541 ac_ext=m
8542 ac_cpp='$OBJCPP $CPPFLAGS'
8543 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8544 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8545 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8547 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8548 if test -z "$OBJCPP"; then
8549 if ${ac_cv_prog_OBJCPP+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 # Double quotes because OBJCPP needs to be expanded
8553 for OBJCPP in "$OBJC -E" "/lib/cpp"
8555 ac_preproc_ok=false
8556 for ac_objc_preproc_warn_flag in '' yes
8558 # Use a header file that comes with gcc, so configuring glibc
8559 # with a fresh cross-compiler works.
8560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8561 # <limits.h> exists even on freestanding compilers.
8562 # On the NeXT, cc -E runs the code through the compiler's parser,
8563 # not just through cpp. "Syntax error" is here to catch this case.
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 #ifdef __STDC__
8567 # include <limits.h>
8568 #else
8569 # include <assert.h>
8570 #endif
8571 Syntax error
8572 _ACEOF
8573 if ac_fn_objc_try_cpp "$LINENO"; then :
8575 else
8576 # Broken: fails on valid input.
8577 continue
8579 rm -f conftest.err conftest.i conftest.$ac_ext
8581 # OK, works on sane cases. Now check whether nonexistent headers
8582 # can be detected and how.
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8585 #include <ac_nonexistent.h>
8586 _ACEOF
8587 if ac_fn_objc_try_cpp "$LINENO"; then :
8588 # Broken: success on invalid input.
8589 continue
8590 else
8591 # Passes both tests.
8592 ac_preproc_ok=:
8593 break
8595 rm -f conftest.err conftest.i conftest.$ac_ext
8597 done
8598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8599 rm -f conftest.i conftest.err conftest.$ac_ext
8600 if $ac_preproc_ok; then :
8601 break
8604 done
8605 ac_cv_prog_OBJCPP=$OBJCPP
8608 OBJCPP=$ac_cv_prog_OBJCPP
8609 else
8610 ac_cv_prog_OBJCPP=$OBJCPP
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8613 $as_echo "$OBJCPP" >&6; }
8614 ac_preproc_ok=false
8615 for ac_objc_preproc_warn_flag in '' yes
8617 # Use a header file that comes with gcc, so configuring glibc
8618 # with a fresh cross-compiler works.
8619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8620 # <limits.h> exists even on freestanding compilers.
8621 # On the NeXT, cc -E runs the code through the compiler's parser,
8622 # not just through cpp. "Syntax error" is here to catch this case.
8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8625 #ifdef __STDC__
8626 # include <limits.h>
8627 #else
8628 # include <assert.h>
8629 #endif
8630 Syntax error
8631 _ACEOF
8632 if ac_fn_objc_try_cpp "$LINENO"; then :
8634 else
8635 # Broken: fails on valid input.
8636 continue
8638 rm -f conftest.err conftest.i conftest.$ac_ext
8640 # OK, works on sane cases. Now check whether nonexistent headers
8641 # can be detected and how.
8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8644 #include <ac_nonexistent.h>
8645 _ACEOF
8646 if ac_fn_objc_try_cpp "$LINENO"; then :
8647 # Broken: success on invalid input.
8648 continue
8649 else
8650 # Passes both tests.
8651 ac_preproc_ok=:
8652 break
8654 rm -f conftest.err conftest.i conftest.$ac_ext
8656 done
8657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8658 rm -f conftest.i conftest.err conftest.$ac_ext
8659 if $ac_preproc_ok; then :
8661 else
8662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8664 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8665 See \`config.log' for more details" "$LINENO" 5; }
8668 ac_ext=m
8669 ac_cpp='$OBJCPP $CPPFLAGS'
8670 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8671 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8672 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8675 for ac_header in Metal/Metal.h
8676 do :
8677 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8678 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8679 cat >>confdefs.h <<_ACEOF
8680 #define HAVE_METAL_METAL_H 1
8681 _ACEOF
8685 done
8687 ac_ext=c
8688 ac_cpp='$CPP $CPPFLAGS'
8689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8693 LIBEXT="dylib"
8694 DLLFLAGS="$DLLFLAGS -fPIC"
8695 LDDLLFLAGS="-fPIC"
8696 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8697 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8698 COREFOUNDATION_LIBS="-framework CoreFoundation"
8700 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8702 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8704 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8706 CORESERVICES_LIBS="-framework CoreServices"
8708 APPKIT_LIBS="-framework AppKit"
8710 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8713 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8715 wine_can_build_preloader=yes
8716 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8718 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8719 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 int main(int argc, char **argv) { return 0; }
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_cflags__Wl__no_new_main__e__main=yes
8730 else
8731 ac_cv_cflags__Wl__no_new_main__e__main=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8738 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8739 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8740 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8742 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8743 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 ac_wine_try_cflags_saved=$CFLAGS
8747 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 int main(int argc, char **argv) { return 0; }
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8754 else
8755 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8762 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8763 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8764 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8765 else
8766 { $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
8767 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8768 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 int main(int argc, char **argv) { return 0; }
8776 _ACEOF
8777 if ac_fn_c_try_link "$LINENO"; then :
8778 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8779 else
8780 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { $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
8787 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8788 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8789 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8790 else
8791 wine_can_build_preloader=no
8794 else
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8796 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8797 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8808 else
8809 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8816 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8817 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8818 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8819 else
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8821 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8822 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8829 int main(int argc, char **argv) { return 0; }
8830 _ACEOF
8831 if ac_fn_c_try_link "$LINENO"; then :
8832 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8833 else
8834 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 CFLAGS=$ac_wine_try_cflags_saved
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8841 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8842 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8843 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8844 else
8845 wine_can_build_preloader=no
8849 if test "$wine_can_build_preloader" = "yes"
8850 then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8852 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8853 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -Wl,-no_pie"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8863 ac_cv_cflags__Wl__no_pie=yes
8864 else
8865 ac_cv_cflags__Wl__no_pie=no
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8872 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8873 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8874 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8876 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8877 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8878 else
8879 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8882 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8883 then
8884 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8887 if test "$ac_cv_header_Security_Security_h" = "yes"
8888 then
8889 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8891 ac_save_LIBS="$LIBS"
8892 LIBS="$LIBS $SECURITY_LIBS"
8893 for ac_func in SSLCopyPeerCertificates
8894 do :
8895 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8896 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8897 cat >>confdefs.h <<_ACEOF
8898 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8899 _ACEOF
8902 done
8904 LIBS="$ac_save_LIBS"
8906 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8907 then
8908 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8909 then
8910 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8912 else
8913 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8916 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8917 ac_save_LIBS="$LIBS"
8918 LIBS="$LIBS $COREAUDIO_LIBS"
8919 for ac_func in AUGraphAddNode
8920 do :
8921 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8922 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8923 cat >>confdefs.h <<_ACEOF
8924 #define HAVE_AUGRAPHADDNODE 1
8925 _ACEOF
8928 done
8930 LIBS="$ac_save_LIBS"
8932 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8933 then
8934 OPENAL_LIBS="-framework OpenAL"
8937 cat >>confdefs.h <<_ACEOF
8938 #define HAVE_OPENAL 1
8939 _ACEOF
8941 ac_cv_lib_openal=yes
8943 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8944 then
8945 OPENCL_LIBS="-framework OpenCL"
8947 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8949 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8950 then
8951 ac_save_LIBS="$LIBS"
8952 LIBS="$LIBS $IOKIT_LIBS"
8953 for ac_func in IOHIDManagerCreate
8954 do :
8955 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8956 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8957 cat >>confdefs.h <<_ACEOF
8958 #define HAVE_IOHIDMANAGERCREATE 1
8959 _ACEOF
8962 done
8964 LIBS="$ac_save_LIBS"
8966 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8967 then
8968 ac_save_LIBS="$LIBS"
8969 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8971 $as_echo_n "checking for the QuickTime framework... " >&6; }
8972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8973 /* end confdefs.h. */
8974 #include <QuickTime/ImageCompression.h>
8976 main ()
8978 CodecManagerVersion(NULL);
8980 return 0;
8982 _ACEOF
8983 if ac_fn_c_try_link "$LINENO"; then :
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8985 $as_echo "yes" >&6; }
8986 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8988 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8989 else
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8991 $as_echo "no" >&6; }
8992 ac_cv_header_QuickTime_ImageCompression_h=no
8994 rm -f core conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 LIBS="$ac_save_LIBS"
8998 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8999 then
9000 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
9002 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9003 then
9004 CARBON_LIBS="-framework Carbon"
9007 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9008 then
9009 METAL_LIBS="-framework Metal -framework QuartzCore"
9013 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9014 then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9016 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9017 ac_ext=m
9018 ac_cpp='$OBJCPP $CPPFLAGS'
9019 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9020 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9021 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9025 #include <Metal/Metal.h>
9027 main ()
9029 id<MTLDevice> device; device.registryID;
9031 return 0;
9033 _ACEOF
9034 if ac_fn_objc_try_compile "$LINENO"; then :
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9036 $as_echo "yes" >&6; }
9038 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9040 else
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9045 ac_ext=c
9046 ac_cpp='$CPP $CPPFLAGS'
9047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9053 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9054 then
9055 ac_save_LIBS="$LIBS"
9056 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9057 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9058 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9059 enable_winemac_drv=${enable_winemac_drv:-yes}
9062 LIBS="$ac_save_LIBS"
9065 if test "x$enable_win16" = "xyes"
9066 then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9068 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9069 if test "$cross_compiling" = yes; then :
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9071 $as_echo "cross-compiling, assuming yes" >&6; }
9072 else
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 asm(".text\n"
9076 "bad:\tnop;nop\n"
9077 "good:\tnop;nop\n\t"
9078 ".globl _testfunc\n"
9079 "_testfunc:\tcallw good");
9080 extern void testfunc();
9082 main ()
9084 unsigned short *p = (unsigned short *)testfunc;
9085 return p[0] != 0xe866 || p[1] != 0xfffa
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_run "$LINENO"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9092 $as_echo "yes" >&6; }
9093 else
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9096 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
9098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9099 conftest.$ac_objext conftest.beam conftest.$ac_ext
9104 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9106 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9108 WINELOADER_DEPENDS="wine_info.plist"
9110 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9111 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9114 linux-android*)
9115 DLLFLAGS="$DLLFLAGS -fPIC"
9116 LDDLLFLAGS="-fPIC"
9117 LDEXECFLAGS="-Wl,-pie"
9118 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9120 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9121 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 ac_wine_try_cflags_saved=$CFLAGS
9125 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9128 int main(int argc, char **argv) { return 0; }
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9132 else
9133 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9140 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9141 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9142 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9144 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9145 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9147 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9148 if eval \${$as_ac_var+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_wine_try_cflags_saved=$CFLAGS
9152 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9155 int main(int argc, char **argv) { return 0; }
9156 _ACEOF
9157 if ac_fn_c_try_link "$LINENO"; then :
9158 eval "$as_ac_var=yes"
9159 else
9160 eval "$as_ac_var=no"
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 CFLAGS=$ac_wine_try_cflags_saved
9166 eval ac_res=\$$as_ac_var
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9168 $as_echo "$ac_res" >&6; }
9169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9170 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9171 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9172 else
9173 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9175 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9176 if eval \${$as_ac_var+:} false; then :
9177 $as_echo_n "(cached) " >&6
9178 else
9179 ac_wine_try_cflags_saved=$CFLAGS
9180 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9183 int main(int argc, char **argv) { return 0; }
9184 _ACEOF
9185 if ac_fn_c_try_link "$LINENO"; then :
9186 eval "$as_ac_var=yes"
9187 else
9188 eval "$as_ac_var=no"
9190 rm -f core conftest.err conftest.$ac_objext \
9191 conftest$ac_exeext conftest.$ac_ext
9192 CFLAGS=$ac_wine_try_cflags_saved
9194 eval ac_res=\$$as_ac_var
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9196 $as_echo "$ac_res" >&6; }
9197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9198 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9199 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9203 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9204 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9205 $as_echo_n "(cached) " >&6
9206 else
9207 ac_wine_try_cflags_saved=$CFLAGS
9208 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9211 int main(int argc, char **argv) { return 0; }
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 ac_cv_cflags__Wl___enable_new_dtags=yes
9215 else
9216 ac_cv_cflags__Wl___enable_new_dtags=no
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 CFLAGS=$ac_wine_try_cflags_saved
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9223 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9224 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9225 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9228 LIBWINE_SHAREDLIB="libwine.so"
9230 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9232 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9235 $as_echo_n "checking for -lEGL... " >&6; }
9236 if ${ac_cv_lib_soname_EGL+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_soname_save_LIBS=$LIBS
9240 LIBS="-lEGL $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char eglGetProcAddress ();
9252 main ()
9254 return eglGetProcAddress ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 case "$LIBEXT" in
9261 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9262 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'` ;;
9263 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9264 if ${ac_cv_lib_soname_EGL:+false} :; then :
9265 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9266 fi ;;
9267 esac
9268 else
9269 ac_cv_lib_soname_EGL=
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_soname_save_LIBS
9275 if ${ac_cv_lib_soname_EGL:+false} :; then :
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9277 $as_echo "not found" >&6; }
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9281 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9283 cat >>confdefs.h <<_ACEOF
9284 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9285 _ACEOF
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9290 $as_echo_n "checking for -lGLESv2... " >&6; }
9291 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_check_soname_save_LIBS=$LIBS
9295 LIBS="-lGLESv2 $LIBS"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9302 #ifdef __cplusplus
9303 extern "C"
9304 #endif
9305 char glFlush ();
9307 main ()
9309 return glFlush ();
9311 return 0;
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 case "$LIBEXT" in
9316 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9317 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'` ;;
9318 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9319 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9320 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9321 fi ;;
9322 esac
9323 else
9324 ac_cv_lib_soname_GLESv2=
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 LIBS=$ac_check_soname_save_LIBS
9330 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9332 $as_echo "not found" >&6; }
9334 else
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9336 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9338 cat >>confdefs.h <<_ACEOF
9339 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9340 _ACEOF
9345 if test "x$exec_prefix" = xNONE
9346 then
9347 case $host_cpu in
9348 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9349 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9350 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9351 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9352 esac
9357 case $host_cpu in
9358 *i[3456789]86*)
9359 DLLFLAGS="$DLLFLAGS -fno-PIC"
9360 LDDLLFLAGS="-fno-PIC" ;;
9362 DLLFLAGS="$DLLFLAGS -fPIC"
9363 LDDLLFLAGS="-fPIC" ;;
9364 esac
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9366 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9367 if ${ac_cv_c_dll_gnuelf+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_wine_try_cflags_saved=$CFLAGS
9371 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9374 void myfunc() {}
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9378 else
9379 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 CFLAGS=$ac_wine_try_cflags_saved
9384 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9385 ac_cv_c_dll_gnuelf="yes"
9386 else
9387 ac_cv_c_dll_gnuelf="no"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9391 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9392 if test "$ac_cv_c_dll_gnuelf" = "yes"
9393 then
9394 LIBWINE_LDFLAGS="-shared"
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9396 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9397 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_wine_try_cflags_saved=$CFLAGS
9401 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9408 else
9409 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 CFLAGS=$ac_wine_try_cflags_saved
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9416 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9417 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9418 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9419 else
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9421 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9422 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9433 else
9434 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 CFLAGS=$ac_wine_try_cflags_saved
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9441 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9442 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9443 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9447 echo '{ global: *; };' >conftest.map
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9449 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9450 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9461 else
9462 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9469 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9470 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9471 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9473 rm -f conftest.map
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9476 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9477 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_wine_try_cflags_saved=$CFLAGS
9481 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484 int main(int argc, char **argv) { return 0; }
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_cflags__Wl___export_dynamic=yes
9488 else
9489 ac_cv_cflags__Wl___export_dynamic=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9496 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9497 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9498 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9500 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9502 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9504 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9505 if eval \${$as_ac_var+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 ac_wine_try_cflags_saved=$CFLAGS
9509 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9512 int main(int argc, char **argv) { return 0; }
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"; then :
9515 eval "$as_ac_var=yes"
9516 else
9517 eval "$as_ac_var=no"
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 CFLAGS=$ac_wine_try_cflags_saved
9523 eval ac_res=\$$as_ac_var
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9525 $as_echo "$ac_res" >&6; }
9526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9527 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9528 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9529 else
9530 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9532 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9533 if eval \${$as_ac_var+:} false; then :
9534 $as_echo_n "(cached) " >&6
9535 else
9536 ac_wine_try_cflags_saved=$CFLAGS
9537 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 eval "$as_ac_var=yes"
9544 else
9545 eval "$as_ac_var=no"
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 CFLAGS=$ac_wine_try_cflags_saved
9551 eval ac_res=\$$as_ac_var
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9553 $as_echo "$ac_res" >&6; }
9554 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9555 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9556 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9561 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9562 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 int main(int argc, char **argv) { return 0; }
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_cflags__Wl___enable_new_dtags=yes
9573 else
9574 ac_cv_cflags__Wl___enable_new_dtags=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9581 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9582 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9583 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9586 case $host_cpu in
9587 *i[3456789]86* | x86_64 | *aarch64*)
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9589 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9590 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 ac_wine_try_cflags_saved=$CFLAGS
9594 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9597 int main(int argc, char **argv) { return 0; }
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9601 else
9602 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 CFLAGS=$ac_wine_try_cflags_saved
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9609 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9610 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9611 case $host_os in
9612 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9613 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9614 esac
9615 else
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9617 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9618 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 ac_wine_try_cflags_saved=$CFLAGS
9622 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9625 int main(int argc, char **argv) { return 0; }
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9629 else
9630 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 CFLAGS=$ac_wine_try_cflags_saved
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9637 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9638 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9639 case $host_os in
9640 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9641 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9642 esac
9644 # Extract the first word of "prelink", so it can be a program name with args.
9645 set dummy prelink; ac_word=$2
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9647 $as_echo_n "checking for $ac_word... " >&6; }
9648 if ${ac_cv_path_PRELINK+:} false; then :
9649 $as_echo_n "(cached) " >&6
9650 else
9651 case $PRELINK in
9652 [\\/]* | ?:[\\/]*)
9653 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 for as_dir in /sbin /usr/sbin $PATH
9659 IFS=$as_save_IFS
9660 test -z "$as_dir" && as_dir=.
9661 for ac_exec_ext in '' $ac_executable_extensions; do
9662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9663 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 break 2
9667 done
9668 done
9669 IFS=$as_save_IFS
9671 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9673 esac
9675 PRELINK=$ac_cv_path_PRELINK
9676 if test -n "$PRELINK"; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9678 $as_echo "$PRELINK" >&6; }
9679 else
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9681 $as_echo "no" >&6; }
9685 if test "x$PRELINK" = xfalse
9686 then
9687 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9691 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9692 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_wine_try_cflags_saved=$CFLAGS
9696 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9699 int main(int argc, char **argv) { return 0; }
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9703 else
9704 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 CFLAGS=$ac_wine_try_cflags_saved
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9711 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9712 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9713 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9716 esac
9718 else
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9720 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9721 if ${ac_cv_c_dll_unixware+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 ac_wine_try_cflags_saved=$CFLAGS
9725 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9728 void myfunc() {}
9729 _ACEOF
9730 if ac_fn_c_try_link "$LINENO"; then :
9731 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9732 else
9733 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 CFLAGS=$ac_wine_try_cflags_saved
9738 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9739 ac_cv_c_dll_unixware="yes"
9740 else
9741 ac_cv_c_dll_unixware="no"
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9745 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9746 if test "$ac_cv_c_dll_unixware" = "yes"
9747 then
9748 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9751 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9753 LIBWINE_DEPENDS="wine.map"
9755 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9756 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9758 esac
9760 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9761 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9762 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9763 enable_winemac_drv=${enable_winemac_drv:-no}
9764 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9767 if test "x$with_mingw" != xno
9768 then
9769 case "x$with_mingw" in
9770 x|xyes) case "$host_cpu" in
9771 aarch64*)
9772 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9773 arm*)
9774 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9775 i[3456789]86*)
9776 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
9777 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9778 mingw32-gcc" ;;
9779 x86_64)
9780 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
9781 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9783 ac_prefix_list="" ;;
9784 esac
9785 for ac_prog in $ac_prefix_list
9787 # Extract the first word of "$ac_prog", so it can be a program name with args.
9788 set dummy $ac_prog; ac_word=$2
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9790 $as_echo_n "checking for $ac_word... " >&6; }
9791 if ${ac_cv_prog_CROSSCC+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 if test -n "$CROSSCC"; then
9795 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9796 else
9797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9798 for as_dir in $PATH
9800 IFS=$as_save_IFS
9801 test -z "$as_dir" && as_dir=.
9802 for ac_exec_ext in '' $ac_executable_extensions; do
9803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9804 ac_cv_prog_CROSSCC="$ac_prog"
9805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9806 break 2
9808 done
9809 done
9810 IFS=$as_save_IFS
9814 CROSSCC=$ac_cv_prog_CROSSCC
9815 if test -n "$CROSSCC"; then
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9817 $as_echo "$CROSSCC" >&6; }
9818 else
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9820 $as_echo "no" >&6; }
9824 test -n "$CROSSCC" && break
9825 done
9826 test -n "$CROSSCC" || CROSSCC="false"
9828 *) CROSSCC=$with_mingw ;;
9829 esac
9830 if test "$CROSSCC" != "false"
9831 then
9832 ac_save_CC="$CC"
9833 saved_CFLAGS=$CFLAGS
9834 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9836 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9840 CC="$CROSSCC"
9841 CFLAGS=$CROSSCFLAGS
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9843 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9844 if ${wine_cv_crosscc+:} false; then :
9845 $as_echo_n "(cached) " >&6
9846 else
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9851 main ()
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_compile "$LINENO"; then :
9859 wine_cv_crosscc=yes
9860 else
9861 wine_cv_crosscc=no
9863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9866 $as_echo "$wine_cv_crosscc" >&6; }
9867 if test $wine_cv_crosscc = yes
9868 then
9869 set x $CROSSCC
9870 shift
9871 while test $# -ge 1
9873 case "$1" in
9874 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9875 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9876 esac
9877 shift
9878 done
9880 llvm_target=$CROSSTARGET
9881 llvm_cflags="-fuse-ld=lld"
9882 if test -z "$llvm_target"
9883 then
9884 case $host_cpu in
9885 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9886 *) llvm_target=$host_cpu-windows-gnu ;;
9887 esac
9889 case $llvm_target in
9890 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9891 esac
9892 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9894 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9895 if eval \${$as_ac_var+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 ac_wine_try_cflags_saved_cc=$CC
9900 ac_wine_try_cflags_saved_exeext=$ac_exeext
9901 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9902 CC="$CROSSCC"
9903 ac_exeext=".exe"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int __cdecl mainCRTStartup(void) { return 0; }
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 eval "$as_ac_var=yes"
9910 else
9911 eval "$as_ac_var=no"
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9916 CC=$ac_wine_try_cflags_saved_cc
9917 ac_exeext=$ac_wine_try_cflags_saved_exeext
9919 eval ac_res=\$$as_ac_var
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9921 $as_echo "$ac_res" >&6; }
9922 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9923 CROSSTARGET=$llvm_target
9924 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9925 DELAYLOADFLAG="-Wl,-delayload,"
9927 CFLAGS="$CFLAGS $llvm_cflags"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9931 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9932 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 ac_wine_try_cflags_saved_cc=$CC
9937 ac_wine_try_cflags_saved_exeext=$ac_exeext
9938 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9939 CC="$CROSSCC"
9940 ac_exeext=".exe"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int __cdecl mainCRTStartup(void) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 ac_cv_crosscflags__fno_strict_aliasing=yes
9947 else
9948 ac_cv_crosscflags__fno_strict_aliasing=no
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 CFLAGS=$ac_wine_try_cflags_saved
9953 CC=$ac_wine_try_cflags_saved_cc
9954 ac_exeext=$ac_wine_try_cflags_saved_exeext
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9957 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9958 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9959 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9962 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9963 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_wine_try_cflags_saved=$CFLAGS
9967 ac_wine_try_cflags_saved_cc=$CC
9968 ac_wine_try_cflags_saved_exeext=$ac_exeext
9969 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9970 CC="$CROSSCC"
9971 ac_exeext=".exe"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int __cdecl mainCRTStartup(void) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9978 else
9979 ac_cv_crosscflags__Werror_unknown_warning_option=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9984 CC=$ac_wine_try_cflags_saved_cc
9985 ac_exeext=$ac_wine_try_cflags_saved_exeext
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9988 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9989 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9990 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9993 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9994 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_wine_try_cflags_saved=$CFLAGS
9998 ac_wine_try_cflags_saved_cc=$CC
9999 ac_wine_try_cflags_saved_exeext=$ac_exeext
10000 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10001 CC="$CROSSCC"
10002 ac_exeext=".exe"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 int __cdecl mainCRTStartup(void) { return 0; }
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10009 else
10010 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 CFLAGS=$ac_wine_try_cflags_saved
10015 CC=$ac_wine_try_cflags_saved_cc
10016 ac_exeext=$ac_wine_try_cflags_saved_exeext
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10019 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10020 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10021 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10024 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10025 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_wine_try_cflags_saved=$CFLAGS
10029 ac_wine_try_cflags_saved_cc=$CC
10030 ac_wine_try_cflags_saved_exeext=$ac_exeext
10031 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10032 CC="$CROSSCC"
10033 ac_exeext=".exe"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 int __cdecl mainCRTStartup(void) { return 0; }
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10040 else
10041 ac_cv_crosscflags__Wdeclaration_after_statement=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 CFLAGS=$ac_wine_try_cflags_saved
10046 CC=$ac_wine_try_cflags_saved_cc
10047 ac_exeext=$ac_wine_try_cflags_saved_exeext
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10050 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10051 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10052 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10055 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10056 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_wine_try_cflags_saved=$CFLAGS
10060 ac_wine_try_cflags_saved_cc=$CC
10061 ac_wine_try_cflags_saved_exeext=$ac_exeext
10062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10063 CC="$CROSSCC"
10064 ac_exeext=".exe"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 int __cdecl mainCRTStartup(void) { return 0; }
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_crosscflags__Wempty_body=yes
10071 else
10072 ac_cv_crosscflags__Wempty_body=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 CFLAGS=$ac_wine_try_cflags_saved
10077 CC=$ac_wine_try_cflags_saved_cc
10078 ac_exeext=$ac_wine_try_cflags_saved_exeext
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10081 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10082 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10086 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10087 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_wine_try_cflags_saved=$CFLAGS
10091 ac_wine_try_cflags_saved_cc=$CC
10092 ac_wine_try_cflags_saved_exeext=$ac_exeext
10093 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10094 CC="$CROSSCC"
10095 ac_exeext=".exe"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 int __cdecl mainCRTStartup(void) { return 0; }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_crosscflags__Wignored_qualifiers=yes
10102 else
10103 ac_cv_crosscflags__Wignored_qualifiers=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10108 CC=$ac_wine_try_cflags_saved_cc
10109 ac_exeext=$ac_wine_try_cflags_saved_exeext
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10112 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10113 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10114 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10117 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10118 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_wine_try_cflags_saved=$CFLAGS
10122 ac_wine_try_cflags_saved_cc=$CC
10123 ac_wine_try_cflags_saved_exeext=$ac_exeext
10124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10125 CC="$CROSSCC"
10126 ac_exeext=".exe"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 int __cdecl mainCRTStartup(void) { return 0; }
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_crosscflags__Wpacked_not_aligned=yes
10133 else
10134 ac_cv_crosscflags__Wpacked_not_aligned=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_wine_try_cflags_saved
10139 CC=$ac_wine_try_cflags_saved_cc
10140 ac_exeext=$ac_wine_try_cflags_saved_exeext
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10143 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10144 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10148 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10149 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 ac_wine_try_cflags_saved_cc=$CC
10154 ac_wine_try_cflags_saved_exeext=$ac_exeext
10155 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10156 CC="$CROSSCC"
10157 ac_exeext=".exe"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int __cdecl mainCRTStartup(void) { return 0; }
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 ac_cv_crosscflags__Wpragma_pack=yes
10164 else
10165 ac_cv_crosscflags__Wpragma_pack=no
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10170 CC=$ac_wine_try_cflags_saved_cc
10171 ac_exeext=$ac_wine_try_cflags_saved_exeext
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10174 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10175 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10180 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int __cdecl mainCRTStartup(void) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_crosscflags__Wshift_overflow_2=yes
10195 else
10196 ac_cv_crosscflags__Wshift_overflow_2=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10205 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10206 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10211 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int __cdecl mainCRTStartup(void) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_crosscflags__Wstrict_prototypes=yes
10226 else
10227 ac_cv_crosscflags__Wstrict_prototypes=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10236 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10237 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10241 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10242 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 ac_wine_try_cflags_saved_cc=$CC
10247 ac_wine_try_cflags_saved_exeext=$ac_exeext
10248 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10249 CC="$CROSSCC"
10250 ac_exeext=".exe"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10253 int __cdecl mainCRTStartup(void) { return 0; }
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_crosscflags__Wtype_limits=yes
10257 else
10258 ac_cv_crosscflags__Wtype_limits=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 CFLAGS=$ac_wine_try_cflags_saved
10263 CC=$ac_wine_try_cflags_saved_cc
10264 ac_exeext=$ac_wine_try_cflags_saved_exeext
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10267 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10268 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10269 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10273 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int __cdecl mainCRTStartup(void) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10288 else
10289 ac_cv_crosscflags__Wunused_but_set_parameter=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10298 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10299 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10304 if ${ac_cv_crosscflags__Wvla+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int __cdecl mainCRTStartup(void) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__Wvla=yes
10319 else
10320 ac_cv_crosscflags__Wvla=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10329 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10330 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10334 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10335 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_wine_try_cflags_saved=$CFLAGS
10339 ac_wine_try_cflags_saved_cc=$CC
10340 ac_wine_try_cflags_saved_exeext=$ac_exeext
10341 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10342 CC="$CROSSCC"
10343 ac_exeext=".exe"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int __cdecl mainCRTStartup(void) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_crosscflags__Wwrite_strings=yes
10350 else
10351 ac_cv_crosscflags__Wwrite_strings=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 CFLAGS=$ac_wine_try_cflags_saved
10356 CC=$ac_wine_try_cflags_saved_cc
10357 ac_exeext=$ac_wine_try_cflags_saved_exeext
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10360 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10361 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10362 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10366 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int __cdecl mainCRTStartup(void) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__Wpointer_arith=yes
10381 else
10382 ac_cv_crosscflags__Wpointer_arith=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10391 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10392 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10396 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10397 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 ac_wine_try_cflags_saved_cc=$CC
10402 ac_wine_try_cflags_saved_exeext=$ac_exeext
10403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10404 CC="$CROSSCC"
10405 ac_exeext=".exe"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int __cdecl mainCRTStartup(void) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_crosscflags__Wlogical_op=yes
10412 else
10413 ac_cv_crosscflags__Wlogical_op=no
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10418 CC=$ac_wine_try_cflags_saved_cc
10419 ac_exeext=$ac_wine_try_cflags_saved_exeext
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10422 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10423 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10427 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10428 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_wine_try_cflags_saved=$CFLAGS
10432 ac_wine_try_cflags_saved_cc=$CC
10433 ac_wine_try_cflags_saved_exeext=$ac_exeext
10434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10435 CC="$CROSSCC"
10436 ac_exeext=".exe"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int __cdecl mainCRTStartup(void) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 ac_cv_crosscflags__Wabsolute_value=yes
10443 else
10444 ac_cv_crosscflags__Wabsolute_value=no
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10449 CC=$ac_wine_try_cflags_saved_cc
10450 ac_exeext=$ac_wine_try_cflags_saved_exeext
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10453 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10454 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10455 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10458 case $host_cpu in
10459 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10460 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10461 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_wine_try_cflags_saved=$CFLAGS
10465 ac_wine_try_cflags_saved_cc=$CC
10466 ac_wine_try_cflags_saved_exeext=$ac_exeext
10467 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10468 CC="$CROSSCC"
10469 ac_exeext=".exe"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int __cdecl mainCRTStartup(void) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10476 else
10477 ac_cv_crosscflags__fno_omit_frame_pointer=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10482 CC=$ac_wine_try_cflags_saved_cc
10483 ac_exeext=$ac_wine_try_cflags_saved_exeext
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10486 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10487 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10489 fi ;;
10490 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10491 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10492 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_wine_try_cflags_saved=$CFLAGS
10496 ac_wine_try_cflags_saved_cc=$CC
10497 ac_wine_try_cflags_saved_exeext=$ac_exeext
10498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10499 CC="$CROSSCC"
10500 ac_exeext=".exe"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 int __cdecl mainCRTStartup(void) { return 0; }
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"; then :
10506 ac_cv_crosscflags__Wno_format=yes
10507 else
10508 ac_cv_crosscflags__Wno_format=no
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 CFLAGS=$ac_wine_try_cflags_saved
10513 CC=$ac_wine_try_cflags_saved_cc
10514 ac_exeext=$ac_wine_try_cflags_saved_exeext
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10517 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10518 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10519 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10522 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10523 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 ac_wine_try_cflags_saved=$CFLAGS
10527 ac_wine_try_cflags_saved_cc=$CC
10528 ac_wine_try_cflags_saved_exeext=$ac_exeext
10529 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10530 CC="$CROSSCC"
10531 ac_exeext=".exe"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10534 int __cdecl mainCRTStartup(void) { return 0; }
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_crosscflags__Wformat_overflow=yes
10538 else
10539 ac_cv_crosscflags__Wformat_overflow=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 CFLAGS=$ac_wine_try_cflags_saved
10544 CC=$ac_wine_try_cflags_saved_cc
10545 ac_exeext=$ac_wine_try_cflags_saved_exeext
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10548 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10549 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10550 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10553 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10554 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10555 $as_echo_n "(cached) " >&6
10556 else
10557 ac_wine_try_cflags_saved=$CFLAGS
10558 ac_wine_try_cflags_saved_cc=$CC
10559 ac_wine_try_cflags_saved_exeext=$ac_exeext
10560 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10561 CC="$CROSSCC"
10562 ac_exeext=".exe"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10565 int __cdecl mainCRTStartup(void) { return 0; }
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 ac_cv_crosscflags__Wnonnull=yes
10569 else
10570 ac_cv_crosscflags__Wnonnull=no
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 CFLAGS=$ac_wine_try_cflags_saved
10575 CC=$ac_wine_try_cflags_saved_cc
10576 ac_exeext=$ac_wine_try_cflags_saved_exeext
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10579 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10580 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10581 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10582 fi ;;
10583 esac
10586 if test -z "$CROSSDEBUG"
10587 then
10588 for ac_flag in $CROSSCFLAGS; do
10589 case $ac_flag in
10590 -gdwarf*) CROSSDEBUG=dwarf ;;
10591 -gcodeview) CROSSDEBUG=pdb ;;
10592 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10593 esac
10594 done
10596 case $CROSSDEBUG in
10597 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10598 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10599 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 ac_wine_try_cflags_saved_cc=$CC
10604 ac_wine_try_cflags_saved_exeext=$ac_exeext
10605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10606 CC="$CROSSCC"
10607 ac_exeext=".exe"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 int __cdecl mainCRTStartup(void) { return 0; }
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_crosscflags__gdwarf_2=yes
10614 else
10615 ac_cv_crosscflags__gdwarf_2=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 CFLAGS=$ac_wine_try_cflags_saved
10620 CC=$ac_wine_try_cflags_saved_cc
10621 ac_exeext=$ac_wine_try_cflags_saved_exeext
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10624 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10625 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10626 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10629 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10630 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10631 $as_echo_n "(cached) " >&6
10632 else
10633 ac_wine_try_cflags_saved=$CFLAGS
10634 ac_wine_try_cflags_saved_cc=$CC
10635 ac_wine_try_cflags_saved_exeext=$ac_exeext
10636 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10637 CC="$CROSSCC"
10638 ac_exeext=".exe"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10641 int __cdecl mainCRTStartup(void) { return 0; }
10642 _ACEOF
10643 if ac_fn_c_try_link "$LINENO"; then :
10644 ac_cv_crosscflags__gstrict_dwarf=yes
10645 else
10646 ac_cv_crosscflags__gstrict_dwarf=no
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 CFLAGS=$ac_wine_try_cflags_saved
10651 CC=$ac_wine_try_cflags_saved_cc
10652 ac_exeext=$ac_wine_try_cflags_saved_exeext
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10655 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10656 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10657 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10658 fi ;;
10659 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10660 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10661 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_wine_try_cflags_saved=$CFLAGS
10665 ac_wine_try_cflags_saved_cc=$CC
10666 ac_wine_try_cflags_saved_exeext=$ac_exeext
10667 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10668 CC="$CROSSCC"
10669 ac_exeext=".exe"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10672 int __cdecl mainCRTStartup(void) { return 0; }
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 ac_cv_crosscflags__gcodeview=yes
10676 else
10677 ac_cv_crosscflags__gcodeview=no
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 CFLAGS=$ac_wine_try_cflags_saved
10682 CC=$ac_wine_try_cflags_saved_cc
10683 ac_exeext=$ac_wine_try_cflags_saved_exeext
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10686 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10687 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10688 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10689 fi ;;
10690 esac
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10693 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10694 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_wine_try_cflags_saved=$CFLAGS
10698 ac_wine_try_cflags_saved_cc=$CC
10699 ac_wine_try_cflags_saved_exeext=$ac_exeext
10700 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10701 CC="$CROSSCC"
10702 ac_exeext=".exe"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int __cdecl mainCRTStartup(void) { return 0; }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_crosscflags__fexcess_precision_standard=yes
10709 else
10710 ac_cv_crosscflags__fexcess_precision_standard=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 CFLAGS=$ac_wine_try_cflags_saved
10715 CC=$ac_wine_try_cflags_saved_cc
10716 ac_exeext=$ac_wine_try_cflags_saved_exeext
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10719 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10720 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10721 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10725 if test "x$enable_werror" = "xyes"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10728 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10729 if ${ac_cv_crosscflags__Werror+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_wine_try_cflags_saved=$CFLAGS
10733 ac_wine_try_cflags_saved_cc=$CC
10734 ac_wine_try_cflags_saved_exeext=$ac_exeext
10735 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10736 CC="$CROSSCC"
10737 ac_exeext=".exe"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 int __cdecl mainCRTStartup(void) { return 0; }
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 ac_cv_crosscflags__Werror=yes
10744 else
10745 ac_cv_crosscflags__Werror=no
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 CFLAGS=$ac_wine_try_cflags_saved
10750 CC=$ac_wine_try_cflags_saved_cc
10751 ac_exeext=$ac_wine_try_cflags_saved_exeext
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10754 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10755 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10756 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10760 CFLAGS=$saved_CFLAGS
10761 CC="$ac_save_CC"
10764 if test "x$CROSSTARGET" = "x"; then :
10765 case "x$with_mingw" in
10766 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10767 xno) ;;
10768 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10769 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10770 esac
10775 if test "$ac_cv_header_pthread_h" = "yes"
10776 then
10777 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10778 if test "x$ac_cv_func_pthread_create" = xyes; then :
10780 else
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10782 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10783 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10784 $as_echo_n "(cached) " >&6
10785 else
10786 ac_check_lib_save_LIBS=$LIBS
10787 LIBS="-lpthread $LIBS"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10794 #ifdef __cplusplus
10795 extern "C"
10796 #endif
10797 char pthread_create ();
10799 main ()
10801 return pthread_create ();
10803 return 0;
10805 _ACEOF
10806 if ac_fn_c_try_link "$LINENO"; then :
10807 ac_cv_lib_pthread_pthread_create=yes
10808 else
10809 ac_cv_lib_pthread_pthread_create=no
10811 rm -f core conftest.err conftest.$ac_objext \
10812 conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_lib_save_LIBS
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10816 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10817 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10818 PTHREAD_LIBS="-lpthread"
10825 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10826 case "x$with_pthread" in
10827 xno) ;;
10828 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10829 Wine cannot support threads without libpthread.
10830 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10831 esac
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10837 $as_echo_n "checking for X... " >&6; }
10840 # Check whether --with-x was given.
10841 if test "${with_x+set}" = set; then :
10842 withval=$with_x;
10845 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10846 if test "x$with_x" = xno; then
10847 # The user explicitly disabled X.
10848 have_x=disabled
10849 else
10850 case $x_includes,$x_libraries in #(
10851 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10852 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10853 $as_echo_n "(cached) " >&6
10854 else
10855 # One or both of the vars are not set, and there is no cached value.
10856 ac_x_includes=no ac_x_libraries=no
10857 rm -f -r conftest.dir
10858 if mkdir conftest.dir; then
10859 cd conftest.dir
10860 cat >Imakefile <<'_ACEOF'
10861 incroot:
10862 @echo incroot='${INCROOT}'
10863 usrlibdir:
10864 @echo usrlibdir='${USRLIBDIR}'
10865 libdir:
10866 @echo libdir='${LIBDIR}'
10867 _ACEOF
10868 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10869 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10870 for ac_var in incroot usrlibdir libdir; do
10871 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10872 done
10873 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10874 for ac_extension in a so sl dylib la dll; do
10875 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10876 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10877 ac_im_usrlibdir=$ac_im_libdir; break
10879 done
10880 # Screen out bogus values from the imake configuration. They are
10881 # bogus both because they are the default anyway, and because
10882 # using them would break gcc on systems where it needs fixed includes.
10883 case $ac_im_incroot in
10884 /usr/include) ac_x_includes= ;;
10885 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10886 esac
10887 case $ac_im_usrlibdir in
10888 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10889 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10890 esac
10892 cd ..
10893 rm -f -r conftest.dir
10896 # Standard set of common directories for X headers.
10897 # Check X11 before X11Rn because it is often a symlink to the current release.
10898 ac_x_header_dirs='
10899 /usr/X11/include
10900 /usr/X11R7/include
10901 /usr/X11R6/include
10902 /usr/X11R5/include
10903 /usr/X11R4/include
10905 /usr/include/X11
10906 /usr/include/X11R7
10907 /usr/include/X11R6
10908 /usr/include/X11R5
10909 /usr/include/X11R4
10911 /usr/local/X11/include
10912 /usr/local/X11R7/include
10913 /usr/local/X11R6/include
10914 /usr/local/X11R5/include
10915 /usr/local/X11R4/include
10917 /usr/local/include/X11
10918 /usr/local/include/X11R7
10919 /usr/local/include/X11R6
10920 /usr/local/include/X11R5
10921 /usr/local/include/X11R4
10923 /usr/X386/include
10924 /usr/x386/include
10925 /usr/XFree86/include/X11
10927 /usr/include
10928 /usr/local/include
10929 /usr/unsupported/include
10930 /usr/athena/include
10931 /usr/local/x11r5/include
10932 /usr/lpp/Xamples/include
10934 /usr/openwin/include
10935 /usr/openwin/share/include'
10937 if test "$ac_x_includes" = no; then
10938 # Guess where to find include files, by looking for Xlib.h.
10939 # First, try using that file with no special directory specified.
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10942 #include <X11/Xlib.h>
10943 _ACEOF
10944 if ac_fn_c_try_cpp "$LINENO"; then :
10945 # We can compile using X headers with no special include directory.
10946 ac_x_includes=
10947 else
10948 for ac_dir in $ac_x_header_dirs; do
10949 if test -r "$ac_dir/X11/Xlib.h"; then
10950 ac_x_includes=$ac_dir
10951 break
10953 done
10955 rm -f conftest.err conftest.i conftest.$ac_ext
10956 fi # $ac_x_includes = no
10958 if test "$ac_x_libraries" = no; then
10959 # Check for the libraries.
10960 # See if we find them without any special options.
10961 # Don't add to $LIBS permanently.
10962 ac_save_LIBS=$LIBS
10963 LIBS="-lX11 $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10966 #include <X11/Xlib.h>
10968 main ()
10970 XrmInitialize ()
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 LIBS=$ac_save_LIBS
10977 # We can link X programs with no special library path.
10978 ac_x_libraries=
10979 else
10980 LIBS=$ac_save_LIBS
10981 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10983 # Don't even attempt the hair of trying to link an X program!
10984 for ac_extension in a so sl dylib la dll; do
10985 if test -r "$ac_dir/libX11.$ac_extension"; then
10986 ac_x_libraries=$ac_dir
10987 break 2
10989 done
10990 done
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 fi # $ac_x_libraries = no
10996 case $ac_x_includes,$ac_x_libraries in #(
10997 no,* | *,no | *\'*)
10998 # Didn't find X, or a directory has "'" in its name.
10999 ac_cv_have_x="have_x=no";; #(
11001 # Record where we found X for the cache.
11002 ac_cv_have_x="have_x=yes\
11003 ac_x_includes='$ac_x_includes'\
11004 ac_x_libraries='$ac_x_libraries'"
11005 esac
11007 ;; #(
11008 *) have_x=yes;;
11009 esac
11010 eval "$ac_cv_have_x"
11011 fi # $with_x != no
11013 if test "$have_x" != yes; then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11015 $as_echo "$have_x" >&6; }
11016 no_x=yes
11017 else
11018 # If each of the values was on the command line, it overrides each guess.
11019 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11020 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11021 # Update the cache value to reflect the command line values.
11022 ac_cv_have_x="have_x=yes\
11023 ac_x_includes='$x_includes'\
11024 ac_x_libraries='$x_libraries'"
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11026 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11029 if test "$no_x" = yes; then
11030 # Not all programs may use this symbol, but it does not hurt to define it.
11032 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11034 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11035 else
11036 if test -n "$x_includes"; then
11037 X_CFLAGS="$X_CFLAGS -I$x_includes"
11040 # It would also be nice to do this for all -L options, not just this one.
11041 if test -n "$x_libraries"; then
11042 X_LIBS="$X_LIBS -L$x_libraries"
11043 # For Solaris; some versions of Sun CC require a space after -R and
11044 # others require no space. Words are not sufficient . . . .
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11046 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11047 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11048 ac_xsave_c_werror_flag=$ac_c_werror_flag
11049 ac_c_werror_flag=yes
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11054 main ()
11058 return 0;
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063 $as_echo "no" >&6; }
11064 X_LIBS="$X_LIBS -R$x_libraries"
11065 else
11066 LIBS="$ac_xsave_LIBS -R $x_libraries"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11071 main ()
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11080 $as_echo "yes" >&6; }
11081 X_LIBS="$X_LIBS -R $x_libraries"
11082 else
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11084 $as_echo "neither works" >&6; }
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 ac_c_werror_flag=$ac_xsave_c_werror_flag
11092 LIBS=$ac_xsave_LIBS
11095 # Check for system-dependent libraries X programs must link with.
11096 # Do this before checking for the system-independent R6 libraries
11097 # (-lICE), since we may need -lsocket or whatever for X linking.
11099 if test "$ISC" = yes; then
11100 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11101 else
11102 # Martyn Johnson says this is needed for Ultrix, if the X
11103 # libraries were built with DECnet support. And Karl Berry says
11104 # the Alpha needs dnet_stub (dnet does not exist).
11105 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char XOpenDisplay ();
11117 main ()
11119 return XOpenDisplay ();
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11126 else
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11128 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11129 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11130 $as_echo_n "(cached) " >&6
11131 else
11132 ac_check_lib_save_LIBS=$LIBS
11133 LIBS="-ldnet $LIBS"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11140 #ifdef __cplusplus
11141 extern "C"
11142 #endif
11143 char dnet_ntoa ();
11145 main ()
11147 return dnet_ntoa ();
11149 return 0;
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"; then :
11153 ac_cv_lib_dnet_dnet_ntoa=yes
11154 else
11155 ac_cv_lib_dnet_dnet_ntoa=no
11157 rm -f core conftest.err conftest.$ac_objext \
11158 conftest$ac_exeext conftest.$ac_ext
11159 LIBS=$ac_check_lib_save_LIBS
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11162 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11163 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11167 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11169 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11170 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11171 $as_echo_n "(cached) " >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-ldnet_stub $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11181 #ifdef __cplusplus
11182 extern "C"
11183 #endif
11184 char dnet_ntoa ();
11186 main ()
11188 return dnet_ntoa ();
11190 return 0;
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"; then :
11194 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11195 else
11196 ac_cv_lib_dnet_stub_dnet_ntoa=no
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11203 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11204 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11205 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS="$ac_xsave_LIBS"
11214 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11215 # to get the SysV transport functions.
11216 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11217 # needs -lnsl.
11218 # The nsl library prevents programs from opening the X display
11219 # on Irix 5.2, according to T.E. Dickey.
11220 # The functions gethostbyname, getservbyname, and inet_addr are
11221 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11222 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11223 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11227 if test $ac_cv_func_gethostbyname = no; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11229 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11230 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lnsl $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char gethostbyname ();
11246 main ()
11248 return gethostbyname ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_nsl_gethostbyname=yes
11255 else
11256 ac_cv_lib_nsl_gethostbyname=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11263 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11264 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11265 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11268 if test $ac_cv_lib_nsl_gethostbyname = no; then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11270 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11271 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-lbsd $LIBS"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char gethostbyname ();
11287 main ()
11289 return gethostbyname ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 ac_cv_lib_bsd_gethostbyname=yes
11296 else
11297 ac_cv_lib_bsd_gethostbyname=no
11299 rm -f core conftest.err conftest.$ac_objext \
11300 conftest$ac_exeext conftest.$ac_ext
11301 LIBS=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11304 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11305 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11312 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11313 # socket/setsockopt and other routines are undefined under SCO ODT
11314 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11315 # on later versions), says Simon Leinen: it contains gethostby*
11316 # variants that don't use the name server (or something). -lsocket
11317 # must be given before -lnsl if both are needed. We assume that
11318 # if connect needs -lnsl, so does gethostbyname.
11319 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11320 if test "x$ac_cv_func_connect" = xyes; then :
11324 if test $ac_cv_func_connect = no; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11326 $as_echo_n "checking for connect in -lsocket... " >&6; }
11327 if ${ac_cv_lib_socket_connect+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char connect ();
11343 main ()
11345 return connect ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_socket_connect=yes
11352 else
11353 ac_cv_lib_socket_connect=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11360 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11361 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11362 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11367 # Guillermo Gomez says -lposix is necessary on A/UX.
11368 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11369 if test "x$ac_cv_func_remove" = xyes; then :
11373 if test $ac_cv_func_remove = no; then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11375 $as_echo_n "checking for remove in -lposix... " >&6; }
11376 if ${ac_cv_lib_posix_remove+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-lposix $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char remove ();
11392 main ()
11394 return remove ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 ac_cv_lib_posix_remove=yes
11401 else
11402 ac_cv_lib_posix_remove=no
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11409 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11410 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11416 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11417 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11418 if test "x$ac_cv_func_shmat" = xyes; then :
11422 if test $ac_cv_func_shmat = no; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11424 $as_echo_n "checking for shmat in -lipc... " >&6; }
11425 if ${ac_cv_lib_ipc_shmat+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-lipc $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char shmat ();
11441 main ()
11443 return shmat ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_ipc_shmat=yes
11450 else
11451 ac_cv_lib_ipc_shmat=no
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11458 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11459 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11466 # Check for libraries that X11R6 Xt/Xaw programs need.
11467 ac_save_LDFLAGS=$LDFLAGS
11468 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11469 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11470 # check for ICE first), but we must link in the order -lSM -lICE or
11471 # we get undefined symbols. So assume we have SM if we have ICE.
11472 # These have to be linked with before -lX11, unlike the other
11473 # libraries we check for below, so use a different variable.
11474 # John Interrante, Karl Berry
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11476 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11477 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_lib_save_LIBS=$LIBS
11481 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char IceConnectionNumber ();
11493 main ()
11495 return IceConnectionNumber ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 ac_cv_lib_ICE_IceConnectionNumber=yes
11502 else
11503 ac_cv_lib_ICE_IceConnectionNumber=no
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_lib_save_LIBS
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11510 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11511 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11512 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11515 LDFLAGS=$ac_save_LDFLAGS
11520 if test "$have_x" = "yes"
11521 then
11522 ac_save_CPPFLAGS="$CPPFLAGS"
11523 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11526 $as_echo_n "checking for -lX11... " >&6; }
11527 if ${ac_cv_lib_soname_X11+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_soname_save_LIBS=$LIBS
11531 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char XCreateWindow ();
11543 main ()
11545 return XCreateWindow ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 case "$LIBEXT" in
11552 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11555 if ${ac_cv_lib_soname_X11:+false} :; then :
11556 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11557 fi ;;
11558 esac
11559 else
11560 ac_cv_lib_soname_X11=
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_X11:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11570 else
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11572 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11574 cat >>confdefs.h <<_ACEOF
11575 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11576 _ACEOF
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11581 $as_echo_n "checking for -lXext... " >&6; }
11582 if ${ac_cv_lib_soname_Xext+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char XextCreateExtension ();
11598 main ()
11600 return XextCreateExtension ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11610 if ${ac_cv_lib_soname_Xext:+false} :; then :
11611 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 fi ;;
11613 esac
11614 else
11615 ac_cv_lib_soname_Xext=
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if ${ac_cv_lib_soname_Xext:+false} :; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11625 else
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11627 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11631 _ACEOF
11633 X_LIBS="$X_LIBS -lXext"
11635 X_LIBS="$X_LIBS -lX11"
11637 for ac_header in X11/Xlib.h \
11638 X11/XKBlib.h \
11639 X11/Xutil.h \
11640 X11/Xcursor/Xcursor.h \
11641 X11/extensions/shape.h \
11642 X11/extensions/XInput.h \
11643 X11/extensions/XInput2.h \
11644 X11/extensions/XShm.h \
11645 X11/extensions/Xcomposite.h \
11646 X11/extensions/Xfixes.h \
11647 X11/extensions/Xinerama.h \
11648 X11/extensions/Xrandr.h \
11649 X11/extensions/Xrender.h \
11650 X11/extensions/xf86vmode.h \
11651 X11/extensions/xf86vmproto.h
11652 do :
11653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11655 # include <X11/Xlib.h>
11656 #endif
11657 #ifdef HAVE_X11_XUTIL_H
11658 # include <X11/Xutil.h>
11659 #endif
11661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11662 cat >>confdefs.h <<_ACEOF
11663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11664 _ACEOF
11668 done
11671 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11672 then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11674 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11675 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11676 $as_echo_n "(cached) " >&6
11677 else
11678 ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char XkbQueryExtension ();
11691 main ()
11693 return XkbQueryExtension ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_X11_XkbQueryExtension=yes
11700 else
11701 ac_cv_lib_X11_XkbQueryExtension=no
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11708 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11709 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11711 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11717 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11718 then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11720 $as_echo_n "checking for -lXcursor... " >&6; }
11721 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11722 $as_echo_n "(cached) " >&6
11723 else
11724 ac_check_soname_save_LIBS=$LIBS
11725 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11732 #ifdef __cplusplus
11733 extern "C"
11734 #endif
11735 char XcursorImageLoadCursor ();
11737 main ()
11739 return XcursorImageLoadCursor ();
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 case "$LIBEXT" in
11746 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11747 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'` ;;
11748 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11749 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11750 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11751 fi ;;
11752 esac
11753 else
11754 ac_cv_lib_soname_Xcursor=
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11766 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11770 _ACEOF
11775 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11776 case "x$with_xcursor" in
11777 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11780 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11781 esac
11785 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11786 then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11788 $as_echo_n "checking for -lXi... " >&6; }
11789 if ${ac_cv_lib_soname_Xi+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_check_soname_save_LIBS=$LIBS
11793 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char XOpenDevice ();
11805 main ()
11807 return XOpenDevice ();
11809 return 0;
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"; then :
11813 case "$LIBEXT" in
11814 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11815 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'` ;;
11816 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11817 if ${ac_cv_lib_soname_Xi:+false} :; then :
11818 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11819 fi ;;
11820 esac
11821 else
11822 ac_cv_lib_soname_Xi=
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_soname_save_LIBS
11828 if ${ac_cv_lib_soname_Xi:+false} :; then :
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11830 $as_echo "not found" >&6; }
11832 else
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11834 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11836 cat >>confdefs.h <<_ACEOF
11837 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11838 _ACEOF
11843 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11844 case "x$with_xinput" in
11845 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11846 xno) ;;
11847 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11848 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11849 esac
11853 if test "x$ac_cv_lib_soname_Xi" != x
11854 then
11855 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11856 case "x$with_xinput2" in
11857 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11858 xno) ;;
11859 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11860 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11861 esac
11866 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11869 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11870 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char XShmQueryExtension ();
11886 main ()
11888 return XShmQueryExtension ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 ac_cv_lib_Xext_XShmQueryExtension=yes
11895 else
11896 ac_cv_lib_Xext_XShmQueryExtension=no
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11903 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11904 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11906 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11911 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11912 case "x$with_xshm" in
11913 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11914 xno) ;;
11915 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11916 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11917 esac
11921 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11922 then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11924 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11925 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_lib_save_LIBS=$LIBS
11929 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char XShapeQueryExtension ();
11941 main ()
11943 return XShapeQueryExtension ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 ac_cv_lib_Xext_XShapeQueryExtension=yes
11950 else
11951 ac_cv_lib_Xext_XShapeQueryExtension=no
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11958 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11959 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11961 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11966 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11967 case "x$with_xshape" in
11968 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11969 xno) ;;
11970 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11971 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11972 esac
11976 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11977 then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11979 $as_echo_n "checking for -lXxf86vm... " >&6; }
11980 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_soname_save_LIBS=$LIBS
11984 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char XF86VidModeQueryExtension ();
11996 main ()
11998 return XF86VidModeQueryExtension ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 case "$LIBEXT" in
12005 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12006 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'` ;;
12007 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12008 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12009 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12010 fi ;;
12011 esac
12012 else
12013 ac_cv_lib_soname_Xxf86vm=
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_soname_save_LIBS
12019 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12021 $as_echo "not found" >&6; }
12023 else
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12025 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12027 cat >>confdefs.h <<_ACEOF
12028 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12029 _ACEOF
12034 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12035 case "x$with_xxf86vm" in
12036 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12037 xno) ;;
12038 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12039 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12040 esac
12044 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12045 then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12047 $as_echo_n "checking for -lXrender... " >&6; }
12048 if ${ac_cv_lib_soname_Xrender+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_soname_save_LIBS=$LIBS
12052 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char XRenderQueryExtension ();
12064 main ()
12066 return XRenderQueryExtension ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 case "$LIBEXT" in
12073 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12074 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'` ;;
12075 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12076 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12077 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12078 fi ;;
12079 esac
12080 else
12081 ac_cv_lib_soname_Xrender=
12083 rm -f core conftest.err conftest.$ac_objext \
12084 conftest$ac_exeext conftest.$ac_ext
12085 LIBS=$ac_check_soname_save_LIBS
12087 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12089 $as_echo "not found" >&6; }
12091 else
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12093 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12095 cat >>confdefs.h <<_ACEOF
12096 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12097 _ACEOF
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12100 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12101 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12102 $as_echo_n "(cached) " >&6
12103 else
12104 ac_check_lib_save_LIBS=$LIBS
12105 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12109 /* Override any GCC internal prototype to avoid an error.
12110 Use char because int might match the return type of a GCC
12111 builtin and then its argument prototype would still apply. */
12112 #ifdef __cplusplus
12113 extern "C"
12114 #endif
12115 char XRenderSetPictureTransform ();
12117 main ()
12119 return XRenderSetPictureTransform ();
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"; then :
12125 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12126 else
12127 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12129 rm -f core conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_lib_save_LIBS
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12134 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12135 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12137 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12142 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12143 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_lib_save_LIBS=$LIBS
12147 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char XRenderCreateLinearGradient ();
12159 main ()
12161 return XRenderCreateLinearGradient ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12168 else
12169 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_lib_save_LIBS
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12176 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12177 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12179 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12186 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12187 case "x$with_xrender" in
12188 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12189 xno) ;;
12190 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12191 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12192 esac
12196 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12197 then
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12200 #include <X11/Xlib.h>
12201 #include <X11/extensions/Xrandr.h>
12203 main ()
12205 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_compile "$LINENO"; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12212 $as_echo_n "checking for -lXrandr... " >&6; }
12213 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12216 ac_check_soname_save_LIBS=$LIBS
12217 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char XRRQueryExtension ();
12229 main ()
12231 return XRRQueryExtension ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12237 case "$LIBEXT" in
12238 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12239 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'` ;;
12240 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12241 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12242 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12243 fi ;;
12244 esac
12245 else
12246 ac_cv_lib_soname_Xrandr=
12248 rm -f core conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 LIBS=$ac_check_soname_save_LIBS
12252 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12254 $as_echo "not found" >&6; }
12256 else
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12258 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12260 cat >>confdefs.h <<_ACEOF
12261 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12262 _ACEOF
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266 #include <X11/Xlib.h>
12267 #include <X11/extensions/Xrandr.h>
12269 main ()
12271 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_compile "$LINENO"; then :
12278 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 #include <X11/Xlib.h>
12285 #include <X11/extensions/Xrandr.h>
12287 main ()
12289 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_compile "$LINENO"; then :
12296 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12298 else
12299 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12306 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12307 case "x$with_xrandr" in
12308 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12309 xno) ;;
12310 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12311 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12312 esac
12316 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12317 then
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12320 #include <X11/Xlib.h>
12321 #include <X11/extensions/Xfixes.h>
12323 main ()
12325 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12327 return 0;
12329 _ACEOF
12330 if ac_fn_c_try_compile "$LINENO"; then :
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12332 $as_echo_n "checking for -lXfixes... " >&6; }
12333 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 ac_check_soname_save_LIBS=$LIBS
12337 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char XFixesQueryVersion ();
12349 main ()
12351 return XFixesQueryVersion ();
12353 return 0;
12355 _ACEOF
12356 if ac_fn_c_try_link "$LINENO"; then :
12357 case "$LIBEXT" in
12358 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12359 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'` ;;
12360 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12361 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12362 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12363 fi ;;
12364 esac
12365 else
12366 ac_cv_lib_soname_Xfixes=
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_soname_save_LIBS
12372 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12374 $as_echo "not found" >&6; }
12376 else
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12378 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12380 cat >>confdefs.h <<_ACEOF
12381 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12382 _ACEOF
12387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12389 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12390 case "x$with_xfixes" in
12391 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12392 xno) ;;
12393 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12394 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12395 esac
12399 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12400 then
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12403 #include <X11/Xlib.h>
12404 #include <X11/extensions/Xinerama.h>
12406 main ()
12408 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_compile "$LINENO"; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12415 $as_echo_n "checking for -lXinerama... " >&6; }
12416 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_soname_save_LIBS=$LIBS
12420 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char XineramaQueryScreens ();
12432 main ()
12434 return XineramaQueryScreens ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 case "$LIBEXT" in
12441 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12442 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'` ;;
12443 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12444 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12445 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12446 fi ;;
12447 esac
12448 else
12449 ac_cv_lib_soname_Xinerama=
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 LIBS=$ac_check_soname_save_LIBS
12455 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12457 $as_echo "not found" >&6; }
12459 else
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12461 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12463 cat >>confdefs.h <<_ACEOF
12464 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12465 _ACEOF
12470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12472 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12473 case "x$with_xinerama" in
12474 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12475 xno) ;;
12476 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12477 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12478 esac
12482 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12483 then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12485 $as_echo_n "checking for -lXcomposite... " >&6; }
12486 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_soname_save_LIBS=$LIBS
12490 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char XCompositeRedirectWindow ();
12502 main ()
12504 return XCompositeRedirectWindow ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 case "$LIBEXT" in
12511 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12512 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'` ;;
12513 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12514 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12515 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12516 fi ;;
12517 esac
12518 else
12519 ac_cv_lib_soname_Xcomposite=
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 LIBS=$ac_check_soname_save_LIBS
12525 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12527 $as_echo "not found" >&6; }
12529 else
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12531 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12533 cat >>confdefs.h <<_ACEOF
12534 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12535 _ACEOF
12540 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12541 case "x$with_xcomposite" in
12542 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12543 xno) ;;
12544 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12545 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12546 esac
12550 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12551 #include <X11/Xlib.h>
12552 #endif
12554 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12556 cat >>confdefs.h <<_ACEOF
12557 #define HAVE_XICCALLBACK_CALLBACK 1
12558 _ACEOF
12562 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12563 #include <X11/Xlib.h>
12564 #endif
12566 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12568 cat >>confdefs.h <<_ACEOF
12569 #define HAVE_XEVENT_XCOOKIE 1
12570 _ACEOF
12577 opengl_msg=""
12578 if test "x$with_opengl" != "xno"
12579 then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12581 $as_echo_n "checking for -lGL... " >&6; }
12582 if ${ac_cv_lib_soname_GL+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_soname_save_LIBS=$LIBS
12586 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 char glXCreateContext ();
12598 main ()
12600 return glXCreateContext ();
12602 return 0;
12604 _ACEOF
12605 if ac_fn_c_try_link "$LINENO"; then :
12606 case "$LIBEXT" in
12607 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12608 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'` ;;
12609 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12610 if ${ac_cv_lib_soname_GL:+false} :; then :
12611 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12612 fi ;;
12613 esac
12614 else
12615 ac_cv_lib_soname_GL=
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_soname_save_LIBS
12621 if ${ac_cv_lib_soname_GL:+false} :; then :
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12623 $as_echo "not found" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12625 $as_echo_n "checking for -lGL... " >&6; }
12626 if ${ac_cv_lib_soname_GL+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 ac_check_soname_save_LIBS=$LIBS
12630 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"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 #endif
12640 char glXCreateContext ();
12642 main ()
12644 return glXCreateContext ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"; then :
12650 case "$LIBEXT" in
12651 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12652 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'` ;;
12653 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12654 if ${ac_cv_lib_soname_GL:+false} :; then :
12655 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12656 fi ;;
12657 esac
12658 else
12659 ac_cv_lib_soname_GL=
12661 rm -f core conftest.err conftest.$ac_objext \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_soname_save_LIBS
12665 if ${ac_cv_lib_soname_GL:+false} :; then :
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12667 $as_echo "not found" >&6; }
12668 if test -f /usr/X11R6/lib/libGL.a
12669 then
12670 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12671 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12672 else
12673 opengl_msg="No OpenGL library found on this system."
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12677 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12679 cat >>confdefs.h <<_ACEOF
12680 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12681 _ACEOF
12683 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"
12685 else
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12687 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12689 cat >>confdefs.h <<_ACEOF
12690 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12691 _ACEOF
12693 OPENGL_LIBS="-lGL"
12695 if test "x$with_glu" != "xno"
12696 then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12698 $as_echo_n "checking for -lGLU... " >&6; }
12699 if ${ac_cv_lib_soname_GLU+:} false; then :
12700 $as_echo_n "(cached) " >&6
12701 else
12702 ac_check_soname_save_LIBS=$LIBS
12703 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12710 #ifdef __cplusplus
12711 extern "C"
12712 #endif
12713 char gluLookAt ();
12715 main ()
12717 return gluLookAt ();
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"; then :
12723 case "$LIBEXT" in
12724 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12725 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'` ;;
12726 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12727 if ${ac_cv_lib_soname_GLU:+false} :; then :
12728 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12729 fi ;;
12730 esac
12731 else
12732 ac_cv_lib_soname_GLU=
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_soname_save_LIBS
12738 if ${ac_cv_lib_soname_GLU:+false} :; then :
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12740 $as_echo "not found" >&6; }
12742 else
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12744 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12746 cat >>confdefs.h <<_ACEOF
12747 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12748 _ACEOF
12752 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12753 case "x$with_glu" in
12754 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12755 xno) ;;
12756 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12757 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12758 esac
12763 if test "x$with_osmesa" != "xno"
12764 then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12766 $as_echo_n "checking for -lOSMesa... " >&6; }
12767 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 ac_check_soname_save_LIBS=$LIBS
12771 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12778 #ifdef __cplusplus
12779 extern "C"
12780 #endif
12781 char OSMesaGetProcAddress ();
12783 main ()
12785 return OSMesaGetProcAddress ();
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 case "$LIBEXT" in
12792 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12796 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12797 fi ;;
12798 esac
12799 else
12800 ac_cv_lib_soname_OSMesa=
12802 rm -f core conftest.err conftest.$ac_objext \
12803 conftest$ac_exeext conftest.$ac_ext
12804 LIBS=$ac_check_soname_save_LIBS
12806 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12808 $as_echo "not found" >&6; }
12810 else
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12812 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12814 cat >>confdefs.h <<_ACEOF
12815 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12816 _ACEOF
12820 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12821 case "x$with_osmesa" in
12822 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12823 xno) ;;
12824 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12825 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12826 esac
12831 if test -n "$opengl_msg"; then :
12832 case "x$with_opengl" in
12833 x) as_fn_append wine_warnings "|$opengl_msg
12834 OpenGL and Direct3D won't be supported." ;;
12835 xno) ;;
12836 *) as_fn_error $? "$opengl_msg
12837 OpenGL and Direct3D won't be supported.
12838 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12839 esac
12843 CPPFLAGS="$ac_save_CPPFLAGS"
12844 else
12845 X_CFLAGS=""
12846 X_LIBS=""
12849 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12850 then
12851 if test "x$X_LIBS" = "x"; then :
12852 case "x$with_x" in
12853 xno) ;;
12854 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12855 without X support, which probably isn't what you want. You will need
12856 to install ${notice_platform}development packages of Xlib at the very least.
12857 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12858 esac
12859 enable_winex11_drv=${enable_winex11_drv:-no}
12861 else
12862 if test "x$X_LIBS" = "x"; then :
12863 case "x$with_x" in
12864 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12865 xno) ;;
12866 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12867 This is an error since --with-x was requested." "$LINENO" 5 ;;
12868 esac
12869 enable_winex11_drv=${enable_winex11_drv:-no}
12873 if test "$ac_cv_header_CL_cl_h" = "yes"
12874 then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12876 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12877 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 ac_check_lib_save_LIBS=$LIBS
12881 LIBS="-lOpenCL $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char clGetPlatformInfo ();
12893 main ()
12895 return clGetPlatformInfo ();
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12902 else
12903 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12910 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12912 OPENCL_LIBS="-lOpenCL"
12917 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12918 case "x$with_opencl" in
12919 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12920 xno) ;;
12921 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12922 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12923 esac
12924 enable_opencl=${enable_opencl:-no}
12927 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12928 then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12930 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12931 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lpcap $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char pcap_create ();
12947 main ()
12949 return pcap_create ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_pcap_pcap_create=yes
12956 else
12957 ac_cv_lib_pcap_pcap_create=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12964 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12965 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12966 PCAP_LIBS="-lpcap"
12971 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12972 case "x$with_pcap" in
12973 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12974 xno) ;;
12975 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12976 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12977 esac
12978 enable_wpcap=${enable_wpcap:-no}
12982 if test "x$with_xml" != "xno"
12983 then
12984 if ${XML2_CFLAGS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12989 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12990 if ${XML2_LIBS:+false} :; then :
12991 if ${PKG_CONFIG+:} false; then :
12992 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12995 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12996 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12997 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12999 ac_save_CPPFLAGS=$CPPFLAGS
13000 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13001 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13002 do :
13003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13006 cat >>confdefs.h <<_ACEOF
13007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13008 _ACEOF
13012 done
13014 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"
13015 then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13017 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13018 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-lxml2 $XML2_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char xmlParseMemory ();
13034 main ()
13036 return xmlParseMemory ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_xml2_xmlParseMemory=yes
13043 else
13044 ac_cv_lib_xml2_xmlParseMemory=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13051 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13052 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13054 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13056 else
13057 XML2_LIBS=""
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13061 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13062 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13063 $as_echo_n "(cached) " >&6
13064 else
13065 ac_check_lib_save_LIBS=$LIBS
13066 LIBS="-lxml2 $XML2_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 #ifdef __cplusplus
13074 extern "C"
13075 #endif
13076 char xmlReadMemory ();
13078 main ()
13080 return xmlReadMemory ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"; then :
13086 ac_cv_lib_xml2_xmlReadMemory=yes
13087 else
13088 ac_cv_lib_xml2_xmlReadMemory=no
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_lib_save_LIBS
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13095 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13096 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13098 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13103 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13104 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_lib_save_LIBS=$LIBS
13108 LIBS="-lxml2 $XML2_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char xmlNewDocPI ();
13120 main ()
13122 return xmlNewDocPI ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_lib_xml2_xmlNewDocPI=yes
13129 else
13130 ac_cv_lib_xml2_xmlNewDocPI=no
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13137 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13138 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13140 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13145 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13146 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13147 $as_echo_n "(cached) " >&6
13148 else
13149 ac_check_lib_save_LIBS=$LIBS
13150 LIBS="-lxml2 $XML2_LIBS $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13157 #ifdef __cplusplus
13158 extern "C"
13159 #endif
13160 char xmlSchemaSetParserStructuredErrors ();
13162 main ()
13164 return xmlSchemaSetParserStructuredErrors ();
13166 return 0;
13168 _ACEOF
13169 if ac_fn_c_try_link "$LINENO"; then :
13170 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13171 else
13172 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_lib_save_LIBS
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13179 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13180 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13182 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13187 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13188 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 ac_check_lib_save_LIBS=$LIBS
13192 LIBS="-lxml2 $XML2_LIBS $LIBS"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13199 #ifdef __cplusplus
13200 extern "C"
13201 #endif
13202 char xmlSchemaSetValidStructuredErrors ();
13204 main ()
13206 return xmlSchemaSetValidStructuredErrors ();
13208 return 0;
13210 _ACEOF
13211 if ac_fn_c_try_link "$LINENO"; then :
13212 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13213 else
13214 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13216 rm -f core conftest.err conftest.$ac_objext \
13217 conftest$ac_exeext conftest.$ac_ext
13218 LIBS=$ac_check_lib_save_LIBS
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13221 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13222 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13224 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13229 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13230 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13231 $as_echo_n "(cached) " >&6
13232 else
13233 ac_check_lib_save_LIBS=$LIBS
13234 LIBS="-lxml2 $XML2_LIBS $LIBS"
13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13238 /* Override any GCC internal prototype to avoid an error.
13239 Use char because int might match the return type of a GCC
13240 builtin and then its argument prototype would still apply. */
13241 #ifdef __cplusplus
13242 extern "C"
13243 #endif
13244 char xmlFirstElementChild ();
13246 main ()
13248 return xmlFirstElementChild ();
13250 return 0;
13252 _ACEOF
13253 if ac_fn_c_try_link "$LINENO"; then :
13254 ac_cv_lib_xml2_xmlFirstElementChild=yes
13255 else
13256 ac_cv_lib_xml2_xmlFirstElementChild=no
13258 rm -f core conftest.err conftest.$ac_objext \
13259 conftest$ac_exeext conftest.$ac_ext
13260 LIBS=$ac_check_lib_save_LIBS
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13263 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13264 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13266 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13270 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13272 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13274 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13278 else
13279 XML2_CFLAGS=""
13280 XML2_LIBS=""
13282 CPPFLAGS=$ac_save_CPPFLAGS
13283 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13284 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13287 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13288 case "x$with_xml" in
13289 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13290 xno) ;;
13291 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13292 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13293 esac
13297 if test "x$with_xslt" != "xno"
13298 then
13299 if ${XSLT_CFLAGS:+false} :; then :
13300 if ${PKG_CONFIG+:} false; then :
13301 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13304 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13305 if ${XSLT_LIBS:+false} :; then :
13306 if ${PKG_CONFIG+:} false; then :
13307 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13310 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13311 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13312 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13313 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13314 ac_save_CPPFLAGS=$CPPFLAGS
13315 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13316 for ac_header in libxslt/pattern.h libxslt/transform.h
13317 do :
13318 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13319 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13320 # include <libxslt/pattern.h>
13321 #endif
13323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13324 cat >>confdefs.h <<_ACEOF
13325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13326 _ACEOF
13330 done
13332 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13333 then
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13335 $as_echo_n "checking for -lxslt... " >&6; }
13336 if ${ac_cv_lib_soname_xslt+:} false; then :
13337 $as_echo_n "(cached) " >&6
13338 else
13339 ac_check_soname_save_LIBS=$LIBS
13340 LIBS="-lxslt $XSLT_LIBS $LIBS"
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13344 /* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13347 #ifdef __cplusplus
13348 extern "C"
13349 #endif
13350 char xsltCompilePattern ();
13352 main ()
13354 return xsltCompilePattern ();
13356 return 0;
13358 _ACEOF
13359 if ac_fn_c_try_link "$LINENO"; then :
13360 case "$LIBEXT" in
13361 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13362 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'` ;;
13363 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13364 if ${ac_cv_lib_soname_xslt:+false} :; then :
13365 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13366 fi ;;
13367 esac
13368 else
13369 ac_cv_lib_soname_xslt=
13371 rm -f core conftest.err conftest.$ac_objext \
13372 conftest$ac_exeext conftest.$ac_ext
13373 LIBS=$ac_check_soname_save_LIBS
13375 if ${ac_cv_lib_soname_xslt:+false} :; then :
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13377 $as_echo "not found" >&6; }
13379 else
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13381 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13383 cat >>confdefs.h <<_ACEOF
13384 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13385 _ACEOF
13389 else
13390 XSLT_CFLAGS=""
13392 CPPFLAGS=$ac_save_CPPFLAGS
13393 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13394 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13397 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13398 case "x$with_xslt" in
13399 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13400 xno) ;;
13401 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13402 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13403 esac
13407 if test "x$with_inotify" != "xno"
13408 then
13409 if ${INOTIFY_CFLAGS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13415 if ${INOTIFY_LIBS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13422 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13423 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13426 for ac_header in sys/inotify.h
13427 do :
13428 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13429 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13430 cat >>confdefs.h <<_ACEOF
13431 #define HAVE_SYS_INOTIFY_H 1
13432 _ACEOF
13436 done
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13439 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13440 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13441 $as_echo_n "(cached) " >&6
13442 else
13443 ac_check_lib_save_LIBS=$LIBS
13444 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13451 #ifdef __cplusplus
13452 extern "C"
13453 #endif
13454 char inotify_add_watch ();
13456 main ()
13458 return inotify_add_watch ();
13460 return 0;
13462 _ACEOF
13463 if ac_fn_c_try_link "$LINENO"; then :
13464 ac_cv_lib_inotify_inotify_add_watch=yes
13465 else
13466 ac_cv_lib_inotify_inotify_add_watch=no
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_lib_save_LIBS
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13473 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13474 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13476 else
13477 INOTIFY_LIBS=""
13480 CPPFLAGS=$ac_save_CPPFLAGS
13481 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13482 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13485 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13486 case "x$with_inotify" in
13487 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13488 xno) ;;
13489 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13490 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13491 esac
13495 if test "x$with_dbus" != "xno"
13496 then
13497 if ${DBUS_CFLAGS:+false} :; then :
13498 if ${PKG_CONFIG+:} false; then :
13499 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13503 if ${DBUS_LIBS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13510 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13511 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13512 ac_save_CPPFLAGS=$CPPFLAGS
13513 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13514 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13515 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13517 $as_echo_n "checking for -ldbus-1... " >&6; }
13518 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_soname_save_LIBS=$LIBS
13522 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char dbus_connection_close ();
13534 main ()
13536 return dbus_connection_close ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 case "$LIBEXT" in
13543 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13544 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'` ;;
13545 *) 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'`
13546 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13547 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13548 fi ;;
13549 esac
13550 else
13551 ac_cv_lib_soname_dbus_1=
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13560 DBUS_CFLAGS=""
13561 else
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13563 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13567 _ACEOF
13571 else
13572 DBUS_CFLAGS=""
13576 CPPFLAGS=$ac_save_CPPFLAGS
13577 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13578 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13581 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13583 case "x$with_dbus" in
13584 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13585 xno) ;;
13586 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13587 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13588 esac
13592 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13593 then
13594 if ${HAL_CFLAGS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13600 if ${HAL_LIBS:+false} :; then :
13601 if ${PKG_CONFIG+:} false; then :
13602 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13606 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13607 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13608 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13609 ac_save_CPPFLAGS=$CPPFLAGS
13610 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13611 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13612 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13614 $as_echo_n "checking for -lhal... " >&6; }
13615 if ${ac_cv_lib_soname_hal+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_check_soname_save_LIBS=$LIBS
13619 LIBS="-lhal $HAL_LIBS $LIBS"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13623 /* Override any GCC internal prototype to avoid an error.
13624 Use char because int might match the return type of a GCC
13625 builtin and then its argument prototype would still apply. */
13626 #ifdef __cplusplus
13627 extern "C"
13628 #endif
13629 char libhal_ctx_new ();
13631 main ()
13633 return libhal_ctx_new ();
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_link "$LINENO"; then :
13639 case "$LIBEXT" in
13640 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13641 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'` ;;
13642 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13643 if ${ac_cv_lib_soname_hal:+false} :; then :
13644 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13645 fi ;;
13646 esac
13647 else
13648 ac_cv_lib_soname_hal=
13650 rm -f core conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS=$ac_check_soname_save_LIBS
13654 if ${ac_cv_lib_soname_hal:+false} :; then :
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13656 $as_echo "not found" >&6; }
13657 HAL_CFLAGS=""
13658 else
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13660 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13662 cat >>confdefs.h <<_ACEOF
13663 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13664 _ACEOF
13668 else
13669 HAL_CFLAGS=""
13673 CPPFLAGS=$ac_save_CPPFLAGS
13674 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13675 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13677 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13678 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13679 case "x$with_hal" in
13680 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13681 xno) ;;
13682 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13683 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13684 esac
13689 if test "x$with_gnutls" != "xno"
13690 then
13691 if ${GNUTLS_CFLAGS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13697 if ${GNUTLS_LIBS:+false} :; then :
13698 if ${PKG_CONFIG+:} false; then :
13699 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13703 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13704 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13705 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13706 ac_save_CPPFLAGS=$CPPFLAGS
13707 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13708 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13709 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 #include <gnutls/gnutls.h>
13713 #include <gnutls/crypto.h>
13715 main ()
13717 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13719 return 0;
13721 _ACEOF
13722 if ac_fn_c_try_compile "$LINENO"; then :
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13724 $as_echo_n "checking for -lgnutls... " >&6; }
13725 if ${ac_cv_lib_soname_gnutls+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_check_soname_save_LIBS=$LIBS
13729 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13733 /* Override any GCC internal prototype to avoid an error.
13734 Use char because int might match the return type of a GCC
13735 builtin and then its argument prototype would still apply. */
13736 #ifdef __cplusplus
13737 extern "C"
13738 #endif
13739 char gnutls_global_init ();
13741 main ()
13743 return gnutls_global_init ();
13745 return 0;
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 case "$LIBEXT" in
13750 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13751 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'` ;;
13752 *) 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'`
13753 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13754 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'`
13755 fi ;;
13756 esac
13757 else
13758 ac_cv_lib_soname_gnutls=
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_soname_save_LIBS
13764 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13766 $as_echo "not found" >&6; }
13767 GNUTLS_CFLAGS=""
13768 else
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13770 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13772 cat >>confdefs.h <<_ACEOF
13773 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13774 _ACEOF
13778 ac_wine_check_funcs_save_LIBS="$LIBS"
13779 LIBS="$LIBS $GNUTLS_LIBS"
13780 for ac_func in gnutls_cipher_init
13781 do :
13782 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13783 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13784 cat >>confdefs.h <<_ACEOF
13785 #define HAVE_GNUTLS_CIPHER_INIT 1
13786 _ACEOF
13788 else
13789 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13791 done
13793 LIBS="$ac_wine_check_funcs_save_LIBS"
13795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13796 else
13797 GNUTLS_CFLAGS=""
13801 CPPFLAGS=$ac_save_CPPFLAGS
13802 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13803 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13806 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13807 case "x$with_gnutls" in
13808 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13809 xno) ;;
13810 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13811 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13812 esac
13816 CURSES_LIBS=""
13817 if test "$ac_cv_header_ncurses_h" = "yes"
13818 then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13820 $as_echo_n "checking for -lncurses... " >&6; }
13821 if ${ac_cv_lib_soname_ncurses+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_check_soname_save_LIBS=$LIBS
13825 LIBS="-lncurses $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 char waddch ();
13837 main ()
13839 return waddch ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"; then :
13845 case "$LIBEXT" in
13846 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13847 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'` ;;
13848 *) 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'`
13849 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13850 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13851 fi ;;
13852 esac
13853 else
13854 ac_cv_lib_soname_ncurses=
13856 rm -f core conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858 LIBS=$ac_check_soname_save_LIBS
13860 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13862 $as_echo "not found" >&6; }
13864 else
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13866 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13868 cat >>confdefs.h <<_ACEOF
13869 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13870 _ACEOF
13872 CURSES_LIBS="-lncurses"
13874 elif test "$ac_cv_header_curses_h" = "yes"
13875 then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13877 $as_echo_n "checking for -lcurses... " >&6; }
13878 if ${ac_cv_lib_soname_curses+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 ac_check_soname_save_LIBS=$LIBS
13882 LIBS="-lcurses $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 #ifdef __cplusplus
13890 extern "C"
13891 #endif
13892 char waddch ();
13894 main ()
13896 return waddch ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 case "$LIBEXT" in
13903 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13904 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'` ;;
13905 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13906 if ${ac_cv_lib_soname_curses:+false} :; then :
13907 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13908 fi ;;
13909 esac
13910 else
13911 ac_cv_lib_soname_curses=
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 LIBS=$ac_check_soname_save_LIBS
13917 if ${ac_cv_lib_soname_curses:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13923 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13927 _ACEOF
13929 CURSES_LIBS="-lcurses"
13932 ac_save_LIBS="$LIBS"
13933 LIBS="$LIBS $CURSES_LIBS"
13934 for ac_func in mousemask
13935 do :
13936 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13937 if test "x$ac_cv_func_mousemask" = xyes; then :
13938 cat >>confdefs.h <<_ACEOF
13939 #define HAVE_MOUSEMASK 1
13940 _ACEOF
13943 done
13945 LIBS="$ac_save_LIBS"
13946 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13947 case "x$with_curses" in
13948 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13949 xno) ;;
13950 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13951 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13952 esac
13956 if test "x$with_sane" != "xno"
13957 then
13958 if ${SANE_CFLAGS:+false} :; then :
13959 if ${PKG_CONFIG+:} false; then :
13960 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13963 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13964 if ${SANE_LIBS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13969 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13971 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13973 ac_save_CPPFLAGS=$CPPFLAGS
13974 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13975 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13976 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13978 $as_echo_n "checking for -lsane... " >&6; }
13979 if ${ac_cv_lib_soname_sane+:} false; then :
13980 $as_echo_n "(cached) " >&6
13981 else
13982 ac_check_soname_save_LIBS=$LIBS
13983 LIBS="-lsane $SANE_LIBS $LIBS"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13990 #ifdef __cplusplus
13991 extern "C"
13992 #endif
13993 char sane_init ();
13995 main ()
13997 return sane_init ();
13999 return 0;
14001 _ACEOF
14002 if ac_fn_c_try_link "$LINENO"; then :
14003 case "$LIBEXT" in
14004 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14005 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'` ;;
14006 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14007 if ${ac_cv_lib_soname_sane:+false} :; then :
14008 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14009 fi ;;
14010 esac
14011 else
14012 ac_cv_lib_soname_sane=
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_soname_save_LIBS
14018 if ${ac_cv_lib_soname_sane:+false} :; then :
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14020 $as_echo "not found" >&6; }
14021 SANE_CFLAGS=""
14022 else
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14024 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14026 cat >>confdefs.h <<_ACEOF
14027 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14028 _ACEOF
14032 else
14033 SANE_CFLAGS=""
14037 CPPFLAGS=$ac_save_CPPFLAGS
14038 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14039 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14042 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14043 case "x$with_sane" in
14044 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14045 xno) ;;
14046 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14047 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14048 esac
14052 if test "x$with_usb" != "xno"
14053 then
14054 if ${USB_CFLAGS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14060 if ${USB_LIBS:+false} :; then :
14061 if ${PKG_CONFIG+:} false; then :
14062 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14066 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14067 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14069 ac_save_CPPFLAGS=$CPPFLAGS
14070 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14071 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14072 if test "x$ac_cv_header_libusb_h" = xyes; then :
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14074 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14075 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 #ifdef __cplusplus
14087 extern "C"
14088 #endif
14089 char libusb_interrupt_event_handler ();
14091 main ()
14093 return libusb_interrupt_event_handler ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14100 else
14101 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14108 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14109 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14111 else
14112 USB_LIBS=""
14115 else
14116 USB_LIBS=""
14120 CPPFLAGS=$ac_save_CPPFLAGS
14121 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14122 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14125 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14126 case "x$with_usb" in
14127 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14128 xno) ;;
14129 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14130 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14131 esac
14132 enable_wineusb_sys=${enable_wineusb_sys:-no}
14135 if test "x$with_v4l2" != "xno"
14136 then
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14138 $as_echo_n "checking for -lv4l2... " >&6; }
14139 if ${ac_cv_lib_soname_v4l2+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 ac_check_soname_save_LIBS=$LIBS
14143 LIBS="-lv4l2 $LIBS"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14150 #ifdef __cplusplus
14151 extern "C"
14152 #endif
14153 char v4l2_open ();
14155 main ()
14157 return v4l2_open ();
14159 return 0;
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 case "$LIBEXT" in
14164 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14165 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'` ;;
14166 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14167 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14168 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14169 fi ;;
14170 esac
14171 else
14172 ac_cv_lib_soname_v4l2=
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_soname_save_LIBS
14178 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14180 $as_echo "not found" >&6; }
14182 else
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14184 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14186 cat >>confdefs.h <<_ACEOF
14187 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14188 _ACEOF
14193 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14194 case "x$with_v4l2" in
14195 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14196 xno) ;;
14197 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14198 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14199 esac
14203 if test "x$with_gphoto" != "xno"
14204 then
14205 if ${GPHOTO2_CFLAGS:+false} :; then :
14206 if ${PKG_CONFIG+:} false; then :
14207 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14210 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14211 if ${GPHOTO2_LIBS:+false} :; then :
14212 if ${PKG_CONFIG+:} false; then :
14213 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14216 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14217 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14218 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14219 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14220 ac_save_CPPFLAGS=$CPPFLAGS
14221 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14222 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14223 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14225 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14226 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14227 $as_echo_n "(cached) " >&6
14228 else
14229 ac_check_lib_save_LIBS=$LIBS
14230 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14237 #ifdef __cplusplus
14238 extern "C"
14239 #endif
14240 char gp_camera_new ();
14242 main ()
14244 return gp_camera_new ();
14246 return 0;
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"; then :
14250 ac_cv_lib_gphoto2_gp_camera_new=yes
14251 else
14252 ac_cv_lib_gphoto2_gp_camera_new=no
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_check_lib_save_LIBS
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14259 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14260 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14262 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14264 else
14265 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14268 else
14269 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14273 CPPFLAGS=$ac_save_CPPFLAGS
14274 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14275 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14277 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14278 if ${PKG_CONFIG+:} false; then :
14279 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14282 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14283 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14284 if ${PKG_CONFIG+:} false; then :
14285 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14288 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14289 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14290 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14291 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14292 ac_save_CPPFLAGS=$CPPFLAGS
14293 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14294 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14295 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14297 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14298 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_check_lib_save_LIBS=$LIBS
14302 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 /* Override any GCC internal prototype to avoid an error.
14307 Use char because int might match the return type of a GCC
14308 builtin and then its argument prototype would still apply. */
14309 #ifdef __cplusplus
14310 extern "C"
14311 #endif
14312 char gp_port_info_list_new ();
14314 main ()
14316 return gp_port_info_list_new ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14323 else
14324 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 LIBS=$ac_check_lib_save_LIBS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14331 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14332 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14334 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14336 else
14337 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14340 else
14341 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14345 CPPFLAGS=$ac_save_CPPFLAGS
14346 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14347 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14350 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14351 case "x$with_gphoto" in
14352 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14353 xno) ;;
14354 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14355 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14356 esac
14359 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14360 case "x$with_gphoto" in
14361 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14362 xno) ;;
14363 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14364 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14365 esac
14370 if test "$ac_cv_header_resolv_h" = "yes"
14371 then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14373 $as_echo_n "checking for resolver library... " >&6; }
14374 if ${ac_cv_have_resolv+:} false; then :
14375 $as_echo_n "(cached) " >&6
14376 else
14377 ac_save_LIBS="$LIBS"
14378 for lib in '' -lresolv
14380 LIBS="$lib $ac_save_LIBS"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 #ifdef HAVE_NETINET_IN_H
14384 #include <netinet/in.h>
14385 #endif
14386 #include <resolv.h>
14388 main ()
14390 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_have_resolv=${lib:-"none required"}
14397 else
14398 ac_cv_have_resolv="not found"
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 test "x$ac_cv_have_resolv" = "xnot found" || break
14403 done
14404 LIBS="$ac_save_LIBS"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14407 $as_echo "$ac_cv_have_resolv" >&6; }
14409 case "$ac_cv_have_resolv" in
14410 "not found") ;;
14411 "none required")
14413 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14416 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14418 RESOLV_LIBS=$ac_cv_have_resolv
14420 esac
14422 if test "x$ac_cv_have_resolv" != "xnot found"
14423 then
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14425 $as_echo_n "checking for res_getservers... " >&6; }
14426 if ${ac_cv_have_res_getservers+:} false; then :
14427 $as_echo_n "(cached) " >&6
14428 else
14429 ac_save_LIBS="$LIBS"
14430 LIBS="$RESOLV_LIBS $LIBS"
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14433 #include <resolv.h>
14435 main ()
14437 res_getservers(NULL, NULL, 0);
14439 return 0;
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_have_res_getservers=yes
14444 else
14445 ac_cv_have_res_getservers=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 LIBS="$ac_save_LIBS"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14452 $as_echo "$ac_cv_have_res_getservers" >&6; }
14453 if test "$ac_cv_have_res_getservers" = "yes"
14454 then
14456 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14462 if test "x$with_cms" != "xno"
14463 then
14464 if ${LCMS2_CFLAGS:+false} :; then :
14465 if ${PKG_CONFIG+:} false; then :
14466 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14470 if ${LCMS2_LIBS:+false} :; then :
14471 if ${PKG_CONFIG+:} false; then :
14472 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14476 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14477 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14478 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14479 ac_save_CPPFLAGS=$CPPFLAGS
14480 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14481 for ac_header in lcms2.h
14482 do :
14483 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14484 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14485 cat >>confdefs.h <<_ACEOF
14486 #define HAVE_LCMS2_H 1
14487 _ACEOF
14491 done
14493 if test "$ac_cv_header_lcms2_h" = "yes"
14494 then
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14496 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14497 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 ac_check_lib_save_LIBS=$LIBS
14501 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14505 /* Override any GCC internal prototype to avoid an error.
14506 Use char because int might match the return type of a GCC
14507 builtin and then its argument prototype would still apply. */
14508 #ifdef __cplusplus
14509 extern "C"
14510 #endif
14511 char cmsOpenProfileFromFile ();
14513 main ()
14515 return cmsOpenProfileFromFile ();
14517 return 0;
14519 _ACEOF
14520 if ac_fn_c_try_link "$LINENO"; then :
14521 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14522 else
14523 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14525 rm -f core conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 LIBS=$ac_check_lib_save_LIBS
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14530 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14531 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14533 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14535 else
14536 LCMS2_LIBS=""
14539 else
14540 LCMS2_CFLAGS=""
14541 LCMS2_LIBS=""
14543 CPPFLAGS=$ac_save_CPPFLAGS
14544 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14545 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14548 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14549 case "x$with_cms" in
14550 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14551 xno) ;;
14552 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14553 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14554 esac
14558 if test "x$with_freetype" != "xno"
14559 then
14560 if ${FREETYPE_CFLAGS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14565 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14566 if ${FREETYPE_LIBS:+false} :; then :
14567 if ${PKG_CONFIG+:} false; then :
14568 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14571 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14572 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14573 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14574 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14575 ac_save_CPPFLAGS=$CPPFLAGS
14576 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14577 for ac_header in ft2build.h
14578 do :
14579 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14580 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14581 cat >>confdefs.h <<_ACEOF
14582 #define HAVE_FT2BUILD_H 1
14583 _ACEOF
14587 done
14589 if test "$ac_cv_header_ft2build_h" = "yes"
14590 then
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14592 $as_echo_n "checking for -lfreetype... " >&6; }
14593 if ${ac_cv_lib_soname_freetype+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 ac_check_soname_save_LIBS=$LIBS
14597 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14601 /* Override any GCC internal prototype to avoid an error.
14602 Use char because int might match the return type of a GCC
14603 builtin and then its argument prototype would still apply. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 char FT_Init_FreeType ();
14609 main ()
14611 return FT_Init_FreeType ();
14613 return 0;
14615 _ACEOF
14616 if ac_fn_c_try_link "$LINENO"; then :
14617 case "$LIBEXT" in
14618 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14619 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'` ;;
14620 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14621 if ${ac_cv_lib_soname_freetype:+false} :; then :
14622 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14623 fi ;;
14624 esac
14625 else
14626 ac_cv_lib_soname_freetype=
14628 rm -f core conftest.err conftest.$ac_objext \
14629 conftest$ac_exeext conftest.$ac_ext
14630 LIBS=$ac_check_soname_save_LIBS
14632 if ${ac_cv_lib_soname_freetype:+false} :; then :
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14634 $as_echo "not found" >&6; }
14635 FREETYPE_LIBS=""
14636 else
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14638 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14640 cat >>confdefs.h <<_ACEOF
14641 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14642 _ACEOF
14645 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14647 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14648 #include FT_MODULE_H
14650 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14652 cat >>confdefs.h <<_ACEOF
14653 #define HAVE_FT_TRUETYPEENGINETYPE 1
14654 _ACEOF
14660 else
14661 FREETYPE_CFLAGS=""
14662 FREETYPE_LIBS=""
14664 CPPFLAGS=$ac_save_CPPFLAGS
14665 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14666 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14669 if test "x$ac_cv_lib_soname_freetype" = x; then :
14670 case "x$with_freetype" in
14671 xno) ;;
14672 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14673 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14674 esac
14675 enable_fonts=${enable_fonts:-no}
14678 ac_wine_check_funcs_save_LIBS="$LIBS"
14679 LIBS="$LIBS $PTHREAD_LIBS"
14680 for ac_func in \
14681 pthread_getthreadid_np
14682 do :
14683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14685 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14686 cat >>confdefs.h <<_ACEOF
14687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14688 _ACEOF
14691 done
14693 LIBS="$ac_wine_check_funcs_save_LIBS"
14695 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14696 then
14697 if test "$ac_cv_header_gettext_po_h" = "yes"
14698 then
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14700 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14701 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 ac_check_lib_save_LIBS=$LIBS
14705 LIBS="-lgettextpo $LIBS"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14709 /* Override any GCC internal prototype to avoid an error.
14710 Use char because int might match the return type of a GCC
14711 builtin and then its argument prototype would still apply. */
14712 #ifdef __cplusplus
14713 extern "C"
14714 #endif
14715 char po_message_msgctxt ();
14717 main ()
14719 return po_message_msgctxt ();
14721 return 0;
14723 _ACEOF
14724 if ac_fn_c_try_link "$LINENO"; then :
14725 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14726 else
14727 ac_cv_lib_gettextpo_po_message_msgctxt=no
14729 rm -f core conftest.err conftest.$ac_objext \
14730 conftest$ac_exeext conftest.$ac_ext
14731 LIBS=$ac_check_lib_save_LIBS
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14734 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14735 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14737 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14739 GETTEXTPO_LIBS="-lgettextpo"
14744 if test "x$GETTEXTPO_LIBS" = "x"; then :
14745 case "x$with_gettextpo" in
14746 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14747 xno) ;;
14748 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14749 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14750 esac
14753 if test "$srcdir" != .; then :
14754 case "x$with_gettextpo" in
14755 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14756 xno) ;;
14757 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14758 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14759 esac
14764 if test "x$with_pulse" != "xno";
14765 then
14766 if ${PULSE_CFLAGS:+false} :; then :
14767 if ${PKG_CONFIG+:} false; then :
14768 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14772 if ${PULSE_LIBS:+false} :; then :
14773 if ${PKG_CONFIG+:} false; then :
14774 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14779 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14780 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14781 ac_save_CPPFLAGS=$CPPFLAGS
14782 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14783 for ac_header in pulse/pulseaudio.h
14784 do :
14785 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14786 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14787 cat >>confdefs.h <<_ACEOF
14788 #define HAVE_PULSE_PULSEAUDIO_H 1
14789 _ACEOF
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14791 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14792 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_check_lib_save_LIBS=$LIBS
14796 LIBS="-lpulse $PULSE_LIBS $LIBS"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char pa_stream_is_corked ();
14808 main ()
14810 return pa_stream_is_corked ();
14812 return 0;
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_lib_pulse_pa_stream_is_corked=yes
14817 else
14818 ac_cv_lib_pulse_pa_stream_is_corked=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_lib_save_LIBS
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14825 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14826 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14828 else
14829 PULSE_LIBS=""
14832 else
14833 PULSE_LIBS=""
14836 done
14838 CPPFLAGS=$ac_save_CPPFLAGS
14839 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14840 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14843 if test -z "$PULSE_LIBS"; then :
14844 case "x$with_pulse" in
14845 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14846 xno) ;;
14847 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14848 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14849 esac
14850 enable_winepulse_drv=${enable_winepulse_drv:-no}
14853 if test "x$with_gstreamer" != "xno"
14854 then
14855 if ${GSTREAMER_CFLAGS:+false} :; then :
14856 if ${PKG_CONFIG+:} false; then :
14857 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14861 if ${GSTREAMER_LIBS:+false} :; then :
14862 if ${PKG_CONFIG+:} false; then :
14863 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14868 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14869 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14870 ac_save_CPPFLAGS=$CPPFLAGS
14871 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14872 ac_gst_incl=""
14873 for i in $GSTREAMER_CFLAGS
14875 case "$i" in
14876 -I*) ac_gst_incl="$ac_gst_incl $i";;
14877 esac
14878 done
14879 GSTREAMER_CFLAGS=$ac_gst_incl
14880 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14881 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14882 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14884 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 #include <gst/gst.h>
14889 main ()
14891 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_compile "$LINENO"; then :
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14898 $as_echo "yes" >&6; }
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14900 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14901 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 #ifdef __cplusplus
14913 extern "C"
14914 #endif
14915 char gst_pad_new ();
14917 main ()
14919 return gst_pad_new ();
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14926 else
14927 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14931 LIBS=$ac_check_lib_save_LIBS
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14934 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14935 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14939 else
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14941 $as_echo "no" >&6; }
14942 ac_glib2_broken=yes
14943 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14949 CPPFLAGS=$ac_save_CPPFLAGS
14950 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14951 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14954 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 :
14955 case "x$with_gstreamer" in
14956 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14957 xno) ;;
14958 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14959 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14960 esac
14963 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14965 ALSA_LIBS=""
14967 if test "x$with_alsa" != "xno"
14968 then
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14970 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14971 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 ac_check_lib_save_LIBS=$LIBS
14975 LIBS="-lasound $LIBS"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 #ifdef __cplusplus
14983 extern "C"
14984 #endif
14985 char snd_pcm_hw_params_get_access_mask ();
14987 main ()
14989 return snd_pcm_hw_params_get_access_mask ();
14991 return 0;
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"; then :
14995 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14996 else
14997 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14999 rm -f core conftest.err conftest.$ac_objext \
15000 conftest$ac_exeext conftest.$ac_ext
15001 LIBS=$ac_check_lib_save_LIBS
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15004 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15005 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <alsa/asoundlib.h>
15010 main ()
15012 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_compile "$LINENO"; then :
15018 ALSA_LIBS="-lasound"
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15026 if test "x$with_oss" != xno
15027 then
15028 ac_save_CPPFLAGS="$CPPFLAGS"
15029 if test -f /etc/oss.conf
15030 then
15031 . /etc/oss.conf
15033 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15034 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15035 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15036 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15037 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15039 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15041 cat >>confdefs.h <<_ACEOF
15042 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15043 _ACEOF
15045 OSS4_CFLAGS="$ac_oss_incl"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15048 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15049 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_check_lib_save_LIBS=$LIBS
15053 LIBS="-lossaudio $LIBS"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 char _oss_ioctl ();
15065 main ()
15067 return _oss_ioctl ();
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_lib_ossaudio__oss_ioctl=yes
15074 else
15075 ac_cv_lib_ossaudio__oss_ioctl=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LIBS=$ac_check_lib_save_LIBS
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15082 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15083 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15084 OSS4_LIBS="-lossaudio"
15093 CPPFLAGS="$ac_save_CPPFLAGS"
15095 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15096 case "x$with_oss" in
15097 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15098 xno) ;;
15099 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15100 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15101 esac
15102 enable_wineoss_drv=${enable_wineoss_drv:-no}
15105 if test "x$with_udev" != "xno"
15106 then
15107 if ${UDEV_CFLAGS:+false} :; then :
15108 if ${PKG_CONFIG+:} false; then :
15109 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15113 if ${UDEV_LIBS:+false} :; then :
15114 if ${PKG_CONFIG+:} false; then :
15115 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15119 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15120 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15121 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15122 ac_save_CPPFLAGS=$CPPFLAGS
15123 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15124 for ac_header in libudev.h
15125 do :
15126 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15127 if test "x$ac_cv_header_libudev_h" = xyes; then :
15128 cat >>confdefs.h <<_ACEOF
15129 #define HAVE_LIBUDEV_H 1
15130 _ACEOF
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15132 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15133 if ${ac_cv_lib_udev_udev_new+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 ac_check_lib_save_LIBS=$LIBS
15137 LIBS="-ludev $UDEV_LIBS $LIBS"
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15144 #ifdef __cplusplus
15145 extern "C"
15146 #endif
15147 char udev_new ();
15149 main ()
15151 return udev_new ();
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"; then :
15157 ac_cv_lib_udev_udev_new=yes
15158 else
15159 ac_cv_lib_udev_udev_new=no
15161 rm -f core conftest.err conftest.$ac_objext \
15162 conftest$ac_exeext conftest.$ac_ext
15163 LIBS=$ac_check_lib_save_LIBS
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15166 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15167 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15169 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15171 else
15172 UDEV_LIBS=""
15175 else
15176 UDEV_LIBS=""
15179 done
15181 CPPFLAGS=$ac_save_CPPFLAGS
15182 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15183 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15186 if test "x$UDEV_LIBS" = "x"; then :
15187 case "x$with_udev" in
15188 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15189 xno) ;;
15190 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15191 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15192 esac
15196 if test "x$with_unwind" != xno
15197 then
15198 if ${UNWIND_CFLAGS:+false} :; then :
15199 if ${PKG_CONFIG+:} false; then :
15200 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15204 if ${UNWIND_LIBS:+false} :; then :
15205 if ${PKG_CONFIG+:} false; then :
15206 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15210 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15211 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15212 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15213 ac_save_CPPFLAGS=$CPPFLAGS
15214 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15216 $as_echo_n "checking for unw_step... " >&6; }
15217 if ${wine_cv_have_unw_step+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222 #define UNW_LOCAL_ONLY
15223 #include <libunwind.h>
15225 main ()
15227 unw_cursor_t cursor; unw_step( &cursor );
15229 return 0;
15231 _ACEOF
15232 if ac_fn_c_try_link "$LINENO"; then :
15233 wine_cv_have_unw_step="yes"
15234 else
15235 wine_cv_have_unw_step="no"
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15241 $as_echo "$wine_cv_have_unw_step" >&6; }
15242 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15243 then
15244 save_libs=$LIBS
15245 LIBS="$UNWIND_LIBS $LIBS"
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15247 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15248 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15249 $as_echo_n "(cached) " >&6
15250 else
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15253 #define UNW_LOCAL_ONLY
15254 #include <libunwind.h>
15256 main ()
15258 unw_cursor_t cursor; unw_step( &cursor );
15260 return 0;
15262 _ACEOF
15263 if ac_fn_c_try_link "$LINENO"; then :
15264 wine_cv_have_libunwind_unw_step="yes"
15265 else
15266 wine_cv_have_libunwind_unw_step="no"
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15272 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15273 LIBS=$save_libs
15275 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15276 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15277 then
15279 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15282 CPPFLAGS=$ac_save_CPPFLAGS
15283 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15284 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15287 case $host in
15288 aarch64*|*-darwin*)
15289 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15290 case "x$with_unwind" in
15291 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15292 xno) ;;
15293 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15294 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15295 esac
15297 fi ;;
15298 esac
15300 if test "x$with_sdl" != "xno"
15301 then
15302 if ${SDL2_CFLAGS:+false} :; then :
15303 if ${PKG_CONFIG+:} false; then :
15304 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15308 if ${SDL2_LIBS:+false} :; then :
15309 if ${PKG_CONFIG+:} false; then :
15310 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15314 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15315 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15316 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15317 ac_save_CPPFLAGS=$CPPFLAGS
15318 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15319 for ac_header in SDL2/SDL.h
15320 do :
15321 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15322 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_SDL2_SDL_H 1
15325 _ACEOF
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15327 $as_echo_n "checking for -lSDL2... " >&6; }
15328 if ${ac_cv_lib_soname_SDL2+:} false; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331 ac_check_soname_save_LIBS=$LIBS
15332 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 #ifdef __cplusplus
15340 extern "C"
15341 #endif
15342 char SDL_Init ();
15344 main ()
15346 return SDL_Init ();
15348 return 0;
15350 _ACEOF
15351 if ac_fn_c_try_link "$LINENO"; then :
15352 case "$LIBEXT" in
15353 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15354 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'` ;;
15355 *) 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'`
15356 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15357 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15358 fi ;;
15359 esac
15360 else
15361 ac_cv_lib_soname_SDL2=
15363 rm -f core conftest.err conftest.$ac_objext \
15364 conftest$ac_exeext conftest.$ac_ext
15365 LIBS=$ac_check_soname_save_LIBS
15367 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15369 $as_echo "not found" >&6; }
15371 else
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15373 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15375 cat >>confdefs.h <<_ACEOF
15376 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15377 _ACEOF
15383 done
15385 CPPFLAGS=$ac_save_CPPFLAGS
15386 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15387 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15390 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15391 case "x$with_sdl" in
15392 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15393 xno) ;;
15394 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15395 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15396 esac
15400 if test "x$with_faudio" != "xno"
15401 then
15402 if ${FAUDIO_CFLAGS:+false} :; then :
15403 if ${PKG_CONFIG+:} false; then :
15404 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15408 if ${FAUDIO_LIBS:+false} :; then :
15409 if ${PKG_CONFIG+:} false; then :
15410 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15414 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15415 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15416 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15417 ac_save_CPPFLAGS=$CPPFLAGS
15418 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15419 for ac_header in FAudio.h
15420 do :
15421 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15422 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15423 cat >>confdefs.h <<_ACEOF
15424 #define HAVE_FAUDIO_H 1
15425 _ACEOF
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15427 $as_echo_n "checking for -lFAudio... " >&6; }
15428 if ${ac_cv_lib_soname_FAudio+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char FAudioCreate ();
15444 main ()
15446 return FAudioCreate ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15457 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15458 fi ;;
15459 esac
15460 else
15461 ac_cv_lib_soname_FAudio=
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_soname_save_LIBS
15467 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 $as_echo "not found" >&6; }
15471 else
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15473 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15475 cat >>confdefs.h <<_ACEOF
15476 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15477 _ACEOF
15483 done
15485 ac_wine_check_funcs_save_LIBS="$LIBS"
15486 LIBS="$LIBS $FAUDIO_LIBS"
15487 for ac_func in FAudio_CommitOperationSet \
15488 F3DAudioInitialize8 \
15489 FAudioLinkedVersion
15490 do :
15491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15493 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15494 cat >>confdefs.h <<_ACEOF
15495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15496 _ACEOF
15499 done
15501 LIBS="$ac_wine_check_funcs_save_LIBS"
15503 CPPFLAGS=$ac_save_CPPFLAGS
15504 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15505 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15508 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15509 case "x$with_faudio" in
15510 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15511 xno) ;;
15512 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15513 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15514 esac
15518 if test "x$with_capi" != "xno"
15519 then
15520 if ${CAPI20_CFLAGS:+false} :; then :
15521 if ${PKG_CONFIG+:} false; then :
15522 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15526 if ${CAPI20_LIBS:+false} :; then :
15527 if ${PKG_CONFIG+:} false; then :
15528 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15533 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15534 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15535 ac_save_CPPFLAGS=$CPPFLAGS
15536 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15537 for ac_header in capi20.h linux/capi.h
15538 do :
15539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15540 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15542 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15543 cat >>confdefs.h <<_ACEOF
15544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15545 _ACEOF
15549 done
15551 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15552 then
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15554 $as_echo_n "checking for -lcapi20... " >&6; }
15555 if ${ac_cv_lib_soname_capi20+:} false; then :
15556 $as_echo_n "(cached) " >&6
15557 else
15558 ac_check_soname_save_LIBS=$LIBS
15559 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15563 /* Override any GCC internal prototype to avoid an error.
15564 Use char because int might match the return type of a GCC
15565 builtin and then its argument prototype would still apply. */
15566 #ifdef __cplusplus
15567 extern "C"
15568 #endif
15569 char capi20_register ();
15571 main ()
15573 return capi20_register ();
15575 return 0;
15577 _ACEOF
15578 if ac_fn_c_try_link "$LINENO"; then :
15579 case "$LIBEXT" in
15580 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15581 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'` ;;
15582 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15583 if ${ac_cv_lib_soname_capi20:+false} :; then :
15584 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15585 fi ;;
15586 esac
15587 else
15588 ac_cv_lib_soname_capi20=
15590 rm -f core conftest.err conftest.$ac_objext \
15591 conftest$ac_exeext conftest.$ac_ext
15592 LIBS=$ac_check_soname_save_LIBS
15594 if ${ac_cv_lib_soname_capi20:+false} :; then :
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15596 $as_echo "not found" >&6; }
15598 else
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15600 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15602 cat >>confdefs.h <<_ACEOF
15603 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15604 _ACEOF
15609 CPPFLAGS=$ac_save_CPPFLAGS
15610 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15611 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15614 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15615 case "x$with_capi" in
15616 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15617 xno) ;;
15618 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15619 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15620 esac
15624 if test "x$with_cups" != "xno"
15625 then
15626 if ${CUPS_CFLAGS:+false} :; then :
15627 if ${PKG_CONFIG+:} false; then :
15628 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15631 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15632 if ${CUPS_LIBS:+false} :; then :
15633 if ${PKG_CONFIG+:} false; then :
15634 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15637 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15638 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15639 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15640 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15641 ac_save_CPPFLAGS=$CPPFLAGS
15642 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15643 for ac_header in cups/cups.h cups/ppd.h
15644 do :
15645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15646 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15647 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15650 _ACEOF
15654 done
15656 if test "$ac_cv_header_cups_cups_h" = "yes"
15657 then
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15659 $as_echo_n "checking for -lcups... " >&6; }
15660 if ${ac_cv_lib_soname_cups+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_check_soname_save_LIBS=$LIBS
15664 LIBS="-lcups $CUPS_LIBS $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 #ifdef __cplusplus
15672 extern "C"
15673 #endif
15674 char cupsGetDefault ();
15676 main ()
15678 return cupsGetDefault ();
15680 return 0;
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 case "$LIBEXT" in
15685 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15686 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'` ;;
15687 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15688 if ${ac_cv_lib_soname_cups:+false} :; then :
15689 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15690 fi ;;
15691 esac
15692 else
15693 ac_cv_lib_soname_cups=
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15697 LIBS=$ac_check_soname_save_LIBS
15699 if ${ac_cv_lib_soname_cups:+false} :; then :
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15701 $as_echo "not found" >&6; }
15702 CUPS_LIBS=""
15703 else
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15705 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15707 cat >>confdefs.h <<_ACEOF
15708 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15709 _ACEOF
15713 else
15714 CUPS_CFLAGS=""
15715 CUPS_LIBS=""
15717 CPPFLAGS=$ac_save_CPPFLAGS
15718 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15719 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15722 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15723 case "x$with_cups" in
15724 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15725 xno) ;;
15726 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15727 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15728 esac
15732 if test "x$with_fontconfig" != "xno"
15733 then
15734 if ${FONTCONFIG_CFLAGS:+false} :; then :
15735 if ${PKG_CONFIG+:} false; then :
15736 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15739 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15740 if ${FONTCONFIG_LIBS:+false} :; then :
15741 if ${PKG_CONFIG+:} false; then :
15742 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15745 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15747 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15748 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15749 ac_save_CPPFLAGS=$CPPFLAGS
15750 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15751 for ac_header in fontconfig/fontconfig.h
15752 do :
15753 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15754 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15757 _ACEOF
15761 done
15763 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15764 then
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15766 $as_echo_n "checking for -lfontconfig... " >&6; }
15767 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15768 $as_echo_n "(cached) " >&6
15769 else
15770 ac_check_soname_save_LIBS=$LIBS
15771 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15778 #ifdef __cplusplus
15779 extern "C"
15780 #endif
15781 char FcInit ();
15783 main ()
15785 return FcInit ();
15787 return 0;
15789 _ACEOF
15790 if ac_fn_c_try_link "$LINENO"; then :
15791 case "$LIBEXT" in
15792 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15793 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'` ;;
15794 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15795 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15796 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15797 fi ;;
15798 esac
15799 else
15800 ac_cv_lib_soname_fontconfig=
15802 rm -f core conftest.err conftest.$ac_objext \
15803 conftest$ac_exeext conftest.$ac_ext
15804 LIBS=$ac_check_soname_save_LIBS
15806 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15808 $as_echo "not found" >&6; }
15809 FONTCONFIG_CFLAGS=""
15810 else
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15812 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15814 cat >>confdefs.h <<_ACEOF
15815 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15816 _ACEOF
15820 else
15821 FONTCONFIG_CFLAGS=""
15823 CPPFLAGS=$ac_save_CPPFLAGS
15824 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15825 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15828 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15829 case "x$with_fontconfig" in
15830 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15831 xno) ;;
15832 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15833 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15834 esac
15838 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15839 then
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15841 $as_echo_n "checking for -lgsm... " >&6; }
15842 if ${ac_cv_lib_soname_gsm+:} false; then :
15843 $as_echo_n "(cached) " >&6
15844 else
15845 ac_check_soname_save_LIBS=$LIBS
15846 LIBS="-lgsm $LIBS"
15847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15853 #ifdef __cplusplus
15854 extern "C"
15855 #endif
15856 char gsm_create ();
15858 main ()
15860 return gsm_create ();
15862 return 0;
15864 _ACEOF
15865 if ac_fn_c_try_link "$LINENO"; then :
15866 case "$LIBEXT" in
15867 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15868 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'` ;;
15869 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15870 if ${ac_cv_lib_soname_gsm:+false} :; then :
15871 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15872 fi ;;
15873 esac
15874 else
15875 ac_cv_lib_soname_gsm=
15877 rm -f core conftest.err conftest.$ac_objext \
15878 conftest$ac_exeext conftest.$ac_ext
15879 LIBS=$ac_check_soname_save_LIBS
15881 if ${ac_cv_lib_soname_gsm:+false} :; then :
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15883 $as_echo "not found" >&6; }
15885 else
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15887 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15889 cat >>confdefs.h <<_ACEOF
15890 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15891 _ACEOF
15896 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15897 case "x$with_gsm" in
15898 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15899 xno) ;;
15900 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15901 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15902 esac
15906 if test "x$with_krb5" != "xno"
15907 then
15908 if ${KRB5_CFLAGS:+false} :; then :
15909 if ${PKG_CONFIG+:} false; then :
15910 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15913 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15914 if ${KRB5_LIBS:+false} :; then :
15915 if ${PKG_CONFIG+:} false; then :
15916 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15919 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15921 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15922 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15923 ac_save_CPPFLAGS=$CPPFLAGS
15924 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15925 for ac_header in krb5/krb5.h
15926 do :
15927 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15928 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_KRB5_KRB5_H 1
15931 _ACEOF
15935 done
15937 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15938 then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15940 $as_echo_n "checking for -lkrb5... " >&6; }
15941 if ${ac_cv_lib_soname_krb5+:} false; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 ac_check_soname_save_LIBS=$LIBS
15945 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15952 #ifdef __cplusplus
15953 extern "C"
15954 #endif
15955 char krb5_is_config_principal ();
15957 main ()
15959 return krb5_is_config_principal ();
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_link "$LINENO"; then :
15965 case "$LIBEXT" in
15966 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15967 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'` ;;
15968 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15969 if ${ac_cv_lib_soname_krb5:+false} :; then :
15970 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15971 fi ;;
15972 esac
15973 else
15974 ac_cv_lib_soname_krb5=
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext conftest.$ac_ext
15978 LIBS=$ac_check_soname_save_LIBS
15980 if ${ac_cv_lib_soname_krb5:+false} :; then :
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15982 $as_echo "not found" >&6; }
15983 KRB5_CFLAGS=""
15984 else
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15986 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15988 cat >>confdefs.h <<_ACEOF
15989 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15990 _ACEOF
15994 else
15995 KRB5_CFLAGS=""
15997 CPPFLAGS=$ac_save_CPPFLAGS
15998 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15999 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16002 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16003 case "x$with_krb5" in
16004 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16005 xno) ;;
16006 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16007 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16008 esac
16011 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16013 if test "x$with_gssapi" != "xno"
16014 then
16015 if ${GSSAPI_CFLAGS:+false} :; then :
16016 if ${PKG_CONFIG+:} false; then :
16017 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16020 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16021 if ${GSSAPI_LIBS:+false} :; then :
16022 if ${PKG_CONFIG+:} false; then :
16023 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16026 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16028 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16029 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16030 ac_save_CPPFLAGS=$CPPFLAGS
16031 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16032 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16033 do :
16034 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16035 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16036 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16039 _ACEOF
16043 done
16045 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16046 then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16048 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16049 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16050 $as_echo_n "(cached) " >&6
16051 else
16052 ac_check_soname_save_LIBS=$LIBS
16053 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16057 /* Override any GCC internal prototype to avoid an error.
16058 Use char because int might match the return type of a GCC
16059 builtin and then its argument prototype would still apply. */
16060 #ifdef __cplusplus
16061 extern "C"
16062 #endif
16063 char gss_init_sec_context ();
16065 main ()
16067 return gss_init_sec_context ();
16069 return 0;
16071 _ACEOF
16072 if ac_fn_c_try_link "$LINENO"; then :
16073 case "$LIBEXT" in
16074 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16075 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'` ;;
16076 *) 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'`
16077 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16078 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16079 fi ;;
16080 esac
16081 else
16082 ac_cv_lib_soname_gssapi_krb5=
16084 rm -f core conftest.err conftest.$ac_objext \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_soname_save_LIBS
16088 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16090 $as_echo "not found" >&6; }
16091 GSSAPI_CFLAGS=""
16092 else
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16094 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16096 cat >>confdefs.h <<_ACEOF
16097 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16098 _ACEOF
16102 else
16103 GSSAPI_CFLAGS=""
16105 CPPFLAGS=$ac_save_CPPFLAGS
16106 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16107 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16110 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16111 case "x$with_gssapi" in
16112 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16113 xno) ;;
16114 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16115 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16116 esac
16120 if test "x$with_jpeg" != "xno"
16121 then
16122 if ${JPEG_CFLAGS:+false} :; then :
16123 if ${PKG_CONFIG+:} false; then :
16124 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16128 if ${JPEG_LIBS:+false} :; then :
16129 if ${PKG_CONFIG+:} false; then :
16130 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16135 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16136 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16137 ac_save_CPPFLAGS=$CPPFLAGS
16138 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16139 for ac_header in jpeglib.h
16140 do :
16141 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16142 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_JPEGLIB_H 1
16145 _ACEOF
16149 done
16151 if test "$ac_cv_header_jpeglib_h" = "yes"
16152 then
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16154 $as_echo_n "checking for -ljpeg... " >&6; }
16155 if ${ac_cv_lib_soname_jpeg+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 ac_check_soname_save_LIBS=$LIBS
16159 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16163 /* Override any GCC internal prototype to avoid an error.
16164 Use char because int might match the return type of a GCC
16165 builtin and then its argument prototype would still apply. */
16166 #ifdef __cplusplus
16167 extern "C"
16168 #endif
16169 char jpeg_start_decompress ();
16171 main ()
16173 return jpeg_start_decompress ();
16175 return 0;
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 case "$LIBEXT" in
16180 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16181 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'` ;;
16182 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16183 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16184 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16185 fi ;;
16186 esac
16187 else
16188 ac_cv_lib_soname_jpeg=
16190 rm -f core conftest.err conftest.$ac_objext \
16191 conftest$ac_exeext conftest.$ac_ext
16192 LIBS=$ac_check_soname_save_LIBS
16194 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16196 $as_echo "not found" >&6; }
16197 JPEG_CFLAGS=""
16198 else
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16200 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16202 cat >>confdefs.h <<_ACEOF
16203 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16204 _ACEOF
16208 else
16209 JPEG_CFLAGS=""
16211 CPPFLAGS=$ac_save_CPPFLAGS
16212 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16213 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16216 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16217 case "x$with_jpeg" in
16218 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16219 xno) ;;
16220 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16221 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16222 esac
16226 if test "x$with_png" != "xno"
16227 then
16228 if ${PNG_CFLAGS:+false} :; then :
16229 if ${PKG_CONFIG+:} false; then :
16230 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16233 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16234 if ${PNG_LIBS:+false} :; then :
16235 if ${PKG_CONFIG+:} false; then :
16236 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16239 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16241 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16242 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16243 ac_save_CPPFLAGS=$CPPFLAGS
16244 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16245 for ac_header in png.h
16246 do :
16247 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16248 if test "x$ac_cv_header_png_h" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_PNG_H 1
16251 _ACEOF
16255 done
16257 if test "$ac_cv_header_png_h" = "yes"
16258 then
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16260 $as_echo_n "checking for -lpng... " >&6; }
16261 if ${ac_cv_lib_soname_png+:} false; then :
16262 $as_echo_n "(cached) " >&6
16263 else
16264 ac_check_soname_save_LIBS=$LIBS
16265 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16267 /* end confdefs.h. */
16269 /* Override any GCC internal prototype to avoid an error.
16270 Use char because int might match the return type of a GCC
16271 builtin and then its argument prototype would still apply. */
16272 #ifdef __cplusplus
16273 extern "C"
16274 #endif
16275 char png_create_read_struct ();
16277 main ()
16279 return png_create_read_struct ();
16281 return 0;
16283 _ACEOF
16284 if ac_fn_c_try_link "$LINENO"; then :
16285 case "$LIBEXT" in
16286 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16287 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'` ;;
16288 *) 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'`
16289 if ${ac_cv_lib_soname_png:+false} :; then :
16290 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16291 fi ;;
16292 esac
16293 else
16294 ac_cv_lib_soname_png=
16296 rm -f core conftest.err conftest.$ac_objext \
16297 conftest$ac_exeext conftest.$ac_ext
16298 LIBS=$ac_check_soname_save_LIBS
16300 if ${ac_cv_lib_soname_png:+false} :; then :
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16302 $as_echo "not found" >&6; }
16303 PNG_CFLAGS=""
16304 else
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16306 $as_echo "$ac_cv_lib_soname_png" >&6; }
16308 cat >>confdefs.h <<_ACEOF
16309 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16310 _ACEOF
16314 else
16315 PNG_CFLAGS=""
16317 CPPFLAGS=$ac_save_CPPFLAGS
16318 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16319 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16322 if test "x$ac_cv_lib_soname_png" = "x"; then :
16323 case "x$with_png" in
16324 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16325 xno) ;;
16326 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16327 This is an error since --with-png was requested." "$LINENO" 5 ;;
16328 esac
16332 if test "x$with_tiff" != "xno"
16333 then
16334 if ${TIFF_CFLAGS:+false} :; then :
16335 if ${PKG_CONFIG+:} false; then :
16336 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16340 if ${TIFF_LIBS:+false} :; then :
16341 if ${PKG_CONFIG+:} false; then :
16342 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16347 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16348 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16349 ac_save_CPPFLAGS=$CPPFLAGS
16350 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16351 for ac_header in tiffio.h
16352 do :
16353 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16354 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_TIFFIO_H 1
16357 _ACEOF
16361 done
16363 if test "$ac_cv_header_tiffio_h" = "yes"
16364 then
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16366 $as_echo_n "checking for -ltiff... " >&6; }
16367 if ${ac_cv_lib_soname_tiff+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 ac_check_soname_save_LIBS=$LIBS
16371 LIBS="-ltiff $TIFF_LIBS $LIBS"
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char TIFFClientOpen ();
16383 main ()
16385 return TIFFClientOpen ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 case "$LIBEXT" in
16392 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16393 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'` ;;
16394 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16395 if ${ac_cv_lib_soname_tiff:+false} :; then :
16396 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16397 fi ;;
16398 esac
16399 else
16400 ac_cv_lib_soname_tiff=
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_soname_save_LIBS
16406 if ${ac_cv_lib_soname_tiff:+false} :; then :
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16408 $as_echo "not found" >&6; }
16410 else
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16412 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16414 cat >>confdefs.h <<_ACEOF
16415 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16416 _ACEOF
16421 CPPFLAGS=$ac_save_CPPFLAGS
16422 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16423 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16426 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16427 case "x$with_tiff" in
16428 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16429 xno) ;;
16430 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16431 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16432 esac
16436 if test "x$with_mpg123" != "xno"
16437 then
16438 if ${MPG123_CFLAGS:+false} :; then :
16439 if ${PKG_CONFIG+:} false; then :
16440 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16444 if ${MPG123_LIBS:+false} :; then :
16445 if ${PKG_CONFIG+:} false; then :
16446 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16450 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16451 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16452 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16453 ac_save_CPPFLAGS=$CPPFLAGS
16454 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16455 for ac_header in mpg123.h
16456 do :
16457 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16458 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16459 cat >>confdefs.h <<_ACEOF
16460 #define HAVE_MPG123_H 1
16461 _ACEOF
16465 done
16467 if test "$ac_cv_header_mpg123_h" = "yes"
16468 then
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16470 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16471 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 ac_check_lib_save_LIBS=$LIBS
16475 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16479 /* Override any GCC internal prototype to avoid an error.
16480 Use char because int might match the return type of a GCC
16481 builtin and then its argument prototype would still apply. */
16482 #ifdef __cplusplus
16483 extern "C"
16484 #endif
16485 char mpg123_feed ();
16487 main ()
16489 return mpg123_feed ();
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 ac_cv_lib_mpg123_mpg123_feed=yes
16496 else
16497 ac_cv_lib_mpg123_mpg123_feed=no
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS=$ac_check_lib_save_LIBS
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16504 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16505 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16507 else
16508 MPG123_LIBS=""
16511 else
16512 MPG123_CFLAGS=""
16513 MPG123_LIBS=""
16515 CPPFLAGS=$ac_save_CPPFLAGS
16516 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16517 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16520 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16521 case "x$with_mpg123" in
16522 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16523 xno) ;;
16524 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16525 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16526 esac
16527 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16529 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16531 if test "$ac_cv_header_AL_al_h" = "yes"
16532 then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16534 $as_echo_n "checking for -lopenal... " >&6; }
16535 if ${ac_cv_lib_soname_openal+:} false; then :
16536 $as_echo_n "(cached) " >&6
16537 else
16538 ac_check_soname_save_LIBS=$LIBS
16539 LIBS="-lopenal $LIBS"
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16543 /* Override any GCC internal prototype to avoid an error.
16544 Use char because int might match the return type of a GCC
16545 builtin and then its argument prototype would still apply. */
16546 #ifdef __cplusplus
16547 extern "C"
16548 #endif
16549 char alGetSource3i ();
16551 main ()
16553 return alGetSource3i ();
16555 return 0;
16557 _ACEOF
16558 if ac_fn_c_try_link "$LINENO"; then :
16559 case "$LIBEXT" in
16560 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16561 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'` ;;
16562 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16563 if ${ac_cv_lib_soname_openal:+false} :; then :
16564 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16565 fi ;;
16566 esac
16567 else
16568 ac_cv_lib_soname_openal=
16570 rm -f core conftest.err conftest.$ac_objext \
16571 conftest$ac_exeext conftest.$ac_ext
16572 LIBS=$ac_check_soname_save_LIBS
16574 if ${ac_cv_lib_soname_openal:+false} :; then :
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16576 $as_echo "not found" >&6; }
16578 else
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16580 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16582 cat >>confdefs.h <<_ACEOF
16583 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16584 _ACEOF
16586 OPENAL_LIBS="-lopenal"
16588 ac_cv_lib_openal=yes
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_OPENAL 1
16592 _ACEOF
16596 if test "x$ac_cv_lib_openal" != xyes; then :
16597 case "x$with_openal" in
16598 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16599 xno) ;;
16600 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16601 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16602 esac
16603 enable_openal32=${enable_openal32:-no}
16606 if test "x$ac_cv_lib_soname_FAudio" = "x"
16607 then
16608 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16609 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16610 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16611 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16612 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16613 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16614 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16615 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16616 enable_xapofx1_1=${enable_xapofx1_1:-no}
16617 enable_xapofx1_2=${enable_xapofx1_2:-no}
16618 enable_xapofx1_3=${enable_xapofx1_3:-no}
16619 enable_xapofx1_4=${enable_xapofx1_4:-no}
16620 enable_xapofx1_5=${enable_xapofx1_5:-no}
16621 enable_xaudio2_0=${enable_xaudio2_0:-no}
16622 enable_xaudio2_1=${enable_xaudio2_1:-no}
16623 enable_xaudio2_2=${enable_xaudio2_2:-no}
16624 enable_xaudio2_3=${enable_xaudio2_3:-no}
16625 enable_xaudio2_4=${enable_xaudio2_4:-no}
16626 enable_xaudio2_5=${enable_xaudio2_5:-no}
16627 enable_xaudio2_6=${enable_xaudio2_6:-no}
16628 enable_xaudio2_7=${enable_xaudio2_7:-no}
16629 enable_xaudio2_8=${enable_xaudio2_8:-no}
16630 enable_xaudio2_9=${enable_xaudio2_9:-no}
16633 if test "$ac_cv_header_kstat_h" = "yes"
16634 then
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16636 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16637 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16638 $as_echo_n "(cached) " >&6
16639 else
16640 ac_check_lib_save_LIBS=$LIBS
16641 LIBS="-lkstat $LIBS"
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16645 /* Override any GCC internal prototype to avoid an error.
16646 Use char because int might match the return type of a GCC
16647 builtin and then its argument prototype would still apply. */
16648 #ifdef __cplusplus
16649 extern "C"
16650 #endif
16651 char kstat_open ();
16653 main ()
16655 return kstat_open ();
16657 return 0;
16659 _ACEOF
16660 if ac_fn_c_try_link "$LINENO"; then :
16661 ac_cv_lib_kstat_kstat_open=yes
16662 else
16663 ac_cv_lib_kstat_kstat_open=no
16665 rm -f core conftest.err conftest.$ac_objext \
16666 conftest$ac_exeext conftest.$ac_ext
16667 LIBS=$ac_check_lib_save_LIBS
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16670 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16671 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16673 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16675 KSTAT_LIBS="-lkstat"
16681 if test "$ac_cv_header_libprocstat_h" = "yes"
16682 then
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16684 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16685 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16686 $as_echo_n "(cached) " >&6
16687 else
16688 ac_check_lib_save_LIBS=$LIBS
16689 LIBS="-lprocstat $LIBS"
16690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16693 /* Override any GCC internal prototype to avoid an error.
16694 Use char because int might match the return type of a GCC
16695 builtin and then its argument prototype would still apply. */
16696 #ifdef __cplusplus
16697 extern "C"
16698 #endif
16699 char procstat_open_sysctl ();
16701 main ()
16703 return procstat_open_sysctl ();
16705 return 0;
16707 _ACEOF
16708 if ac_fn_c_try_link "$LINENO"; then :
16709 ac_cv_lib_procstat_procstat_open_sysctl=yes
16710 else
16711 ac_cv_lib_procstat_procstat_open_sysctl=no
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16715 LIBS=$ac_check_lib_save_LIBS
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16718 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16719 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16721 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16723 PROCSTAT_LIBS="-lprocstat"
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16730 $as_echo_n "checking for -lodbc... " >&6; }
16731 if ${ac_cv_lib_soname_odbc+:} false; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 ac_check_soname_save_LIBS=$LIBS
16735 LIBS="-lodbc $LIBS"
16736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16737 /* end confdefs.h. */
16739 /* Override any GCC internal prototype to avoid an error.
16740 Use char because int might match the return type of a GCC
16741 builtin and then its argument prototype would still apply. */
16742 #ifdef __cplusplus
16743 extern "C"
16744 #endif
16745 char SQLConnect ();
16747 main ()
16749 return SQLConnect ();
16751 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 case "$LIBEXT" in
16756 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16757 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'` ;;
16758 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16759 if ${ac_cv_lib_soname_odbc:+false} :; then :
16760 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16761 fi ;;
16762 esac
16763 else
16764 ac_cv_lib_soname_odbc=
16766 rm -f core conftest.err conftest.$ac_objext \
16767 conftest$ac_exeext conftest.$ac_ext
16768 LIBS=$ac_check_soname_save_LIBS
16770 if ${ac_cv_lib_soname_odbc:+false} :; then :
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16772 $as_echo "not found" >&6; }
16773 cat >>confdefs.h <<_ACEOF
16774 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16775 _ACEOF
16777 else
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16779 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16781 cat >>confdefs.h <<_ACEOF
16782 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16783 _ACEOF
16788 if test "x$with_netapi" != "xno"
16789 then
16790 if ${NETAPI_CFLAGS:+false} :; then :
16791 if ${PKG_CONFIG+:} false; then :
16792 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16796 if ${NETAPI_LIBS:+false} :; then :
16797 if ${PKG_CONFIG+:} false; then :
16798 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16803 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16804 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16805 ac_save_CPPFLAGS=$CPPFLAGS
16806 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16808 $as_echo_n "checking for -lnetapi... " >&6; }
16809 if ${ac_cv_lib_soname_netapi+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 ac_check_soname_save_LIBS=$LIBS
16813 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16820 #ifdef __cplusplus
16821 extern "C"
16822 #endif
16823 char libnetapi_init ();
16825 main ()
16827 return libnetapi_init ();
16829 return 0;
16831 _ACEOF
16832 if ac_fn_c_try_link "$LINENO"; then :
16833 case "$LIBEXT" in
16834 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16835 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'` ;;
16836 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16837 if ${ac_cv_lib_soname_netapi:+false} :; then :
16838 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16839 fi ;;
16840 esac
16841 else
16842 ac_cv_lib_soname_netapi=
16844 rm -f core conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext conftest.$ac_ext
16846 LIBS=$ac_check_soname_save_LIBS
16848 if ${ac_cv_lib_soname_netapi:+false} :; then :
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16850 $as_echo "not found" >&6; }
16851 cat >>confdefs.h <<_ACEOF
16852 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16853 _ACEOF
16855 else
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16857 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16859 cat >>confdefs.h <<_ACEOF
16860 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16861 _ACEOF
16865 CPPFLAGS=$ac_save_CPPFLAGS
16866 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16867 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16871 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16872 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16873 then
16874 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16877 if test "x$with_vulkan" != "xno"
16878 then
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16880 $as_echo_n "checking for -lvulkan... " >&6; }
16881 if ${ac_cv_lib_soname_vulkan+:} false; then :
16882 $as_echo_n "(cached) " >&6
16883 else
16884 ac_check_soname_save_LIBS=$LIBS
16885 LIBS="-lvulkan $LIBS"
16886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16892 #ifdef __cplusplus
16893 extern "C"
16894 #endif
16895 char vkGetInstanceProcAddr ();
16897 main ()
16899 return vkGetInstanceProcAddr ();
16901 return 0;
16903 _ACEOF
16904 if ac_fn_c_try_link "$LINENO"; then :
16905 case "$LIBEXT" in
16906 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16907 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'` ;;
16908 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16909 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16910 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16911 fi ;;
16912 esac
16913 else
16914 ac_cv_lib_soname_vulkan=
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16918 LIBS=$ac_check_soname_save_LIBS
16920 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16922 $as_echo "not found" >&6; }
16924 else
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16926 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16928 cat >>confdefs.h <<_ACEOF
16929 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16930 _ACEOF
16934 if test "x$ac_cv_lib_soname_vulkan" = "x"
16935 then
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16937 $as_echo_n "checking for -lMoltenVK... " >&6; }
16938 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16941 ac_check_soname_save_LIBS=$LIBS
16942 LIBS="-lMoltenVK $LIBS"
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16946 /* Override any GCC internal prototype to avoid an error.
16947 Use char because int might match the return type of a GCC
16948 builtin and then its argument prototype would still apply. */
16949 #ifdef __cplusplus
16950 extern "C"
16951 #endif
16952 char vkGetInstanceProcAddr ();
16954 main ()
16956 return vkGetInstanceProcAddr ();
16958 return 0;
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 case "$LIBEXT" in
16963 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16964 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'` ;;
16965 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16966 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16967 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16968 fi ;;
16969 esac
16970 else
16971 ac_cv_lib_soname_MoltenVK=
16973 rm -f core conftest.err conftest.$ac_objext \
16974 conftest$ac_exeext conftest.$ac_ext
16975 LIBS=$ac_check_soname_save_LIBS
16977 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16979 $as_echo "not found" >&6; }
16981 else
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16983 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16985 cat >>confdefs.h <<_ACEOF
16986 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16987 _ACEOF
16993 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16994 case "x$with_vulkan" in
16995 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16996 xno) ;;
16997 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16998 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16999 esac
17003 if test "x$with_vkd3d" != "xno"
17004 then
17005 if ${VKD3D_CFLAGS:+false} :; then :
17006 if ${PKG_CONFIG+:} false; then :
17007 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17011 if ${VKD3D_LIBS:+false} :; then :
17012 if ${PKG_CONFIG+:} false; then :
17013 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17018 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17019 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17020 ac_save_CPPFLAGS=$CPPFLAGS
17021 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17023 $as_echo_n "checking for -lvkd3d... " >&6; }
17024 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17025 $as_echo_n "(cached) " >&6
17026 else
17027 ac_check_soname_save_LIBS=$LIBS
17028 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17032 /* Override any GCC internal prototype to avoid an error.
17033 Use char because int might match the return type of a GCC
17034 builtin and then its argument prototype would still apply. */
17035 #ifdef __cplusplus
17036 extern "C"
17037 #endif
17038 char vkd3d_get_dxgi_format ();
17040 main ()
17042 return vkd3d_get_dxgi_format ();
17044 return 0;
17046 _ACEOF
17047 if ac_fn_c_try_link "$LINENO"; then :
17048 case "$LIBEXT" in
17049 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17050 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'` ;;
17051 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17052 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17053 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17054 fi ;;
17055 esac
17056 else
17057 ac_cv_lib_soname_vkd3d=
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17061 LIBS=$ac_check_soname_save_LIBS
17063 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17065 $as_echo "not found" >&6; }
17067 else
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17069 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17071 cat >>confdefs.h <<_ACEOF
17072 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17073 _ACEOF
17077 CPPFLAGS=$ac_save_CPPFLAGS
17078 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17079 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17082 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17083 case "x$with_vkd3d" in
17084 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17085 xno) ;;
17086 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17087 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17088 esac
17091 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17094 EXTRACFLAGS=""
17096 if test "x${GCC}" = "xyes"
17097 then
17098 EXTRACFLAGS="-Wall -pipe"
17100 saved_CFLAGS=$CFLAGS
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17102 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17103 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_wine_try_cflags_saved=$CFLAGS
17107 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 int main(int argc, char **argv) { return 0; }
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_cflags__Werror_unknown_warning_option=yes
17114 else
17115 ac_cv_cflags__Werror_unknown_warning_option=no
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 CFLAGS=$ac_wine_try_cflags_saved
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17122 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17123 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17124 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17127 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17128 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__Werror_unused_command_line_argument=yes
17139 else
17140 ac_cv_cflags__Werror_unused_command_line_argument=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17147 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17148 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17149 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17152 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17153 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 ac_wine_try_cflags_saved=$CFLAGS
17157 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 int main(int argc, char **argv) { return 0; }
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17164 else
17165 ac_cv_cflags__Werror_ignored_optimization_argument=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 CFLAGS=$ac_wine_try_cflags_saved
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17172 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17173 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17174 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17177 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17178 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_wine_try_cflags_saved=$CFLAGS
17182 CFLAGS="$CFLAGS -fcf-protection=none"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 int main(int argc, char **argv) { return 0; }
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_cflags__fcf_protection_none=yes
17189 else
17190 ac_cv_cflags__fcf_protection_none=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 CFLAGS=$ac_wine_try_cflags_saved
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17197 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17198 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17199 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17202 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17203 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -fno-stack-protector"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__fno_stack_protector=yes
17214 else
17215 ac_cv_cflags__fno_stack_protector=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17222 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17223 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17227 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17228 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -fno-strict-aliasing"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__fno_strict_aliasing=yes
17239 else
17240 ac_cv_cflags__fno_strict_aliasing=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17247 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17248 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17252 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17253 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_wine_try_cflags_saved=$CFLAGS
17257 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 int main(int argc, char **argv) { return 0; }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_cflags__Wdeclaration_after_statement=yes
17264 else
17265 ac_cv_cflags__Wdeclaration_after_statement=no
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 CFLAGS=$ac_wine_try_cflags_saved
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17272 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17273 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17274 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17277 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17278 if ${ac_cv_cflags__Wempty_body+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 ac_wine_try_cflags_saved=$CFLAGS
17282 CFLAGS="$CFLAGS -Wempty-body"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 int main(int argc, char **argv) { return 0; }
17286 _ACEOF
17287 if ac_fn_c_try_link "$LINENO"; then :
17288 ac_cv_cflags__Wempty_body=yes
17289 else
17290 ac_cv_cflags__Wempty_body=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 CFLAGS=$ac_wine_try_cflags_saved
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17297 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17298 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17299 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17302 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17303 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 ac_wine_try_cflags_saved=$CFLAGS
17307 CFLAGS="$CFLAGS -Wignored-qualifiers"
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 int main(int argc, char **argv) { return 0; }
17311 _ACEOF
17312 if ac_fn_c_try_link "$LINENO"; then :
17313 ac_cv_cflags__Wignored_qualifiers=yes
17314 else
17315 ac_cv_cflags__Wignored_qualifiers=no
17317 rm -f core conftest.err conftest.$ac_objext \
17318 conftest$ac_exeext conftest.$ac_ext
17319 CFLAGS=$ac_wine_try_cflags_saved
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17322 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17323 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17324 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17327 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17328 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 ac_wine_try_cflags_saved=$CFLAGS
17332 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 int main(int argc, char **argv) { return 0; }
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"; then :
17338 ac_cv_cflags__Wpacked_not_aligned=yes
17339 else
17340 ac_cv_cflags__Wpacked_not_aligned=no
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 CFLAGS=$ac_wine_try_cflags_saved
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17347 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17348 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17349 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17352 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17353 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 ac_wine_try_cflags_saved=$CFLAGS
17357 CFLAGS="$CFLAGS -Wpragma-pack"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 int main(int argc, char **argv) { return 0; }
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 ac_cv_cflags__Wpragma_pack=yes
17364 else
17365 ac_cv_cflags__Wpragma_pack=no
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17369 CFLAGS=$ac_wine_try_cflags_saved
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17372 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17373 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17374 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17377 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17378 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 ac_wine_try_cflags_saved=$CFLAGS
17382 CFLAGS="$CFLAGS -Wshift-overflow=2"
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 int main(int argc, char **argv) { return 0; }
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_cflags__Wshift_overflow_2=yes
17389 else
17390 ac_cv_cflags__Wshift_overflow_2=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 CFLAGS=$ac_wine_try_cflags_saved
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17397 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17398 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17399 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17402 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17403 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 ac_wine_try_cflags_saved=$CFLAGS
17407 CFLAGS="$CFLAGS -Wstrict-prototypes"
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 int main(int argc, char **argv) { return 0; }
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_cflags__Wstrict_prototypes=yes
17414 else
17415 ac_cv_cflags__Wstrict_prototypes=no
17417 rm -f core conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17419 CFLAGS=$ac_wine_try_cflags_saved
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17422 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17423 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17424 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17427 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17428 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 ac_wine_try_cflags_saved=$CFLAGS
17432 CFLAGS="$CFLAGS -Wtype-limits"
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17435 int main(int argc, char **argv) { return 0; }
17436 _ACEOF
17437 if ac_fn_c_try_link "$LINENO"; then :
17438 ac_cv_cflags__Wtype_limits=yes
17439 else
17440 ac_cv_cflags__Wtype_limits=no
17442 rm -f core conftest.err conftest.$ac_objext \
17443 conftest$ac_exeext conftest.$ac_ext
17444 CFLAGS=$ac_wine_try_cflags_saved
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17447 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17448 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17449 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17452 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17453 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17456 ac_wine_try_cflags_saved=$CFLAGS
17457 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 int main(int argc, char **argv) { return 0; }
17461 _ACEOF
17462 if ac_fn_c_try_link "$LINENO"; then :
17463 ac_cv_cflags__Wunused_but_set_parameter=yes
17464 else
17465 ac_cv_cflags__Wunused_but_set_parameter=no
17467 rm -f core conftest.err conftest.$ac_objext \
17468 conftest$ac_exeext conftest.$ac_ext
17469 CFLAGS=$ac_wine_try_cflags_saved
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17472 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17473 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17474 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17477 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17478 if ${ac_cv_cflags__Wvla+:} false; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17481 ac_wine_try_cflags_saved=$CFLAGS
17482 CFLAGS="$CFLAGS -Wvla"
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17485 int main(int argc, char **argv) { return 0; }
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 ac_cv_cflags__Wvla=yes
17489 else
17490 ac_cv_cflags__Wvla=no
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 CFLAGS=$ac_wine_try_cflags_saved
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17497 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17498 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17499 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17502 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17503 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_wine_try_cflags_saved=$CFLAGS
17507 CFLAGS="$CFLAGS -Wwrite-strings"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 int main(int argc, char **argv) { return 0; }
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_cflags__Wwrite_strings=yes
17514 else
17515 ac_cv_cflags__Wwrite_strings=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 CFLAGS=$ac_wine_try_cflags_saved
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17522 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17523 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17524 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17527 if test -z "$CROSSTARGET"
17528 then
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17530 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17531 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 ac_wine_try_cflags_saved=$CFLAGS
17535 CFLAGS="$CFLAGS -fexcess-precision=standard"
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 int main(int argc, char **argv) { return 0; }
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_cflags__fexcess_precision_standard=yes
17542 else
17543 ac_cv_cflags__fexcess_precision_standard=no
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17547 CFLAGS=$ac_wine_try_cflags_saved
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17550 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17551 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17552 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17558 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17559 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17560 $as_echo_n "(cached) " >&6
17561 else
17562 ac_wine_try_cflags_saved=$CFLAGS
17563 CFLAGS="$CFLAGS -Wpointer-arith"
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 int main(int argc, char **argv) { return 0; }
17567 _ACEOF
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 ac_cv_cflags__Wpointer_arith=yes
17570 else
17571 ac_cv_cflags__Wpointer_arith=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17575 CFLAGS=$ac_wine_try_cflags_saved
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17578 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17579 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17580 saved_string_h_CFLAGS=$CFLAGS
17581 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17583 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17584 if ${ac_cv_c_string_h_warnings+:} false; then :
17585 $as_echo_n "(cached) " >&6
17586 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <string.h>
17591 main ()
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 ac_cv_c_string_h_warnings=no
17600 else
17601 ac_cv_c_string_h_warnings=yes
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17606 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17607 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17608 CFLAGS=$saved_string_h_CFLAGS
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17612 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17613 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -Wlogical-op"
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 int main(int argc, char **argv) { return 0; }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_cflags__Wlogical_op=yes
17624 else
17625 ac_cv_cflags__Wlogical_op=no
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 CFLAGS=$ac_wine_try_cflags_saved
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17632 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17633 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17634 saved_string_h_CFLAGS=$CFLAGS
17635 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17637 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17638 if ${ac_cv_c_logicalop_noisy+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #include <string.h>
17644 char*f(const char *h,char n) {return strchr(h,n);}
17646 main ()
17650 return 0;
17652 _ACEOF
17653 if ac_fn_c_try_compile "$LINENO"; then :
17654 ac_cv_c_logicalop_noisy=no
17655 else
17656 ac_cv_c_logicalop_noisy=yes
17658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17661 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17662 CFLAGS=$saved_string_h_CFLAGS
17663 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17666 for ac_flag in $CFLAGS; do
17667 case $ac_flag in
17668 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17669 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17670 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17673 ac_wine_try_cflags_saved=$CFLAGS
17674 CFLAGS="$CFLAGS -gdwarf-2"
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17677 int main(int argc, char **argv) { return 0; }
17678 _ACEOF
17679 if ac_fn_c_try_link "$LINENO"; then :
17680 ac_cv_cflags__gdwarf_2=yes
17681 else
17682 ac_cv_cflags__gdwarf_2=no
17684 rm -f core conftest.err conftest.$ac_objext \
17685 conftest$ac_exeext conftest.$ac_ext
17686 CFLAGS=$ac_wine_try_cflags_saved
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17689 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17690 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17691 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17694 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17695 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 ac_wine_try_cflags_saved=$CFLAGS
17699 CFLAGS="$CFLAGS -gstrict-dwarf"
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 int main(int argc, char **argv) { return 0; }
17703 _ACEOF
17704 if ac_fn_c_try_link "$LINENO"; then :
17705 ac_cv_cflags__gstrict_dwarf=yes
17706 else
17707 ac_cv_cflags__gstrict_dwarf=no
17709 rm -f core conftest.err conftest.$ac_objext \
17710 conftest$ac_exeext conftest.$ac_ext
17711 CFLAGS=$ac_wine_try_cflags_saved
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17714 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17715 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17716 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17717 fi ;;
17718 esac
17719 done
17721 MSVCRTFLAGS=""
17723 case $host_os in
17724 mingw32*) ;;
17725 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17726 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17727 if ${ac_cv_cflags__fno_builtin+:} false; then :
17728 $as_echo_n "(cached) " >&6
17729 else
17730 ac_wine_try_cflags_saved=$CFLAGS
17731 CFLAGS="$CFLAGS -fno-builtin"
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 int main(int argc, char **argv) { return 0; }
17735 _ACEOF
17736 if ac_fn_c_try_link "$LINENO"; then :
17737 ac_cv_cflags__fno_builtin=yes
17738 else
17739 ac_cv_cflags__fno_builtin=no
17741 rm -f core conftest.err conftest.$ac_objext \
17742 conftest$ac_exeext conftest.$ac_ext
17743 CFLAGS=$ac_wine_try_cflags_saved
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17746 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17747 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17748 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17751 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17752 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17753 $as_echo_n "(cached) " >&6
17754 else
17755 ac_wine_try_cflags_saved=$CFLAGS
17756 CFLAGS="$CFLAGS -fshort-wchar"
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 int main(int argc, char **argv) { return 0; }
17760 _ACEOF
17761 if ac_fn_c_try_link "$LINENO"; then :
17762 ac_cv_cflags__fshort_wchar=yes
17763 else
17764 ac_cv_cflags__fshort_wchar=no
17766 rm -f core conftest.err conftest.$ac_objext \
17767 conftest$ac_exeext conftest.$ac_ext
17768 CFLAGS=$ac_wine_try_cflags_saved
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17771 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17772 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17773 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17774 fi ;;
17775 esac
17777 case $host_cpu in
17778 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17779 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17780 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17781 $as_echo_n "(cached) " >&6
17782 else
17783 ac_wine_try_cflags_saved=$CFLAGS
17784 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 int main(int argc, char **argv) { return 0; }
17788 _ACEOF
17789 if ac_fn_c_try_link "$LINENO"; then :
17790 ac_cv_cflags__fno_omit_frame_pointer=yes
17791 else
17792 ac_cv_cflags__fno_omit_frame_pointer=no
17794 rm -f core conftest.err conftest.$ac_objext \
17795 conftest$ac_exeext conftest.$ac_ext
17796 CFLAGS=$ac_wine_try_cflags_saved
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17799 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17800 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17801 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17802 fi ;;
17803 *x86_64*)
17804 case $host_os in
17805 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17806 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17807 if ${ac_cv_cflags__Wno_format+:} false; then :
17808 $as_echo_n "(cached) " >&6
17809 else
17810 ac_wine_try_cflags_saved=$CFLAGS
17811 CFLAGS="$CFLAGS -Wno-format"
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 int main(int argc, char **argv) { return 0; }
17815 _ACEOF
17816 if ac_fn_c_try_link "$LINENO"; then :
17817 ac_cv_cflags__Wno_format=yes
17818 else
17819 ac_cv_cflags__Wno_format=no
17821 rm -f core conftest.err conftest.$ac_objext \
17822 conftest$ac_exeext conftest.$ac_ext
17823 CFLAGS=$ac_wine_try_cflags_saved
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17826 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17827 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17828 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17829 fi ;;
17830 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17831 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17832 if ${ac_cv_cflags__mabi_ms+:} false; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835 ac_wine_try_cflags_saved=$CFLAGS
17836 CFLAGS="$CFLAGS -mabi=ms"
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 int main(int argc, char **argv) { return 0; }
17840 _ACEOF
17841 if ac_fn_c_try_link "$LINENO"; then :
17842 ac_cv_cflags__mabi_ms=yes
17843 else
17844 ac_cv_cflags__mabi_ms=no
17846 rm -f core conftest.err conftest.$ac_objext \
17847 conftest$ac_exeext conftest.$ac_ext
17848 CFLAGS=$ac_wine_try_cflags_saved
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17851 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17852 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17853 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17854 fi ;;
17855 esac ;;
17856 esac
17858 CFLAGS=$saved_CFLAGS
17860 if test "x$enable_werror" = "xyes"
17861 then
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17863 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17864 if ${ac_cv_cflags__Werror+:} false; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17867 ac_wine_try_cflags_saved=$CFLAGS
17868 CFLAGS="$CFLAGS -Werror"
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 int main(int argc, char **argv) { return 0; }
17872 _ACEOF
17873 if ac_fn_c_try_link "$LINENO"; then :
17874 ac_cv_cflags__Werror=yes
17875 else
17876 ac_cv_cflags__Werror=no
17878 rm -f core conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext conftest.$ac_ext
17880 CFLAGS=$ac_wine_try_cflags_saved
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17883 $as_echo "$ac_cv_cflags__Werror" >&6; }
17884 if test "x$ac_cv_cflags__Werror" = xyes; then :
17885 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17892 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17893 if ${ac_cv_c_fortify_enabled+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <string.h>
17900 main ()
17902 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17903 #error Fortify enabled
17904 #endif
17906 return 0;
17908 _ACEOF
17909 if ac_fn_c_try_compile "$LINENO"; then :
17910 ac_cv_c_fortify_enabled=no
17911 else
17912 ac_cv_c_fortify_enabled=yes
17914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17917 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17918 if test "$ac_cv_c_fortify_enabled" = yes
17919 then
17920 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17925 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17926 if ${ac_cv_c_cfi_support+:} false; then :
17927 $as_echo_n "(cached) " >&6
17928 else
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17931 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17933 main ()
17937 return 0;
17939 _ACEOF
17940 if ac_fn_c_try_compile "$LINENO"; then :
17941 ac_cv_c_cfi_support="yes"
17942 else
17943 ac_cv_c_cfi_support="no"
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17948 $as_echo "$ac_cv_c_cfi_support" >&6; }
17949 if test "$ac_cv_c_cfi_support" = "yes"
17950 then
17951 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17952 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17953 else
17954 if test "x$enable_win64" = "xyes"
17955 then
17956 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17961 case $build_os in
17962 cygwin*|mingw32*) TOOLSEXT=".exe"
17964 esac
17966 case $host_os in
17967 linux*)
17968 case $host_cpu in
17969 *i[3456789]86*|x86_64*|*aarch64*)
17970 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17971 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17973 esac
17975 esac
17978 ac_save_CFLAGS="$CFLAGS"
17979 CFLAGS="$CFLAGS $BUILTINFLAG"
17980 for ac_func in \
17981 __res_get_state \
17982 __res_getservers \
17983 _spawnvp \
17984 epoll_create \
17985 ffs \
17986 finitef \
17987 fnmatch \
17988 fork \
17989 fpclass \
17990 fstatfs \
17991 fstatvfs \
17992 futimens \
17993 futimes \
17994 futimesat \
17995 getattrlist \
17996 getauxval \
17997 getifaddrs \
17998 getopt_long_only \
17999 kqueue \
18000 lstat \
18001 mach_continuous_time \
18002 pipe2 \
18003 poll \
18004 port_create \
18005 prctl \
18006 pread \
18007 proc_pidinfo \
18008 pwrite \
18009 readdir \
18010 readlink \
18011 sched_yield \
18012 select \
18013 setproctitle \
18014 setprogname \
18015 settimeofday \
18016 sigprocmask \
18017 statfs \
18018 statvfs \
18019 strnlen \
18020 strtold \
18021 symlink \
18022 sysinfo \
18023 tcdrain \
18024 thr_kill2 \
18025 usleep
18027 do :
18028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18033 _ACEOF
18036 done
18038 CFLAGS="$ac_save_CFLAGS"
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18041 $as_echo_n "checking for library containing dlopen... " >&6; }
18042 if ${ac_cv_search_dlopen+:} false; then :
18043 $as_echo_n "(cached) " >&6
18044 else
18045 ac_func_search_save_LIBS=$LIBS
18046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18047 /* end confdefs.h. */
18049 /* Override any GCC internal prototype to avoid an error.
18050 Use char because int might match the return type of a GCC
18051 builtin and then its argument prototype would still apply. */
18052 #ifdef __cplusplus
18053 extern "C"
18054 #endif
18055 char dlopen ();
18057 main ()
18059 return dlopen ();
18061 return 0;
18063 _ACEOF
18064 for ac_lib in '' dl; do
18065 if test -z "$ac_lib"; then
18066 ac_res="none required"
18067 else
18068 ac_res=-l$ac_lib
18069 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18071 if ac_fn_c_try_link "$LINENO"; then :
18072 ac_cv_search_dlopen=$ac_res
18074 rm -f core conftest.err conftest.$ac_objext \
18075 conftest$ac_exeext
18076 if ${ac_cv_search_dlopen+:} false; then :
18077 break
18079 done
18080 if ${ac_cv_search_dlopen+:} false; then :
18082 else
18083 ac_cv_search_dlopen=no
18085 rm conftest.$ac_ext
18086 LIBS=$ac_func_search_save_LIBS
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18089 $as_echo "$ac_cv_search_dlopen" >&6; }
18090 ac_res=$ac_cv_search_dlopen
18091 if test "$ac_res" != no; then :
18092 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18096 ac_wine_check_funcs_save_LIBS="$LIBS"
18097 LIBS="$LIBS $DL_LIBS"
18098 for ac_func in dladdr dlinfo
18099 do :
18100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18102 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18105 _ACEOF
18108 done
18110 LIBS="$ac_wine_check_funcs_save_LIBS"
18112 if test "$ac_cv_func_poll" = no
18113 then
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18115 $as_echo_n "checking for poll in -lpoll... " >&6; }
18116 if ${ac_cv_lib_poll_poll+:} false; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119 ac_check_lib_save_LIBS=$LIBS
18120 LIBS="-lpoll $LIBS"
18121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h. */
18124 /* Override any GCC internal prototype to avoid an error.
18125 Use char because int might match the return type of a GCC
18126 builtin and then its argument prototype would still apply. */
18127 #ifdef __cplusplus
18128 extern "C"
18129 #endif
18130 char poll ();
18132 main ()
18134 return poll ();
18136 return 0;
18138 _ACEOF
18139 if ac_fn_c_try_link "$LINENO"; then :
18140 ac_cv_lib_poll_poll=yes
18141 else
18142 ac_cv_lib_poll_poll=no
18144 rm -f core conftest.err conftest.$ac_objext \
18145 conftest$ac_exeext conftest.$ac_ext
18146 LIBS=$ac_check_lib_save_LIBS
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18149 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18150 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18151 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18152 POLL_LIBS="-lpoll"
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18159 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18160 if ${ac_cv_search_gethostbyname+:} false; then :
18161 $as_echo_n "(cached) " >&6
18162 else
18163 ac_func_search_save_LIBS=$LIBS
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 #ifdef __cplusplus
18171 extern "C"
18172 #endif
18173 char gethostbyname ();
18175 main ()
18177 return gethostbyname ();
18179 return 0;
18181 _ACEOF
18182 for ac_lib in '' nsl; do
18183 if test -z "$ac_lib"; then
18184 ac_res="none required"
18185 else
18186 ac_res=-l$ac_lib
18187 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18189 if ac_fn_c_try_link "$LINENO"; then :
18190 ac_cv_search_gethostbyname=$ac_res
18192 rm -f core conftest.err conftest.$ac_objext \
18193 conftest$ac_exeext
18194 if ${ac_cv_search_gethostbyname+:} false; then :
18195 break
18197 done
18198 if ${ac_cv_search_gethostbyname+:} false; then :
18200 else
18201 ac_cv_search_gethostbyname=no
18203 rm conftest.$ac_ext
18204 LIBS=$ac_func_search_save_LIBS
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18207 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18208 ac_res=$ac_cv_search_gethostbyname
18209 if test "$ac_res" != no; then :
18210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18216 $as_echo_n "checking for library containing connect... " >&6; }
18217 if ${ac_cv_search_connect+:} false; then :
18218 $as_echo_n "(cached) " >&6
18219 else
18220 ac_func_search_save_LIBS=$LIBS
18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18224 /* Override any GCC internal prototype to avoid an error.
18225 Use char because int might match the return type of a GCC
18226 builtin and then its argument prototype would still apply. */
18227 #ifdef __cplusplus
18228 extern "C"
18229 #endif
18230 char connect ();
18232 main ()
18234 return connect ();
18236 return 0;
18238 _ACEOF
18239 for ac_lib in '' socket; do
18240 if test -z "$ac_lib"; then
18241 ac_res="none required"
18242 else
18243 ac_res=-l$ac_lib
18244 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18246 if ac_fn_c_try_link "$LINENO"; then :
18247 ac_cv_search_connect=$ac_res
18249 rm -f core conftest.err conftest.$ac_objext \
18250 conftest$ac_exeext
18251 if ${ac_cv_search_connect+:} false; then :
18252 break
18254 done
18255 if ${ac_cv_search_connect+:} false; then :
18257 else
18258 ac_cv_search_connect=no
18260 rm conftest.$ac_ext
18261 LIBS=$ac_func_search_save_LIBS
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18264 $as_echo "$ac_cv_search_connect" >&6; }
18265 ac_res=$ac_cv_search_connect
18266 if test "$ac_res" != no; then :
18267 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18273 $as_echo_n "checking for library containing inet_aton... " >&6; }
18274 if ${ac_cv_search_inet_aton+:} false; then :
18275 $as_echo_n "(cached) " >&6
18276 else
18277 ac_func_search_save_LIBS=$LIBS
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18281 /* Override any GCC internal prototype to avoid an error.
18282 Use char because int might match the return type of a GCC
18283 builtin and then its argument prototype would still apply. */
18284 #ifdef __cplusplus
18285 extern "C"
18286 #endif
18287 char inet_aton ();
18289 main ()
18291 return inet_aton ();
18293 return 0;
18295 _ACEOF
18296 for ac_lib in '' resolv; do
18297 if test -z "$ac_lib"; then
18298 ac_res="none required"
18299 else
18300 ac_res=-l$ac_lib
18301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18303 if ac_fn_c_try_link "$LINENO"; then :
18304 ac_cv_search_inet_aton=$ac_res
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext
18308 if ${ac_cv_search_inet_aton+:} false; then :
18309 break
18311 done
18312 if ${ac_cv_search_inet_aton+:} false; then :
18314 else
18315 ac_cv_search_inet_aton=no
18317 rm conftest.$ac_ext
18318 LIBS=$ac_func_search_save_LIBS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18321 $as_echo "$ac_cv_search_inet_aton" >&6; }
18322 ac_res=$ac_cv_search_inet_aton
18323 if test "$ac_res" != no; then :
18324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18329 for ac_func in \
18330 getaddrinfo \
18331 getnameinfo \
18332 getnetbyname \
18333 getprotobyname \
18334 getprotobynumber \
18335 getservbyport \
18337 do :
18338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18340 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18341 cat >>confdefs.h <<_ACEOF
18342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18343 _ACEOF
18346 done
18349 case $host_os in
18350 darwin*|macosx*) ;;
18351 *) ac_save_LIBS=$LIBS
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18353 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18354 if ${ac_cv_search_clock_gettime+:} false; then :
18355 $as_echo_n "(cached) " >&6
18356 else
18357 ac_func_search_save_LIBS=$LIBS
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18361 /* Override any GCC internal prototype to avoid an error.
18362 Use char because int might match the return type of a GCC
18363 builtin and then its argument prototype would still apply. */
18364 #ifdef __cplusplus
18365 extern "C"
18366 #endif
18367 char clock_gettime ();
18369 main ()
18371 return clock_gettime ();
18373 return 0;
18375 _ACEOF
18376 for ac_lib in '' rt; do
18377 if test -z "$ac_lib"; then
18378 ac_res="none required"
18379 else
18380 ac_res=-l$ac_lib
18381 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18383 if ac_fn_c_try_link "$LINENO"; then :
18384 ac_cv_search_clock_gettime=$ac_res
18386 rm -f core conftest.err conftest.$ac_objext \
18387 conftest$ac_exeext
18388 if ${ac_cv_search_clock_gettime+:} false; then :
18389 break
18391 done
18392 if ${ac_cv_search_clock_gettime+:} false; then :
18394 else
18395 ac_cv_search_clock_gettime=no
18397 rm conftest.$ac_ext
18398 LIBS=$ac_func_search_save_LIBS
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18401 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18402 ac_res=$ac_cv_search_clock_gettime
18403 if test "$ac_res" != no; then :
18404 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18406 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18408 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18412 LIBS=$ac_save_LIBS
18414 esac
18416 if test "x$with_ldap" != "xno"
18417 then
18418 if ${LDAP_CFLAGS:+false} :; then :
18419 if ${PKG_CONFIG+:} false; then :
18420 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18424 if ${LDAP_LIBS:+false} :; then :
18425 if ${PKG_CONFIG+:} false; then :
18426 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18430 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18431 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18432 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18433 ac_save_CPPFLAGS=$CPPFLAGS
18434 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18435 for ac_header in ldap.h lber.h
18436 do :
18437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18438 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18439 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18440 cat >>confdefs.h <<_ACEOF
18441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18442 _ACEOF
18446 done
18448 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18449 then
18450 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18452 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18454 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18455 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18456 $as_echo_n "(cached) " >&6
18457 else
18458 ac_check_lib_save_LIBS=$LIBS
18459 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18463 /* Override any GCC internal prototype to avoid an error.
18464 Use char because int might match the return type of a GCC
18465 builtin and then its argument prototype would still apply. */
18466 #ifdef __cplusplus
18467 extern "C"
18468 #endif
18469 char ldap_initialize ();
18471 main ()
18473 return ldap_initialize ();
18475 return 0;
18477 _ACEOF
18478 if ac_fn_c_try_link "$LINENO"; then :
18479 ac_cv_lib_ldap_r_ldap_initialize=yes
18480 else
18481 ac_cv_lib_ldap_r_ldap_initialize=no
18483 rm -f core conftest.err conftest.$ac_objext \
18484 conftest$ac_exeext conftest.$ac_ext
18485 LIBS=$ac_check_lib_save_LIBS
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18488 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18489 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18491 $as_echo_n "checking for ber_init in -llber... " >&6; }
18492 if ${ac_cv_lib_lber_ber_init+:} false; then :
18493 $as_echo_n "(cached) " >&6
18494 else
18495 ac_check_lib_save_LIBS=$LIBS
18496 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18500 /* Override any GCC internal prototype to avoid an error.
18501 Use char because int might match the return type of a GCC
18502 builtin and then its argument prototype would still apply. */
18503 #ifdef __cplusplus
18504 extern "C"
18505 #endif
18506 char ber_init ();
18508 main ()
18510 return ber_init ();
18512 return 0;
18514 _ACEOF
18515 if ac_fn_c_try_link "$LINENO"; then :
18516 ac_cv_lib_lber_ber_init=yes
18517 else
18518 ac_cv_lib_lber_ber_init=no
18520 rm -f core conftest.err conftest.$ac_objext \
18521 conftest$ac_exeext conftest.$ac_ext
18522 LIBS=$ac_check_lib_save_LIBS
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18525 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18526 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18528 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18530 else
18531 LDAP_LIBS=""
18534 else
18535 LDAP_LIBS=""
18538 else
18539 LDAP_LIBS=""
18542 ac_wine_check_funcs_save_LIBS="$LIBS"
18543 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18544 for ac_func in \
18545 ldap_count_references \
18546 ldap_first_reference \
18547 ldap_next_reference \
18548 ldap_parse_reference \
18549 ldap_parse_sort_control \
18550 ldap_parse_sortresponse_control \
18551 ldap_parse_vlv_control \
18552 ldap_parse_vlvresponse_control
18553 do :
18554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18557 cat >>confdefs.h <<_ACEOF
18558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18559 _ACEOF
18562 done
18564 LIBS="$ac_wine_check_funcs_save_LIBS"
18565 else
18566 LDAP_LIBS=""
18568 CPPFLAGS=$ac_save_CPPFLAGS
18569 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18570 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18573 if test "x$LDAP_LIBS" = "x"; then :
18574 case "x$with_ldap" in
18575 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18576 xno) ;;
18577 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18578 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18579 esac
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18584 $as_echo_n "checking for sched_setaffinity... " >&6; }
18585 if ${wine_cv_have_sched_setaffinity+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 #define _GNU_SOURCE
18591 #include <sched.h>
18593 main ()
18595 sched_setaffinity(0, 0, 0);
18597 return 0;
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"; then :
18601 wine_cv_have_sched_setaffinity=yes
18602 else
18603 wine_cv_have_sched_setaffinity=no
18605 rm -f core conftest.err conftest.$ac_objext \
18606 conftest$ac_exeext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18609 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18610 if test "$wine_cv_have_sched_setaffinity" = "yes"
18611 then
18613 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18618 $as_echo_n "checking for fallocate... " >&6; }
18619 if ${wine_cv_have_fallocate+:} false; then :
18620 $as_echo_n "(cached) " >&6
18621 else
18622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18623 /* end confdefs.h. */
18624 #define _GNU_SOURCE
18625 #include <fcntl.h>
18627 main ()
18629 fallocate(-1, 0, 0, 0);
18631 return 0;
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"; then :
18635 wine_cv_have_fallocate=yes
18636 else
18637 wine_cv_have_fallocate=no
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18643 $as_echo "$wine_cv_have_fallocate" >&6; }
18644 if test "$wine_cv_have_fallocate" = "yes"
18645 then
18647 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18653 $as_echo_n "checking for inline... " >&6; }
18654 if ${ac_cv_c_inline+:} false; then :
18655 $as_echo_n "(cached) " >&6
18656 else
18657 ac_cv_c_inline=no
18658 for ac_kw in inline __inline__ __inline; do
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #ifndef __cplusplus
18662 typedef int foo_t;
18663 static $ac_kw foo_t static_foo () {return 0; }
18664 $ac_kw foo_t foo () {return 0; }
18665 #endif
18667 _ACEOF
18668 if ac_fn_c_try_compile "$LINENO"; then :
18669 ac_cv_c_inline=$ac_kw
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18672 test "$ac_cv_c_inline" != no && break
18673 done
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18677 $as_echo "$ac_cv_c_inline" >&6; }
18679 case $ac_cv_c_inline in
18680 inline | yes) ;;
18682 case $ac_cv_c_inline in
18683 no) ac_val=;;
18684 *) ac_val=$ac_cv_c_inline;;
18685 esac
18686 cat >>confdefs.h <<_ACEOF
18687 #ifndef __cplusplus
18688 #define inline $ac_val
18689 #endif
18690 _ACEOF
18692 esac
18694 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18695 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18697 cat >>confdefs.h <<_ACEOF
18698 #define HAVE_FSBLKCNT_T 1
18699 _ACEOF
18703 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18704 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_FSFILCNT_T 1
18708 _ACEOF
18713 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18714 #include <signal.h>
18716 if test "x$ac_cv_type_sigset_t" = xyes; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define HAVE_SIGSET_T 1
18720 _ACEOF
18725 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18727 if test "x$ac_cv_type_request_sense" = xyes; then :
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_REQUEST_SENSE 1
18731 _ACEOF
18737 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18738 #ifdef HAVE_SYS_SOCKET_H
18739 #include <sys/socket.h>
18740 #endif
18741 #ifdef HAVE_SYS_SOCKETVAR_H
18742 #include <sys/socketvar.h>
18743 #endif
18744 #ifdef HAVE_NET_ROUTE_H
18745 #include <net/route.h>
18746 #endif
18747 #ifdef HAVE_NETINET_IN_H
18748 #include <netinet/in.h>
18749 #endif
18750 #ifdef HAVE_NETINET_IN_SYSTM_H
18751 #include <netinet/in_systm.h>
18752 #endif
18753 #ifdef HAVE_NETINET_IP_H
18754 #include <netinet/ip.h>
18755 #endif
18756 #ifdef HAVE_NETINET_IN_PCB_H
18757 #include <netinet/in_pcb.h>
18758 #endif
18760 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18762 cat >>confdefs.h <<_ACEOF
18763 #define HAVE_STRUCT_XINPGEN 1
18764 _ACEOF
18770 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18771 #include <linux/input.h>
18772 #endif
18774 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18776 cat >>confdefs.h <<_ACEOF
18777 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18778 _ACEOF
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18785 $as_echo_n "checking for if_nameindex... " >&6; }
18786 if ${wine_cv_have_if_nameindex+:} false; then :
18787 $as_echo_n "(cached) " >&6
18788 else
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 #ifdef HAVE_SYS_TYPES_H
18792 #include <sys/types.h>
18793 #endif
18794 #ifdef HAVE_SYS_SOCKET_H
18795 #include <sys/socket.h>
18796 #endif
18797 #ifdef HAVE_NET_IF_H
18798 # include <net/if.h>
18799 #endif
18801 main ()
18803 struct if_nameindex *p = if_nameindex(); return p->if_index;
18805 return 0;
18807 _ACEOF
18808 if ac_fn_c_try_link "$LINENO"; then :
18809 wine_cv_have_if_nameindex=yes
18810 else
18811 wine_cv_have_if_nameindex=no
18813 rm -f core conftest.err conftest.$ac_objext \
18814 conftest$ac_exeext conftest.$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18817 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18818 if test "$wine_cv_have_if_nameindex" = "yes"
18819 then
18821 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18826 $as_echo_n "checking for sigaddset... " >&6; }
18827 if ${wine_cv_have_sigaddset+:} false; then :
18828 $as_echo_n "(cached) " >&6
18829 else
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 #include <signal.h>
18834 main ()
18836 sigset_t set; sigaddset(&set,SIGTERM);
18838 return 0;
18840 _ACEOF
18841 if ac_fn_c_try_link "$LINENO"; then :
18842 wine_cv_have_sigaddset=yes
18843 else
18844 wine_cv_have_sigaddset=no
18846 rm -f core conftest.err conftest.$ac_objext \
18847 conftest$ac_exeext conftest.$ac_ext
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18850 $as_echo "$wine_cv_have_sigaddset" >&6; }
18851 if test "$wine_cv_have_sigaddset" = "yes"
18852 then
18854 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18860 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18861 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18862 $as_echo_n "(cached) " >&6
18863 else
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 #include <netdb.h>
18868 main ()
18871 char *name=0;
18872 struct hostent he;
18873 struct hostent *result;
18874 char *buf=0;
18875 int bufsize=0;
18876 int errnr;
18877 char *addr=0;
18878 int addrlen=0;
18879 int addrtype=0;
18880 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18881 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18884 return 0;
18886 _ACEOF
18887 if ac_fn_c_try_link "$LINENO"; then :
18888 wine_cv_linux_gethostbyname_r_6=yes
18889 else
18890 wine_cv_linux_gethostbyname_r_6=no
18893 rm -f core conftest.err conftest.$ac_objext \
18894 conftest$ac_exeext conftest.$ac_ext
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18898 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18899 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18900 then
18902 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18906 if test "$ac_cv_header_linux_joystick_h" = "yes"
18907 then
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18909 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18910 if ${wine_cv_linux_joystick_22_api+:} false; then :
18911 $as_echo_n "(cached) " >&6
18912 else
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18916 #include <sys/ioctl.h>
18917 #include <sys/types.h>
18918 #include <linux/joystick.h>
18920 struct js_event blub;
18921 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18922 #error "no 2.2 header"
18923 #endif
18926 main ()
18928 /*empty*/
18930 return 0;
18932 _ACEOF
18933 if ac_fn_c_try_compile "$LINENO"; then :
18934 wine_cv_linux_joystick_22_api=yes
18935 else
18936 wine_cv_linux_joystick_22_api=no
18938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18942 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18943 if test "$wine_cv_linux_joystick_22_api" = "yes"
18944 then
18946 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18952 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18953 #ifdef HAVE_SYS_PARAM_H
18954 # include <sys/param.h>
18955 #endif
18956 #ifdef HAVE_SYS_MOUNT_H
18957 # include <sys/mount.h>
18958 #endif
18959 #ifdef HAVE_SYS_VFS_H
18960 # include <sys/vfs.h>
18961 #endif
18962 #ifdef HAVE_SYS_STATFS_H
18963 # include <sys/statfs.h>
18964 #endif
18966 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_STATFS_F_BFREE 1
18970 _ACEOF
18974 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18975 #ifdef HAVE_SYS_PARAM_H
18976 # include <sys/param.h>
18977 #endif
18978 #ifdef HAVE_SYS_MOUNT_H
18979 # include <sys/mount.h>
18980 #endif
18981 #ifdef HAVE_SYS_VFS_H
18982 # include <sys/vfs.h>
18983 #endif
18984 #ifdef HAVE_SYS_STATFS_H
18985 # include <sys/statfs.h>
18986 #endif
18988 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18990 cat >>confdefs.h <<_ACEOF
18991 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18992 _ACEOF
18996 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18997 #ifdef HAVE_SYS_PARAM_H
18998 # include <sys/param.h>
18999 #endif
19000 #ifdef HAVE_SYS_MOUNT_H
19001 # include <sys/mount.h>
19002 #endif
19003 #ifdef HAVE_SYS_VFS_H
19004 # include <sys/vfs.h>
19005 #endif
19006 #ifdef HAVE_SYS_STATFS_H
19007 # include <sys/statfs.h>
19008 #endif
19010 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19012 cat >>confdefs.h <<_ACEOF
19013 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19014 _ACEOF
19018 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19019 #ifdef HAVE_SYS_PARAM_H
19020 # include <sys/param.h>
19021 #endif
19022 #ifdef HAVE_SYS_MOUNT_H
19023 # include <sys/mount.h>
19024 #endif
19025 #ifdef HAVE_SYS_VFS_H
19026 # include <sys/vfs.h>
19027 #endif
19028 #ifdef HAVE_SYS_STATFS_H
19029 # include <sys/statfs.h>
19030 #endif
19032 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19034 cat >>confdefs.h <<_ACEOF
19035 #define HAVE_STRUCT_STATFS_F_FFREE 1
19036 _ACEOF
19040 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19041 #ifdef HAVE_SYS_PARAM_H
19042 # include <sys/param.h>
19043 #endif
19044 #ifdef HAVE_SYS_MOUNT_H
19045 # include <sys/mount.h>
19046 #endif
19047 #ifdef HAVE_SYS_VFS_H
19048 # include <sys/vfs.h>
19049 #endif
19050 #ifdef HAVE_SYS_STATFS_H
19051 # include <sys/statfs.h>
19052 #endif
19054 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19063 #ifdef HAVE_SYS_PARAM_H
19064 # include <sys/param.h>
19065 #endif
19066 #ifdef HAVE_SYS_MOUNT_H
19067 # include <sys/mount.h>
19068 #endif
19069 #ifdef HAVE_SYS_VFS_H
19070 # include <sys/vfs.h>
19071 #endif
19072 #ifdef HAVE_SYS_STATFS_H
19073 # include <sys/statfs.h>
19074 #endif
19076 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19078 cat >>confdefs.h <<_ACEOF
19079 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19080 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19087 #include <sys/statvfs.h>
19088 #endif
19090 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19094 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19101 #include <dirent.h>
19102 #endif
19104 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19108 _ACEOF
19114 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19115 #ifdef HAVE_SYS_SOCKET_H
19116 # include <sys/socket.h>
19117 #endif
19118 #ifdef HAVE_SYS_UN_H
19119 # include <sys/un.h>
19120 #endif
19122 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19126 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19131 #ifdef HAVE_SYS_SOCKET_H
19132 # include <sys/socket.h>
19133 #endif
19134 #ifdef HAVE_SYS_UN_H
19135 # include <sys/un.h>
19136 #endif
19138 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19142 _ACEOF
19146 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19147 #ifdef HAVE_SYS_SOCKET_H
19148 # include <sys/socket.h>
19149 #endif
19150 #ifdef HAVE_SYS_UN_H
19151 # include <sys/un.h>
19152 #endif
19154 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19158 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19165 #ifdef HAVE_SCSI_SG_H
19166 #include <scsi/sg.h>
19167 #endif
19169 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_SCSIREQ_T_CMD 1
19173 _ACEOF
19177 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>
19178 #ifdef HAVE_SCSI_SG_H
19179 #include <scsi/sg.h>
19180 #endif
19182 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19186 _ACEOF
19192 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19194 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_SIGINFO_T_SI_FD 1
19198 _ACEOF
19204 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19205 #ifdef HAVE_SYS_MTIO_H
19206 #include <sys/mtio.h>
19207 #endif
19209 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19213 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19218 #ifdef HAVE_SYS_MTIO_H
19219 #include <sys/mtio.h>
19220 #endif
19222 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19226 _ACEOF
19230 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19231 #ifdef HAVE_SYS_MTIO_H
19232 #include <sys/mtio.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19239 _ACEOF
19245 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19246 #include <getopt.h>
19247 #endif
19249 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19251 cat >>confdefs.h <<_ACEOF
19252 #define HAVE_STRUCT_OPTION_NAME 1
19253 _ACEOF
19259 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19260 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19262 cat >>confdefs.h <<_ACEOF
19263 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19264 _ACEOF
19268 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19269 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT_STAT_ST_MTIM 1
19273 _ACEOF
19277 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19278 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19282 _ACEOF
19286 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19287 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_STRUCT_STAT_ST_CTIM 1
19291 _ACEOF
19295 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19296 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19300 _ACEOF
19304 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19305 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19307 cat >>confdefs.h <<_ACEOF
19308 #define HAVE_STRUCT_STAT_ST_ATIM 1
19309 _ACEOF
19313 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19314 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19316 cat >>confdefs.h <<_ACEOF
19317 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19318 _ACEOF
19322 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19323 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19325 cat >>confdefs.h <<_ACEOF
19326 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19327 _ACEOF
19331 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19332 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19334 cat >>confdefs.h <<_ACEOF
19335 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19336 _ACEOF
19340 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19341 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19343 cat >>confdefs.h <<_ACEOF
19344 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19345 _ACEOF
19349 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19350 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19354 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19359 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19363 _ACEOF
19369 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
19370 #include <sys/types.h>
19371 #endif
19372 #ifdef HAVE_NETINET_IN_H
19373 #include <netinet/in.h>
19374 #endif
19376 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19380 _ACEOF
19386 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19387 #include <sys/types.h>
19388 #endif
19389 #ifdef HAVE_NETINET_IN_H
19390 #include <netinet/in.h>
19391 #endif
19392 #ifdef HAVE_RESOLV_H
19393 #include <resolv.h>
19394 #endif
19396 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_STRUCT___RES_STATE 1
19400 _ACEOF
19406 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
19407 #include <resolv.h>
19408 #endif
19410 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19412 cat >>confdefs.h <<_ACEOF
19413 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19414 _ACEOF
19420 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19421 #include <sys/types.h>
19422 #endif
19423 #ifdef HAVE_NETINET_IN_H
19424 # include <netinet/in.h>
19425 #endif
19426 #ifdef HAVE_ARPA_NAMESER_H
19427 # include <arpa/nameser.h>
19428 #endif
19430 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19432 cat >>confdefs.h <<_ACEOF
19433 #define HAVE_NS_MSG__MSG_PTR 1
19434 _ACEOF
19440 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19441 #include <sys/types.h>
19442 #endif
19443 #ifdef HAVE_NETINET_IN_H
19444 #include <netinet/in.h>
19445 #endif
19446 #ifdef HAVE_NETINET_IP_H
19447 #include <netinet/ip.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IP_ICMP_H
19450 #include <netinet/ip_icmp.h>
19451 #endif
19452 #ifdef HAVE_NETINET_ICMP_VAR_H
19453 #include <netinet/icmp_var.h>
19454 #endif
19456 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19460 _ACEOF
19466 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19467 #include <sys/types.h>
19468 #endif
19469 #ifdef HAVE_ALIAS_H
19470 #include <alias.h>
19471 #endif
19472 #ifdef HAVE_SYS_SOCKET_H
19473 #include <sys/socket.h>
19474 #endif
19475 #ifdef HAVE_SYS_SOCKETVAR_H
19476 #include <sys/socketvar.h>
19477 #endif
19478 #ifdef HAVE_SYS_TIMEOUT_H
19479 #include <sys/timeout.h>
19480 #endif
19481 #ifdef HAVE_NETINET_IN_H
19482 #include <netinet/in.h>
19483 #endif
19484 #ifdef HAVE_NETINET_IN_SYSTM_H
19485 #include <netinet/in_systm.h>
19486 #endif
19487 #ifdef HAVE_NETINET_IP_H
19488 #include <netinet/ip.h>
19489 #endif
19490 #ifdef HAVE_NETINET_IP_VAR_H
19491 #include <netinet/ip_var.h>
19492 #endif
19493 #ifdef HAVE_NETINET_IP_ICMP_H
19494 #include <netinet/ip_icmp.h>
19495 #endif
19496 #ifdef HAVE_NETINET_ICMP_VAR_H
19497 #include <netinet/icmp_var.h>
19498 #endif
19500 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19502 cat >>confdefs.h <<_ACEOF
19503 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19504 _ACEOF
19510 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19511 #include <sys/types.h>
19512 #endif
19513 #ifdef HAVE_SYS_SOCKETVAR_H
19514 #include <sys/socketvar.h>
19515 #endif
19516 #ifdef HAVE_NETINET_IN_H
19517 #include <netinet/in.h>
19518 #endif
19519 #ifdef HAVE_NETINET_IP_VAR_H
19520 #include <netinet/ip_var.h>
19521 #endif
19523 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19525 cat >>confdefs.h <<_ACEOF
19526 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19527 _ACEOF
19533 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
19534 #include <netinet/ip_var.h>
19535 #endif
19537 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19539 cat >>confdefs.h <<_ACEOF
19540 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19541 _ACEOF
19547 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19548 #include <sys/types.h>
19549 #endif
19550 #ifdef HAVE_SYS_SOCKETVAR_H
19551 #include <sys/socketvar.h>
19552 #endif
19553 #ifdef HAVE_NETINET_IN_H
19554 #include <netinet/in.h>
19555 #endif
19556 #ifdef HAVE_NETINET_TCP_H
19557 #include <netinet/tcp.h>
19558 #endif
19559 #ifdef HAVE_NETINET_TCP_VAR_H
19560 #include <netinet/tcp_var.h>
19561 #endif
19563 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19565 cat >>confdefs.h <<_ACEOF
19566 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19567 _ACEOF
19573 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
19574 #include <netinet/tcp_var.h>
19575 #endif
19577 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19579 cat >>confdefs.h <<_ACEOF
19580 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19581 _ACEOF
19587 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19588 #include <sys/types.h>
19589 #endif
19590 #ifdef HAVE_NETINET_IN_H
19591 #include <netinet/in.h>
19592 #endif
19593 #ifdef HAVE_NETINET_IP_VAR_H
19594 #include <netinet/ip_var.h>
19595 #endif
19596 #ifdef HAVE_NETINET_UDP_H
19597 #include <netinet/udp.h>
19598 #endif
19599 #ifdef HAVE_NETINET_UDP_VAR_H
19600 #include <netinet/udp_var.h>
19601 #endif
19603 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19605 cat >>confdefs.h <<_ACEOF
19606 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19607 _ACEOF
19613 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19614 #include <sys/types.h>
19615 #endif
19616 #ifdef HAVE_NET_IF_H
19617 # include <net/if.h>
19618 #endif
19620 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19622 cat >>confdefs.h <<_ACEOF
19623 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19624 _ACEOF
19630 ac_save_LIBS="$LIBS"
19631 LIBS="$LIBS -lm"
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19633 $as_echo_n "checking for isfinite... " >&6; }
19634 if ${ac_cv_have_isfinite+:} false; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 #define _GNU_SOURCE
19640 #include <math.h>
19642 main ()
19644 float f = 0.0; return isfinite(f)
19646 return 0;
19648 _ACEOF
19649 if ac_fn_c_try_link "$LINENO"; then :
19650 ac_cv_have_isfinite="yes"
19651 else
19652 ac_cv_have_isfinite="no"
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext conftest.$ac_ext
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19658 $as_echo "$ac_cv_have_isfinite" >&6; }
19659 if test "$ac_cv_have_isfinite" = "yes"
19660 then
19662 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19667 $as_echo_n "checking for isinf... " >&6; }
19668 if ${ac_cv_have_isinf+:} false; then :
19669 $as_echo_n "(cached) " >&6
19670 else
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 #include <math.h>
19675 main ()
19677 float f = 0.0; return isinf(f)
19679 return 0;
19681 _ACEOF
19682 if ac_fn_c_try_link "$LINENO"; then :
19683 ac_cv_have_isinf="yes"
19684 else
19685 ac_cv_have_isinf="no"
19687 rm -f core conftest.err conftest.$ac_objext \
19688 conftest$ac_exeext conftest.$ac_ext
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19691 $as_echo "$ac_cv_have_isinf" >&6; }
19692 if test "$ac_cv_have_isinf" = "yes"
19693 then
19695 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19700 $as_echo_n "checking for isnan... " >&6; }
19701 if ${ac_cv_have_isnan+:} false; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706 #include <math.h>
19708 main ()
19710 float f = 0.0; return isnan(f)
19712 return 0;
19714 _ACEOF
19715 if ac_fn_c_try_link "$LINENO"; then :
19716 ac_cv_have_isnan="yes"
19717 else
19718 ac_cv_have_isnan="no"
19720 rm -f core conftest.err conftest.$ac_objext \
19721 conftest$ac_exeext conftest.$ac_ext
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19724 $as_echo "$ac_cv_have_isnan" >&6; }
19725 if test "$ac_cv_have_isnan" = "yes"
19726 then
19728 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19732 for ac_func in \
19733 acosh \
19734 acoshf \
19735 asinh \
19736 asinhf \
19737 atanh \
19738 atanhf \
19739 cbrt \
19740 cbrtf \
19741 erf \
19742 erfc \
19743 erfcf \
19744 erff \
19745 exp2 \
19746 exp2f \
19747 expm1 \
19748 expm1f \
19749 fma \
19750 fmaf \
19751 ilogb \
19752 ilogbf \
19753 j0 \
19754 j1 \
19755 jn \
19756 lgamma \
19757 lgammaf \
19758 llrint \
19759 llrintf \
19760 llround \
19761 llroundf \
19762 log1p \
19763 log1pf \
19764 log2 \
19765 log2f \
19766 lrint \
19767 lrintf \
19768 lround \
19769 lroundf \
19770 nearbyint \
19771 nearbyintf \
19772 nexttoward \
19773 nexttowardf \
19774 remainder \
19775 remainderf \
19776 remquo \
19777 remquof \
19778 rint \
19779 rintf \
19780 round \
19781 roundf \
19782 tgamma \
19783 tgammaf \
19784 trunc \
19785 truncf \
19786 y0 \
19787 y1 \
19790 do :
19791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19794 cat >>confdefs.h <<_ACEOF
19795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19796 _ACEOF
19799 done
19801 LIBS="$ac_save_LIBS"
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19804 $as_echo_n "checking for __builtin_popcount... " >&6; }
19805 if ${ac_cv_have___builtin_popcount+:} false; then :
19806 $as_echo_n "(cached) " >&6
19807 else
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19812 main ()
19814 return __builtin_popcount(1)
19816 return 0;
19818 _ACEOF
19819 if ac_fn_c_try_link "$LINENO"; then :
19820 ac_cv_have___builtin_popcount="yes"
19821 else
19822 ac_cv_have___builtin_popcount="no"
19824 rm -f core conftest.err conftest.$ac_objext \
19825 conftest$ac_exeext conftest.$ac_ext
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19828 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19829 if test "$ac_cv_have___builtin_popcount" = "yes"
19830 then
19832 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19837 $as_echo_n "checking for __clear_cache... " >&6; }
19838 if ${ac_cv_have___clear_cache+:} false; then :
19839 $as_echo_n "(cached) " >&6
19840 else
19841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19842 /* end confdefs.h. */
19845 main ()
19847 __clear_cache((void*)0, (void*)0); return 0;
19849 return 0;
19851 _ACEOF
19852 if ac_fn_c_try_link "$LINENO"; then :
19853 ac_cv_have___clear_cache="yes"
19854 else
19855 ac_cv_have___clear_cache="no"
19857 rm -f core conftest.err conftest.$ac_objext \
19858 conftest$ac_exeext conftest.$ac_ext
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19861 $as_echo "$ac_cv_have___clear_cache" >&6; }
19862 if test "$ac_cv_have___clear_cache" = "yes"
19863 then
19865 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19870 case $host_cpu in
19871 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19872 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19873 if ${ac_cv_cpp_def___i386__+:} false; then :
19874 $as_echo_n "(cached) " >&6
19875 else
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #ifndef __i386__
19880 #endif
19881 _ACEOF
19882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19883 $EGREP "yes" >/dev/null 2>&1; then :
19884 ac_cv_cpp_def___i386__=yes
19885 else
19886 ac_cv_cpp_def___i386__=no
19888 rm -f conftest*
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19892 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19893 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19894 CFLAGS="$CFLAGS -D__i386__"
19895 LINTFLAGS="$LINTFLAGS -D__i386__"
19896 fi ;;
19897 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19898 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19899 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19904 #ifndef __x86_64__
19906 #endif
19907 _ACEOF
19908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19909 $EGREP "yes" >/dev/null 2>&1; then :
19910 ac_cv_cpp_def___x86_64__=yes
19911 else
19912 ac_cv_cpp_def___x86_64__=no
19914 rm -f conftest*
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19918 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19919 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19920 CFLAGS="$CFLAGS -D__x86_64__"
19921 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19922 fi ;;
19923 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19924 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19925 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19926 $as_echo_n "(cached) " >&6
19927 else
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19930 #ifndef __sparc64__
19932 #endif
19933 _ACEOF
19934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19935 $EGREP "yes" >/dev/null 2>&1; then :
19936 ac_cv_cpp_def___sparc64__=yes
19937 else
19938 ac_cv_cpp_def___sparc64__=no
19940 rm -f conftest*
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19944 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19945 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19946 CFLAGS="$CFLAGS -D__sparc64__"
19947 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19948 fi ;;
19949 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19950 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19951 if ${ac_cv_cpp_def___sparc__+:} false; then :
19952 $as_echo_n "(cached) " >&6
19953 else
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 #ifndef __sparc__
19958 #endif
19959 _ACEOF
19960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19961 $EGREP "yes" >/dev/null 2>&1; then :
19962 ac_cv_cpp_def___sparc__=yes
19963 else
19964 ac_cv_cpp_def___sparc__=no
19966 rm -f conftest*
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19970 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19971 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19972 CFLAGS="$CFLAGS -D__sparc__"
19973 LINTFLAGS="$LINTFLAGS -D__sparc__"
19974 fi ;;
19975 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19976 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19977 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19978 $as_echo_n "(cached) " >&6
19979 else
19980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19982 #ifndef __powerpc64__
19984 #endif
19985 _ACEOF
19986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19987 $EGREP "yes" >/dev/null 2>&1; then :
19988 ac_cv_cpp_def___powerpc64__=yes
19989 else
19990 ac_cv_cpp_def___powerpc64__=no
19992 rm -f conftest*
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19996 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19997 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19998 CFLAGS="$CFLAGS -D__powerpc64__"
19999 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20000 fi ;;
20001 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20002 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20003 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20004 $as_echo_n "(cached) " >&6
20005 else
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008 #ifndef __powerpc__
20010 #endif
20011 _ACEOF
20012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20013 $EGREP "yes" >/dev/null 2>&1; then :
20014 ac_cv_cpp_def___powerpc__=yes
20015 else
20016 ac_cv_cpp_def___powerpc__=no
20018 rm -f conftest*
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20022 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20023 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20024 CFLAGS="$CFLAGS -D__powerpc__"
20025 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20026 fi ;;
20027 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20028 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20029 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20030 $as_echo_n "(cached) " >&6
20031 else
20032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20034 #ifndef __aarch64__
20036 #endif
20037 _ACEOF
20038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20039 $EGREP "yes" >/dev/null 2>&1; then :
20040 ac_cv_cpp_def___aarch64__=yes
20041 else
20042 ac_cv_cpp_def___aarch64__=no
20044 rm -f conftest*
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20048 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20049 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20050 CFLAGS="$CFLAGS -D__aarch64__"
20051 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20052 fi ;;
20053 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20054 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20055 if ${ac_cv_cpp_def___arm__+:} false; then :
20056 $as_echo_n "(cached) " >&6
20057 else
20058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20060 #ifndef __arm__
20062 #endif
20063 _ACEOF
20064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20065 $EGREP "yes" >/dev/null 2>&1; then :
20066 ac_cv_cpp_def___arm__=yes
20067 else
20068 ac_cv_cpp_def___arm__=no
20070 rm -f conftest*
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20074 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20075 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20076 CFLAGS="$CFLAGS -D__arm__"
20077 LINTFLAGS="$LINTFLAGS -D__arm__"
20078 fi ;;
20079 esac
20081 case $host_vendor in
20082 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20083 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20084 if ${ac_cv_cpp_def___sun__+:} false; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20089 #ifndef __sun__
20091 #endif
20092 _ACEOF
20093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20094 $EGREP "yes" >/dev/null 2>&1; then :
20095 ac_cv_cpp_def___sun__=yes
20096 else
20097 ac_cv_cpp_def___sun__=no
20099 rm -f conftest*
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20103 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20104 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20105 CFLAGS="$CFLAGS -D__sun__"
20106 LINTFLAGS="$LINTFLAGS -D__sun__"
20107 fi ;;
20108 esac
20114 ac_config_commands="$ac_config_commands include/stamp-h"
20116 $as_echo_n "creating Makefile rules..." >&6
20118 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20119 OPENGL_LIBS = $OPENGL_LIBS
20120 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20121 IOKIT_LIBS = $IOKIT_LIBS
20122 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20123 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20124 CORESERVICES_LIBS = $CORESERVICES_LIBS
20125 APPKIT_LIBS = $APPKIT_LIBS
20126 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20127 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20128 SECURITY_LIBS = $SECURITY_LIBS
20129 COREAUDIO_LIBS = $COREAUDIO_LIBS
20130 OPENAL_LIBS = $OPENAL_LIBS
20131 OPENCL_LIBS = $OPENCL_LIBS
20132 QUICKTIME_LIBS = $QUICKTIME_LIBS
20133 CARBON_LIBS = $CARBON_LIBS
20134 METAL_LIBS = $METAL_LIBS
20135 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20136 PTHREAD_LIBS = $PTHREAD_LIBS
20137 X_CFLAGS = $X_CFLAGS
20138 X_PRE_LIBS = $X_PRE_LIBS
20139 X_LIBS = $X_LIBS
20140 X_EXTRA_LIBS = $X_EXTRA_LIBS
20141 PCAP_LIBS = $PCAP_LIBS
20142 XML2_CFLAGS = $XML2_CFLAGS
20143 XML2_LIBS = $XML2_LIBS
20144 XSLT_CFLAGS = $XSLT_CFLAGS
20145 XSLT_LIBS = $XSLT_LIBS
20146 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20147 INOTIFY_LIBS = $INOTIFY_LIBS
20148 DBUS_CFLAGS = $DBUS_CFLAGS
20149 DBUS_LIBS = $DBUS_LIBS
20150 HAL_CFLAGS = $HAL_CFLAGS
20151 HAL_LIBS = $HAL_LIBS
20152 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20153 GNUTLS_LIBS = $GNUTLS_LIBS
20154 SANE_CFLAGS = $SANE_CFLAGS
20155 SANE_LIBS = $SANE_LIBS
20156 USB_CFLAGS = $USB_CFLAGS
20157 USB_LIBS = $USB_LIBS
20158 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20159 GPHOTO2_LIBS = $GPHOTO2_LIBS
20160 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20161 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20162 RESOLV_LIBS = $RESOLV_LIBS
20163 LCMS2_CFLAGS = $LCMS2_CFLAGS
20164 LCMS2_LIBS = $LCMS2_LIBS
20165 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20166 FREETYPE_LIBS = $FREETYPE_LIBS
20167 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20168 PULSE_CFLAGS = $PULSE_CFLAGS
20169 PULSE_LIBS = $PULSE_LIBS
20170 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20171 GSTREAMER_LIBS = $GSTREAMER_LIBS
20172 ALSA_LIBS = $ALSA_LIBS
20173 OSS4_CFLAGS = $OSS4_CFLAGS
20174 OSS4_LIBS = $OSS4_LIBS
20175 UDEV_CFLAGS = $UDEV_CFLAGS
20176 UDEV_LIBS = $UDEV_LIBS
20177 UNWIND_CFLAGS = $UNWIND_CFLAGS
20178 UNWIND_LIBS = $UNWIND_LIBS
20179 SDL2_CFLAGS = $SDL2_CFLAGS
20180 SDL2_LIBS = $SDL2_LIBS
20181 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20182 FAUDIO_LIBS = $FAUDIO_LIBS
20183 CAPI20_CFLAGS = $CAPI20_CFLAGS
20184 CAPI20_LIBS = $CAPI20_LIBS
20185 CUPS_CFLAGS = $CUPS_CFLAGS
20186 CUPS_LIBS = $CUPS_LIBS
20187 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20188 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20189 KRB5_CFLAGS = $KRB5_CFLAGS
20190 KRB5_LIBS = $KRB5_LIBS
20191 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20192 GSSAPI_LIBS = $GSSAPI_LIBS
20193 JPEG_CFLAGS = $JPEG_CFLAGS
20194 JPEG_LIBS = $JPEG_LIBS
20195 PNG_CFLAGS = $PNG_CFLAGS
20196 PNG_LIBS = $PNG_LIBS
20197 TIFF_CFLAGS = $TIFF_CFLAGS
20198 TIFF_LIBS = $TIFF_LIBS
20199 MPG123_CFLAGS = $MPG123_CFLAGS
20200 MPG123_LIBS = $MPG123_LIBS
20201 KSTAT_LIBS = $KSTAT_LIBS
20202 PROCSTAT_LIBS = $PROCSTAT_LIBS
20203 NETAPI_CFLAGS = $NETAPI_CFLAGS
20204 NETAPI_LIBS = $NETAPI_LIBS
20205 VKD3D_CFLAGS = $VKD3D_CFLAGS
20206 VKD3D_LIBS = $VKD3D_LIBS
20207 POLL_LIBS = $POLL_LIBS
20208 RT_LIBS = $RT_LIBS
20209 LDAP_CFLAGS = $LDAP_CFLAGS
20210 LDAP_LIBS = $LDAP_LIBS
20215 wine_fn_append_rule "
20216 # Rules automatically generated by configure
20218 .INIT: Makefile
20219 .MAKEFILEDEPS:
20220 all: Makefile
20221 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20222 @./config.status Make.tmp Makefile
20223 depend: \$(MAKEDEP) dummy
20224 \$(MAKEDEP)"
20226 ac_config_links="$ac_config_links wine:tools/winewrapper"
20227 wine_fn_config_symlink wine
20228 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20229 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20230 wine_fn_config_symlink wine64
20233 wine_fn_config_makefile dlls/acledit enable_acledit
20234 wine_fn_config_makefile dlls/aclui enable_aclui
20235 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20236 wine_fn_config_makefile dlls/activeds enable_activeds
20237 wine_fn_config_makefile dlls/activeds/tests enable_tests
20238 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20239 wine_fn_config_makefile dlls/adsiid enable_adsiid
20240 wine_fn_config_makefile dlls/adsldp enable_adsldp
20241 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20242 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20243 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20244 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20245 wine_fn_config_makefile dlls/advpack enable_advpack
20246 wine_fn_config_makefile dlls/advpack/tests enable_tests
20247 wine_fn_config_makefile dlls/amsi enable_amsi
20248 wine_fn_config_makefile dlls/amstream enable_amstream
20249 wine_fn_config_makefile dlls/amstream/tests enable_tests
20250 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20253 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20255 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20274 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20275 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20276 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20278 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20281 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20282 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20285 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20294 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20298 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20302 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20304 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20305 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20309 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20310 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20318 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20319 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20320 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20330 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20332 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20333 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20334 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20347 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20357 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20361 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20364 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20374 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20379 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20380 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20385 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20387 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20406 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20407 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20427 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20428 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20434 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20436 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20438 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20439 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20442 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20443 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20444 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20445 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20446 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20447 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20448 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20450 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20452 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20453 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20454 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20455 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20457 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20460 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20461 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20463 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20464 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20465 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20466 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20467 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20468 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20469 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20470 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20471 wine_fn_config_makefile dlls/apphelp enable_apphelp
20472 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20473 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20474 wine_fn_config_makefile dlls/atl enable_atl
20475 wine_fn_config_makefile dlls/atl/tests enable_tests
20476 wine_fn_config_makefile dlls/atl100 enable_atl100
20477 wine_fn_config_makefile dlls/atl100/tests enable_tests
20478 wine_fn_config_makefile dlls/atl110 enable_atl110
20479 wine_fn_config_makefile dlls/atl80 enable_atl80
20480 wine_fn_config_makefile dlls/atl80/tests enable_tests
20481 wine_fn_config_makefile dlls/atl90 enable_atl90
20482 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20483 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20484 wine_fn_config_makefile dlls/atmlib enable_atmlib
20485 wine_fn_config_makefile dlls/authz enable_authz
20486 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20487 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20488 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20489 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20490 wine_fn_config_makefile dlls/avrt enable_avrt
20491 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20492 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20493 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20494 wine_fn_config_makefile dlls/browseui enable_browseui
20495 wine_fn_config_makefile dlls/browseui/tests enable_tests
20496 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20497 wine_fn_config_makefile dlls/cabinet enable_cabinet
20498 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20499 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20500 wine_fn_config_makefile dlls/cards enable_cards
20501 wine_fn_config_makefile dlls/cdosys enable_cdosys
20502 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20503 wine_fn_config_makefile dlls/clusapi enable_clusapi
20504 wine_fn_config_makefile dlls/combase enable_combase
20505 wine_fn_config_makefile dlls/combase/tests enable_tests
20506 wine_fn_config_makefile dlls/comcat enable_comcat
20507 wine_fn_config_makefile dlls/comcat/tests enable_tests
20508 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20509 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20510 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20511 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20512 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20513 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20514 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20515 wine_fn_config_makefile dlls/compstui enable_compstui
20516 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20517 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20518 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20519 wine_fn_config_makefile dlls/connect enable_connect
20520 wine_fn_config_makefile dlls/credui enable_credui
20521 wine_fn_config_makefile dlls/credui/tests enable_tests
20522 wine_fn_config_makefile dlls/crtdll enable_crtdll
20523 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20524 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20525 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20526 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20527 wine_fn_config_makefile dlls/cryptext enable_cryptext
20528 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20529 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20530 wine_fn_config_makefile dlls/cryptui enable_cryptui
20531 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20532 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20533 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20534 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20535 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20536 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20537 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20538 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20539 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20540 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20541 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20542 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20543 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20544 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20545 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20546 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20547 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20548 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20549 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20550 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20551 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20552 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20553 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20554 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20555 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20556 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20557 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20558 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20559 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20560 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20561 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20562 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20563 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20564 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20565 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20566 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20567 wine_fn_config_makefile dlls/d3dim enable_d3dim
20568 wine_fn_config_makefile dlls/d3drm enable_d3drm
20569 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20570 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20571 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20572 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20573 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20574 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20575 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20576 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20577 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20578 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20579 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20580 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20581 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20582 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20583 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20584 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20585 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20586 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20587 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20588 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20589 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20590 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20591 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20592 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20593 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20594 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20595 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20596 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20597 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20598 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20599 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20600 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20601 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20602 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20603 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20604 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20605 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20606 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20607 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20608 wine_fn_config_makefile dlls/davclnt enable_davclnt
20609 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20610 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20611 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20612 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20613 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20614 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20615 wine_fn_config_makefile dlls/ddraw enable_ddraw
20616 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20617 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20618 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20619 wine_fn_config_makefile dlls/devenum enable_devenum
20620 wine_fn_config_makefile dlls/devenum/tests enable_tests
20621 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20622 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20623 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20624 wine_fn_config_makefile dlls/difxapi enable_difxapi
20625 wine_fn_config_makefile dlls/dinput enable_dinput
20626 wine_fn_config_makefile dlls/dinput/tests enable_tests
20627 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20628 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20629 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20630 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20631 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20632 wine_fn_config_makefile dlls/dispex enable_dispex
20633 wine_fn_config_makefile dlls/dispex/tests enable_tests
20634 wine_fn_config_makefile dlls/display.drv16 enable_win16
20635 wine_fn_config_makefile dlls/dmband enable_dmband
20636 wine_fn_config_makefile dlls/dmband/tests enable_tests
20637 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20638 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20639 wine_fn_config_makefile dlls/dmime enable_dmime
20640 wine_fn_config_makefile dlls/dmime/tests enable_tests
20641 wine_fn_config_makefile dlls/dmloader enable_dmloader
20642 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20643 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20644 wine_fn_config_makefile dlls/dmscript enable_dmscript
20645 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20646 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20647 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20648 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20649 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20650 wine_fn_config_makefile dlls/dmusic enable_dmusic
20651 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20652 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20653 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20654 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20655 wine_fn_config_makefile dlls/dplay enable_dplay
20656 wine_fn_config_makefile dlls/dplayx enable_dplayx
20657 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20658 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20659 wine_fn_config_makefile dlls/dpnet enable_dpnet
20660 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20661 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20662 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20663 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20664 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20665 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20666 wine_fn_config_makefile dlls/drmclien enable_drmclien
20667 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20668 wine_fn_config_makefile dlls/dsound enable_dsound
20669 wine_fn_config_makefile dlls/dsound/tests enable_tests
20670 wine_fn_config_makefile dlls/dsquery enable_dsquery
20671 wine_fn_config_makefile dlls/dssenh enable_dssenh
20672 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20673 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20674 wine_fn_config_makefile dlls/dswave enable_dswave
20675 wine_fn_config_makefile dlls/dswave/tests enable_tests
20676 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20677 wine_fn_config_makefile dlls/dwrite enable_dwrite
20678 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20679 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20680 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20681 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20682 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20683 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20684 wine_fn_config_makefile dlls/dxgi enable_dxgi
20685 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20686 wine_fn_config_makefile dlls/dxguid enable_dxguid
20687 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20688 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20689 wine_fn_config_makefile dlls/esent enable_esent
20690 wine_fn_config_makefile dlls/evr enable_evr
20691 wine_fn_config_makefile dlls/evr/tests enable_tests
20692 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20693 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20694 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20695 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20699 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20700 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20701 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20702 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20703 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20704 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20705 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20706 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20707 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20708 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20709 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20710 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20711 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20712 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20713 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20714 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20715 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20716 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20717 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20718 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20719 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20720 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20721 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20722 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20723 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20724 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20725 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20726 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20727 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20728 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20729 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20730 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20731 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20732 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20733 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20734 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
20735 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20736 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20737 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20738 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20739 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20740 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20741 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20742 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20743 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20744 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20745 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20746 wine_fn_config_makefile dlls/faultrep enable_faultrep
20747 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20748 wine_fn_config_makefile dlls/feclient enable_feclient
20749 wine_fn_config_makefile dlls/fltlib enable_fltlib
20750 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20751 wine_fn_config_makefile dlls/fntcache enable_fntcache
20752 wine_fn_config_makefile dlls/fontsub enable_fontsub
20753 wine_fn_config_makefile dlls/fusion enable_fusion
20754 wine_fn_config_makefile dlls/fusion/tests enable_tests
20755 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20756 wine_fn_config_makefile dlls/gameux enable_gameux
20757 wine_fn_config_makefile dlls/gameux/tests enable_tests
20758 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20759 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20760 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20761 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20762 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20763 wine_fn_config_makefile dlls/glu32 enable_glu32
20764 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20765 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20766 wine_fn_config_makefile dlls/hal enable_hal
20767 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20768 wine_fn_config_makefile dlls/hid enable_hid
20769 wine_fn_config_makefile dlls/hid/tests enable_tests
20770 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20771 wine_fn_config_makefile dlls/hlink enable_hlink
20772 wine_fn_config_makefile dlls/hlink/tests enable_tests
20773 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20774 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20775 wine_fn_config_makefile dlls/http.sys enable_http_sys
20776 wine_fn_config_makefile dlls/httpapi enable_httpapi
20777 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20778 wine_fn_config_makefile dlls/iccvid enable_iccvid
20779 wine_fn_config_makefile dlls/icmp enable_icmp
20780 wine_fn_config_makefile dlls/ieframe enable_ieframe
20781 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20782 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20783 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20784 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20785 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20786 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20787 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20788 wine_fn_config_makefile dlls/imm32 enable_imm32
20789 wine_fn_config_makefile dlls/imm32/tests enable_tests
20790 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20791 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20792 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20793 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20794 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20795 wine_fn_config_makefile dlls/infosoft enable_infosoft
20796 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20797 wine_fn_config_makefile dlls/initpki enable_initpki
20798 wine_fn_config_makefile dlls/inkobj enable_inkobj
20799 wine_fn_config_makefile dlls/inseng enable_inseng
20800 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20801 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20802 wine_fn_config_makefile dlls/iprop enable_iprop
20803 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20804 wine_fn_config_makefile dlls/itircl enable_itircl
20805 wine_fn_config_makefile dlls/itss enable_itss
20806 wine_fn_config_makefile dlls/itss/tests enable_tests
20807 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20808 wine_fn_config_makefile dlls/jscript enable_jscript
20809 wine_fn_config_makefile dlls/jscript/tests enable_tests
20810 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20811 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20812 wine_fn_config_makefile dlls/kerberos enable_kerberos
20813 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20814 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20815 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20816 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20817 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20818 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20819 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20820 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20821 wine_fn_config_makefile dlls/ksuser enable_ksuser
20822 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20823 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20824 wine_fn_config_makefile dlls/loadperf enable_loadperf
20825 wine_fn_config_makefile dlls/localspl enable_localspl
20826 wine_fn_config_makefile dlls/localspl/tests enable_tests
20827 wine_fn_config_makefile dlls/localui enable_localui
20828 wine_fn_config_makefile dlls/localui/tests enable_tests
20829 wine_fn_config_makefile dlls/lz32 enable_lz32
20830 wine_fn_config_makefile dlls/lz32/tests enable_tests
20831 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20832 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20833 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20834 wine_fn_config_makefile dlls/mapistub enable_mapistub
20835 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20836 wine_fn_config_makefile dlls/mcicda enable_mcicda
20837 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20838 wine_fn_config_makefile dlls/mciseq enable_mciseq
20839 wine_fn_config_makefile dlls/mciwave enable_mciwave
20840 wine_fn_config_makefile dlls/mf enable_mf
20841 wine_fn_config_makefile dlls/mf/tests enable_tests
20842 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20843 wine_fn_config_makefile dlls/mferror enable_mferror
20844 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20845 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20846 wine_fn_config_makefile dlls/mfplat enable_mfplat
20847 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20848 wine_fn_config_makefile dlls/mfplay enable_mfplay
20849 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20850 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20851 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20852 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20853 wine_fn_config_makefile dlls/midimap enable_midimap
20854 wine_fn_config_makefile dlls/mlang enable_mlang
20855 wine_fn_config_makefile dlls/mlang/tests enable_tests
20856 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20857 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20858 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20859 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20860 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20861 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20862 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20863 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20864 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20865 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20866 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20867 wine_fn_config_makefile dlls/mpr enable_mpr
20868 wine_fn_config_makefile dlls/mpr/tests enable_tests
20869 wine_fn_config_makefile dlls/mprapi enable_mprapi
20870 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20871 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20872 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20873 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20874 wine_fn_config_makefile dlls/msado15 enable_msado15
20875 wine_fn_config_makefile dlls/msado15/tests enable_tests
20876 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20877 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20878 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20879 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20880 wine_fn_config_makefile dlls/mscms enable_mscms
20881 wine_fn_config_makefile dlls/mscms/tests enable_tests
20882 wine_fn_config_makefile dlls/mscoree enable_mscoree
20883 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20884 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20885 wine_fn_config_makefile dlls/msctf enable_msctf
20886 wine_fn_config_makefile dlls/msctf/tests enable_tests
20887 wine_fn_config_makefile dlls/msctfp enable_msctfp
20888 wine_fn_config_makefile dlls/msdaps enable_msdaps
20889 wine_fn_config_makefile dlls/msdelta enable_msdelta
20890 wine_fn_config_makefile dlls/msdmo enable_msdmo
20891 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20892 wine_fn_config_makefile dlls/msdrm enable_msdrm
20893 wine_fn_config_makefile dlls/msftedit enable_msftedit
20894 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20895 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20896 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20897 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20898 wine_fn_config_makefile dlls/mshtml enable_mshtml
20899 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20900 wine_fn_config_makefile dlls/msi enable_msi
20901 wine_fn_config_makefile dlls/msi/tests enable_tests
20902 wine_fn_config_makefile dlls/msident enable_msident
20903 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20904 wine_fn_config_makefile dlls/msimsg enable_msimsg
20905 wine_fn_config_makefile dlls/msimtf enable_msimtf
20906 wine_fn_config_makefile dlls/msisip enable_msisip
20907 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20908 wine_fn_config_makefile dlls/msls31 enable_msls31
20909 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20910 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20911 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20912 wine_fn_config_makefile dlls/msports enable_msports
20913 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20914 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20915 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20916 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20917 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20918 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20919 wine_fn_config_makefile dlls/mstask enable_mstask
20920 wine_fn_config_makefile dlls/mstask/tests enable_tests
20921 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20922 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20923 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20924 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20925 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20926 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20927 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20928 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20929 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20930 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20931 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20932 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20933 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20934 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20935 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20936 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20937 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20938 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20939 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20940 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20941 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20942 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20943 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20944 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20945 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20946 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20947 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20948 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20949 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20950 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20951 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20952 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20953 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20954 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20955 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20956 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20957 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20958 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20959 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20960 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20961 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20962 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20963 wine_fn_config_makefile dlls/mswsock enable_mswsock
20964 wine_fn_config_makefile dlls/msxml enable_msxml
20965 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20966 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20967 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20968 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20969 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20970 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20971 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20972 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20973 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20974 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20975 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20976 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20977 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20978 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20979 wine_fn_config_makefile dlls/netprofm enable_netprofm
20980 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20981 wine_fn_config_makefile dlls/newdev enable_newdev
20982 wine_fn_config_makefile dlls/ninput enable_ninput
20983 wine_fn_config_makefile dlls/ninput/tests enable_tests
20984 wine_fn_config_makefile dlls/normaliz enable_normaliz
20985 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20986 wine_fn_config_makefile dlls/npptools enable_npptools
20987 wine_fn_config_makefile dlls/ntdll enable_ntdll
20988 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20989 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20990 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20991 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20992 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20993 wine_fn_config_makefile dlls/ntprint enable_ntprint
20994 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20995 wine_fn_config_makefile dlls/objsel enable_objsel
20996 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20997 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20998 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20999 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21000 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21001 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21002 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21003 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21004 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21005 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21006 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21007 wine_fn_config_makefile dlls/ole32 enable_ole32
21008 wine_fn_config_makefile dlls/ole32/tests enable_tests
21009 wine_fn_config_makefile dlls/oleacc enable_oleacc
21010 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21011 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21012 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21013 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21014 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21015 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21016 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21017 wine_fn_config_makefile dlls/oledlg enable_oledlg
21018 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21019 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21020 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21021 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21022 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21023 wine_fn_config_makefile dlls/opcservices enable_opcservices
21024 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21025 wine_fn_config_makefile dlls/openal32 enable_openal32
21026 wine_fn_config_makefile dlls/opencl enable_opencl
21027 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21028 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21029 wine_fn_config_makefile dlls/packager enable_packager
21030 wine_fn_config_makefile dlls/packager/tests enable_tests
21031 wine_fn_config_makefile dlls/pdh enable_pdh
21032 wine_fn_config_makefile dlls/pdh/tests enable_tests
21033 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21034 wine_fn_config_makefile dlls/pidgen enable_pidgen
21035 wine_fn_config_makefile dlls/powrprof enable_powrprof
21036 wine_fn_config_makefile dlls/printui enable_printui
21037 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21038 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21039 wine_fn_config_makefile dlls/propsys enable_propsys
21040 wine_fn_config_makefile dlls/propsys/tests enable_tests
21041 wine_fn_config_makefile dlls/psapi enable_psapi
21042 wine_fn_config_makefile dlls/psapi/tests enable_tests
21043 wine_fn_config_makefile dlls/pstorec enable_pstorec
21044 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21045 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21046 wine_fn_config_makefile dlls/qasf enable_qasf
21047 wine_fn_config_makefile dlls/qasf/tests enable_tests
21048 wine_fn_config_makefile dlls/qcap enable_qcap
21049 wine_fn_config_makefile dlls/qcap/tests enable_tests
21050 wine_fn_config_makefile dlls/qdvd enable_qdvd
21051 wine_fn_config_makefile dlls/qedit enable_qedit
21052 wine_fn_config_makefile dlls/qedit/tests enable_tests
21053 wine_fn_config_makefile dlls/qmgr enable_qmgr
21054 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21055 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21056 wine_fn_config_makefile dlls/quartz enable_quartz
21057 wine_fn_config_makefile dlls/quartz/tests enable_tests
21058 wine_fn_config_makefile dlls/query enable_query
21059 wine_fn_config_makefile dlls/qwave enable_qwave
21060 wine_fn_config_makefile dlls/qwave/tests enable_tests
21061 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21062 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21063 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21064 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21065 wine_fn_config_makefile dlls/regapi enable_regapi
21066 wine_fn_config_makefile dlls/resutils enable_resutils
21067 wine_fn_config_makefile dlls/riched20 enable_riched20
21068 wine_fn_config_makefile dlls/riched20/tests enable_tests
21069 wine_fn_config_makefile dlls/riched32 enable_riched32
21070 wine_fn_config_makefile dlls/riched32/tests enable_tests
21071 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21072 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21073 wine_fn_config_makefile dlls/rsabase enable_rsabase
21074 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21075 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21076 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21077 wine_fn_config_makefile dlls/rtutils enable_rtutils
21078 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21079 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21080 wine_fn_config_makefile dlls/samlib enable_samlib
21081 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21082 wine_fn_config_makefile dlls/sapi enable_sapi
21083 wine_fn_config_makefile dlls/sapi/tests enable_tests
21084 wine_fn_config_makefile dlls/sas enable_sas
21085 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21086 wine_fn_config_makefile dlls/sccbase enable_sccbase
21087 wine_fn_config_makefile dlls/schannel enable_schannel
21088 wine_fn_config_makefile dlls/schannel/tests enable_tests
21089 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21090 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21091 wine_fn_config_makefile dlls/scrobj enable_scrobj
21092 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21093 wine_fn_config_makefile dlls/scrrun enable_scrrun
21094 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21095 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21096 wine_fn_config_makefile dlls/sechost enable_sechost
21097 wine_fn_config_makefile dlls/secur32 enable_secur32
21098 wine_fn_config_makefile dlls/secur32/tests enable_tests
21099 wine_fn_config_makefile dlls/security enable_security
21100 wine_fn_config_makefile dlls/sensapi enable_sensapi
21101 wine_fn_config_makefile dlls/serialui enable_serialui
21102 wine_fn_config_makefile dlls/serialui/tests enable_tests
21103 wine_fn_config_makefile dlls/setupapi enable_setupapi
21104 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21105 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21106 wine_fn_config_makefile dlls/sfc enable_sfc
21107 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21108 wine_fn_config_makefile dlls/shcore enable_shcore
21109 wine_fn_config_makefile dlls/shcore/tests enable_tests
21110 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21111 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21112 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21113 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21114 wine_fn_config_makefile dlls/shell32 enable_shell32
21115 wine_fn_config_makefile dlls/shell32/tests enable_tests
21116 wine_fn_config_makefile dlls/shfolder enable_shfolder
21117 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21118 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21119 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21120 wine_fn_config_makefile dlls/slc enable_slc
21121 wine_fn_config_makefile dlls/slc/tests enable_tests
21122 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21123 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21124 wine_fn_config_makefile dlls/softpub enable_softpub
21125 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21126 wine_fn_config_makefile dlls/spoolss enable_spoolss
21127 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21128 wine_fn_config_makefile dlls/srclient enable_srclient
21129 wine_fn_config_makefile dlls/sspicli enable_sspicli
21130 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21131 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21132 wine_fn_config_makefile dlls/sti enable_sti
21133 wine_fn_config_makefile dlls/sti/tests enable_tests
21134 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21135 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21136 wine_fn_config_makefile dlls/strmbase enable_strmbase
21137 wine_fn_config_makefile dlls/strmdll enable_strmdll
21138 wine_fn_config_makefile dlls/strmiids enable_strmiids
21139 wine_fn_config_makefile dlls/svrapi enable_svrapi
21140 wine_fn_config_makefile dlls/sxs enable_sxs
21141 wine_fn_config_makefile dlls/sxs/tests enable_tests
21142 wine_fn_config_makefile dlls/system.drv16 enable_win16
21143 wine_fn_config_makefile dlls/t2embed enable_t2embed
21144 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21145 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21146 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21147 wine_fn_config_makefile dlls/taskschd enable_taskschd
21148 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21149 wine_fn_config_makefile dlls/tdh enable_tdh
21150 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21151 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21152 wine_fn_config_makefile dlls/traffic enable_traffic
21153 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21154 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21155 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21156 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21157 wine_fn_config_makefile dlls/tzres enable_tzres
21158 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21159 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21160 wine_fn_config_makefile dlls/uianimation enable_uianimation
21161 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21162 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21163 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21164 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21165 wine_fn_config_makefile dlls/unicows enable_unicows
21166 wine_fn_config_makefile dlls/updspapi enable_updspapi
21167 wine_fn_config_makefile dlls/url enable_url
21168 wine_fn_config_makefile dlls/urlmon enable_urlmon
21169 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21170 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21171 wine_fn_config_makefile dlls/user.exe16 enable_win16
21172 wine_fn_config_makefile dlls/user32 enable_user32
21173 wine_fn_config_makefile dlls/user32/tests enable_tests
21174 wine_fn_config_makefile dlls/userenv enable_userenv
21175 wine_fn_config_makefile dlls/userenv/tests enable_tests
21176 wine_fn_config_makefile dlls/usp10 enable_usp10
21177 wine_fn_config_makefile dlls/usp10/tests enable_tests
21178 wine_fn_config_makefile dlls/utildll enable_utildll
21179 wine_fn_config_makefile dlls/uuid enable_uuid
21180 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21181 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21182 wine_fn_config_makefile dlls/vbscript enable_vbscript
21183 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21184 wine_fn_config_makefile dlls/vcomp enable_vcomp
21185 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21186 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21187 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21188 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21189 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21190 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21191 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21192 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21193 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21194 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21195 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21196 wine_fn_config_makefile dlls/version enable_version
21197 wine_fn_config_makefile dlls/version/tests enable_tests
21198 wine_fn_config_makefile dlls/vga enable_vga
21199 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21200 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21201 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21202 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21203 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21204 wine_fn_config_makefile dlls/vssapi enable_vssapi
21205 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21206 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21207 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21208 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21209 wine_fn_config_makefile dlls/w32skrnl enable_win16
21210 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21211 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21212 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21213 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21214 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21215 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21216 wine_fn_config_makefile dlls/wdscore enable_wdscore
21217 wine_fn_config_makefile dlls/webservices enable_webservices
21218 wine_fn_config_makefile dlls/webservices/tests enable_tests
21219 wine_fn_config_makefile dlls/wer enable_wer
21220 wine_fn_config_makefile dlls/wer/tests enable_tests
21221 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21222 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21223 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21224 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21225 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21226 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21227 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21228 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21229 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21230 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21231 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21232 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21233 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21234 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21235 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21236 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21237 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21238 wine_fn_config_makefile dlls/wined3d enable_wined3d
21239 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21240 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21241 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21242 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21243 wine_fn_config_makefile dlls/winemapi enable_winemapi
21244 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21245 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21246 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21247 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21248 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21249 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21250 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21251 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21252 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21253 wine_fn_config_makefile dlls/wing32 enable_wing32
21254 wine_fn_config_makefile dlls/winhttp enable_winhttp
21255 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21256 wine_fn_config_makefile dlls/wininet enable_wininet
21257 wine_fn_config_makefile dlls/wininet/tests enable_tests
21258 wine_fn_config_makefile dlls/winmm enable_winmm
21259 wine_fn_config_makefile dlls/winmm/tests enable_tests
21260 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21261 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21262 wine_fn_config_makefile dlls/winscard enable_winscard
21263 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21264 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21265 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21266 wine_fn_config_makefile dlls/winsta enable_winsta
21267 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21268 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21269 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21270 wine_fn_config_makefile dlls/wintrust enable_wintrust
21271 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21272 wine_fn_config_makefile dlls/winusb enable_winusb
21273 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21274 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21275 wine_fn_config_makefile dlls/wlanui enable_wlanui
21276 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21277 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21278 wine_fn_config_makefile dlls/wmasf enable_wmasf
21279 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21280 wine_fn_config_makefile dlls/wmi enable_wmi
21281 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21282 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21283 wine_fn_config_makefile dlls/wmp enable_wmp
21284 wine_fn_config_makefile dlls/wmp/tests enable_tests
21285 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21286 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21287 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21288 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21289 wine_fn_config_makefile dlls/wow32 enable_win16
21290 wine_fn_config_makefile dlls/wpc enable_wpc
21291 wine_fn_config_makefile dlls/wpc/tests enable_tests
21292 wine_fn_config_makefile dlls/wpcap enable_wpcap
21293 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21294 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21295 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21296 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21297 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21298 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21299 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21300 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21301 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21302 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21303 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21304 wine_fn_config_makefile dlls/wuapi enable_wuapi
21305 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21306 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21307 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21308 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21309 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21310 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21311 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21312 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21313 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21314 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21315 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21316 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21317 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21318 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21319 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21320 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21321 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21322 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21323 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21324 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21325 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21326 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21327 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21328 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21329 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21330 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21331 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21332 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21333 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21334 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21335 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21336 wine_fn_config_makefile dlls/xmllite enable_xmllite
21337 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21338 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21339 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21340 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21341 wine_fn_config_makefile fonts enable_fonts
21342 wine_fn_config_makefile include enable_include
21343 wine_fn_config_makefile libs/port enable_port
21344 wine_fn_config_makefile libs/wine enable_wine
21345 wine_fn_config_makefile libs/wpp enable_wpp
21346 wine_fn_config_makefile loader enable_loader
21347 wine_fn_config_makefile nls enable_nls
21348 wine_fn_config_makefile po enable_po
21349 wine_fn_config_makefile programs/arp enable_arp
21350 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21351 wine_fn_config_makefile programs/attrib enable_attrib
21352 wine_fn_config_makefile programs/cabarc enable_cabarc
21353 wine_fn_config_makefile programs/cacls enable_cacls
21354 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21355 wine_fn_config_makefile programs/clock enable_clock
21356 wine_fn_config_makefile programs/cmd enable_cmd
21357 wine_fn_config_makefile programs/cmd/tests enable_tests
21358 wine_fn_config_makefile programs/conhost enable_conhost
21359 wine_fn_config_makefile programs/control enable_control
21360 wine_fn_config_makefile programs/cscript enable_cscript
21361 wine_fn_config_makefile programs/dism enable_dism
21362 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21363 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21364 wine_fn_config_makefile programs/eject enable_eject
21365 wine_fn_config_makefile programs/expand enable_expand
21366 wine_fn_config_makefile programs/explorer enable_explorer
21367 wine_fn_config_makefile programs/extrac32 enable_extrac32
21368 wine_fn_config_makefile programs/fc enable_fc
21369 wine_fn_config_makefile programs/find enable_find
21370 wine_fn_config_makefile programs/find/tests enable_tests
21371 wine_fn_config_makefile programs/findstr enable_findstr
21372 wine_fn_config_makefile programs/fsutil enable_fsutil
21373 wine_fn_config_makefile programs/hh enable_hh
21374 wine_fn_config_makefile programs/hostname enable_hostname
21375 wine_fn_config_makefile programs/icacls enable_icacls
21376 wine_fn_config_makefile programs/icinfo enable_icinfo
21377 wine_fn_config_makefile programs/iexplore enable_iexplore
21378 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21379 wine_fn_config_makefile programs/lodctr enable_lodctr
21380 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21381 wine_fn_config_makefile programs/mshta enable_mshta
21382 wine_fn_config_makefile programs/msidb enable_msidb
21383 wine_fn_config_makefile programs/msiexec enable_msiexec
21384 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21385 wine_fn_config_makefile programs/net enable_net
21386 wine_fn_config_makefile programs/netsh enable_netsh
21387 wine_fn_config_makefile programs/netstat enable_netstat
21388 wine_fn_config_makefile programs/ngen enable_ngen
21389 wine_fn_config_makefile programs/notepad enable_notepad
21390 wine_fn_config_makefile programs/oleview enable_oleview
21391 wine_fn_config_makefile programs/ping enable_ping
21392 wine_fn_config_makefile programs/plugplay enable_plugplay
21393 wine_fn_config_makefile programs/powershell enable_powershell
21394 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21395 wine_fn_config_makefile programs/progman enable_progman
21396 wine_fn_config_makefile programs/reg enable_reg
21397 wine_fn_config_makefile programs/reg/tests enable_tests
21398 wine_fn_config_makefile programs/regasm enable_regasm
21399 wine_fn_config_makefile programs/regedit enable_regedit
21400 wine_fn_config_makefile programs/regedit/tests enable_tests
21401 wine_fn_config_makefile programs/regini enable_regini
21402 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21403 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21404 wine_fn_config_makefile programs/rpcss enable_rpcss
21405 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21406 wine_fn_config_makefile programs/rundll32 enable_rundll32
21407 wine_fn_config_makefile programs/sc enable_sc
21408 wine_fn_config_makefile programs/schtasks enable_schtasks
21409 wine_fn_config_makefile programs/schtasks/tests enable_tests
21410 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21411 wine_fn_config_makefile programs/secedit enable_secedit
21412 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21413 wine_fn_config_makefile programs/services enable_services
21414 wine_fn_config_makefile programs/services/tests enable_tests
21415 wine_fn_config_makefile programs/shutdown enable_shutdown
21416 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21417 wine_fn_config_makefile programs/start enable_start
21418 wine_fn_config_makefile programs/subst enable_subst
21419 wine_fn_config_makefile programs/svchost enable_svchost
21420 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21421 wine_fn_config_makefile programs/taskkill enable_taskkill
21422 wine_fn_config_makefile programs/tasklist enable_tasklist
21423 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21424 wine_fn_config_makefile programs/termsv enable_termsv
21425 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21426 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21427 wine_fn_config_makefile programs/view enable_view
21428 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21429 wine_fn_config_makefile programs/whoami enable_whoami
21430 wine_fn_config_makefile programs/wineboot enable_wineboot
21431 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21432 wine_fn_config_makefile programs/winecfg enable_winecfg
21433 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21434 wine_fn_config_makefile programs/winedbg enable_winedbg
21435 wine_fn_config_makefile programs/winedevice enable_winedevice
21436 wine_fn_config_makefile programs/winefile enable_winefile
21437 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21438 wine_fn_config_makefile programs/winemine enable_winemine
21439 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21440 wine_fn_config_makefile programs/winepath enable_winepath
21441 wine_fn_config_makefile programs/winetest enable_winetest
21442 wine_fn_config_makefile programs/winevdm enable_win16
21443 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21444 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21445 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21446 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21447 wine_fn_config_makefile programs/winver enable_winver
21448 wine_fn_config_makefile programs/wmic enable_wmic
21449 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21450 wine_fn_config_makefile programs/wordpad enable_wordpad
21451 wine_fn_config_makefile programs/write enable_write
21452 wine_fn_config_makefile programs/wscript enable_wscript
21453 wine_fn_config_makefile programs/wscript/tests enable_tests
21454 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21455 wine_fn_config_makefile programs/wusa enable_wusa
21456 wine_fn_config_makefile programs/xcopy enable_xcopy
21457 wine_fn_config_makefile programs/xcopy/tests enable_tests
21458 wine_fn_config_makefile server enable_server
21459 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21460 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21461 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21462 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21463 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21464 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21465 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21466 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21467 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21470 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21471 wine_fn_append_file CONFIGURE_TARGETS "tags"
21472 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21473 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21474 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21475 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21476 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21477 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21479 if test "x$enable_tools" != xno
21480 then
21481 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21482 ac_config_commands="$ac_config_commands tools/makedep"
21486 ac_config_commands="$ac_config_commands Makefile"
21489 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21493 if test "x$enable_maintainer_mode" = xyes
21494 then
21495 wine_fn_append_rule "configure: configure.ac aclocal.m4
21496 autoconf --warnings=all
21497 include/config.h.in: include/stamp-h.in
21498 include/stamp-h.in: configure.ac aclocal.m4
21499 autoheader --warnings=all
21500 @echo timestamp > \$@"
21503 if test "x$enable_tools" != xno
21504 then
21505 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21506 @./config.status tools/makedep
21507 Makefile: tools/makedep$ac_exeext
21508 fonts: tools/sfnt2fon
21509 include: tools tools/widl"
21510 else
21511 wine_fn_append_rule "\$(MAKEDEP):
21512 @echo \"You need to run make in $TOOLSDIR first\" && false"
21515 if test -n "$with_wine64"
21516 then
21517 case "$with_wine64" in
21518 /*) reldir="" ;;
21519 *) reldir="../" ;;
21520 esac
21521 rm -f fonts server 2>/dev/null
21522 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21523 loader/wine64 loader/wine64-preloader:
21524 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21525 $with_wine64/loader/wine:
21526 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21527 $with_wine64/loader/wine-preloader:
21528 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21529 clean::
21530 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21531 else
21532 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21533 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21534 fonts \
21535 loader/wine.inf \
21536 loader/winebus.inf \
21537 loader/winehid.inf \
21538 loader/wineusb.inf \
21539 nls \
21540 programs/msidb/msidb \
21541 programs/msiexec/msiexec \
21542 programs/notepad/notepad \
21543 programs/regedit/regedit \
21544 programs/regsvr32/regsvr32 \
21545 programs/wineboot/wineboot \
21546 programs/winecfg/winecfg \
21547 programs/wineconsole/wineconsole \
21548 programs/winedbg/winedbg \
21549 programs/winefile/winefile \
21550 programs/winemine/winemine \
21551 programs/winepath/winepath \
21552 server/wineserver"
21554 case $host_os in
21555 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21556 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21557 esac
21560 $as_echo " done" >&6
21561 cat >confcache <<\_ACEOF
21562 # This file is a shell script that caches the results of configure
21563 # tests run on this system so they can be shared between configure
21564 # scripts and configure runs, see configure's option --config-cache.
21565 # It is not useful on other systems. If it contains results you don't
21566 # want to keep, you may remove or edit it.
21568 # config.status only pays attention to the cache file if you give it
21569 # the --recheck option to rerun configure.
21571 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21573 # following values.
21575 _ACEOF
21577 # The following way of writing the cache mishandles newlines in values,
21578 # but we know of no workaround that is simple, portable, and efficient.
21579 # So, we kill variables containing newlines.
21580 # Ultrix sh set writes to stderr and can't be redirected directly,
21581 # and sets the high bit in the cache file unless we assign to the vars.
21583 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21584 eval ac_val=\$$ac_var
21585 case $ac_val in #(
21586 *${as_nl}*)
21587 case $ac_var in #(
21588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21590 esac
21591 case $ac_var in #(
21592 _ | IFS | as_nl) ;; #(
21593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21594 *) { eval $ac_var=; unset $ac_var;} ;;
21595 esac ;;
21596 esac
21597 done
21599 (set) 2>&1 |
21600 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21601 *${as_nl}ac_space=\ *)
21602 # `set' does not quote correctly, so add quotes: double-quote
21603 # substitution turns \\\\ into \\, and sed turns \\ into \.
21604 sed -n \
21605 "s/'/'\\\\''/g;
21606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21607 ;; #(
21609 # `set' quotes correctly as required by POSIX, so do not add quotes.
21610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21612 esac |
21613 sort
21615 sed '
21616 /^ac_cv_env_/b end
21617 t clear
21618 :clear
21619 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21620 t end
21621 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21622 :end' >>confcache
21623 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21624 if test -w "$cache_file"; then
21625 if test "x$cache_file" != "x/dev/null"; then
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21627 $as_echo "$as_me: updating cache $cache_file" >&6;}
21628 if test ! -f "$cache_file" || test -h "$cache_file"; then
21629 cat confcache >"$cache_file"
21630 else
21631 case $cache_file in #(
21632 */* | ?:*)
21633 mv -f confcache "$cache_file"$$ &&
21634 mv -f "$cache_file"$$ "$cache_file" ;; #(
21636 mv -f confcache "$cache_file" ;;
21637 esac
21640 else
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21642 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21645 rm -f confcache
21647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21648 # Let make expand exec_prefix.
21649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21651 DEFS=-DHAVE_CONFIG_H
21653 ac_libobjs=
21654 ac_ltlibobjs=
21656 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21657 # 1. Remove the extension, and $U if already installed.
21658 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21659 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21660 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21661 # will be set to the directory where LIBOBJS objects are built.
21662 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21663 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21664 done
21665 LIBOBJS=$ac_libobjs
21667 LTLIBOBJS=$ac_ltlibobjs
21671 : "${CONFIG_STATUS=./config.status}"
21672 ac_write_fail=0
21673 ac_clean_files_save=$ac_clean_files
21674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21676 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21677 as_write_fail=0
21678 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21679 #! $SHELL
21680 # Generated by $as_me.
21681 # Run this file to recreate the current configuration.
21682 # Compiler output produced by configure, useful for debugging
21683 # configure, is in config.log if it exists.
21685 debug=false
21686 ac_cs_recheck=false
21687 ac_cs_silent=false
21689 SHELL=\${CONFIG_SHELL-$SHELL}
21690 export SHELL
21691 _ASEOF
21692 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21693 ## -------------------- ##
21694 ## M4sh Initialization. ##
21695 ## -------------------- ##
21697 # Be more Bourne compatible
21698 DUALCASE=1; export DUALCASE # for MKS sh
21699 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21700 emulate sh
21701 NULLCMD=:
21702 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21703 # is contrary to our usage. Disable this feature.
21704 alias -g '${1+"$@"}'='"$@"'
21705 setopt NO_GLOB_SUBST
21706 else
21707 case `(set -o) 2>/dev/null` in #(
21708 *posix*) :
21709 set -o posix ;; #(
21710 *) :
21712 esac
21716 as_nl='
21718 export as_nl
21719 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21720 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21723 # Prefer a ksh shell builtin over an external printf program on Solaris,
21724 # but without wasting forks for bash or zsh.
21725 if test -z "$BASH_VERSION$ZSH_VERSION" \
21726 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21727 as_echo='print -r --'
21728 as_echo_n='print -rn --'
21729 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21730 as_echo='printf %s\n'
21731 as_echo_n='printf %s'
21732 else
21733 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21734 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21735 as_echo_n='/usr/ucb/echo -n'
21736 else
21737 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21738 as_echo_n_body='eval
21739 arg=$1;
21740 case $arg in #(
21741 *"$as_nl"*)
21742 expr "X$arg" : "X\\(.*\\)$as_nl";
21743 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21744 esac;
21745 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21747 export as_echo_n_body
21748 as_echo_n='sh -c $as_echo_n_body as_echo'
21750 export as_echo_body
21751 as_echo='sh -c $as_echo_body as_echo'
21754 # The user is always right.
21755 if test "${PATH_SEPARATOR+set}" != set; then
21756 PATH_SEPARATOR=:
21757 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21758 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21759 PATH_SEPARATOR=';'
21764 # IFS
21765 # We need space, tab and new line, in precisely that order. Quoting is
21766 # there to prevent editors from complaining about space-tab.
21767 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21768 # splitting by setting IFS to empty value.)
21769 IFS=" "" $as_nl"
21771 # Find who we are. Look in the path if we contain no directory separator.
21772 as_myself=
21773 case $0 in #((
21774 *[\\/]* ) as_myself=$0 ;;
21775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21776 for as_dir in $PATH
21778 IFS=$as_save_IFS
21779 test -z "$as_dir" && as_dir=.
21780 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21781 done
21782 IFS=$as_save_IFS
21785 esac
21786 # We did not find ourselves, most probably we were run as `sh COMMAND'
21787 # in which case we are not to be found in the path.
21788 if test "x$as_myself" = x; then
21789 as_myself=$0
21791 if test ! -f "$as_myself"; then
21792 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21793 exit 1
21796 # Unset variables that we do not need and which cause bugs (e.g. in
21797 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21798 # suppresses any "Segmentation fault" message there. '((' could
21799 # trigger a bug in pdksh 5.2.14.
21800 for as_var in BASH_ENV ENV MAIL MAILPATH
21801 do eval test x\${$as_var+set} = xset \
21802 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21803 done
21804 PS1='$ '
21805 PS2='> '
21806 PS4='+ '
21808 # NLS nuisances.
21809 LC_ALL=C
21810 export LC_ALL
21811 LANGUAGE=C
21812 export LANGUAGE
21814 # CDPATH.
21815 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21818 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21819 # ----------------------------------------
21820 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21821 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21822 # script with STATUS, using 1 if that was 0.
21823 as_fn_error ()
21825 as_status=$1; test $as_status -eq 0 && as_status=1
21826 if test "$4"; then
21827 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21828 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21830 $as_echo "$as_me: error: $2" >&2
21831 as_fn_exit $as_status
21832 } # as_fn_error
21835 # as_fn_set_status STATUS
21836 # -----------------------
21837 # Set $? to STATUS, without forking.
21838 as_fn_set_status ()
21840 return $1
21841 } # as_fn_set_status
21843 # as_fn_exit STATUS
21844 # -----------------
21845 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21846 as_fn_exit ()
21848 set +e
21849 as_fn_set_status $1
21850 exit $1
21851 } # as_fn_exit
21853 # as_fn_unset VAR
21854 # ---------------
21855 # Portably unset VAR.
21856 as_fn_unset ()
21858 { eval $1=; unset $1;}
21860 as_unset=as_fn_unset
21861 # as_fn_append VAR VALUE
21862 # ----------------------
21863 # Append the text in VALUE to the end of the definition contained in VAR. Take
21864 # advantage of any shell optimizations that allow amortized linear growth over
21865 # repeated appends, instead of the typical quadratic growth present in naive
21866 # implementations.
21867 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21868 eval 'as_fn_append ()
21870 eval $1+=\$2
21872 else
21873 as_fn_append ()
21875 eval $1=\$$1\$2
21877 fi # as_fn_append
21879 # as_fn_arith ARG...
21880 # ------------------
21881 # Perform arithmetic evaluation on the ARGs, and store the result in the
21882 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21883 # must be portable across $(()) and expr.
21884 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21885 eval 'as_fn_arith ()
21887 as_val=$(( $* ))
21889 else
21890 as_fn_arith ()
21892 as_val=`expr "$@" || test $? -eq 1`
21894 fi # as_fn_arith
21897 if expr a : '\(a\)' >/dev/null 2>&1 &&
21898 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21899 as_expr=expr
21900 else
21901 as_expr=false
21904 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21905 as_basename=basename
21906 else
21907 as_basename=false
21910 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21911 as_dirname=dirname
21912 else
21913 as_dirname=false
21916 as_me=`$as_basename -- "$0" ||
21917 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21918 X"$0" : 'X\(//\)$' \| \
21919 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21920 $as_echo X/"$0" |
21921 sed '/^.*\/\([^/][^/]*\)\/*$/{
21922 s//\1/
21925 /^X\/\(\/\/\)$/{
21926 s//\1/
21929 /^X\/\(\/\).*/{
21930 s//\1/
21933 s/.*/./; q'`
21935 # Avoid depending upon Character Ranges.
21936 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21937 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21938 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21939 as_cr_digits='0123456789'
21940 as_cr_alnum=$as_cr_Letters$as_cr_digits
21942 ECHO_C= ECHO_N= ECHO_T=
21943 case `echo -n x` in #(((((
21944 -n*)
21945 case `echo 'xy\c'` in
21946 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21947 xy) ECHO_C='\c';;
21948 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21949 ECHO_T=' ';;
21950 esac;;
21952 ECHO_N='-n';;
21953 esac
21955 rm -f conf$$ conf$$.exe conf$$.file
21956 if test -d conf$$.dir; then
21957 rm -f conf$$.dir/conf$$.file
21958 else
21959 rm -f conf$$.dir
21960 mkdir conf$$.dir 2>/dev/null
21962 if (echo >conf$$.file) 2>/dev/null; then
21963 if ln -s conf$$.file conf$$ 2>/dev/null; then
21964 as_ln_s='ln -s'
21965 # ... but there are two gotchas:
21966 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21967 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21968 # In both cases, we have to default to `cp -pR'.
21969 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21970 as_ln_s='cp -pR'
21971 elif ln conf$$.file conf$$ 2>/dev/null; then
21972 as_ln_s=ln
21973 else
21974 as_ln_s='cp -pR'
21976 else
21977 as_ln_s='cp -pR'
21979 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21980 rmdir conf$$.dir 2>/dev/null
21983 # as_fn_mkdir_p
21984 # -------------
21985 # Create "$as_dir" as a directory, including parents if necessary.
21986 as_fn_mkdir_p ()
21989 case $as_dir in #(
21990 -*) as_dir=./$as_dir;;
21991 esac
21992 test -d "$as_dir" || eval $as_mkdir_p || {
21993 as_dirs=
21994 while :; do
21995 case $as_dir in #(
21996 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21997 *) as_qdir=$as_dir;;
21998 esac
21999 as_dirs="'$as_qdir' $as_dirs"
22000 as_dir=`$as_dirname -- "$as_dir" ||
22001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22002 X"$as_dir" : 'X\(//\)[^/]' \| \
22003 X"$as_dir" : 'X\(//\)$' \| \
22004 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22005 $as_echo X"$as_dir" |
22006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22007 s//\1/
22010 /^X\(\/\/\)[^/].*/{
22011 s//\1/
22014 /^X\(\/\/\)$/{
22015 s//\1/
22018 /^X\(\/\).*/{
22019 s//\1/
22022 s/.*/./; q'`
22023 test -d "$as_dir" && break
22024 done
22025 test -z "$as_dirs" || eval "mkdir $as_dirs"
22026 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22029 } # as_fn_mkdir_p
22030 if mkdir -p . 2>/dev/null; then
22031 as_mkdir_p='mkdir -p "$as_dir"'
22032 else
22033 test -d ./-p && rmdir ./-p
22034 as_mkdir_p=false
22038 # as_fn_executable_p FILE
22039 # -----------------------
22040 # Test if FILE is an executable regular file.
22041 as_fn_executable_p ()
22043 test -f "$1" && test -x "$1"
22044 } # as_fn_executable_p
22045 as_test_x='test -x'
22046 as_executable_p=as_fn_executable_p
22048 # Sed expression to map a string onto a valid CPP name.
22049 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22051 # Sed expression to map a string onto a valid variable name.
22052 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22055 exec 6>&1
22056 ## ----------------------------------- ##
22057 ## Main body of $CONFIG_STATUS script. ##
22058 ## ----------------------------------- ##
22059 _ASEOF
22060 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22063 # Save the log message, to keep $0 and so on meaningful, and to
22064 # report actual input values of CONFIG_FILES etc. instead of their
22065 # values after options handling.
22066 ac_log="
22067 This file was extended by Wine $as_me 5.11, which was
22068 generated by GNU Autoconf 2.69. Invocation command line was
22070 CONFIG_FILES = $CONFIG_FILES
22071 CONFIG_HEADERS = $CONFIG_HEADERS
22072 CONFIG_LINKS = $CONFIG_LINKS
22073 CONFIG_COMMANDS = $CONFIG_COMMANDS
22074 $ $0 $@
22076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22079 _ACEOF
22081 case $ac_config_files in *"
22082 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22083 esac
22085 case $ac_config_headers in *"
22086 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22087 esac
22090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22091 # Files that config.status was made for.
22092 config_files="$ac_config_files"
22093 config_headers="$ac_config_headers"
22094 config_links="$ac_config_links"
22095 config_commands="$ac_config_commands"
22097 _ACEOF
22099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22100 ac_cs_usage="\
22101 \`$as_me' instantiates files and other configuration actions
22102 from templates according to the current configuration. Unless the files
22103 and actions are specified as TAGs, all are instantiated by default.
22105 Usage: $0 [OPTION]... [TAG]...
22107 -h, --help print this help, then exit
22108 -V, --version print version number and configuration settings, then exit
22109 --config print configuration, then exit
22110 -q, --quiet, --silent
22111 do not print progress messages
22112 -d, --debug don't remove temporary files
22113 --recheck update $as_me by reconfiguring in the same conditions
22114 --file=FILE[:TEMPLATE]
22115 instantiate the configuration file FILE
22116 --header=FILE[:TEMPLATE]
22117 instantiate the configuration header FILE
22119 Configuration files:
22120 $config_files
22122 Configuration headers:
22123 $config_headers
22125 Configuration links:
22126 $config_links
22128 Configuration commands:
22129 $config_commands
22131 Report bugs to <wine-devel@winehq.org>.
22132 Wine home page: <https://www.winehq.org>."
22134 _ACEOF
22135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22136 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22137 ac_cs_version="\\
22138 Wine config.status 5.11
22139 configured by $0, generated by GNU Autoconf 2.69,
22140 with options \\"\$ac_cs_config\\"
22142 Copyright (C) 2012 Free Software Foundation, Inc.
22143 This config.status script is free software; the Free Software Foundation
22144 gives unlimited permission to copy, distribute and modify it."
22146 ac_pwd='$ac_pwd'
22147 srcdir='$srcdir'
22148 test -n "\$AWK" || AWK=awk
22149 _ACEOF
22151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22152 # The default lists apply if the user does not specify any file.
22153 ac_need_defaults=:
22154 while test $# != 0
22156 case $1 in
22157 --*=?*)
22158 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22159 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22160 ac_shift=:
22162 --*=)
22163 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22164 ac_optarg=
22165 ac_shift=:
22168 ac_option=$1
22169 ac_optarg=$2
22170 ac_shift=shift
22172 esac
22174 case $ac_option in
22175 # Handling of the options.
22176 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22177 ac_cs_recheck=: ;;
22178 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22179 $as_echo "$ac_cs_version"; exit ;;
22180 --config | --confi | --conf | --con | --co | --c )
22181 $as_echo "$ac_cs_config"; exit ;;
22182 --debug | --debu | --deb | --de | --d | -d )
22183 debug=: ;;
22184 --file | --fil | --fi | --f )
22185 $ac_shift
22186 case $ac_optarg in
22187 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22188 '') as_fn_error $? "missing file argument" ;;
22189 esac
22190 as_fn_append CONFIG_FILES " '$ac_optarg'"
22191 ac_need_defaults=false;;
22192 --header | --heade | --head | --hea )
22193 $ac_shift
22194 case $ac_optarg in
22195 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22196 esac
22197 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22198 ac_need_defaults=false;;
22199 --he | --h)
22200 # Conflict between --help and --header
22201 as_fn_error $? "ambiguous option: \`$1'
22202 Try \`$0 --help' for more information.";;
22203 --help | --hel | -h )
22204 $as_echo "$ac_cs_usage"; exit ;;
22205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22206 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22207 ac_cs_silent=: ;;
22209 # This is an error.
22210 -*) as_fn_error $? "unrecognized option: \`$1'
22211 Try \`$0 --help' for more information." ;;
22213 *) as_fn_append ac_config_targets " $1"
22214 ac_need_defaults=false ;;
22216 esac
22217 shift
22218 done
22220 ac_configure_extra_args=
22222 if $ac_cs_silent; then
22223 exec 6>/dev/null
22224 ac_configure_extra_args="$ac_configure_extra_args --silent"
22227 _ACEOF
22228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22229 if \$ac_cs_recheck; then
22230 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22231 shift
22232 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22233 CONFIG_SHELL='$SHELL'
22234 export CONFIG_SHELL
22235 exec "\$@"
22238 _ACEOF
22239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22240 exec 5>>config.log
22242 echo
22243 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22244 ## Running $as_me. ##
22245 _ASBOX
22246 $as_echo "$ac_log"
22247 } >&5
22249 _ACEOF
22250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22252 # INIT-COMMANDS
22254 wine_fn_output_makedep ()
22256 as_dir=tools; as_fn_mkdir_p
22257 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22259 wine_fn_output_makefile ()
22261 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22262 `cat $wine_rules_file`
22263 _WINE_EOF
22264 as_fn_error $? "could not create Makefile" "$LINENO" 5
22267 _ACEOF
22269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22271 # Handling of arguments.
22272 for ac_config_target in $ac_config_targets
22274 case $ac_config_target in
22275 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22276 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22277 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22278 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22279 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22280 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22281 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22283 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22284 esac
22285 done
22288 # If the user did not use the arguments to specify the items to instantiate,
22289 # then the envvar interface is used. Set only those that are not.
22290 # We use the long form for the default assignment because of an extremely
22291 # bizarre bug on SunOS 4.1.3.
22292 if $ac_need_defaults; then
22293 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22294 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22295 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22296 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22299 # Have a temporary directory for convenience. Make it in the build tree
22300 # simply because there is no reason against having it here, and in addition,
22301 # creating and moving files from /tmp can sometimes cause problems.
22302 # Hook for its removal unless debugging.
22303 # Note that there is a small window in which the directory will not be cleaned:
22304 # after its creation but before its name has been assigned to `$tmp'.
22305 $debug ||
22307 tmp= ac_tmp=
22308 trap 'exit_status=$?
22309 : "${ac_tmp:=$tmp}"
22310 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22312 trap 'as_fn_exit 1' 1 2 13 15
22314 # Create a (secure) tmp directory for tmp files.
22317 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22318 test -d "$tmp"
22319 } ||
22321 tmp=./conf$$-$RANDOM
22322 (umask 077 && mkdir "$tmp")
22323 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22324 ac_tmp=$tmp
22326 # Set up the scripts for CONFIG_FILES section.
22327 # No need to generate them if there are no CONFIG_FILES.
22328 # This happens for instance with `./config.status config.h'.
22329 if test -n "$CONFIG_FILES"; then
22332 ac_cr=`echo X | tr X '\015'`
22333 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22334 # But we know of no other shell where ac_cr would be empty at this
22335 # point, so we can use a bashism as a fallback.
22336 if test "x$ac_cr" = x; then
22337 eval ac_cr=\$\'\\r\'
22339 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22340 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22341 ac_cs_awk_cr='\\r'
22342 else
22343 ac_cs_awk_cr=$ac_cr
22346 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22347 _ACEOF
22351 echo "cat >conf$$subs.awk <<_ACEOF" &&
22352 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22353 echo "_ACEOF"
22354 } >conf$$subs.sh ||
22355 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22356 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22357 ac_delim='%!_!# '
22358 for ac_last_try in false false false false false :; do
22359 . ./conf$$subs.sh ||
22360 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22362 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22363 if test $ac_delim_n = $ac_delim_num; then
22364 break
22365 elif $ac_last_try; then
22366 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22367 else
22368 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22370 done
22371 rm -f conf$$subs.sh
22373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22374 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22375 _ACEOF
22376 sed -n '
22378 s/^/S["/; s/!.*/"]=/
22381 s/^[^!]*!//
22382 :repl
22383 t repl
22384 s/'"$ac_delim"'$//
22385 t delim
22388 s/\(.\{148\}\)..*/\1/
22389 t more1
22390 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22393 b repl
22394 :more1
22395 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22398 s/.\{148\}//
22399 t nl
22400 :delim
22402 s/\(.\{148\}\)..*/\1/
22403 t more2
22404 s/["\\]/\\&/g; s/^/"/; s/$/"/
22407 :more2
22408 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22411 s/.\{148\}//
22412 t delim
22413 ' <conf$$subs.awk | sed '
22414 /^[^""]/{
22416 s/\n//
22418 ' >>$CONFIG_STATUS || ac_write_fail=1
22419 rm -f conf$$subs.awk
22420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22421 _ACAWK
22422 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22423 for (key in S) S_is_set[key] = 1
22424 FS = "\a"
22428 line = $ 0
22429 nfields = split(line, field, "@")
22430 substed = 0
22431 len = length(field[1])
22432 for (i = 2; i < nfields; i++) {
22433 key = field[i]
22434 keylen = length(key)
22435 if (S_is_set[key]) {
22436 value = S[key]
22437 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22438 len += length(value) + length(field[++i])
22439 substed = 1
22440 } else
22441 len += 1 + keylen
22444 print line
22447 _ACAWK
22448 _ACEOF
22449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22450 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22451 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22452 else
22454 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22455 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22456 _ACEOF
22458 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22459 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22460 # trailing colons and then remove the whole line if VPATH becomes empty
22461 # (actually we leave an empty line to preserve line numbers).
22462 if test "x$srcdir" = x.; then
22463 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22465 s///
22466 s/^/:/
22467 s/[ ]*$/:/
22468 s/:\$(srcdir):/:/g
22469 s/:\${srcdir}:/:/g
22470 s/:@srcdir@:/:/g
22471 s/^:*//
22472 s/:*$//
22474 s/\(=[ ]*\).*/\1/
22476 s/\n//
22477 s/^[^=]*=[ ]*$//
22481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22482 fi # test -n "$CONFIG_FILES"
22484 # Set up the scripts for CONFIG_HEADERS section.
22485 # No need to generate them if there are no CONFIG_HEADERS.
22486 # This happens for instance with `./config.status Makefile'.
22487 if test -n "$CONFIG_HEADERS"; then
22488 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22489 BEGIN {
22490 _ACEOF
22492 # Transform confdefs.h into an awk script `defines.awk', embedded as
22493 # here-document in config.status, that substitutes the proper values into
22494 # config.h.in to produce config.h.
22496 # Create a delimiter string that does not exist in confdefs.h, to ease
22497 # handling of long lines.
22498 ac_delim='%!_!# '
22499 for ac_last_try in false false :; do
22500 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22501 if test -z "$ac_tt"; then
22502 break
22503 elif $ac_last_try; then
22504 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22505 else
22506 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22508 done
22510 # For the awk script, D is an array of macro values keyed by name,
22511 # likewise P contains macro parameters if any. Preserve backslash
22512 # newline sequences.
22514 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22515 sed -n '
22516 s/.\{148\}/&'"$ac_delim"'/g
22517 t rset
22518 :rset
22519 s/^[ ]*#[ ]*define[ ][ ]*/ /
22520 t def
22522 :def
22523 s/\\$//
22524 t bsnl
22525 s/["\\]/\\&/g
22526 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22527 D["\1"]=" \3"/p
22528 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22530 :bsnl
22531 s/["\\]/\\&/g
22532 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22533 D["\1"]=" \3\\\\\\n"\\/p
22534 t cont
22535 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22536 t cont
22538 :cont
22540 s/.\{148\}/&'"$ac_delim"'/g
22541 t clear
22542 :clear
22543 s/\\$//
22544 t bsnlc
22545 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22547 :bsnlc
22548 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22549 b cont
22550 ' <confdefs.h | sed '
22551 s/'"$ac_delim"'/"\\\
22552 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22555 for (key in D) D_is_set[key] = 1
22556 FS = "\a"
22558 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22559 line = \$ 0
22560 split(line, arg, " ")
22561 if (arg[1] == "#") {
22562 defundef = arg[2]
22563 mac1 = arg[3]
22564 } else {
22565 defundef = substr(arg[1], 2)
22566 mac1 = arg[2]
22568 split(mac1, mac2, "(") #)
22569 macro = mac2[1]
22570 prefix = substr(line, 1, index(line, defundef) - 1)
22571 if (D_is_set[macro]) {
22572 # Preserve the white space surrounding the "#".
22573 print prefix "define", macro P[macro] D[macro]
22574 next
22575 } else {
22576 # Replace #undef with comments. This is necessary, for example,
22577 # in the case of _POSIX_SOURCE, which is predefined and required
22578 # on some systems where configure will not decide to define it.
22579 if (defundef == "undef") {
22580 print "/*", prefix defundef, macro, "*/"
22581 next
22585 { print }
22586 _ACAWK
22587 _ACEOF
22588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22589 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22590 fi # test -n "$CONFIG_HEADERS"
22593 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22594 shift
22595 for ac_tag
22597 case $ac_tag in
22598 :[FHLC]) ac_mode=$ac_tag; continue;;
22599 esac
22600 case $ac_mode$ac_tag in
22601 :[FHL]*:*);;
22602 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22603 :[FH]-) ac_tag=-:-;;
22604 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22605 esac
22606 ac_save_IFS=$IFS
22607 IFS=:
22608 set x $ac_tag
22609 IFS=$ac_save_IFS
22610 shift
22611 ac_file=$1
22612 shift
22614 case $ac_mode in
22615 :L) ac_source=$1;;
22616 :[FH])
22617 ac_file_inputs=
22618 for ac_f
22620 case $ac_f in
22621 -) ac_f="$ac_tmp/stdin";;
22622 *) # Look for the file first in the build tree, then in the source tree
22623 # (if the path is not absolute). The absolute path cannot be DOS-style,
22624 # because $ac_f cannot contain `:'.
22625 test -f "$ac_f" ||
22626 case $ac_f in
22627 [\\/$]*) false;;
22628 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22629 esac ||
22630 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22631 esac
22632 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22633 as_fn_append ac_file_inputs " '$ac_f'"
22634 done
22636 # Let's still pretend it is `configure' which instantiates (i.e., don't
22637 # use $as_me), people would be surprised to read:
22638 # /* config.h. Generated by config.status. */
22639 configure_input='Generated from '`
22640 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22641 `' by configure.'
22642 if test x"$ac_file" != x-; then
22643 configure_input="$ac_file. $configure_input"
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22645 $as_echo "$as_me: creating $ac_file" >&6;}
22647 # Neutralize special characters interpreted by sed in replacement strings.
22648 case $configure_input in #(
22649 *\&* | *\|* | *\\* )
22650 ac_sed_conf_input=`$as_echo "$configure_input" |
22651 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22652 *) ac_sed_conf_input=$configure_input;;
22653 esac
22655 case $ac_tag in
22656 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22658 esac
22660 esac
22662 ac_dir=`$as_dirname -- "$ac_file" ||
22663 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22664 X"$ac_file" : 'X\(//\)[^/]' \| \
22665 X"$ac_file" : 'X\(//\)$' \| \
22666 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22667 $as_echo X"$ac_file" |
22668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22669 s//\1/
22672 /^X\(\/\/\)[^/].*/{
22673 s//\1/
22676 /^X\(\/\/\)$/{
22677 s//\1/
22680 /^X\(\/\).*/{
22681 s//\1/
22684 s/.*/./; q'`
22685 as_dir="$ac_dir"; as_fn_mkdir_p
22686 ac_builddir=.
22688 case "$ac_dir" in
22689 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22691 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22692 # A ".." for each directory in $ac_dir_suffix.
22693 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22694 case $ac_top_builddir_sub in
22695 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22696 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22697 esac ;;
22698 esac
22699 ac_abs_top_builddir=$ac_pwd
22700 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22701 # for backward compatibility:
22702 ac_top_builddir=$ac_top_build_prefix
22704 case $srcdir in
22705 .) # We are building in place.
22706 ac_srcdir=.
22707 ac_top_srcdir=$ac_top_builddir_sub
22708 ac_abs_top_srcdir=$ac_pwd ;;
22709 [\\/]* | ?:[\\/]* ) # Absolute name.
22710 ac_srcdir=$srcdir$ac_dir_suffix;
22711 ac_top_srcdir=$srcdir
22712 ac_abs_top_srcdir=$srcdir ;;
22713 *) # Relative name.
22714 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22715 ac_top_srcdir=$ac_top_build_prefix$srcdir
22716 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22717 esac
22718 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22721 case $ac_mode in
22724 # CONFIG_FILE
22727 _ACEOF
22729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22730 # If the template does not know about datarootdir, expand it.
22731 # FIXME: This hack should be removed a few years after 2.60.
22732 ac_datarootdir_hack=; ac_datarootdir_seen=
22733 ac_sed_dataroot='
22734 /datarootdir/ {
22738 /@datadir@/p
22739 /@docdir@/p
22740 /@infodir@/p
22741 /@localedir@/p
22742 /@mandir@/p'
22743 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22744 *datarootdir*) ac_datarootdir_seen=yes;;
22745 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22747 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22748 _ACEOF
22749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22750 ac_datarootdir_hack='
22751 s&@datadir@&$datadir&g
22752 s&@docdir@&$docdir&g
22753 s&@infodir@&$infodir&g
22754 s&@localedir@&$localedir&g
22755 s&@mandir@&$mandir&g
22756 s&\\\${datarootdir}&$datarootdir&g' ;;
22757 esac
22758 _ACEOF
22760 # Neutralize VPATH when `$srcdir' = `.'.
22761 # Shell code in configure.ac might set extrasub.
22762 # FIXME: do we really want to maintain this feature?
22763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22764 ac_sed_extra="$ac_vpsub
22765 $extrasub
22766 _ACEOF
22767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22769 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22770 s|@configure_input@|$ac_sed_conf_input|;t t
22771 s&@top_builddir@&$ac_top_builddir_sub&;t t
22772 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22773 s&@srcdir@&$ac_srcdir&;t t
22774 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22775 s&@top_srcdir@&$ac_top_srcdir&;t t
22776 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22777 s&@builddir@&$ac_builddir&;t t
22778 s&@abs_builddir@&$ac_abs_builddir&;t t
22779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22780 $ac_datarootdir_hack
22782 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22783 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22785 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22786 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22787 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22788 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22790 which seems to be undefined. Please make sure it is defined" >&5
22791 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22792 which seems to be undefined. Please make sure it is defined" >&2;}
22794 rm -f "$ac_tmp/stdin"
22795 case $ac_file in
22796 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22797 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22798 esac \
22799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22803 # CONFIG_HEADER
22805 if test x"$ac_file" != x-; then
22807 $as_echo "/* $configure_input */" \
22808 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22809 } >"$ac_tmp/config.h" \
22810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22811 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22813 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22814 else
22815 rm -f "$ac_file"
22816 mv "$ac_tmp/config.h" "$ac_file" \
22817 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22819 else
22820 $as_echo "/* $configure_input */" \
22821 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22822 || as_fn_error $? "could not create -" "$LINENO" 5
22827 # CONFIG_LINK
22830 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22832 else
22833 # Prefer the file from the source tree if names are identical.
22834 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22835 ac_source=$srcdir/$ac_source
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22839 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22841 if test ! -r "$ac_source"; then
22842 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22844 rm -f "$ac_file"
22846 # Try a relative symlink, then a hard link, then a copy.
22847 case $ac_source in
22848 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22849 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22850 esac
22851 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22852 ln "$ac_source" "$ac_file" 2>/dev/null ||
22853 cp -p "$ac_source" "$ac_file" ||
22854 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22857 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22858 $as_echo "$as_me: executing $ac_file commands" >&6;}
22860 esac
22863 case $ac_file$ac_mode in
22864 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22865 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22866 "Makefile":C) wine_fn_output_makefile Makefile ;;
22868 esac
22869 done # for ac_tag
22872 as_fn_exit 0
22873 _ACEOF
22874 ac_clean_files=$ac_clean_files_save
22876 test $ac_write_fail = 0 ||
22877 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22880 # configure is writing to config.log, and then calls config.status.
22881 # config.status does its own redirection, appending to config.log.
22882 # Unfortunately, on DOS this fails, as config.log is still kept open
22883 # by configure, so config.status won't be able to write to it; its
22884 # output is simply discarded. So we exec the FD to /dev/null,
22885 # effectively closing config.log, so it can be properly (re)opened and
22886 # appended to by config.status. When coming back to configure, we
22887 # need to make the FD available again.
22888 if test "$no_create" != yes; then
22889 ac_cs_success=:
22890 ac_config_status_args=
22891 test "$silent" = yes &&
22892 ac_config_status_args="$ac_config_status_args --quiet"
22893 exec 5>/dev/null
22894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22895 exec 5>>config.log
22896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22897 # would make configure fail if this is the last instruction.
22898 $ac_cs_success || as_fn_exit 1
22900 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22902 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22906 if test "$no_create" = "yes"
22907 then
22908 exit 0
22911 ac_save_IFS="$IFS"
22912 if test "x$wine_notices" != x; then
22913 echo >&6
22914 IFS="|"
22915 for msg in $wine_notices; do
22916 IFS="$ac_save_IFS"
22917 if ${msg:+false} :; then :
22919 else
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22921 $as_echo "$as_me: $msg" >&6;}
22923 done
22925 IFS="|"
22926 for msg in $wine_warnings; do
22927 IFS="$ac_save_IFS"
22928 if ${msg:+false} :; then :
22930 else
22931 echo >&2
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22933 $as_echo "$as_me: WARNING: $msg" >&2;}
22935 done
22936 IFS="$ac_save_IFS"
22938 $as_echo "
22939 $as_me: Finished. Do '${ac_make}' to compile Wine.
22940 " >&6