Release 5.13.
[wine/zf.git] / configure
blob31b745cadaaa0917c72476eb2fe1ce02177a208f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.13.
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.13'
584 PACKAGE_STRING='Wine 5.13'
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_systemtopology_l1_1_0
1034 enable_api_ms_win_core_threadpool_l1_1_0
1035 enable_api_ms_win_core_threadpool_l1_2_0
1036 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1037 enable_api_ms_win_core_threadpool_private_l1_1_0
1038 enable_api_ms_win_core_timezone_l1_1_0
1039 enable_api_ms_win_core_toolhelp_l1_1_0
1040 enable_api_ms_win_core_url_l1_1_0
1041 enable_api_ms_win_core_util_l1_1_0
1042 enable_api_ms_win_core_version_l1_1_0
1043 enable_api_ms_win_core_version_l1_1_1
1044 enable_api_ms_win_core_version_private_l1_1_0
1045 enable_api_ms_win_core_versionansi_l1_1_0
1046 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1047 enable_api_ms_win_core_winrt_error_l1_1_0
1048 enable_api_ms_win_core_winrt_error_l1_1_1
1049 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1050 enable_api_ms_win_core_winrt_l1_1_0
1051 enable_api_ms_win_core_winrt_registration_l1_1_0
1052 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1053 enable_api_ms_win_core_winrt_string_l1_1_0
1054 enable_api_ms_win_core_winrt_string_l1_1_1
1055 enable_api_ms_win_core_wow64_l1_1_0
1056 enable_api_ms_win_core_wow64_l1_1_1
1057 enable_api_ms_win_core_xstate_l1_1_0
1058 enable_api_ms_win_core_xstate_l2_1_0
1059 enable_api_ms_win_crt_conio_l1_1_0
1060 enable_api_ms_win_crt_convert_l1_1_0
1061 enable_api_ms_win_crt_environment_l1_1_0
1062 enable_api_ms_win_crt_filesystem_l1_1_0
1063 enable_api_ms_win_crt_heap_l1_1_0
1064 enable_api_ms_win_crt_locale_l1_1_0
1065 enable_api_ms_win_crt_math_l1_1_0
1066 enable_api_ms_win_crt_multibyte_l1_1_0
1067 enable_api_ms_win_crt_private_l1_1_0
1068 enable_api_ms_win_crt_process_l1_1_0
1069 enable_api_ms_win_crt_runtime_l1_1_0
1070 enable_api_ms_win_crt_stdio_l1_1_0
1071 enable_api_ms_win_crt_string_l1_1_0
1072 enable_api_ms_win_crt_time_l1_1_0
1073 enable_api_ms_win_crt_utility_l1_1_0
1074 enable_api_ms_win_devices_config_l1_1_0
1075 enable_api_ms_win_devices_config_l1_1_1
1076 enable_api_ms_win_devices_query_l1_1_1
1077 enable_api_ms_win_downlevel_advapi32_l1_1_0
1078 enable_api_ms_win_downlevel_advapi32_l2_1_0
1079 enable_api_ms_win_downlevel_kernel32_l2_1_0
1080 enable_api_ms_win_downlevel_normaliz_l1_1_0
1081 enable_api_ms_win_downlevel_ole32_l1_1_0
1082 enable_api_ms_win_downlevel_shell32_l1_1_0
1083 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1084 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1085 enable_api_ms_win_downlevel_user32_l1_1_0
1086 enable_api_ms_win_downlevel_version_l1_1_0
1087 enable_api_ms_win_dx_d3dkmt_l1_1_0
1088 enable_api_ms_win_eventing_classicprovider_l1_1_0
1089 enable_api_ms_win_eventing_consumer_l1_1_0
1090 enable_api_ms_win_eventing_controller_l1_1_0
1091 enable_api_ms_win_eventing_legacy_l1_1_0
1092 enable_api_ms_win_eventing_provider_l1_1_0
1093 enable_api_ms_win_eventlog_legacy_l1_1_0
1094 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1095 enable_api_ms_win_mm_joystick_l1_1_0
1096 enable_api_ms_win_mm_misc_l1_1_1
1097 enable_api_ms_win_mm_mme_l1_1_0
1098 enable_api_ms_win_mm_time_l1_1_0
1099 enable_api_ms_win_ntuser_dc_access_l1_1_0
1100 enable_api_ms_win_ntuser_rectangle_l1_1_0
1101 enable_api_ms_win_ntuser_sysparams_l1_1_0
1102 enable_api_ms_win_perf_legacy_l1_1_0
1103 enable_api_ms_win_power_base_l1_1_0
1104 enable_api_ms_win_power_setting_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1106 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1108 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1112 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1113 enable_api_ms_win_security_audit_l1_1_1
1114 enable_api_ms_win_security_base_l1_1_0
1115 enable_api_ms_win_security_base_l1_2_0
1116 enable_api_ms_win_security_base_private_l1_1_1
1117 enable_api_ms_win_security_credentials_l1_1_0
1118 enable_api_ms_win_security_cryptoapi_l1_1_0
1119 enable_api_ms_win_security_grouppolicy_l1_1_0
1120 enable_api_ms_win_security_lsalookup_l1_1_0
1121 enable_api_ms_win_security_lsalookup_l1_1_1
1122 enable_api_ms_win_security_lsalookup_l2_1_0
1123 enable_api_ms_win_security_lsalookup_l2_1_1
1124 enable_api_ms_win_security_lsapolicy_l1_1_0
1125 enable_api_ms_win_security_provider_l1_1_0
1126 enable_api_ms_win_security_sddl_l1_1_0
1127 enable_api_ms_win_security_systemfunctions_l1_1_0
1128 enable_api_ms_win_service_core_l1_1_0
1129 enable_api_ms_win_service_core_l1_1_1
1130 enable_api_ms_win_service_management_l1_1_0
1131 enable_api_ms_win_service_management_l2_1_0
1132 enable_api_ms_win_service_private_l1_1_1
1133 enable_api_ms_win_service_winsvc_l1_1_0
1134 enable_api_ms_win_service_winsvc_l1_2_0
1135 enable_api_ms_win_shcore_obsolete_l1_1_0
1136 enable_api_ms_win_shcore_scaling_l1_1_1
1137 enable_api_ms_win_shcore_stream_l1_1_0
1138 enable_api_ms_win_shcore_thread_l1_1_0
1139 enable_api_ms_win_shell_shellcom_l1_1_0
1140 enable_api_ms_win_shell_shellfolders_l1_1_0
1141 enable_apphelp
1142 enable_appwiz_cpl
1143 enable_atl
1144 enable_atl100
1145 enable_atl110
1146 enable_atl80
1147 enable_atl90
1148 enable_atlthunk
1149 enable_atmlib
1150 enable_authz
1151 enable_avicap32
1152 enable_avifil32
1153 enable_avrt
1154 enable_bcrypt
1155 enable_bluetoothapis
1156 enable_browseui
1157 enable_bthprops_cpl
1158 enable_cabinet
1159 enable_capi2032
1160 enable_cards
1161 enable_cdosys
1162 enable_cfgmgr32
1163 enable_clusapi
1164 enable_combase
1165 enable_comcat
1166 enable_comctl32
1167 enable_comdlg32
1168 enable_compstui
1169 enable_comsvcs
1170 enable_concrt140
1171 enable_connect
1172 enable_credui
1173 enable_crtdll
1174 enable_crypt32
1175 enable_cryptdlg
1176 enable_cryptdll
1177 enable_cryptext
1178 enable_cryptnet
1179 enable_cryptui
1180 enable_ctapi32
1181 enable_ctl3d32
1182 enable_d2d1
1183 enable_d3d10
1184 enable_d3d10_1
1185 enable_d3d10core
1186 enable_d3d11
1187 enable_d3d12
1188 enable_d3d8
1189 enable_d3d9
1190 enable_d3dcompiler_33
1191 enable_d3dcompiler_34
1192 enable_d3dcompiler_35
1193 enable_d3dcompiler_36
1194 enable_d3dcompiler_37
1195 enable_d3dcompiler_38
1196 enable_d3dcompiler_39
1197 enable_d3dcompiler_40
1198 enable_d3dcompiler_41
1199 enable_d3dcompiler_42
1200 enable_d3dcompiler_43
1201 enable_d3dcompiler_46
1202 enable_d3dcompiler_47
1203 enable_d3dim
1204 enable_d3drm
1205 enable_d3dx10_33
1206 enable_d3dx10_34
1207 enable_d3dx10_35
1208 enable_d3dx10_36
1209 enable_d3dx10_37
1210 enable_d3dx10_38
1211 enable_d3dx10_39
1212 enable_d3dx10_40
1213 enable_d3dx10_41
1214 enable_d3dx10_42
1215 enable_d3dx10_43
1216 enable_d3dx11_42
1217 enable_d3dx11_43
1218 enable_d3dx9_24
1219 enable_d3dx9_25
1220 enable_d3dx9_26
1221 enable_d3dx9_27
1222 enable_d3dx9_28
1223 enable_d3dx9_29
1224 enable_d3dx9_30
1225 enable_d3dx9_31
1226 enable_d3dx9_32
1227 enable_d3dx9_33
1228 enable_d3dx9_34
1229 enable_d3dx9_35
1230 enable_d3dx9_36
1231 enable_d3dx9_37
1232 enable_d3dx9_38
1233 enable_d3dx9_39
1234 enable_d3dx9_40
1235 enable_d3dx9_41
1236 enable_d3dx9_42
1237 enable_d3dx9_43
1238 enable_d3dxof
1239 enable_davclnt
1240 enable_dbgeng
1241 enable_dbghelp
1242 enable_dciman32
1243 enable_ddraw
1244 enable_ddrawex
1245 enable_devenum
1246 enable_dhcpcsvc
1247 enable_dhtmled_ocx
1248 enable_difxapi
1249 enable_dinput
1250 enable_dinput8
1251 enable_directmanipulation
1252 enable_dispex
1253 enable_dmband
1254 enable_dmcompos
1255 enable_dmime
1256 enable_dmloader
1257 enable_dmoguids
1258 enable_dmscript
1259 enable_dmstyle
1260 enable_dmsynth
1261 enable_dmusic
1262 enable_dmusic32
1263 enable_dnsapi
1264 enable_dplay
1265 enable_dplayx
1266 enable_dpnaddr
1267 enable_dpnet
1268 enable_dpnhpast
1269 enable_dpnlobby
1270 enable_dpvoice
1271 enable_dpwsockx
1272 enable_drmclien
1273 enable_dsdmo
1274 enable_dsound
1275 enable_dsquery
1276 enable_dssenh
1277 enable_dsuiext
1278 enable_dswave
1279 enable_dwmapi
1280 enable_dwrite
1281 enable_dx8vb
1282 enable_dxdiagn
1283 enable_dxerr8
1284 enable_dxerr9
1285 enable_dxgi
1286 enable_dxguid
1287 enable_dxva2
1288 enable_esent
1289 enable_evr
1290 enable_explorerframe
1291 enable_ext_ms_win_authz_context_l1_1_0
1292 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1293 enable_ext_ms_win_dwmapi_ext_l1_1_0
1294 enable_ext_ms_win_gdi_dc_create_l1_1_0
1295 enable_ext_ms_win_gdi_dc_create_l1_1_1
1296 enable_ext_ms_win_gdi_dc_l1_2_0
1297 enable_ext_ms_win_gdi_devcaps_l1_1_0
1298 enable_ext_ms_win_gdi_draw_l1_1_0
1299 enable_ext_ms_win_gdi_draw_l1_1_1
1300 enable_ext_ms_win_gdi_font_l1_1_0
1301 enable_ext_ms_win_gdi_font_l1_1_1
1302 enable_ext_ms_win_gdi_render_l1_1_0
1303 enable_ext_ms_win_kernel32_package_current_l1_1_0
1304 enable_ext_ms_win_kernel32_package_l1_1_1
1305 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1306 enable_ext_ms_win_ntuser_draw_l1_1_0
1307 enable_ext_ms_win_ntuser_gui_l1_1_0
1308 enable_ext_ms_win_ntuser_gui_l1_3_0
1309 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1310 enable_ext_ms_win_ntuser_message_l1_1_0
1311 enable_ext_ms_win_ntuser_message_l1_1_1
1312 enable_ext_ms_win_ntuser_misc_l1_1_0
1313 enable_ext_ms_win_ntuser_misc_l1_2_0
1314 enable_ext_ms_win_ntuser_misc_l1_5_1
1315 enable_ext_ms_win_ntuser_mouse_l1_1_0
1316 enable_ext_ms_win_ntuser_private_l1_1_1
1317 enable_ext_ms_win_ntuser_private_l1_3_1
1318 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1319 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1320 enable_ext_ms_win_ntuser_window_l1_1_0
1321 enable_ext_ms_win_ntuser_window_l1_1_1
1322 enable_ext_ms_win_ntuser_window_l1_1_4
1323 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1324 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1325 enable_ext_ms_win_oleacc_l1_1_0
1326 enable_ext_ms_win_ras_rasapi32_l1_1_0
1327 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1328 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1329 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1330 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1331 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1332 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1334 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1337 enable_ext_ms_win_security_credui_l1_1_0
1338 enable_ext_ms_win_security_cryptui_l1_1_0
1339 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1340 enable_ext_ms_win_shell_comdlg32_l1_1_0
1341 enable_ext_ms_win_shell_shell32_l1_2_0
1342 enable_ext_ms_win_uxtheme_themes_l1_1_0
1343 enable_faultrep
1344 enable_feclient
1345 enable_fltlib
1346 enable_fltmgr_sys
1347 enable_fntcache
1348 enable_fontsub
1349 enable_fusion
1350 enable_fwpuclnt
1351 enable_gameux
1352 enable_gdi32
1353 enable_gdiplus
1354 enable_glu32
1355 enable_gphoto2_ds
1356 enable_gpkcsp
1357 enable_hal
1358 enable_hhctrl_ocx
1359 enable_hid
1360 enable_hidclass_sys
1361 enable_hlink
1362 enable_hnetcfg
1363 enable_http_sys
1364 enable_httpapi
1365 enable_iccvid
1366 enable_icmp
1367 enable_ieframe
1368 enable_ieproxy
1369 enable_imaadp32_acm
1370 enable_imagehlp
1371 enable_imm32
1372 enable_inetcomm
1373 enable_inetcpl_cpl
1374 enable_inetmib1
1375 enable_infosoft
1376 enable_initpki
1377 enable_inkobj
1378 enable_inseng
1379 enable_iphlpapi
1380 enable_iprop
1381 enable_irprops_cpl
1382 enable_itircl
1383 enable_itss
1384 enable_joy_cpl
1385 enable_jscript
1386 enable_jsproxy
1387 enable_kerberos
1388 enable_kernel32
1389 enable_kernelbase
1390 enable_ksecdd_sys
1391 enable_ksproxy_ax
1392 enable_ksuser
1393 enable_ktmw32
1394 enable_l3codeca_acm
1395 enable_loadperf
1396 enable_localspl
1397 enable_localui
1398 enable_lz32
1399 enable_mapi32
1400 enable_mapistub
1401 enable_mciavi32
1402 enable_mcicda
1403 enable_mciqtz32
1404 enable_mciseq
1405 enable_mciwave
1406 enable_mf
1407 enable_mf3216
1408 enable_mferror
1409 enable_mfmediaengine
1410 enable_mfplat
1411 enable_mfplay
1412 enable_mfreadwrite
1413 enable_mfuuid
1414 enable_mgmtapi
1415 enable_midimap
1416 enable_mlang
1417 enable_mmcndmgr
1418 enable_mmdevapi
1419 enable_mountmgr_sys
1420 enable_mp3dmod
1421 enable_mpr
1422 enable_mprapi
1423 enable_msacm32_drv
1424 enable_msacm32
1425 enable_msado15
1426 enable_msadp32_acm
1427 enable_msasn1
1428 enable_mscat32
1429 enable_mscms
1430 enable_mscoree
1431 enable_mscorwks
1432 enable_msctf
1433 enable_msctfp
1434 enable_msdaps
1435 enable_msdelta
1436 enable_msdmo
1437 enable_msdrm
1438 enable_msftedit
1439 enable_msg711_acm
1440 enable_msgsm32_acm
1441 enable_mshtml_tlb
1442 enable_mshtml
1443 enable_msi
1444 enable_msident
1445 enable_msimg32
1446 enable_msimsg
1447 enable_msimtf
1448 enable_msisip
1449 enable_msisys_ocx
1450 enable_msls31
1451 enable_msnet32
1452 enable_mspatcha
1453 enable_msports
1454 enable_msrle32
1455 enable_msscript_ocx
1456 enable_mssign32
1457 enable_mssip32
1458 enable_mstask
1459 enable_msvcirt
1460 enable_msvcm80
1461 enable_msvcm90
1462 enable_msvcp100
1463 enable_msvcp110
1464 enable_msvcp120
1465 enable_msvcp120_app
1466 enable_msvcp140
1467 enable_msvcp60
1468 enable_msvcp70
1469 enable_msvcp71
1470 enable_msvcp80
1471 enable_msvcp90
1472 enable_msvcr100
1473 enable_msvcr110
1474 enable_msvcr120
1475 enable_msvcr120_app
1476 enable_msvcr70
1477 enable_msvcr71
1478 enable_msvcr80
1479 enable_msvcr90
1480 enable_msvcrt
1481 enable_msvcrt20
1482 enable_msvcrt40
1483 enable_msvcrtd
1484 enable_msvfw32
1485 enable_msvidc32
1486 enable_mswsock
1487 enable_msxml
1488 enable_msxml2
1489 enable_msxml3
1490 enable_msxml4
1491 enable_msxml6
1492 enable_mtxdm
1493 enable_ncrypt
1494 enable_nddeapi
1495 enable_ndis_sys
1496 enable_netapi32
1497 enable_netcfgx
1498 enable_netio_sys
1499 enable_netprofm
1500 enable_newdev
1501 enable_ninput
1502 enable_normaliz
1503 enable_npmshtml
1504 enable_npptools
1505 enable_ntdll
1506 enable_ntdsapi
1507 enable_ntoskrnl_exe
1508 enable_ntprint
1509 enable_objsel
1510 enable_odbc32
1511 enable_odbcbcp
1512 enable_odbccp32
1513 enable_odbccu32
1514 enable_ole32
1515 enable_oleacc
1516 enable_oleaut32
1517 enable_olecli32
1518 enable_oledb32
1519 enable_oledlg
1520 enable_olepro32
1521 enable_olesvr32
1522 enable_olethk32
1523 enable_opcservices
1524 enable_openal32
1525 enable_opencl
1526 enable_opengl32
1527 enable_packager
1528 enable_pdh
1529 enable_photometadatahandler
1530 enable_pidgen
1531 enable_powrprof
1532 enable_printui
1533 enable_prntvpt
1534 enable_propsys
1535 enable_psapi
1536 enable_pstorec
1537 enable_pwrshplugin
1538 enable_qasf
1539 enable_qcap
1540 enable_qdvd
1541 enable_qedit
1542 enable_qmgr
1543 enable_qmgrprxy
1544 enable_quartz
1545 enable_query
1546 enable_qwave
1547 enable_rasapi32
1548 enable_rasdlg
1549 enable_regapi
1550 enable_resutils
1551 enable_riched20
1552 enable_riched32
1553 enable_rpcrt4
1554 enable_rsabase
1555 enable_rsaenh
1556 enable_rstrtmgr
1557 enable_rtutils
1558 enable_rtworkq
1559 enable_samlib
1560 enable_sane_ds
1561 enable_sapi
1562 enable_sas
1563 enable_scarddlg
1564 enable_sccbase
1565 enable_schannel
1566 enable_schedsvc
1567 enable_scrobj
1568 enable_scrrun
1569 enable_scsiport_sys
1570 enable_sechost
1571 enable_secur32
1572 enable_security
1573 enable_sensapi
1574 enable_serialui
1575 enable_setupapi
1576 enable_sfc
1577 enable_sfc_os
1578 enable_shcore
1579 enable_shdoclc
1580 enable_shdocvw
1581 enable_shell32
1582 enable_shfolder
1583 enable_shlwapi
1584 enable_slbcsp
1585 enable_slc
1586 enable_snmpapi
1587 enable_softpub
1588 enable_spoolss
1589 enable_srclient
1590 enable_sspicli
1591 enable_stdole2_tlb
1592 enable_stdole32_tlb
1593 enable_sti
1594 enable_strmbase
1595 enable_strmdll
1596 enable_strmiids
1597 enable_svrapi
1598 enable_sxs
1599 enable_t2embed
1600 enable_tapi32
1601 enable_taskschd
1602 enable_tdh
1603 enable_tdi_sys
1604 enable_traffic
1605 enable_twain_32
1606 enable_tzres
1607 enable_ucrtbase
1608 enable_uianimation
1609 enable_uiautomationcore
1610 enable_uiribbon
1611 enable_unicows
1612 enable_updspapi
1613 enable_url
1614 enable_urlmon
1615 enable_usbd_sys
1616 enable_user32
1617 enable_userenv
1618 enable_usp10
1619 enable_utildll
1620 enable_uuid
1621 enable_uxtheme
1622 enable_vbscript
1623 enable_vcomp
1624 enable_vcomp100
1625 enable_vcomp110
1626 enable_vcomp120
1627 enable_vcomp140
1628 enable_vcomp90
1629 enable_vcruntime140
1630 enable_vcruntime140_1
1631 enable_vdmdbg
1632 enable_version
1633 enable_vga
1634 enable_virtdisk
1635 enable_vssapi
1636 enable_vulkan_1
1637 enable_wbemdisp
1638 enable_wbemprox
1639 enable_wbemuuid
1640 enable_wdscore
1641 enable_webservices
1642 enable_wer
1643 enable_wevtapi
1644 enable_wiaservc
1645 enable_wimgapi
1646 enable_windowscodecs
1647 enable_windowscodecsext
1648 enable_winealsa_drv
1649 enable_wineandroid_drv
1650 enable_winebus_sys
1651 enable_winecoreaudio_drv
1652 enable_winecrt0
1653 enable_wined3d
1654 enable_winegstreamer
1655 enable_winehid_sys
1656 enable_winejoystick_drv
1657 enable_winemac_drv
1658 enable_winemapi
1659 enable_wineoss_drv
1660 enable_wineps_drv
1661 enable_winepulse_drv
1662 enable_wineqtdecoder
1663 enable_wineusb_sys
1664 enable_winevulkan
1665 enable_winex11_drv
1666 enable_wing32
1667 enable_winhttp
1668 enable_wininet
1669 enable_winmm
1670 enable_winnls32
1671 enable_winscard
1672 enable_winspool_drv
1673 enable_winsta
1674 enable_wintab32
1675 enable_wintrust
1676 enable_winusb
1677 enable_wlanapi
1678 enable_wlanui
1679 enable_wldap32
1680 enable_wmasf
1681 enable_wmcodecdspuuid
1682 enable_wmi
1683 enable_wmiutils
1684 enable_wmp
1685 enable_wmphoto
1686 enable_wmvcore
1687 enable_wnaspi32
1688 enable_wpc
1689 enable_wpcap
1690 enable_ws2_32
1691 enable_wsdapi
1692 enable_wshom_ocx
1693 enable_wsnmp32
1694 enable_wsock32
1695 enable_wtsapi32
1696 enable_wuapi
1697 enable_wuaueng
1698 enable_x3daudio1_0
1699 enable_x3daudio1_1
1700 enable_x3daudio1_2
1701 enable_x3daudio1_3
1702 enable_x3daudio1_4
1703 enable_x3daudio1_5
1704 enable_x3daudio1_6
1705 enable_x3daudio1_7
1706 enable_xapofx1_1
1707 enable_xapofx1_2
1708 enable_xapofx1_3
1709 enable_xapofx1_4
1710 enable_xapofx1_5
1711 enable_xaudio2_0
1712 enable_xaudio2_1
1713 enable_xaudio2_2
1714 enable_xaudio2_3
1715 enable_xaudio2_4
1716 enable_xaudio2_5
1717 enable_xaudio2_6
1718 enable_xaudio2_7
1719 enable_xaudio2_8
1720 enable_xaudio2_9
1721 enable_xinput1_1
1722 enable_xinput1_2
1723 enable_xinput1_3
1724 enable_xinput1_4
1725 enable_xinput9_1_0
1726 enable_xmllite
1727 enable_xolehlp
1728 enable_xpsprint
1729 enable_xpssvcs
1730 enable_fonts
1731 enable_include
1732 enable_port
1733 enable_wine
1734 enable_wpp
1735 enable_loader
1736 enable_nls
1737 enable_po
1738 enable_arp
1739 enable_aspnet_regiis
1740 enable_attrib
1741 enable_cabarc
1742 enable_cacls
1743 enable_chcp_com
1744 enable_clock
1745 enable_cmd
1746 enable_conhost
1747 enable_control
1748 enable_cscript
1749 enable_dism
1750 enable_dpnsvr
1751 enable_dxdiag
1752 enable_eject
1753 enable_expand
1754 enable_explorer
1755 enable_extrac32
1756 enable_fc
1757 enable_find
1758 enable_findstr
1759 enable_fsutil
1760 enable_hh
1761 enable_hostname
1762 enable_icacls
1763 enable_icinfo
1764 enable_iexplore
1765 enable_ipconfig
1766 enable_lodctr
1767 enable_mofcomp
1768 enable_mshta
1769 enable_msidb
1770 enable_msiexec
1771 enable_msinfo32
1772 enable_net
1773 enable_netsh
1774 enable_netstat
1775 enable_ngen
1776 enable_notepad
1777 enable_oleview
1778 enable_ping
1779 enable_plugplay
1780 enable_powershell
1781 enable_presentationfontcache
1782 enable_progman
1783 enable_reg
1784 enable_regasm
1785 enable_regedit
1786 enable_regini
1787 enable_regsvcs
1788 enable_regsvr32
1789 enable_rpcss
1790 enable_rundll32
1791 enable_sc
1792 enable_schtasks
1793 enable_sdbinst
1794 enable_secedit
1795 enable_servicemodelreg
1796 enable_services
1797 enable_shutdown
1798 enable_spoolsv
1799 enable_start
1800 enable_subst
1801 enable_svchost
1802 enable_systeminfo
1803 enable_taskkill
1804 enable_tasklist
1805 enable_taskmgr
1806 enable_termsv
1807 enable_uninstaller
1808 enable_unlodctr
1809 enable_view
1810 enable_wevtutil
1811 enable_where
1812 enable_whoami
1813 enable_wineboot
1814 enable_winebrowser
1815 enable_winecfg
1816 enable_wineconsole
1817 enable_winedbg
1818 enable_winedevice
1819 enable_winefile
1820 enable_winemenubuilder
1821 enable_winemine
1822 enable_winemsibuilder
1823 enable_winepath
1824 enable_winetest
1825 enable_winhlp32
1826 enable_winmgmt
1827 enable_winver
1828 enable_wmic
1829 enable_wmplayer
1830 enable_wordpad
1831 enable_write
1832 enable_wscript
1833 enable_wuauserv
1834 enable_wusa
1835 enable_xcopy
1836 enable_server
1837 enable_tools
1838 enable_sfnt2fon
1839 enable_widl
1840 enable_winebuild
1841 enable_winedump
1842 enable_winegcc
1843 enable_winemaker
1844 enable_wmc
1845 enable_wrc
1847 ac_precious_vars='build_alias
1848 host_alias
1849 target_alias
1851 CFLAGS
1852 LDFLAGS
1853 LIBS
1854 CPPFLAGS
1856 CXXFLAGS
1859 OBJC
1860 OBJCFLAGS
1861 OBJCPP
1862 XMKMF
1863 XML2_CFLAGS
1864 XML2_LIBS
1865 XSLT_CFLAGS
1866 XSLT_LIBS
1867 INOTIFY_CFLAGS
1868 INOTIFY_LIBS
1869 DBUS_CFLAGS
1870 DBUS_LIBS
1871 HAL_CFLAGS
1872 HAL_LIBS
1873 GNUTLS_CFLAGS
1874 GNUTLS_LIBS
1875 SANE_CFLAGS
1876 SANE_LIBS
1877 USB_CFLAGS
1878 USB_LIBS
1879 GPHOTO2_CFLAGS
1880 GPHOTO2_LIBS
1881 GPHOTO2_PORT_CFLAGS
1882 GPHOTO2_PORT_LIBS
1883 LCMS2_CFLAGS
1884 LCMS2_LIBS
1885 FREETYPE_CFLAGS
1886 FREETYPE_LIBS
1887 PULSE_CFLAGS
1888 PULSE_LIBS
1889 GSTREAMER_CFLAGS
1890 GSTREAMER_LIBS
1891 UDEV_CFLAGS
1892 UDEV_LIBS
1893 UNWIND_CFLAGS
1894 UNWIND_LIBS
1895 SDL2_CFLAGS
1896 SDL2_LIBS
1897 FAUDIO_CFLAGS
1898 FAUDIO_LIBS
1899 CAPI20_CFLAGS
1900 CAPI20_LIBS
1901 CUPS_CFLAGS
1902 CUPS_LIBS
1903 FONTCONFIG_CFLAGS
1904 FONTCONFIG_LIBS
1905 KRB5_CFLAGS
1906 KRB5_LIBS
1907 GSSAPI_CFLAGS
1908 GSSAPI_LIBS
1909 JPEG_CFLAGS
1910 JPEG_LIBS
1911 PNG_CFLAGS
1912 PNG_LIBS
1913 TIFF_CFLAGS
1914 TIFF_LIBS
1915 MPG123_CFLAGS
1916 MPG123_LIBS
1917 NETAPI_CFLAGS
1918 NETAPI_LIBS
1919 VKD3D_CFLAGS
1920 VKD3D_LIBS
1921 LDAP_CFLAGS
1922 LDAP_LIBS'
1925 # Initialize some variables set by options.
1926 ac_init_help=
1927 ac_init_version=false
1928 ac_unrecognized_opts=
1929 ac_unrecognized_sep=
1930 # The variables have the same names as the options, with
1931 # dashes changed to underlines.
1932 cache_file=/dev/null
1933 exec_prefix=NONE
1934 no_create=
1935 no_recursion=
1936 prefix=NONE
1937 program_prefix=NONE
1938 program_suffix=NONE
1939 program_transform_name=s,x,x,
1940 silent=
1941 site=
1942 srcdir=
1943 verbose=
1944 x_includes=NONE
1945 x_libraries=NONE
1947 # Installation directory options.
1948 # These are left unexpanded so users can "make install exec_prefix=/foo"
1949 # and all the variables that are supposed to be based on exec_prefix
1950 # by default will actually change.
1951 # Use braces instead of parens because sh, perl, etc. also accept them.
1952 # (The list follows the same order as the GNU Coding Standards.)
1953 bindir='${exec_prefix}/bin'
1954 sbindir='${exec_prefix}/sbin'
1955 libexecdir='${exec_prefix}/libexec'
1956 datarootdir='${prefix}/share'
1957 datadir='${datarootdir}'
1958 sysconfdir='${prefix}/etc'
1959 sharedstatedir='${prefix}/com'
1960 localstatedir='${prefix}/var'
1961 runstatedir='${localstatedir}/run'
1962 includedir='${prefix}/include'
1963 oldincludedir='/usr/include'
1964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1965 infodir='${datarootdir}/info'
1966 htmldir='${docdir}'
1967 dvidir='${docdir}'
1968 pdfdir='${docdir}'
1969 psdir='${docdir}'
1970 libdir='${exec_prefix}/lib'
1971 localedir='${datarootdir}/locale'
1972 mandir='${datarootdir}/man'
1974 ac_prev=
1975 ac_dashdash=
1976 for ac_option
1978 # If the previous option needs an argument, assign it.
1979 if test -n "$ac_prev"; then
1980 eval $ac_prev=\$ac_option
1981 ac_prev=
1982 continue
1985 case $ac_option in
1986 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1987 *=) ac_optarg= ;;
1988 *) ac_optarg=yes ;;
1989 esac
1991 # Accept the important Cygnus configure options, so we can diagnose typos.
1993 case $ac_dashdash$ac_option in
1995 ac_dashdash=yes ;;
1997 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1998 ac_prev=bindir ;;
1999 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2000 bindir=$ac_optarg ;;
2002 -build | --build | --buil | --bui | --bu)
2003 ac_prev=build_alias ;;
2004 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2005 build_alias=$ac_optarg ;;
2007 -cache-file | --cache-file | --cache-fil | --cache-fi \
2008 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2009 ac_prev=cache_file ;;
2010 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2011 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2012 cache_file=$ac_optarg ;;
2014 --config-cache | -C)
2015 cache_file=config.cache ;;
2017 -datadir | --datadir | --datadi | --datad)
2018 ac_prev=datadir ;;
2019 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2020 datadir=$ac_optarg ;;
2022 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2023 | --dataroo | --dataro | --datar)
2024 ac_prev=datarootdir ;;
2025 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2026 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2027 datarootdir=$ac_optarg ;;
2029 -disable-* | --disable-*)
2030 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2031 # Reject names that are not valid shell variable names.
2032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2033 as_fn_error $? "invalid feature name: $ac_useropt"
2034 ac_useropt_orig=$ac_useropt
2035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2036 case $ac_user_opts in
2038 "enable_$ac_useropt"
2039 "*) ;;
2040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2041 ac_unrecognized_sep=', ';;
2042 esac
2043 eval enable_$ac_useropt=no ;;
2045 -docdir | --docdir | --docdi | --doc | --do)
2046 ac_prev=docdir ;;
2047 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2048 docdir=$ac_optarg ;;
2050 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2051 ac_prev=dvidir ;;
2052 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2053 dvidir=$ac_optarg ;;
2055 -enable-* | --enable-*)
2056 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2057 # Reject names that are not valid shell variable names.
2058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2059 as_fn_error $? "invalid feature name: $ac_useropt"
2060 ac_useropt_orig=$ac_useropt
2061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2062 case $ac_user_opts in
2064 "enable_$ac_useropt"
2065 "*) ;;
2066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2067 ac_unrecognized_sep=', ';;
2068 esac
2069 eval enable_$ac_useropt=\$ac_optarg ;;
2071 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2072 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2073 | --exec | --exe | --ex)
2074 ac_prev=exec_prefix ;;
2075 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2076 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2077 | --exec=* | --exe=* | --ex=*)
2078 exec_prefix=$ac_optarg ;;
2080 -gas | --gas | --ga | --g)
2081 # Obsolete; use --with-gas.
2082 with_gas=yes ;;
2084 -help | --help | --hel | --he | -h)
2085 ac_init_help=long ;;
2086 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2087 ac_init_help=recursive ;;
2088 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2089 ac_init_help=short ;;
2091 -host | --host | --hos | --ho)
2092 ac_prev=host_alias ;;
2093 -host=* | --host=* | --hos=* | --ho=*)
2094 host_alias=$ac_optarg ;;
2096 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2097 ac_prev=htmldir ;;
2098 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2099 | --ht=*)
2100 htmldir=$ac_optarg ;;
2102 -includedir | --includedir | --includedi | --included | --include \
2103 | --includ | --inclu | --incl | --inc)
2104 ac_prev=includedir ;;
2105 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2106 | --includ=* | --inclu=* | --incl=* | --inc=*)
2107 includedir=$ac_optarg ;;
2109 -infodir | --infodir | --infodi | --infod | --info | --inf)
2110 ac_prev=infodir ;;
2111 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2112 infodir=$ac_optarg ;;
2114 -libdir | --libdir | --libdi | --libd)
2115 ac_prev=libdir ;;
2116 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2117 libdir=$ac_optarg ;;
2119 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2120 | --libexe | --libex | --libe)
2121 ac_prev=libexecdir ;;
2122 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2123 | --libexe=* | --libex=* | --libe=*)
2124 libexecdir=$ac_optarg ;;
2126 -localedir | --localedir | --localedi | --localed | --locale)
2127 ac_prev=localedir ;;
2128 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2129 localedir=$ac_optarg ;;
2131 -localstatedir | --localstatedir | --localstatedi | --localstated \
2132 | --localstate | --localstat | --localsta | --localst | --locals)
2133 ac_prev=localstatedir ;;
2134 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2135 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2136 localstatedir=$ac_optarg ;;
2138 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2139 ac_prev=mandir ;;
2140 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2141 mandir=$ac_optarg ;;
2143 -nfp | --nfp | --nf)
2144 # Obsolete; use --without-fp.
2145 with_fp=no ;;
2147 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2148 | --no-cr | --no-c | -n)
2149 no_create=yes ;;
2151 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2152 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2153 no_recursion=yes ;;
2155 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2156 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2157 | --oldin | --oldi | --old | --ol | --o)
2158 ac_prev=oldincludedir ;;
2159 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2160 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2161 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2162 oldincludedir=$ac_optarg ;;
2164 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2165 ac_prev=prefix ;;
2166 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2167 prefix=$ac_optarg ;;
2169 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2170 | --program-pre | --program-pr | --program-p)
2171 ac_prev=program_prefix ;;
2172 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2173 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2174 program_prefix=$ac_optarg ;;
2176 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2177 | --program-suf | --program-su | --program-s)
2178 ac_prev=program_suffix ;;
2179 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2180 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2181 program_suffix=$ac_optarg ;;
2183 -program-transform-name | --program-transform-name \
2184 | --program-transform-nam | --program-transform-na \
2185 | --program-transform-n | --program-transform- \
2186 | --program-transform | --program-transfor \
2187 | --program-transfo | --program-transf \
2188 | --program-trans | --program-tran \
2189 | --progr-tra | --program-tr | --program-t)
2190 ac_prev=program_transform_name ;;
2191 -program-transform-name=* | --program-transform-name=* \
2192 | --program-transform-nam=* | --program-transform-na=* \
2193 | --program-transform-n=* | --program-transform-=* \
2194 | --program-transform=* | --program-transfor=* \
2195 | --program-transfo=* | --program-transf=* \
2196 | --program-trans=* | --program-tran=* \
2197 | --progr-tra=* | --program-tr=* | --program-t=*)
2198 program_transform_name=$ac_optarg ;;
2200 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2201 ac_prev=pdfdir ;;
2202 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2203 pdfdir=$ac_optarg ;;
2205 -psdir | --psdir | --psdi | --psd | --ps)
2206 ac_prev=psdir ;;
2207 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2208 psdir=$ac_optarg ;;
2210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2211 | -silent | --silent | --silen | --sile | --sil)
2212 silent=yes ;;
2214 -runstatedir | --runstatedir | --runstatedi | --runstated \
2215 | --runstate | --runstat | --runsta | --runst | --runs \
2216 | --run | --ru | --r)
2217 ac_prev=runstatedir ;;
2218 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2219 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2220 | --run=* | --ru=* | --r=*)
2221 runstatedir=$ac_optarg ;;
2223 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2224 ac_prev=sbindir ;;
2225 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2226 | --sbi=* | --sb=*)
2227 sbindir=$ac_optarg ;;
2229 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2230 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2231 | --sharedst | --shareds | --shared | --share | --shar \
2232 | --sha | --sh)
2233 ac_prev=sharedstatedir ;;
2234 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2235 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2236 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2237 | --sha=* | --sh=*)
2238 sharedstatedir=$ac_optarg ;;
2240 -site | --site | --sit)
2241 ac_prev=site ;;
2242 -site=* | --site=* | --sit=*)
2243 site=$ac_optarg ;;
2245 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2246 ac_prev=srcdir ;;
2247 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2248 srcdir=$ac_optarg ;;
2250 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2251 | --syscon | --sysco | --sysc | --sys | --sy)
2252 ac_prev=sysconfdir ;;
2253 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2254 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2255 sysconfdir=$ac_optarg ;;
2257 -target | --target | --targe | --targ | --tar | --ta | --t)
2258 ac_prev=target_alias ;;
2259 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2260 target_alias=$ac_optarg ;;
2262 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2263 verbose=yes ;;
2265 -version | --version | --versio | --versi | --vers | -V)
2266 ac_init_version=: ;;
2268 -with-* | --with-*)
2269 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2270 # Reject names that are not valid shell variable names.
2271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2272 as_fn_error $? "invalid package name: $ac_useropt"
2273 ac_useropt_orig=$ac_useropt
2274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2275 case $ac_user_opts in
2277 "with_$ac_useropt"
2278 "*) ;;
2279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2280 ac_unrecognized_sep=', ';;
2281 esac
2282 eval with_$ac_useropt=\$ac_optarg ;;
2284 -without-* | --without-*)
2285 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2286 # Reject names that are not valid shell variable names.
2287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2288 as_fn_error $? "invalid package name: $ac_useropt"
2289 ac_useropt_orig=$ac_useropt
2290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2291 case $ac_user_opts in
2293 "with_$ac_useropt"
2294 "*) ;;
2295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2296 ac_unrecognized_sep=', ';;
2297 esac
2298 eval with_$ac_useropt=no ;;
2300 --x)
2301 # Obsolete; use --with-x.
2302 with_x=yes ;;
2304 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2305 | --x-incl | --x-inc | --x-in | --x-i)
2306 ac_prev=x_includes ;;
2307 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2308 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2309 x_includes=$ac_optarg ;;
2311 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2312 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2313 ac_prev=x_libraries ;;
2314 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2315 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2316 x_libraries=$ac_optarg ;;
2318 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2319 Try \`$0 --help' for more information"
2322 *=*)
2323 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2324 # Reject names that are not valid shell variable names.
2325 case $ac_envvar in #(
2326 '' | [0-9]* | *[!_$as_cr_alnum]* )
2327 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2328 esac
2329 eval $ac_envvar=\$ac_optarg
2330 export $ac_envvar ;;
2333 # FIXME: should be removed in autoconf 3.0.
2334 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2335 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2336 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2337 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2340 esac
2341 done
2343 if test -n "$ac_prev"; then
2344 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2345 as_fn_error $? "missing argument to $ac_option"
2348 if test -n "$ac_unrecognized_opts"; then
2349 case $enable_option_checking in
2350 no) ;;
2351 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2352 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2353 esac
2356 # Check all directory arguments for consistency.
2357 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2358 datadir sysconfdir sharedstatedir localstatedir includedir \
2359 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2360 libdir localedir mandir runstatedir
2362 eval ac_val=\$$ac_var
2363 # Remove trailing slashes.
2364 case $ac_val in
2365 */ )
2366 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2367 eval $ac_var=\$ac_val;;
2368 esac
2369 # Be sure to have absolute directory names.
2370 case $ac_val in
2371 [\\/$]* | ?:[\\/]* ) continue;;
2372 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2373 esac
2374 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2375 done
2377 # There might be people who depend on the old broken behavior: `$host'
2378 # used to hold the argument of --host etc.
2379 # FIXME: To remove some day.
2380 build=$build_alias
2381 host=$host_alias
2382 target=$target_alias
2384 # FIXME: To remove some day.
2385 if test "x$host_alias" != x; then
2386 if test "x$build_alias" = x; then
2387 cross_compiling=maybe
2388 elif test "x$build_alias" != "x$host_alias"; then
2389 cross_compiling=yes
2393 ac_tool_prefix=
2394 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2396 test "$silent" = yes && exec 6>/dev/null
2399 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2400 ac_ls_di=`ls -di .` &&
2401 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2402 as_fn_error $? "working directory cannot be determined"
2403 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2404 as_fn_error $? "pwd does not report name of working directory"
2407 # Find the source files, if location was not specified.
2408 if test -z "$srcdir"; then
2409 ac_srcdir_defaulted=yes
2410 # Try the directory containing this script, then the parent directory.
2411 ac_confdir=`$as_dirname -- "$as_myself" ||
2412 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2413 X"$as_myself" : 'X\(//\)[^/]' \| \
2414 X"$as_myself" : 'X\(//\)$' \| \
2415 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2416 $as_echo X"$as_myself" |
2417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2418 s//\1/
2421 /^X\(\/\/\)[^/].*/{
2422 s//\1/
2425 /^X\(\/\/\)$/{
2426 s//\1/
2429 /^X\(\/\).*/{
2430 s//\1/
2433 s/.*/./; q'`
2434 srcdir=$ac_confdir
2435 if test ! -r "$srcdir/$ac_unique_file"; then
2436 srcdir=..
2438 else
2439 ac_srcdir_defaulted=no
2441 if test ! -r "$srcdir/$ac_unique_file"; then
2442 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2443 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2445 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2446 ac_abs_confdir=`(
2447 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2448 pwd)`
2449 # When building in place, set srcdir=.
2450 if test "$ac_abs_confdir" = "$ac_pwd"; then
2451 srcdir=.
2453 # Remove unnecessary trailing slashes from srcdir.
2454 # Double slashes in file names in object file debugging info
2455 # mess up M-x gdb in Emacs.
2456 case $srcdir in
2457 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2458 esac
2459 for ac_var in $ac_precious_vars; do
2460 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2461 eval ac_env_${ac_var}_value=\$${ac_var}
2462 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2463 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2464 done
2467 # Report the --help message.
2469 if test "$ac_init_help" = "long"; then
2470 # Omit some internal or obsolete options to make the list less imposing.
2471 # This message is too long to be a string in the A/UX 3.1 sh.
2472 cat <<_ACEOF
2473 \`configure' configures Wine 5.13 to adapt to many kinds of systems.
2475 Usage: $0 [OPTION]... [VAR=VALUE]...
2477 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2478 VAR=VALUE. See below for descriptions of some of the useful variables.
2480 Defaults for the options are specified in brackets.
2482 Configuration:
2483 -h, --help display this help and exit
2484 --help=short display options specific to this package
2485 --help=recursive display the short help of all the included packages
2486 -V, --version display version information and exit
2487 -q, --quiet, --silent do not print \`checking ...' messages
2488 --cache-file=FILE cache test results in FILE [disabled]
2489 -C, --config-cache alias for \`--cache-file=config.cache'
2490 -n, --no-create do not create output files
2491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2493 Installation directories:
2494 --prefix=PREFIX install architecture-independent files in PREFIX
2495 [$ac_default_prefix]
2496 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2497 [PREFIX]
2499 By default, \`make install' will install all the files in
2500 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2501 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2502 for instance \`--prefix=\$HOME'.
2504 For better control, use the options below.
2506 Fine tuning of the installation directories:
2507 --bindir=DIR user executables [EPREFIX/bin]
2508 --sbindir=DIR system admin executables [EPREFIX/sbin]
2509 --libexecdir=DIR program executables [EPREFIX/libexec]
2510 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2511 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2512 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2513 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2514 --libdir=DIR object code libraries [EPREFIX/lib]
2515 --includedir=DIR C header files [PREFIX/include]
2516 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2517 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2518 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2519 --infodir=DIR info documentation [DATAROOTDIR/info]
2520 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2521 --mandir=DIR man documentation [DATAROOTDIR/man]
2522 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2523 --htmldir=DIR html documentation [DOCDIR]
2524 --dvidir=DIR dvi documentation [DOCDIR]
2525 --pdfdir=DIR pdf documentation [DOCDIR]
2526 --psdir=DIR ps documentation [DOCDIR]
2527 _ACEOF
2529 cat <<\_ACEOF
2531 X features:
2532 --x-includes=DIR X include files are in DIR
2533 --x-libraries=DIR X library files are in DIR
2535 System types:
2536 --build=BUILD configure for building on BUILD [guessed]
2537 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2538 _ACEOF
2541 if test -n "$ac_init_help"; then
2542 case $ac_init_help in
2543 short | recursive ) echo "Configuration of Wine 5.13:";;
2544 esac
2545 cat <<\_ACEOF
2547 Optional Features:
2548 --disable-option-checking ignore unrecognized --enable/--with options
2549 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2550 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2551 --disable-win16 do not include Win16 support
2552 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2553 binaries)
2554 --disable-tests do not build the regression tests
2555 --enable-maintainer-mode
2556 enable maintainer-specific build rules
2557 --enable-werror treat compilation warnings as errors
2558 --disable-largefile omit support for large files
2560 Optional Packages:
2561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2563 --without-alsa do not use the Alsa sound support
2564 --without-capi do not use CAPI (ISDN support)
2565 --without-cms do not use CMS (color management support)
2566 --without-coreaudio do not use the CoreAudio sound support
2567 --without-cups do not use CUPS
2568 --without-curses do not use (n)curses
2569 --without-dbus do not use DBus (dynamic device support)
2570 --without-faudio do not use FAudio (XAudio2 support)
2571 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2572 --without-fontconfig do not use fontconfig
2573 --without-freetype do not use the FreeType library
2574 --without-gettext do not use gettext
2575 --with-gettextpo use the GetTextPO library to rebuild po files
2576 --without-gphoto do not use gphoto (Digital Camera support)
2577 --without-glu do not use the GLU library
2578 --without-gnutls do not use GnuTLS (schannel support)
2579 --without-gsm do not use libgsm (GSM 06.10 codec support)
2580 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2581 --without-gstreamer do not use GStreamer (codecs support)
2582 --without-hal do not use HAL (dynamic device support)
2583 --without-inotify do not use inotify (filesystem change notifications)
2584 --without-jpeg do not use JPEG
2585 --without-krb5 do not use krb5 (Kerberos)
2586 --without-ldap do not use LDAP
2587 --without-mingw do not use the MinGW cross-compiler
2588 --without-mpg123 do not use the mpg123 library
2589 --without-netapi do not use the Samba NetAPI library
2590 --without-openal do not use OpenAL
2591 --without-opencl do not use OpenCL
2592 --without-opengl do not use OpenGL
2593 --without-osmesa do not use the OSMesa library
2594 --without-oss do not use the OSS sound support
2595 --without-pcap do not use the Packet Capture library
2596 --without-png do not use PNG
2597 --without-pthread do not use the pthread library
2598 --without-pulse do not use PulseAudio sound support
2599 --without-sane do not use SANE (scanner support)
2600 --without-sdl do not use SDL
2601 --without-tiff do not use TIFF
2602 --without-udev do not use udev (plug and play support)
2603 --without-unwind do not use the libunwind library (exception
2604 handling)
2605 --without-usb do not use the libusb library
2606 --without-v4l2 do not use v4l2 (video capture)
2607 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2608 --without-vulkan do not use Vulkan
2609 --without-xcomposite do not use the Xcomposite extension
2610 --without-xcursor do not use the Xcursor extension
2611 --without-xfixes do not use Xfixes for clipboard change notifications
2612 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2613 --without-xinput do not use the Xinput extension
2614 --without-xinput2 do not use the Xinput 2 extension
2615 --without-xml do not use XML
2616 --without-xrandr do not use Xrandr (multi-monitor support)
2617 --without-xrender do not use the Xrender extension
2618 --without-xshape do not use the Xshape extension
2619 --without-xshm do not use XShm (shared memory extension)
2620 --without-xslt do not use XSLT
2621 --without-xxf86vm do not use XFree video mode extension
2622 --with-wine-tools=DIR use Wine tools from directory DIR
2623 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2624 --with-x use the X Window System
2626 Some influential environment variables:
2627 CC C compiler command
2628 CFLAGS C compiler flags
2629 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2630 nonstandard directory <lib dir>
2631 LIBS libraries to pass to the linker, e.g. -l<library>
2632 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2633 you have headers in a nonstandard directory <include dir>
2634 CXX C++ compiler command
2635 CXXFLAGS C++ compiler flags
2636 CPP C preprocessor
2637 OBJC Objective C compiler command
2638 OBJCFLAGS Objective C compiler flags
2639 OBJCPP Objective C preprocessor
2640 XMKMF Path to xmkmf, Makefile generator for X Window System
2641 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2642 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2643 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2644 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2645 INOTIFY_CFLAGS
2646 C compiler flags for libinotify, overriding pkg-config
2647 INOTIFY_LIBS
2648 Linker flags for libinotify, overriding pkg-config
2649 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2650 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2651 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2652 HAL_LIBS Linker flags for hal, overriding pkg-config
2653 GNUTLS_CFLAGS
2654 C compiler flags for gnutls, overriding pkg-config
2655 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2656 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2657 SANE_LIBS Linker flags for libsane, overriding pkg-config
2658 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2659 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2660 GPHOTO2_CFLAGS
2661 C compiler flags for libgphoto2, overriding pkg-config
2662 GPHOTO2_LIBS
2663 Linker flags for libgphoto2, overriding pkg-config
2664 GPHOTO2_PORT_CFLAGS
2665 C compiler flags for libgphoto2_port, overriding pkg-config
2666 GPHOTO2_PORT_LIBS
2667 Linker flags for libgphoto2_port, overriding pkg-config
2668 LCMS2_CFLAGS
2669 C compiler flags for lcms2, overriding pkg-config
2670 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2671 FREETYPE_CFLAGS
2672 C compiler flags for freetype2, overriding pkg-config
2673 FREETYPE_LIBS
2674 Linker flags for freetype2, overriding pkg-config
2675 PULSE_CFLAGS
2676 C compiler flags for libpulse, overriding pkg-config
2677 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2678 GSTREAMER_CFLAGS
2679 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2680 gstreamer-audio-1.0, overriding pkg-config
2681 GSTREAMER_LIBS
2682 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2683 gstreamer-audio-1.0, overriding pkg-config
2684 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2685 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2686 UNWIND_CFLAGS
2687 C compiler flags for libunwind, overriding pkg-config
2688 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2689 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2690 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2691 FAUDIO_CFLAGS
2692 C compiler flags for faudio, overriding pkg-config
2693 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2694 CAPI20_CFLAGS
2695 C compiler flags for capi20, overriding pkg-config
2696 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2697 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2698 CUPS_LIBS Linker flags for cups, overriding pkg-config
2699 FONTCONFIG_CFLAGS
2700 C compiler flags for fontconfig, overriding pkg-config
2701 FONTCONFIG_LIBS
2702 Linker flags for fontconfig, overriding pkg-config
2703 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2704 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2705 GSSAPI_CFLAGS
2706 C compiler flags for krb5-gssapi, overriding pkg-config
2707 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2708 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2709 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2710 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2711 PNG_LIBS Linker flags for libpng, overriding pkg-config
2712 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2713 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2714 MPG123_CFLAGS
2715 C compiler flags for libmpg123, overriding pkg-config
2716 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2717 NETAPI_CFLAGS
2718 C compiler flags for netapi, overriding pkg-config
2719 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2720 VKD3D_CFLAGS
2721 C compiler flags for libvkd3d, overriding pkg-config
2722 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2723 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2724 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2726 Use these variables to override the choices made by `configure' or to help
2727 it to find libraries and programs with nonstandard names/locations.
2729 Report bugs to <wine-devel@winehq.org>.
2730 Wine home page: <https://www.winehq.org>.
2731 _ACEOF
2732 ac_status=$?
2735 if test "$ac_init_help" = "recursive"; then
2736 # If there are subdirs, report their specific --help.
2737 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2738 test -d "$ac_dir" ||
2739 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2740 continue
2741 ac_builddir=.
2743 case "$ac_dir" in
2744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2746 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2747 # A ".." for each directory in $ac_dir_suffix.
2748 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2749 case $ac_top_builddir_sub in
2750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2752 esac ;;
2753 esac
2754 ac_abs_top_builddir=$ac_pwd
2755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2756 # for backward compatibility:
2757 ac_top_builddir=$ac_top_build_prefix
2759 case $srcdir in
2760 .) # We are building in place.
2761 ac_srcdir=.
2762 ac_top_srcdir=$ac_top_builddir_sub
2763 ac_abs_top_srcdir=$ac_pwd ;;
2764 [\\/]* | ?:[\\/]* ) # Absolute name.
2765 ac_srcdir=$srcdir$ac_dir_suffix;
2766 ac_top_srcdir=$srcdir
2767 ac_abs_top_srcdir=$srcdir ;;
2768 *) # Relative name.
2769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2770 ac_top_srcdir=$ac_top_build_prefix$srcdir
2771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2772 esac
2773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2775 cd "$ac_dir" || { ac_status=$?; continue; }
2776 # Check for guested configure.
2777 if test -f "$ac_srcdir/configure.gnu"; then
2778 echo &&
2779 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2780 elif test -f "$ac_srcdir/configure"; then
2781 echo &&
2782 $SHELL "$ac_srcdir/configure" --help=recursive
2783 else
2784 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2785 fi || ac_status=$?
2786 cd "$ac_pwd" || { ac_status=$?; break; }
2787 done
2790 test -n "$ac_init_help" && exit $ac_status
2791 if $ac_init_version; then
2792 cat <<\_ACEOF
2793 Wine configure 5.13
2794 generated by GNU Autoconf 2.69
2796 Copyright (C) 2012 Free Software Foundation, Inc.
2797 This configure script is free software; the Free Software Foundation
2798 gives unlimited permission to copy, distribute and modify it.
2799 _ACEOF
2800 exit
2803 ## ------------------------ ##
2804 ## Autoconf initialization. ##
2805 ## ------------------------ ##
2807 # ac_fn_c_try_compile LINENO
2808 # --------------------------
2809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2810 ac_fn_c_try_compile ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 rm -f conftest.$ac_objext
2814 if { { ac_try="$ac_compile"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_compile") 2>conftest.err
2822 ac_status=$?
2823 if test -s conftest.err; then
2824 grep -v '^ *+' conftest.err >conftest.er1
2825 cat conftest.er1 >&5
2826 mv -f conftest.er1 conftest.err
2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2829 test $ac_status = 0; } && {
2830 test -z "$ac_c_werror_flag" ||
2831 test ! -s conftest.err
2832 } && test -s conftest.$ac_objext; then :
2833 ac_retval=0
2834 else
2835 $as_echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2838 ac_retval=1
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 as_fn_set_status $ac_retval
2843 } # ac_fn_c_try_compile
2845 # ac_fn_cxx_try_compile LINENO
2846 # ----------------------------
2847 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2848 ac_fn_cxx_try_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 rm -f conftest.$ac_objext
2852 if { { ac_try="$ac_compile"
2853 case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859 (eval "$ac_compile") 2>conftest.err
2860 ac_status=$?
2861 if test -s conftest.err; then
2862 grep -v '^ *+' conftest.err >conftest.er1
2863 cat conftest.er1 >&5
2864 mv -f conftest.er1 conftest.err
2866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2867 test $ac_status = 0; } && {
2868 test -z "$ac_cxx_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext; then :
2871 ac_retval=0
2872 else
2873 $as_echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 ac_retval=1
2878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2879 as_fn_set_status $ac_retval
2881 } # ac_fn_cxx_try_compile
2883 # ac_fn_c_try_link LINENO
2884 # -----------------------
2885 # Try to link conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_c_try_link ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext conftest$ac_exeext
2890 if { { ac_try="$ac_link"
2891 case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_link") 2>conftest.err
2898 ac_status=$?
2899 if test -s conftest.err; then
2900 grep -v '^ *+' conftest.err >conftest.er1
2901 cat conftest.er1 >&5
2902 mv -f conftest.er1 conftest.err
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_c_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest$ac_exeext && {
2909 test "$cross_compiling" = yes ||
2910 test -x conftest$ac_exeext
2911 }; then :
2912 ac_retval=0
2913 else
2914 $as_echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2917 ac_retval=1
2919 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2920 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2921 # interfere with the next link command; also delete a directory that is
2922 # left behind by Apple's compiler. We do this before executing the actions.
2923 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2925 as_fn_set_status $ac_retval
2927 } # ac_fn_c_try_link
2929 # ac_fn_c_try_cpp LINENO
2930 # ----------------------
2931 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2932 ac_fn_c_try_cpp ()
2934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2935 if { { ac_try="$ac_cpp conftest.$ac_ext"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 $as_echo "$ac_try_echo"; } >&5
2942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2943 ac_status=$?
2944 if test -s conftest.err; then
2945 grep -v '^ *+' conftest.err >conftest.er1
2946 cat conftest.er1 >&5
2947 mv -f conftest.er1 conftest.err
2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; } > conftest.i && {
2951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2952 test ! -s conftest.err
2953 }; then :
2954 ac_retval=0
2955 else
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 ac_retval=1
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 as_fn_set_status $ac_retval
2964 } # ac_fn_c_try_cpp
2966 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2967 # -------------------------------------------------------
2968 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2969 # the include files in INCLUDES and setting the cache variable VAR
2970 # accordingly.
2971 ac_fn_c_check_header_mongrel ()
2973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 if eval \${$3+:} false; then :
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2976 $as_echo_n "checking for $2... " >&6; }
2977 if eval \${$3+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 eval ac_res=\$$3
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 $as_echo "$ac_res" >&6; }
2983 else
2984 # Is the header compilable?
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2986 $as_echo_n "checking $2 usability... " >&6; }
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2990 #include <$2>
2991 _ACEOF
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 ac_header_compiler=yes
2994 else
2995 ac_header_compiler=no
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2999 $as_echo "$ac_header_compiler" >&6; }
3001 # Is the header present?
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3003 $as_echo_n "checking $2 presence... " >&6; }
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3006 #include <$2>
3007 _ACEOF
3008 if ac_fn_c_try_cpp "$LINENO"; then :
3009 ac_header_preproc=yes
3010 else
3011 ac_header_preproc=no
3013 rm -f conftest.err conftest.i conftest.$ac_ext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3015 $as_echo "$ac_header_preproc" >&6; }
3017 # So? What about this header?
3018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3019 yes:no: )
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3021 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3025 no:yes:* )
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3027 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3029 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3031 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3033 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3036 ( $as_echo "## ------------------------------------ ##
3037 ## Report this to wine-devel@winehq.org ##
3038 ## ------------------------------------ ##"
3039 ) | sed "s/^/$as_me: WARNING: /" >&2
3041 esac
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3043 $as_echo_n "checking for $2... " >&6; }
3044 if eval \${$3+:} false; then :
3045 $as_echo_n "(cached) " >&6
3046 else
3047 eval "$3=\$ac_header_compiler"
3049 eval ac_res=\$$3
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3051 $as_echo "$ac_res" >&6; }
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3055 } # ac_fn_c_check_header_mongrel
3057 # ac_fn_c_try_run LINENO
3058 # ----------------------
3059 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3060 # that executables *can* be run.
3061 ac_fn_c_try_run ()
3063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064 if { { ac_try="$ac_link"
3065 case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_link") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3075 { { case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_try") 2>&5
3082 ac_status=$?
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }; }; then :
3085 ac_retval=0
3086 else
3087 $as_echo "$as_me: program exited with status $ac_status" >&5
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3091 ac_retval=$ac_status
3093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 as_fn_set_status $ac_retval
3097 } # ac_fn_c_try_run
3099 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3100 # -------------------------------------------------------
3101 # Tests whether HEADER exists and can be compiled using the include files in
3102 # INCLUDES, setting the cache variable VAR accordingly.
3103 ac_fn_c_check_header_compile ()
3105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3107 $as_echo_n "checking for $2... " >&6; }
3108 if eval \${$3+:} false; then :
3109 $as_echo_n "(cached) " >&6
3110 else
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3114 #include <$2>
3115 _ACEOF
3116 if ac_fn_c_try_compile "$LINENO"; then :
3117 eval "$3=yes"
3118 else
3119 eval "$3=no"
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 eval ac_res=\$$3
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 $as_echo "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_header_compile
3130 # ac_fn_objc_try_compile LINENO
3131 # -----------------------------
3132 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3133 ac_fn_objc_try_compile ()
3135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3136 rm -f conftest.$ac_objext
3137 if { { ac_try="$ac_compile"
3138 case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3141 esac
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_compile") 2>conftest.err
3145 ac_status=$?
3146 if test -s conftest.err; then
3147 grep -v '^ *+' conftest.err >conftest.er1
3148 cat conftest.er1 >&5
3149 mv -f conftest.er1 conftest.err
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; } && {
3153 test -z "$ac_objc_werror_flag" ||
3154 test ! -s conftest.err
3155 } && test -s conftest.$ac_objext; then :
3156 ac_retval=0
3157 else
3158 $as_echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 ac_retval=1
3163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3164 as_fn_set_status $ac_retval
3166 } # ac_fn_objc_try_compile
3168 # ac_fn_objc_try_cpp LINENO
3169 # -------------------------
3170 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3171 ac_fn_objc_try_cpp ()
3173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3174 if { { ac_try="$ac_cpp conftest.$ac_ext"
3175 case "(($ac_try" in
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3178 esac
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3182 ac_status=$?
3183 if test -s conftest.err; then
3184 grep -v '^ *+' conftest.err >conftest.er1
3185 cat conftest.er1 >&5
3186 mv -f conftest.er1 conftest.err
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; } > conftest.i && {
3190 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3191 test ! -s conftest.err
3192 }; then :
3193 ac_retval=0
3194 else
3195 $as_echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3198 ac_retval=1
3200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3201 as_fn_set_status $ac_retval
3203 } # ac_fn_objc_try_cpp
3205 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3206 # ----------------------------------------------------------
3207 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3208 # the include files in INCLUDES and setting the cache variable VAR
3209 # accordingly.
3210 ac_fn_objc_check_header_mongrel ()
3212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3213 if eval \${$3+:} false; then :
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3215 $as_echo_n "checking for $2... " >&6; }
3216 if eval \${$3+:} false; then :
3217 $as_echo_n "(cached) " >&6
3219 eval ac_res=\$$3
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3221 $as_echo "$ac_res" >&6; }
3222 else
3223 # Is the header compilable?
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3225 $as_echo_n "checking $2 usability... " >&6; }
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3229 #include <$2>
3230 _ACEOF
3231 if ac_fn_objc_try_compile "$LINENO"; then :
3232 ac_header_compiler=yes
3233 else
3234 ac_header_compiler=no
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3238 $as_echo "$ac_header_compiler" >&6; }
3240 # Is the header present?
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3242 $as_echo_n "checking $2 presence... " >&6; }
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3245 #include <$2>
3246 _ACEOF
3247 if ac_fn_objc_try_cpp "$LINENO"; then :
3248 ac_header_preproc=yes
3249 else
3250 ac_header_preproc=no
3252 rm -f conftest.err conftest.i conftest.$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3254 $as_echo "$ac_header_preproc" >&6; }
3256 # So? What about this header?
3257 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3258 yes:no: )
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3260 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3262 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3264 no:yes:* )
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3266 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3268 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3270 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3272 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3274 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3275 ( $as_echo "## ------------------------------------ ##
3276 ## Report this to wine-devel@winehq.org ##
3277 ## ------------------------------------ ##"
3278 ) | sed "s/^/$as_me: WARNING: /" >&2
3280 esac
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3282 $as_echo_n "checking for $2... " >&6; }
3283 if eval \${$3+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 eval "$3=\$ac_header_compiler"
3288 eval ac_res=\$$3
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3290 $as_echo "$ac_res" >&6; }
3292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3294 } # ac_fn_objc_check_header_mongrel
3296 # ac_fn_c_check_func LINENO FUNC VAR
3297 # ----------------------------------
3298 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3299 ac_fn_c_check_func ()
3301 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3303 $as_echo_n "checking for $2... " >&6; }
3304 if eval \${$3+:} false; then :
3305 $as_echo_n "(cached) " >&6
3306 else
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3309 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3311 #define $2 innocuous_$2
3313 /* System header to define __stub macros and hopefully few prototypes,
3314 which can conflict with char $2 (); below.
3315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3316 <limits.h> exists even on freestanding compilers. */
3318 #ifdef __STDC__
3319 # include <limits.h>
3320 #else
3321 # include <assert.h>
3322 #endif
3324 #undef $2
3326 /* Override any GCC internal prototype to avoid an error.
3327 Use char because int might match the return type of a GCC
3328 builtin and then its argument prototype would still apply. */
3329 #ifdef __cplusplus
3330 extern "C"
3331 #endif
3332 char $2 ();
3333 /* The GNU C library defines this for functions which it implements
3334 to always fail with ENOSYS. Some functions are actually named
3335 something starting with __ and the normal name is an alias. */
3336 #if defined __stub_$2 || defined __stub___$2
3337 choke me
3338 #endif
3341 main ()
3343 return $2 ();
3345 return 0;
3347 _ACEOF
3348 if ac_fn_c_try_link "$LINENO"; then :
3349 eval "$3=yes"
3350 else
3351 eval "$3=no"
3353 rm -f core conftest.err conftest.$ac_objext \
3354 conftest$ac_exeext conftest.$ac_ext
3356 eval ac_res=\$$3
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3358 $as_echo "$ac_res" >&6; }
3359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3361 } # ac_fn_c_check_func
3363 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3364 # ----------------------------------------------------
3365 # Tries to find if the field MEMBER exists in type AGGR, after including
3366 # INCLUDES, setting cache variable VAR accordingly.
3367 ac_fn_c_check_member ()
3369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3371 $as_echo_n "checking for $2.$3... " >&6; }
3372 if eval \${$4+:} false; then :
3373 $as_echo_n "(cached) " >&6
3374 else
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3379 main ()
3381 static $2 ac_aggr;
3382 if (ac_aggr.$3)
3383 return 0;
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3389 eval "$4=yes"
3390 else
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3395 main ()
3397 static $2 ac_aggr;
3398 if (sizeof ac_aggr.$3)
3399 return 0;
3401 return 0;
3403 _ACEOF
3404 if ac_fn_c_try_compile "$LINENO"; then :
3405 eval "$4=yes"
3406 else
3407 eval "$4=no"
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 eval ac_res=\$$4
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3415 $as_echo "$ac_res" >&6; }
3416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3418 } # ac_fn_c_check_member
3420 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3421 # -------------------------------------------
3422 # Tests whether TYPE exists after having included INCLUDES, setting cache
3423 # variable VAR accordingly.
3424 ac_fn_c_check_type ()
3426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3428 $as_echo_n "checking for $2... " >&6; }
3429 if eval \${$3+:} false; then :
3430 $as_echo_n "(cached) " >&6
3431 else
3432 eval "$3=no"
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3437 main ()
3439 if (sizeof ($2))
3440 return 0;
3442 return 0;
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3452 if (sizeof (($2)))
3453 return 0;
3455 return 0;
3457 _ACEOF
3458 if ac_fn_c_try_compile "$LINENO"; then :
3460 else
3461 eval "$3=yes"
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 eval ac_res=\$$3
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3469 $as_echo "$ac_res" >&6; }
3470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3472 } # ac_fn_c_check_type
3473 cat >config.log <<_ACEOF
3474 This file contains any messages produced by compilers while
3475 running configure, to aid debugging if configure makes a mistake.
3477 It was created by Wine $as_me 5.13, which was
3478 generated by GNU Autoconf 2.69. Invocation command line was
3480 $ $0 $@
3482 _ACEOF
3483 exec 5>>config.log
3485 cat <<_ASUNAME
3486 ## --------- ##
3487 ## Platform. ##
3488 ## --------- ##
3490 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3491 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3492 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3493 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3494 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3496 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3497 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3499 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3500 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3501 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3502 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3503 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3504 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3505 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3507 _ASUNAME
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 $as_echo "PATH: $as_dir"
3515 done
3516 IFS=$as_save_IFS
3518 } >&5
3520 cat >&5 <<_ACEOF
3523 ## ----------- ##
3524 ## Core tests. ##
3525 ## ----------- ##
3527 _ACEOF
3530 # Keep a trace of the command line.
3531 # Strip out --no-create and --no-recursion so they do not pile up.
3532 # Strip out --silent because we don't want to record it for future runs.
3533 # Also quote any args containing shell meta-characters.
3534 # Make two passes to allow for proper duplicate-argument suppression.
3535 ac_configure_args=
3536 ac_configure_args0=
3537 ac_configure_args1=
3538 ac_must_keep_next=false
3539 for ac_pass in 1 2
3541 for ac_arg
3543 case $ac_arg in
3544 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3546 | -silent | --silent | --silen | --sile | --sil)
3547 continue ;;
3548 *\'*)
3549 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3550 esac
3551 case $ac_pass in
3552 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3554 as_fn_append ac_configure_args1 " '$ac_arg'"
3555 if test $ac_must_keep_next = true; then
3556 ac_must_keep_next=false # Got value, back to normal.
3557 else
3558 case $ac_arg in
3559 *=* | --config-cache | -C | -disable-* | --disable-* \
3560 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3561 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3562 | -with-* | --with-* | -without-* | --without-* | --x)
3563 case "$ac_configure_args0 " in
3564 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3565 esac
3567 -* ) ac_must_keep_next=true ;;
3568 esac
3570 as_fn_append ac_configure_args " '$ac_arg'"
3572 esac
3573 done
3574 done
3575 { ac_configure_args0=; unset ac_configure_args0;}
3576 { ac_configure_args1=; unset ac_configure_args1;}
3578 # When interrupted or exit'd, cleanup temporary files, and complete
3579 # config.log. We remove comments because anyway the quotes in there
3580 # would cause problems or look ugly.
3581 # WARNING: Use '\'' to represent an apostrophe within the trap.
3582 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3583 trap 'exit_status=$?
3584 # Save into config.log some information that might help in debugging.
3586 echo
3588 $as_echo "## ---------------- ##
3589 ## Cache variables. ##
3590 ## ---------------- ##"
3591 echo
3592 # The following way of writing the cache mishandles newlines in values,
3594 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3595 eval ac_val=\$$ac_var
3596 case $ac_val in #(
3597 *${as_nl}*)
3598 case $ac_var in #(
3599 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3600 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3601 esac
3602 case $ac_var in #(
3603 _ | IFS | as_nl) ;; #(
3604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3605 *) { eval $ac_var=; unset $ac_var;} ;;
3606 esac ;;
3607 esac
3608 done
3609 (set) 2>&1 |
3610 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3611 *${as_nl}ac_space=\ *)
3612 sed -n \
3613 "s/'\''/'\''\\\\'\'''\''/g;
3614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3615 ;; #(
3617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3619 esac |
3620 sort
3622 echo
3624 $as_echo "## ----------------- ##
3625 ## Output variables. ##
3626 ## ----------------- ##"
3627 echo
3628 for ac_var in $ac_subst_vars
3630 eval ac_val=\$$ac_var
3631 case $ac_val in
3632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3633 esac
3634 $as_echo "$ac_var='\''$ac_val'\''"
3635 done | sort
3636 echo
3638 if test -n "$ac_subst_files"; then
3639 $as_echo "## ------------------- ##
3640 ## File substitutions. ##
3641 ## ------------------- ##"
3642 echo
3643 for ac_var in $ac_subst_files
3645 eval ac_val=\$$ac_var
3646 case $ac_val in
3647 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3648 esac
3649 $as_echo "$ac_var='\''$ac_val'\''"
3650 done | sort
3651 echo
3654 if test -s confdefs.h; then
3655 $as_echo "## ----------- ##
3656 ## confdefs.h. ##
3657 ## ----------- ##"
3658 echo
3659 cat confdefs.h
3660 echo
3662 test "$ac_signal" != 0 &&
3663 $as_echo "$as_me: caught signal $ac_signal"
3664 $as_echo "$as_me: exit $exit_status"
3665 } >&5
3666 rm -f core *.core core.conftest.* &&
3667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3668 exit $exit_status
3670 for ac_signal in 1 2 13 15; do
3671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3672 done
3673 ac_signal=0
3675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3676 rm -f -r conftest* confdefs.h
3678 $as_echo "/* confdefs.h */" > confdefs.h
3680 # Predefined preprocessor variables.
3682 cat >>confdefs.h <<_ACEOF
3683 #define PACKAGE_NAME "$PACKAGE_NAME"
3684 _ACEOF
3686 cat >>confdefs.h <<_ACEOF
3687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3688 _ACEOF
3690 cat >>confdefs.h <<_ACEOF
3691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3692 _ACEOF
3694 cat >>confdefs.h <<_ACEOF
3695 #define PACKAGE_STRING "$PACKAGE_STRING"
3696 _ACEOF
3698 cat >>confdefs.h <<_ACEOF
3699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3700 _ACEOF
3702 cat >>confdefs.h <<_ACEOF
3703 #define PACKAGE_URL "$PACKAGE_URL"
3704 _ACEOF
3707 # Let the site file select an alternate cache file if it wants to.
3708 # Prefer an explicitly selected file to automatically selected ones.
3709 ac_site_file1=NONE
3710 ac_site_file2=NONE
3711 if test -n "$CONFIG_SITE"; then
3712 # We do not want a PATH search for config.site.
3713 case $CONFIG_SITE in #((
3714 -*) ac_site_file1=./$CONFIG_SITE;;
3715 */*) ac_site_file1=$CONFIG_SITE;;
3716 *) ac_site_file1=./$CONFIG_SITE;;
3717 esac
3718 elif test "x$prefix" != xNONE; then
3719 ac_site_file1=$prefix/share/config.site
3720 ac_site_file2=$prefix/etc/config.site
3721 else
3722 ac_site_file1=$ac_default_prefix/share/config.site
3723 ac_site_file2=$ac_default_prefix/etc/config.site
3725 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3727 test "x$ac_site_file" = xNONE && continue
3728 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3730 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3731 sed 's/^/| /' "$ac_site_file" >&5
3732 . "$ac_site_file" \
3733 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 as_fn_error $? "failed to load site script $ac_site_file
3736 See \`config.log' for more details" "$LINENO" 5; }
3738 done
3740 if test -r "$cache_file"; then
3741 # Some versions of bash will fail to source /dev/null (special files
3742 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3743 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3745 $as_echo "$as_me: loading cache $cache_file" >&6;}
3746 case $cache_file in
3747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3748 *) . "./$cache_file";;
3749 esac
3751 else
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3753 $as_echo "$as_me: creating cache $cache_file" >&6;}
3754 >$cache_file
3757 # Check that the precious variables saved in the cache have kept the same
3758 # value.
3759 ac_cache_corrupted=false
3760 for ac_var in $ac_precious_vars; do
3761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3762 eval ac_new_set=\$ac_env_${ac_var}_set
3763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3764 eval ac_new_val=\$ac_env_${ac_var}_value
3765 case $ac_old_set,$ac_new_set in
3766 set,)
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3769 ac_cache_corrupted=: ;;
3770 ,set)
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3773 ac_cache_corrupted=: ;;
3774 ,);;
3776 if test "x$ac_old_val" != "x$ac_new_val"; then
3777 # differences in whitespace do not lead to failure.
3778 ac_old_val_w=`echo x $ac_old_val`
3779 ac_new_val_w=`echo x $ac_new_val`
3780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3783 ac_cache_corrupted=:
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3787 eval $ac_var=\$ac_old_val
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3793 fi;;
3794 esac
3795 # Pass precious variables to config.status.
3796 if test "$ac_new_set" = set; then
3797 case $ac_new_val in
3798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3799 *) ac_arg=$ac_var=$ac_new_val ;;
3800 esac
3801 case " $ac_configure_args " in
3802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3804 esac
3806 done
3807 if $ac_cache_corrupted; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3812 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3814 ## -------------------- ##
3815 ## Main body of script. ##
3816 ## -------------------- ##
3818 ac_ext=c
3819 ac_cpp='$CPP $CPPFLAGS'
3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3826 ac_config_headers="$ac_config_headers include/config.h"
3828 ac_aux_dir=
3829 for ac_dir in tools "$srcdir"/tools; do
3830 if test -f "$ac_dir/install-sh"; then
3831 ac_aux_dir=$ac_dir
3832 ac_install_sh="$ac_aux_dir/install-sh -c"
3833 break
3834 elif test -f "$ac_dir/install.sh"; then
3835 ac_aux_dir=$ac_dir
3836 ac_install_sh="$ac_aux_dir/install.sh -c"
3837 break
3838 elif test -f "$ac_dir/shtool"; then
3839 ac_aux_dir=$ac_dir
3840 ac_install_sh="$ac_aux_dir/shtool install -c"
3841 break
3843 done
3844 if test -z "$ac_aux_dir"; then
3845 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3848 # These three variables are undocumented and unsupported,
3849 # and are intended to be withdrawn in a future Autoconf release.
3850 # They can cause serious problems if a builder's source tree is in a directory
3851 # whose full name contains unusual characters.
3852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3858 libwine_version="1.0"
3862 # Check whether --enable-win16 was given.
3863 if test "${enable_win16+set}" = set; then :
3864 enableval=$enable_win16;
3867 # Check whether --enable-win64 was given.
3868 if test "${enable_win64+set}" = set; then :
3869 enableval=$enable_win64;
3872 # Check whether --enable-tests was given.
3873 if test "${enable_tests+set}" = set; then :
3874 enableval=$enable_tests;
3877 # Check whether --enable-maintainer-mode was given.
3878 if test "${enable_maintainer_mode+set}" = set; then :
3879 enableval=$enable_maintainer_mode;
3882 # Check whether --enable-werror was given.
3883 if test "${enable_werror+set}" = set; then :
3884 enableval=$enable_werror;
3889 # Check whether --with-alsa was given.
3890 if test "${with_alsa+set}" = set; then :
3891 withval=$with_alsa;
3895 # Check whether --with-capi was given.
3896 if test "${with_capi+set}" = set; then :
3897 withval=$with_capi;
3901 # Check whether --with-cms was given.
3902 if test "${with_cms+set}" = set; then :
3903 withval=$with_cms;
3907 # Check whether --with-coreaudio was given.
3908 if test "${with_coreaudio+set}" = set; then :
3909 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3913 # Check whether --with-cups was given.
3914 if test "${with_cups+set}" = set; then :
3915 withval=$with_cups;
3919 # Check whether --with-curses was given.
3920 if test "${with_curses+set}" = set; then :
3921 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3925 # Check whether --with-dbus was given.
3926 if test "${with_dbus+set}" = set; then :
3927 withval=$with_dbus;
3931 # Check whether --with-faudio was given.
3932 if test "${with_faudio+set}" = set; then :
3933 withval=$with_faudio;
3937 # Check whether --with-float-abi was given.
3938 if test "${with_float_abi+set}" = set; then :
3939 withval=$with_float_abi;
3943 # Check whether --with-fontconfig was given.
3944 if test "${with_fontconfig+set}" = set; then :
3945 withval=$with_fontconfig;
3949 # Check whether --with-freetype was given.
3950 if test "${with_freetype+set}" = set; then :
3951 withval=$with_freetype;
3955 # Check whether --with-gettext was given.
3956 if test "${with_gettext+set}" = set; then :
3957 withval=$with_gettext;
3961 # Check whether --with-gettextpo was given.
3962 if test "${with_gettextpo+set}" = set; then :
3963 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3967 # Check whether --with-gphoto was given.
3968 if test "${with_gphoto+set}" = set; then :
3969 withval=$with_gphoto;
3973 # Check whether --with-glu was given.
3974 if test "${with_glu+set}" = set; then :
3975 withval=$with_glu;
3979 # Check whether --with-gnutls was given.
3980 if test "${with_gnutls+set}" = set; then :
3981 withval=$with_gnutls;
3985 # Check whether --with-gsm was given.
3986 if test "${with_gsm+set}" = set; then :
3987 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3991 # Check whether --with-gssapi was given.
3992 if test "${with_gssapi+set}" = set; then :
3993 withval=$with_gssapi;
3997 # Check whether --with-gstreamer was given.
3998 if test "${with_gstreamer+set}" = set; then :
3999 withval=$with_gstreamer;
4003 # Check whether --with-hal was given.
4004 if test "${with_hal+set}" = set; then :
4005 withval=$with_hal;
4009 # Check whether --with-inotify was given.
4010 if test "${with_inotify+set}" = set; then :
4011 withval=$with_inotify;
4015 # Check whether --with-jpeg was given.
4016 if test "${with_jpeg+set}" = set; then :
4017 withval=$with_jpeg;
4021 # Check whether --with-krb5 was given.
4022 if test "${with_krb5+set}" = set; then :
4023 withval=$with_krb5;
4027 # Check whether --with-ldap was given.
4028 if test "${with_ldap+set}" = set; then :
4029 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4033 # Check whether --with-mingw was given.
4034 if test "${with_mingw+set}" = set; then :
4035 withval=$with_mingw;
4039 # Check whether --with-mpg123 was given.
4040 if test "${with_mpg123+set}" = set; then :
4041 withval=$with_mpg123;
4045 # Check whether --with-netapi was given.
4046 if test "${with_netapi+set}" = set; then :
4047 withval=$with_netapi;
4051 # Check whether --with-openal was given.
4052 if test "${with_openal+set}" = set; then :
4053 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4057 # Check whether --with-opencl was given.
4058 if test "${with_opencl+set}" = set; then :
4059 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4063 # Check whether --with-opengl was given.
4064 if test "${with_opengl+set}" = set; then :
4065 withval=$with_opengl;
4069 # Check whether --with-osmesa was given.
4070 if test "${with_osmesa+set}" = set; then :
4071 withval=$with_osmesa;
4075 # Check whether --with-oss was given.
4076 if test "${with_oss+set}" = set; then :
4077 withval=$with_oss;
4081 # Check whether --with-pcap was given.
4082 if test "${with_pcap+set}" = set; then :
4083 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4087 # Check whether --with-png was given.
4088 if test "${with_png+set}" = set; then :
4089 withval=$with_png;
4093 # Check whether --with-pthread was given.
4094 if test "${with_pthread+set}" = set; then :
4095 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4099 # Check whether --with-pulse was given.
4100 if test "${with_pulse+set}" = set; then :
4101 withval=$with_pulse;
4105 # Check whether --with-sane was given.
4106 if test "${with_sane+set}" = set; then :
4107 withval=$with_sane;
4111 # Check whether --with-sdl was given.
4112 if test "${with_sdl+set}" = set; then :
4113 withval=$with_sdl;
4117 # Check whether --with-tiff was given.
4118 if test "${with_tiff+set}" = set; then :
4119 withval=$with_tiff;
4123 # Check whether --with-udev was given.
4124 if test "${with_udev+set}" = set; then :
4125 withval=$with_udev;
4129 # Check whether --with-unwind was given.
4130 if test "${with_unwind+set}" = set; then :
4131 withval=$with_unwind;
4135 # Check whether --with-usb was given.
4136 if test "${with_usb+set}" = set; then :
4137 withval=$with_usb;
4141 # Check whether --with-v4l2 was given.
4142 if test "${with_v4l2+set}" = set; then :
4143 withval=$with_v4l2;
4147 # Check whether --with-vkd3d was given.
4148 if test "${with_vkd3d+set}" = set; then :
4149 withval=$with_vkd3d;
4153 # Check whether --with-vulkan was given.
4154 if test "${with_vulkan+set}" = set; then :
4155 withval=$with_vulkan;
4159 # Check whether --with-xcomposite was given.
4160 if test "${with_xcomposite+set}" = set; then :
4161 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4165 # Check whether --with-xcursor was given.
4166 if test "${with_xcursor+set}" = set; then :
4167 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4171 # Check whether --with-xfixes was given.
4172 if test "${with_xfixes+set}" = set; then :
4173 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4177 # Check whether --with-xinerama was given.
4178 if test "${with_xinerama+set}" = set; then :
4179 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4183 # Check whether --with-xinput was given.
4184 if test "${with_xinput+set}" = set; then :
4185 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4189 # Check whether --with-xinput2 was given.
4190 if test "${with_xinput2+set}" = set; then :
4191 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4195 # Check whether --with-xml was given.
4196 if test "${with_xml+set}" = set; then :
4197 withval=$with_xml;
4201 # Check whether --with-xrandr was given.
4202 if test "${with_xrandr+set}" = set; then :
4203 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4207 # Check whether --with-xrender was given.
4208 if test "${with_xrender+set}" = set; then :
4209 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4213 # Check whether --with-xshape was given.
4214 if test "${with_xshape+set}" = set; then :
4215 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4219 # Check whether --with-xshm was given.
4220 if test "${with_xshm+set}" = set; then :
4221 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4225 # Check whether --with-xslt was given.
4226 if test "${with_xslt+set}" = set; then :
4227 withval=$with_xslt;
4231 # Check whether --with-xxf86vm was given.
4232 if test "${with_xxf86vm+set}" = set; then :
4233 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
4238 # Check whether --with-wine-tools was given.
4239 if test "${with_wine_tools+set}" = set; then :
4240 withval=$with_wine_tools;
4244 # Check whether --with-wine64 was given.
4245 if test "${with_wine64+set}" = set; then :
4246 withval=$with_wine64;
4250 # Make sure we can run config.sub.
4251 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4252 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4255 $as_echo_n "checking build system type... " >&6; }
4256 if ${ac_cv_build+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 ac_build_alias=$build_alias
4260 test "x$ac_build_alias" = x &&
4261 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4262 test "x$ac_build_alias" = x &&
4263 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4264 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4265 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4269 $as_echo "$ac_cv_build" >&6; }
4270 case $ac_cv_build in
4271 *-*-*) ;;
4272 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4273 esac
4274 build=$ac_cv_build
4275 ac_save_IFS=$IFS; IFS='-'
4276 set x $ac_cv_build
4277 shift
4278 build_cpu=$1
4279 build_vendor=$2
4280 shift; shift
4281 # Remember, the first character of IFS is used to create $*,
4282 # except with old shells:
4283 build_os=$*
4284 IFS=$ac_save_IFS
4285 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4289 $as_echo_n "checking host system type... " >&6; }
4290 if ${ac_cv_host+:} false; then :
4291 $as_echo_n "(cached) " >&6
4292 else
4293 if test "x$host_alias" = x; then
4294 ac_cv_host=$ac_cv_build
4295 else
4296 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4297 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4302 $as_echo "$ac_cv_host" >&6; }
4303 case $ac_cv_host in
4304 *-*-*) ;;
4305 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4306 esac
4307 host=$ac_cv_host
4308 ac_save_IFS=$IFS; IFS='-'
4309 set x $ac_cv_host
4310 shift
4311 host_cpu=$1
4312 host_vendor=$2
4313 shift; shift
4314 # Remember, the first character of IFS is used to create $*,
4315 # except with old shells:
4316 host_os=$*
4317 IFS=$ac_save_IFS
4318 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4324 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4325 set x ${MAKE-make}
4326 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4327 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 cat >conftest.make <<\_ACEOF
4331 SHELL = /bin/sh
4332 all:
4333 @echo '@@@%%%=$(MAKE)=@@@%%%'
4334 _ACEOF
4335 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4336 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4337 *@@@%%%=?*=@@@%%%*)
4338 eval ac_cv_prog_make_${ac_make}_set=yes;;
4340 eval ac_cv_prog_make_${ac_make}_set=no;;
4341 esac
4342 rm -f conftest.make
4344 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4346 $as_echo "yes" >&6; }
4347 SET_MAKE=
4348 else
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 SET_MAKE="MAKE=${MAKE-make}"
4354 ac_ext=c
4355 ac_cpp='$CPP $CPPFLAGS'
4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4359 if test -n "$ac_tool_prefix"; then
4360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_prog_CC+:} false; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -n "$CC"; then
4368 ac_cv_prog_CC="$CC" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4373 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 break 2
4381 done
4382 done
4383 IFS=$as_save_IFS
4387 CC=$ac_cv_prog_CC
4388 if test -n "$CC"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4390 $as_echo "$CC" >&6; }
4391 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4398 if test -z "$ac_cv_prog_CC"; then
4399 ac_ct_CC=$CC
4400 # Extract the first word of "gcc", so it can be a program name with args.
4401 set dummy gcc; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$ac_ct_CC"; then
4408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_ac_ct_CC="gcc"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4421 done
4422 done
4423 IFS=$as_save_IFS
4427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4428 if test -n "$ac_ct_CC"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4430 $as_echo "$ac_ct_CC" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4436 if test "x$ac_ct_CC" = x; then
4437 CC=""
4438 else
4439 case $cross_compiling:$ac_tool_warned in
4440 yes:)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4444 esac
4445 CC=$ac_ct_CC
4447 else
4448 CC="$ac_cv_prog_CC"
4451 if test -z "$CC"; then
4452 if test -n "$ac_tool_prefix"; then
4453 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4454 set dummy ${ac_tool_prefix}cc; ac_word=$2
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4456 $as_echo_n "checking for $ac_word... " >&6; }
4457 if ${ac_cv_prog_CC+:} false; then :
4458 $as_echo_n "(cached) " >&6
4459 else
4460 if test -n "$CC"; then
4461 ac_cv_prog_CC="$CC" # Let the user override the test.
4462 else
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH
4466 IFS=$as_save_IFS
4467 test -z "$as_dir" && as_dir=.
4468 for ac_exec_ext in '' $ac_executable_extensions; do
4469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4470 ac_cv_prog_CC="${ac_tool_prefix}cc"
4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 break 2
4474 done
4475 done
4476 IFS=$as_save_IFS
4480 CC=$ac_cv_prog_CC
4481 if test -n "$CC"; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4483 $as_echo "$CC" >&6; }
4484 else
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4492 if test -z "$CC"; then
4493 # Extract the first word of "cc", so it can be a program name with args.
4494 set dummy cc; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_CC+:} false; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$CC"; then
4501 ac_cv_prog_CC="$CC" # Let the user override the test.
4502 else
4503 ac_prog_rejected=no
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in $PATH
4507 IFS=$as_save_IFS
4508 test -z "$as_dir" && as_dir=.
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4511 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4512 ac_prog_rejected=yes
4513 continue
4515 ac_cv_prog_CC="cc"
4516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 break 2
4519 done
4520 done
4521 IFS=$as_save_IFS
4523 if test $ac_prog_rejected = yes; then
4524 # We found a bogon in the path, so make sure we never use it.
4525 set dummy $ac_cv_prog_CC
4526 shift
4527 if test $# != 0; then
4528 # We chose a different compiler from the bogus one.
4529 # However, it has the same basename, so the bogon will be chosen
4530 # first if we set CC to just the basename; use the full file name.
4531 shift
4532 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4537 CC=$ac_cv_prog_CC
4538 if test -n "$CC"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4540 $as_echo "$CC" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4548 if test -z "$CC"; then
4549 if test -n "$ac_tool_prefix"; then
4550 for ac_prog in cl.exe
4552 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if ${ac_cv_prog_CC+:} false; then :
4557 $as_echo_n "(cached) " >&6
4558 else
4559 if test -n "$CC"; then
4560 ac_cv_prog_CC="$CC" # Let the user override the test.
4561 else
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH
4565 IFS=$as_save_IFS
4566 test -z "$as_dir" && as_dir=.
4567 for ac_exec_ext in '' $ac_executable_extensions; do
4568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 break 2
4573 done
4574 done
4575 IFS=$as_save_IFS
4579 CC=$ac_cv_prog_CC
4580 if test -n "$CC"; then
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4582 $as_echo "$CC" >&6; }
4583 else
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 $as_echo "no" >&6; }
4589 test -n "$CC" && break
4590 done
4592 if test -z "$CC"; then
4593 ac_ct_CC=$CC
4594 for ac_prog in cl.exe
4596 # Extract the first word of "$ac_prog", so it can be a program name with args.
4597 set dummy $ac_prog; ac_word=$2
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599 $as_echo_n "checking for $ac_word... " >&6; }
4600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4601 $as_echo_n "(cached) " >&6
4602 else
4603 if test -n "$ac_ct_CC"; then
4604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4605 else
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 for as_dir in $PATH
4609 IFS=$as_save_IFS
4610 test -z "$as_dir" && as_dir=.
4611 for ac_exec_ext in '' $ac_executable_extensions; do
4612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_ac_ct_CC="$ac_prog"
4614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 break 2
4617 done
4618 done
4619 IFS=$as_save_IFS
4623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4624 if test -n "$ac_ct_CC"; then
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4626 $as_echo "$ac_ct_CC" >&6; }
4627 else
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4633 test -n "$ac_ct_CC" && break
4634 done
4636 if test "x$ac_ct_CC" = x; then
4637 CC=""
4638 else
4639 case $cross_compiling:$ac_tool_warned in
4640 yes:)
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4643 ac_tool_warned=yes ;;
4644 esac
4645 CC=$ac_ct_CC
4652 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4654 as_fn_error $? "no acceptable C compiler found in \$PATH
4655 See \`config.log' for more details" "$LINENO" 5; }
4657 # Provide some information about the compiler.
4658 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4659 set X $ac_compile
4660 ac_compiler=$2
4661 for ac_option in --version -v -V -qversion; do
4662 { { ac_try="$ac_compiler $ac_option >&5"
4663 case "(($ac_try" in
4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4666 esac
4667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4668 $as_echo "$ac_try_echo"; } >&5
4669 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4670 ac_status=$?
4671 if test -s conftest.err; then
4672 sed '10a\
4673 ... rest of stderr output deleted ...
4674 10q' conftest.err >conftest.er1
4675 cat conftest.er1 >&5
4677 rm -f conftest.er1 conftest.err
4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679 test $ac_status = 0; }
4680 done
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4686 main ()
4690 return 0;
4692 _ACEOF
4693 ac_clean_files_save=$ac_clean_files
4694 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4695 # Try to create an executable without -o first, disregard a.out.
4696 # It will help us diagnose broken compilers, and finding out an intuition
4697 # of exeext.
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4699 $as_echo_n "checking whether the C compiler works... " >&6; }
4700 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4702 # The possible output files:
4703 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4705 ac_rmfiles=
4706 for ac_file in $ac_files
4708 case $ac_file in
4709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4710 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4711 esac
4712 done
4713 rm -f $ac_rmfiles
4715 if { { ac_try="$ac_link_default"
4716 case "(($ac_try" in
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4719 esac
4720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4721 $as_echo "$ac_try_echo"; } >&5
4722 (eval "$ac_link_default") 2>&5
4723 ac_status=$?
4724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4725 test $ac_status = 0; }; then :
4726 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4727 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4728 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4729 # so that the user can short-circuit this test for compilers unknown to
4730 # Autoconf.
4731 for ac_file in $ac_files ''
4733 test -f "$ac_file" || continue
4734 case $ac_file in
4735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4737 [ab].out )
4738 # We found the default executable, but exeext='' is most
4739 # certainly right.
4740 break;;
4741 *.* )
4742 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4743 then :; else
4744 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4746 # We set ac_cv_exeext here because the later test for it is not
4747 # safe: cross compilers may not add the suffix if given an `-o'
4748 # argument, so we may need to know it at that point already.
4749 # Even if this section looks crufty: it has the advantage of
4750 # actually working.
4751 break;;
4753 break;;
4754 esac
4755 done
4756 test "$ac_cv_exeext" = no && ac_cv_exeext=
4758 else
4759 ac_file=''
4761 if test -z "$ac_file"; then :
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4764 $as_echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4769 as_fn_error 77 "C compiler cannot create executables
4770 See \`config.log' for more details" "$LINENO" 5; }
4771 else
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4773 $as_echo "yes" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4776 $as_echo_n "checking for C compiler default output file name... " >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4778 $as_echo "$ac_file" >&6; }
4779 ac_exeext=$ac_cv_exeext
4781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4782 ac_clean_files=$ac_clean_files_save
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4784 $as_echo_n "checking for suffix of executables... " >&6; }
4785 if { { ac_try="$ac_link"
4786 case "(($ac_try" in
4787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4788 *) ac_try_echo=$ac_try;;
4789 esac
4790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4791 $as_echo "$ac_try_echo"; } >&5
4792 (eval "$ac_link") 2>&5
4793 ac_status=$?
4794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4795 test $ac_status = 0; }; then :
4796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4798 # work properly (i.e., refer to `conftest.exe'), while it won't with
4799 # `rm'.
4800 for ac_file in conftest.exe conftest conftest.*; do
4801 test -f "$ac_file" || continue
4802 case $ac_file in
4803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4805 break;;
4806 * ) break;;
4807 esac
4808 done
4809 else
4810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4812 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4813 See \`config.log' for more details" "$LINENO" 5; }
4815 rm -f conftest conftest$ac_cv_exeext
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4817 $as_echo "$ac_cv_exeext" >&6; }
4819 rm -f conftest.$ac_ext
4820 EXEEXT=$ac_cv_exeext
4821 ac_exeext=$EXEEXT
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4824 #include <stdio.h>
4826 main ()
4828 FILE *f = fopen ("conftest.out", "w");
4829 return ferror (f) || fclose (f) != 0;
4832 return 0;
4834 _ACEOF
4835 ac_clean_files="$ac_clean_files conftest.out"
4836 # Check that the compiler produces executables we can run. If not, either
4837 # the compiler is broken, or we cross compile.
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4839 $as_echo_n "checking whether we are cross compiling... " >&6; }
4840 if test "$cross_compiling" != yes; then
4841 { { ac_try="$ac_link"
4842 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847 $as_echo "$ac_try_echo"; } >&5
4848 (eval "$ac_link") 2>&5
4849 ac_status=$?
4850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851 test $ac_status = 0; }
4852 if { ac_try='./conftest$ac_cv_exeext'
4853 { { case "(($ac_try" in
4854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855 *) ac_try_echo=$ac_try;;
4856 esac
4857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4858 $as_echo "$ac_try_echo"; } >&5
4859 (eval "$ac_try") 2>&5
4860 ac_status=$?
4861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4862 test $ac_status = 0; }; }; then
4863 cross_compiling=no
4864 else
4865 if test "$cross_compiling" = maybe; then
4866 cross_compiling=yes
4867 else
4868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4870 as_fn_error $? "cannot run C compiled programs.
4871 If you meant to cross compile, use \`--host'.
4872 See \`config.log' for more details" "$LINENO" 5; }
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4877 $as_echo "$cross_compiling" >&6; }
4879 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4880 ac_clean_files=$ac_clean_files_save
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4882 $as_echo_n "checking for suffix of object files... " >&6; }
4883 if ${ac_cv_objext+:} false; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 main ()
4894 return 0;
4896 _ACEOF
4897 rm -f conftest.o conftest.obj
4898 if { { ac_try="$ac_compile"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4904 $as_echo "$ac_try_echo"; } >&5
4905 (eval "$ac_compile") 2>&5
4906 ac_status=$?
4907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4908 test $ac_status = 0; }; then :
4909 for ac_file in conftest.o conftest.obj conftest.*; do
4910 test -f "$ac_file" || continue;
4911 case $ac_file in
4912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4913 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4914 break;;
4915 esac
4916 done
4917 else
4918 $as_echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4923 as_fn_error $? "cannot compute suffix of object files: cannot compile
4924 See \`config.log' for more details" "$LINENO" 5; }
4926 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4929 $as_echo "$ac_cv_objext" >&6; }
4930 OBJEXT=$ac_cv_objext
4931 ac_objext=$OBJEXT
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4933 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4934 if ${ac_cv_c_compiler_gnu+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4941 main ()
4943 #ifndef __GNUC__
4944 choke me
4945 #endif
4948 return 0;
4950 _ACEOF
4951 if ac_fn_c_try_compile "$LINENO"; then :
4952 ac_compiler_gnu=yes
4953 else
4954 ac_compiler_gnu=no
4956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4961 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4962 if test $ac_compiler_gnu = yes; then
4963 GCC=yes
4964 else
4965 GCC=
4967 ac_test_CFLAGS=${CFLAGS+set}
4968 ac_save_CFLAGS=$CFLAGS
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4970 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4971 if ${ac_cv_prog_cc_g+:} false; then :
4972 $as_echo_n "(cached) " >&6
4973 else
4974 ac_save_c_werror_flag=$ac_c_werror_flag
4975 ac_c_werror_flag=yes
4976 ac_cv_prog_cc_g=no
4977 CFLAGS="-g"
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_g=yes
4991 else
4992 CFLAGS=""
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_compile "$LINENO"; then :
5006 else
5007 ac_c_werror_flag=$ac_save_c_werror_flag
5008 CFLAGS="-g"
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5013 main ()
5017 return 0;
5019 _ACEOF
5020 if ac_fn_c_try_compile "$LINENO"; then :
5021 ac_cv_prog_cc_g=yes
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 ac_c_werror_flag=$ac_save_c_werror_flag
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5031 $as_echo "$ac_cv_prog_cc_g" >&6; }
5032 if test "$ac_test_CFLAGS" = set; then
5033 CFLAGS=$ac_save_CFLAGS
5034 elif test $ac_cv_prog_cc_g = yes; then
5035 if test "$GCC" = yes; then
5036 CFLAGS="-g -O2"
5037 else
5038 CFLAGS="-g"
5040 else
5041 if test "$GCC" = yes; then
5042 CFLAGS="-O2"
5043 else
5044 CFLAGS=
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5048 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5049 if ${ac_cv_prog_cc_c89+:} false; then :
5050 $as_echo_n "(cached) " >&6
5051 else
5052 ac_cv_prog_cc_c89=no
5053 ac_save_CC=$CC
5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5056 #include <stdarg.h>
5057 #include <stdio.h>
5058 struct stat;
5059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5060 struct buf { int x; };
5061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5062 static char *e (p, i)
5063 char **p;
5064 int i;
5066 return p[i];
5068 static char *f (char * (*g) (char **, int), char **p, ...)
5070 char *s;
5071 va_list v;
5072 va_start (v,p);
5073 s = g (p, va_arg (v,int));
5074 va_end (v);
5075 return s;
5078 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5079 function prototypes and stuff, but not '\xHH' hex character constants.
5080 These don't provoke an error unfortunately, instead are silently treated
5081 as 'x'. The following induces an error, until -std is added to get
5082 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5083 array size at least. It's necessary to write '\x00'==0 to get something
5084 that's true only with -std. */
5085 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5087 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5088 inside strings and character constants. */
5089 #define FOO(x) 'x'
5090 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5092 int test (int i, double x);
5093 struct s1 {int (*f) (int a);};
5094 struct s2 {int (*f) (double a);};
5095 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5096 int argc;
5097 char **argv;
5099 main ()
5101 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5103 return 0;
5105 _ACEOF
5106 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5107 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5109 CC="$ac_save_CC $ac_arg"
5110 if ac_fn_c_try_compile "$LINENO"; then :
5111 ac_cv_prog_cc_c89=$ac_arg
5113 rm -f core conftest.err conftest.$ac_objext
5114 test "x$ac_cv_prog_cc_c89" != "xno" && break
5115 done
5116 rm -f conftest.$ac_ext
5117 CC=$ac_save_CC
5120 # AC_CACHE_VAL
5121 case "x$ac_cv_prog_cc_c89" in
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5124 $as_echo "none needed" >&6; } ;;
5125 xno)
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5127 $as_echo "unsupported" >&6; } ;;
5129 CC="$CC $ac_cv_prog_cc_c89"
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5131 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5132 esac
5133 if test "x$ac_cv_prog_cc_c89" != xno; then :
5137 ac_ext=c
5138 ac_cpp='$CPP $CPPFLAGS'
5139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5143 ac_ext=cpp
5144 ac_cpp='$CXXCPP $CPPFLAGS'
5145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5148 if test -z "$CXX"; then
5149 if test -n "$CCC"; then
5150 CXX=$CCC
5151 else
5152 if test -n "$ac_tool_prefix"; then
5153 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5156 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_CXX+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 if test -n "$CXX"; then
5163 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2
5176 done
5177 done
5178 IFS=$as_save_IFS
5182 CXX=$ac_cv_prog_CXX
5183 if test -n "$CXX"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5185 $as_echo "$CXX" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5192 test -n "$CXX" && break
5193 done
5195 if test -z "$CXX"; then
5196 ac_ct_CXX=$CXX
5197 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5199 # Extract the first word of "$ac_prog", so it can be a program name with args.
5200 set dummy $ac_prog; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5204 $as_echo_n "(cached) " >&6
5205 else
5206 if test -n "$ac_ct_CXX"; then
5207 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_CXX="$ac_prog"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5227 if test -n "$ac_ct_CXX"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5229 $as_echo "$ac_ct_CXX" >&6; }
5230 else
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5236 test -n "$ac_ct_CXX" && break
5237 done
5239 if test "x$ac_ct_CXX" = x; then
5240 CXX="g++"
5241 else
5242 case $cross_compiling:$ac_tool_warned in
5243 yes:)
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5246 ac_tool_warned=yes ;;
5247 esac
5248 CXX=$ac_ct_CXX
5254 # Provide some information about the compiler.
5255 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5256 set X $ac_compile
5257 ac_compiler=$2
5258 for ac_option in --version -v -V -qversion; do
5259 { { ac_try="$ac_compiler $ac_option >&5"
5260 case "(($ac_try" in
5261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5262 *) ac_try_echo=$ac_try;;
5263 esac
5264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5265 $as_echo "$ac_try_echo"; } >&5
5266 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5267 ac_status=$?
5268 if test -s conftest.err; then
5269 sed '10a\
5270 ... rest of stderr output deleted ...
5271 10q' conftest.err >conftest.er1
5272 cat conftest.er1 >&5
5274 rm -f conftest.er1 conftest.err
5275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5276 test $ac_status = 0; }
5277 done
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5280 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5281 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5288 main ()
5290 #ifndef __GNUC__
5291 choke me
5292 #endif
5295 return 0;
5297 _ACEOF
5298 if ac_fn_cxx_try_compile "$LINENO"; then :
5299 ac_compiler_gnu=yes
5300 else
5301 ac_compiler_gnu=no
5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5308 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5309 if test $ac_compiler_gnu = yes; then
5310 GXX=yes
5311 else
5312 GXX=
5314 ac_test_CXXFLAGS=${CXXFLAGS+set}
5315 ac_save_CXXFLAGS=$CXXFLAGS
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5317 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5318 if ${ac_cv_prog_cxx_g+:} false; then :
5319 $as_echo_n "(cached) " >&6
5320 else
5321 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5322 ac_cxx_werror_flag=yes
5323 ac_cv_prog_cxx_g=no
5324 CXXFLAGS="-g"
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5333 return 0;
5335 _ACEOF
5336 if ac_fn_cxx_try_compile "$LINENO"; then :
5337 ac_cv_prog_cxx_g=yes
5338 else
5339 CXXFLAGS=""
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5344 main ()
5348 return 0;
5350 _ACEOF
5351 if ac_fn_cxx_try_compile "$LINENO"; then :
5353 else
5354 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5355 CXXFLAGS="-g"
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5360 main ()
5364 return 0;
5366 _ACEOF
5367 if ac_fn_cxx_try_compile "$LINENO"; then :
5368 ac_cv_prog_cxx_g=yes
5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5375 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5378 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5379 if test "$ac_test_CXXFLAGS" = set; then
5380 CXXFLAGS=$ac_save_CXXFLAGS
5381 elif test $ac_cv_prog_cxx_g = yes; then
5382 if test "$GXX" = yes; then
5383 CXXFLAGS="-g -O2"
5384 else
5385 CXXFLAGS="-g"
5387 else
5388 if test "$GXX" = yes; then
5389 CXXFLAGS="-O2"
5390 else
5391 CXXFLAGS=
5394 ac_ext=c
5395 ac_cpp='$CPP $CPPFLAGS'
5396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5400 if test -n "$ac_tool_prefix"; then
5401 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5402 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_CPPBIN+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 if test -n "$CPPBIN"; then
5409 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5428 CPPBIN=$ac_cv_prog_CPPBIN
5429 if test -n "$CPPBIN"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5431 $as_echo "$CPPBIN" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5439 if test -z "$ac_cv_prog_CPPBIN"; then
5440 ac_ct_CPPBIN=$CPPBIN
5441 # Extract the first word of "cpp", so it can be a program name with args.
5442 set dummy cpp; ac_word=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5446 $as_echo_n "(cached) " >&6
5447 else
5448 if test -n "$ac_ct_CPPBIN"; then
5449 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5450 else
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 for as_dir in $PATH
5454 IFS=$as_save_IFS
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_prog_ac_ct_CPPBIN="cpp"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 break 2
5462 done
5463 done
5464 IFS=$as_save_IFS
5468 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5469 if test -n "$ac_ct_CPPBIN"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5471 $as_echo "$ac_ct_CPPBIN" >&6; }
5472 else
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5477 if test "x$ac_ct_CPPBIN" = x; then
5478 CPPBIN="cpp"
5479 else
5480 case $cross_compiling:$ac_tool_warned in
5481 yes:)
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5484 ac_tool_warned=yes ;;
5485 esac
5486 CPPBIN=$ac_ct_CPPBIN
5488 else
5489 CPPBIN="$ac_cv_prog_CPPBIN"
5493 cat >>confdefs.h <<_ACEOF
5494 #define EXEEXT "$ac_exeext"
5495 _ACEOF
5497 if test -n "$ac_tool_prefix"; then
5498 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5499 set dummy ${ac_tool_prefix}ld; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_LD+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$LD"; then
5506 ac_cv_prog_LD="$LD" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_LD="${ac_tool_prefix}ld"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 LD=$ac_cv_prog_LD
5526 if test -n "$LD"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5528 $as_echo "$LD" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5536 if test -z "$ac_cv_prog_LD"; then
5537 ac_ct_LD=$LD
5538 # Extract the first word of "ld", so it can be a program name with args.
5539 set dummy ld; ac_word=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5543 $as_echo_n "(cached) " >&6
5544 else
5545 if test -n "$ac_ct_LD"; then
5546 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5547 else
5548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 for as_dir in $PATH
5551 IFS=$as_save_IFS
5552 test -z "$as_dir" && as_dir=.
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_ac_ct_LD="ld"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 break 2
5559 done
5560 done
5561 IFS=$as_save_IFS
5565 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5566 if test -n "$ac_ct_LD"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5568 $as_echo "$ac_ct_LD" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5574 if test "x$ac_ct_LD" = x; then
5575 LD=""
5576 else
5577 case $cross_compiling:$ac_tool_warned in
5578 yes:)
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5581 ac_tool_warned=yes ;;
5582 esac
5583 LD=$ac_ct_LD
5585 else
5586 LD="$ac_cv_prog_LD"
5590 case $host in
5591 *-darwin*)
5592 with_fontconfig=${with_fontconfig:-no}
5594 *-mingw32*|*-cygwin*)
5595 enable_win16=${enable_win16:-no}
5596 with_mingw=${with_mingw:-no}
5597 CFLAGS="$CFLAGS -D_WIN32"
5599 esac
5601 case $host in
5602 x86_64*|amd64*)
5603 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5604 then
5605 CC="$CC -m32"
5606 CXX="$CXX -m32"
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5609 $as_echo_n "checking whether $CC works... " >&6; }
5610 if ${wine_cv_cc_m32+:} false; then :
5611 $as_echo_n "(cached) " >&6
5612 else
5613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614 /* end confdefs.h. */
5617 main ()
5621 return 0;
5623 _ACEOF
5624 if ac_fn_c_try_link "$LINENO"; then :
5625 wine_cv_cc_m32=yes
5626 else
5627 wine_cv_cc_m32=no
5629 rm -f core conftest.err conftest.$ac_objext \
5630 conftest$ac_exeext conftest.$ac_ext
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5633 $as_echo "$wine_cv_cc_m32" >&6; }
5634 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
5635 host_cpu="i386"
5636 notice_platform="32-bit "
5637 TARGETFLAGS="-m32"
5639 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5640 export PKG_CONFIG_PATH
5641 enable_win16=${enable_win16:-yes}
5642 with_unwind=${with_unwind:-no}
5643 else
5644 if test "x${GCC}" = "xyes"
5645 then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5647 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5648 if ${wine_cv_builtin_ms_va_list+:} false; then :
5649 $as_echo_n "(cached) " >&6
5650 else
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5653 #include <stdarg.h>
5655 main ()
5657 void func(__builtin_ms_va_list *args);
5659 return 0;
5661 _ACEOF
5662 if ac_fn_c_try_compile "$LINENO"; then :
5663 wine_cv_builtin_ms_va_list=yes
5664 else
5665 wine_cv_builtin_ms_va_list=no
5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5670 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5671 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
5673 CC="$CC -m64"
5674 CXX="$CXX -m64"
5675 host_cpu="x86_64"
5676 notice_platform="64-bit "
5677 TARGETFLAGS="-m64"
5681 arm*)
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5683 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5684 if ${wine_cv_thumb+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5689 int ac_test(int i) { return i; }
5691 main ()
5693 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5695 return 0;
5697 _ACEOF
5698 if ac_fn_c_try_link "$LINENO"; then :
5699 wine_cv_thumb=yes
5700 else
5701 wine_cv_thumb=no
5703 rm -f core conftest.err conftest.$ac_objext \
5704 conftest$ac_exeext conftest.$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5707 $as_echo "$wine_cv_thumb" >&6; }
5708 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5709 case $with_float_abi in
5710 soft|softfp|hard)
5711 float_abi=$with_float_abi ;;
5713 case $host_os in
5714 *eabihf)
5715 float_abi=hard ;;
5717 float_abi=softfp
5718 saved_CFLAGS=$CFLAGS
5719 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5721 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5722 if ${wine_cv_float_abi+:} false; then :
5723 $as_echo_n "(cached) " >&6
5724 else
5725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5729 main ()
5731 asm("vmrs r2,fpscr");
5733 return 0;
5735 _ACEOF
5736 if ac_fn_c_try_link "$LINENO"; then :
5737 wine_cv_float_abi=yes
5738 else
5739 wine_cv_float_abi=no
5741 rm -f core conftest.err conftest.$ac_objext \
5742 conftest$ac_exeext conftest.$ac_ext
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5745 $as_echo "$wine_cv_float_abi" >&6; }
5746 if test $wine_cv_float_abi = no
5747 then
5748 float_abi=soft
5749 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5751 CFLAGS=$saved_CFLAGS
5752 esac
5754 esac
5755 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5756 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5759 aarch64*)
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5761 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5762 if ${wine_cv_builtin_ms_va_list+:} false; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5766 /* end confdefs.h. */
5767 #include <stdarg.h>
5769 main ()
5771 void func(__builtin_ms_va_list *args);
5773 return 0;
5775 _ACEOF
5776 if ac_fn_c_try_compile "$LINENO"; then :
5777 wine_cv_builtin_ms_va_list=yes
5778 else
5779 wine_cv_builtin_ms_va_list=no
5781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5784 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5785 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5787 i[3456789]86*)
5788 enable_win16=${enable_win16:-yes}
5789 with_unwind=${with_unwind:-no}
5791 esac
5793 enable_win16=${enable_win16:-no}
5794 enable_win64=${enable_win64:-no}
5796 enable_winetest=${enable_winetest:-$enable_tests}
5798 if test "x$enable_win64" = "xyes"
5799 then
5800 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5801 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5802 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5806 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5807 if ${wine_cv_toolsdir+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 wine_cv_toolsdir="$with_wine_tools"
5811 if test -z "$with_wine_tools"; then
5812 if test "$cross_compiling" = "yes"; then
5813 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5814 elif test -n "$with_wine64"; then
5815 wine_cv_toolsdir="$with_wine64"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5820 $as_echo "$wine_cv_toolsdir" >&6; }
5821 if test -z "$wine_cv_toolsdir"; then
5822 wine_makedep=tools/makedep
5823 TOOLSDIR="\$(top_builddir)"
5825 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5826 wine_makedep=$wine_cv_toolsdir/tools/makedep
5827 case "$wine_cv_toolsdir" in
5828 /*) TOOLSDIR=$wine_cv_toolsdir
5830 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5832 esac
5833 enable_tools=${enable_tools:-no}
5834 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5835 else
5836 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5838 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5839 then
5840 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5844 for ac_prog in flex
5846 # Extract the first word of "$ac_prog", so it can be a program name with args.
5847 set dummy $ac_prog; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_FLEX+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 if test -n "$FLEX"; then
5854 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_FLEX="$ac_prog"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5867 done
5868 done
5869 IFS=$as_save_IFS
5873 FLEX=$ac_cv_prog_FLEX
5874 if test -n "$FLEX"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5876 $as_echo "$FLEX" >&6; }
5877 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5883 test -n "$FLEX" && break
5884 done
5885 test -n "$FLEX" || FLEX="none"
5887 if test "$FLEX" = "none"
5888 then
5889 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5892 $as_echo_n "checking whether flex is recent enough... " >&6; }
5893 if ${wine_cv_recent_flex+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 cat >conftest.l <<EOF
5897 %top{
5898 #include "prediluvian.h"
5902 if $FLEX -t conftest.l >/dev/null 2>&5
5903 then
5904 wine_cv_recent_flex=yes
5905 else
5906 wine_cv_recent_flex=no
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5910 $as_echo "$wine_cv_recent_flex" >&6; }
5911 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
5913 for ac_prog in bison
5915 # Extract the first word of "$ac_prog", so it can be a program name with args.
5916 set dummy $ac_prog; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_BISON+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 if test -n "$BISON"; then
5923 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5928 IFS=$as_save_IFS
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_BISON="$ac_prog"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 break 2
5936 done
5937 done
5938 IFS=$as_save_IFS
5942 BISON=$ac_cv_prog_BISON
5943 if test -n "$BISON"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5945 $as_echo "$BISON" >&6; }
5946 else
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5952 test -n "$BISON" && break
5953 done
5954 test -n "$BISON" || BISON="none"
5956 if test "$BISON" = "none"
5957 then
5958 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5961 $as_echo_n "checking whether bison is recent enough... " >&6; }
5962 if ${wine_cv_recent_bison+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 cat >conftest.y <<EOF
5966 %define parse.error verbose
5968 empty: ;
5970 if $BISON conftest.y >/dev/null 2>&5
5971 then
5972 wine_cv_recent_bison=yes
5973 else
5974 wine_cv_recent_bison=no
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5978 $as_echo "$wine_cv_recent_bison" >&6; }
5979 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
5981 if test -n "$ac_tool_prefix"; then
5982 for ac_prog in ar gar
5984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if ${ac_cv_prog_AR+:} false; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 if test -n "$AR"; then
5992 ac_cv_prog_AR="$AR" # Let the user override the test.
5993 else
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5995 for as_dir in $PATH
5997 IFS=$as_save_IFS
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6001 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 break 2
6005 done
6006 done
6007 IFS=$as_save_IFS
6011 AR=$ac_cv_prog_AR
6012 if test -n "$AR"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6014 $as_echo "$AR" >&6; }
6015 else
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6021 test -n "$AR" && break
6022 done
6024 if test -z "$AR"; then
6025 ac_ct_AR=$AR
6026 for ac_prog in ar gar
6028 # Extract the first word of "$ac_prog", so it can be a program name with args.
6029 set dummy $ac_prog; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$ac_ct_AR"; then
6036 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_ac_ct_AR="$ac_prog"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6056 if test -n "$ac_ct_AR"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6058 $as_echo "$ac_ct_AR" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6065 test -n "$ac_ct_AR" && break
6066 done
6068 if test "x$ac_ct_AR" = x; then
6069 AR="ar"
6070 else
6071 case $cross_compiling:$ac_tool_warned in
6072 yes:)
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6075 ac_tool_warned=yes ;;
6076 esac
6077 AR=$ac_ct_AR
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}strip; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_STRIP+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$STRIP"; then
6090 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6109 STRIP=$ac_cv_prog_STRIP
6110 if test -n "$STRIP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6112 $as_echo "$STRIP" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_STRIP"; then
6121 ac_ct_STRIP=$STRIP
6122 # Extract the first word of "strip", so it can be a program name with args.
6123 set dummy strip; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ac_ct_STRIP"; then
6130 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_ac_ct_STRIP="strip"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6150 if test -n "$ac_ct_STRIP"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6152 $as_echo "$ac_ct_STRIP" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_STRIP" = x; then
6159 STRIP="strip"
6160 else
6161 case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167 STRIP=$ac_ct_STRIP
6169 else
6170 STRIP="$ac_cv_prog_STRIP"
6173 if test -n "$ac_tool_prefix"; then
6174 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6175 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 $as_echo_n "checking for $ac_word... " >&6; }
6178 if ${ac_cv_prog_RANLIB+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 if test -n "$RANLIB"; then
6182 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6183 else
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 for as_dir in $PATH
6187 IFS=$as_save_IFS
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 break 2
6195 done
6196 done
6197 IFS=$as_save_IFS
6201 RANLIB=$ac_cv_prog_RANLIB
6202 if test -n "$RANLIB"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6204 $as_echo "$RANLIB" >&6; }
6205 else
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6212 if test -z "$ac_cv_prog_RANLIB"; then
6213 ac_ct_RANLIB=$RANLIB
6214 # Extract the first word of "ranlib", so it can be a program name with args.
6215 set dummy ranlib; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6219 $as_echo_n "(cached) " >&6
6220 else
6221 if test -n "$ac_ct_RANLIB"; then
6222 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6223 else
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 for as_dir in $PATH
6227 IFS=$as_save_IFS
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6231 ac_cv_prog_ac_ct_RANLIB="ranlib"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 break 2
6235 done
6236 done
6237 IFS=$as_save_IFS
6241 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6242 if test -n "$ac_ct_RANLIB"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6244 $as_echo "$ac_ct_RANLIB" >&6; }
6245 else
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6250 if test "x$ac_ct_RANLIB" = x; then
6251 RANLIB=":"
6252 else
6253 case $cross_compiling:$ac_tool_warned in
6254 yes:)
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6257 ac_tool_warned=yes ;;
6258 esac
6259 RANLIB=$ac_ct_RANLIB
6261 else
6262 RANLIB="$ac_cv_prog_RANLIB"
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6266 $as_echo_n "checking whether ln -s works... " >&6; }
6267 LN_S=$as_ln_s
6268 if test "$LN_S" = "ln -s"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6270 $as_echo "yes" >&6; }
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6273 $as_echo "no, using $LN_S" >&6; }
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6277 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6278 if ${ac_cv_path_GREP+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 if test -z "$GREP"; then
6282 ac_path_GREP_found=false
6283 # Loop through the user's path and test for each of PROGNAME-LIST
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6287 IFS=$as_save_IFS
6288 test -z "$as_dir" && as_dir=.
6289 for ac_prog in grep ggrep; do
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6292 as_fn_executable_p "$ac_path_GREP" || continue
6293 # Check for GNU ac_path_GREP and select it if it is found.
6294 # Check for GNU $ac_path_GREP
6295 case `"$ac_path_GREP" --version 2>&1` in
6296 *GNU*)
6297 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6299 ac_count=0
6300 $as_echo_n 0123456789 >"conftest.in"
6301 while :
6303 cat "conftest.in" "conftest.in" >"conftest.tmp"
6304 mv "conftest.tmp" "conftest.in"
6305 cp "conftest.in" "conftest.nl"
6306 $as_echo 'GREP' >> "conftest.nl"
6307 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6308 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6309 as_fn_arith $ac_count + 1 && ac_count=$as_val
6310 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6311 # Best one so far, save it but keep looking for a better one
6312 ac_cv_path_GREP="$ac_path_GREP"
6313 ac_path_GREP_max=$ac_count
6315 # 10*(2^10) chars as input seems more than enough
6316 test $ac_count -gt 10 && break
6317 done
6318 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6319 esac
6321 $ac_path_GREP_found && break 3
6322 done
6323 done
6324 done
6325 IFS=$as_save_IFS
6326 if test -z "$ac_cv_path_GREP"; then
6327 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6329 else
6330 ac_cv_path_GREP=$GREP
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6335 $as_echo "$ac_cv_path_GREP" >&6; }
6336 GREP="$ac_cv_path_GREP"
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6340 $as_echo_n "checking for egrep... " >&6; }
6341 if ${ac_cv_path_EGREP+:} false; then :
6342 $as_echo_n "(cached) " >&6
6343 else
6344 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6345 then ac_cv_path_EGREP="$GREP -E"
6346 else
6347 if test -z "$EGREP"; then
6348 ac_path_EGREP_found=false
6349 # Loop through the user's path and test for each of PROGNAME-LIST
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6353 IFS=$as_save_IFS
6354 test -z "$as_dir" && as_dir=.
6355 for ac_prog in egrep; do
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6358 as_fn_executable_p "$ac_path_EGREP" || continue
6359 # Check for GNU ac_path_EGREP and select it if it is found.
6360 # Check for GNU $ac_path_EGREP
6361 case `"$ac_path_EGREP" --version 2>&1` in
6362 *GNU*)
6363 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6365 ac_count=0
6366 $as_echo_n 0123456789 >"conftest.in"
6367 while :
6369 cat "conftest.in" "conftest.in" >"conftest.tmp"
6370 mv "conftest.tmp" "conftest.in"
6371 cp "conftest.in" "conftest.nl"
6372 $as_echo 'EGREP' >> "conftest.nl"
6373 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6375 as_fn_arith $ac_count + 1 && ac_count=$as_val
6376 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6377 # Best one so far, save it but keep looking for a better one
6378 ac_cv_path_EGREP="$ac_path_EGREP"
6379 ac_path_EGREP_max=$ac_count
6381 # 10*(2^10) chars as input seems more than enough
6382 test $ac_count -gt 10 && break
6383 done
6384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6385 esac
6387 $ac_path_EGREP_found && break 3
6388 done
6389 done
6390 done
6391 IFS=$as_save_IFS
6392 if test -z "$ac_cv_path_EGREP"; then
6393 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6395 else
6396 ac_cv_path_EGREP=$EGREP
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6402 $as_echo "$ac_cv_path_EGREP" >&6; }
6403 EGREP="$ac_cv_path_EGREP"
6406 # Extract the first word of "ldconfig", so it can be a program name with args.
6407 set dummy ldconfig; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_path_LDCONFIG+:} false; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 case $LDCONFIG in
6414 [\\/]* | ?:[\\/]*)
6415 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in /sbin /usr/sbin $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6433 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6435 esac
6437 LDCONFIG=$ac_cv_path_LDCONFIG
6438 if test -n "$LDCONFIG"; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6440 $as_echo "$LDCONFIG" >&6; }
6441 else
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6443 $as_echo "no" >&6; }
6447 for ac_prog in msgfmt
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy $ac_prog; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if ${ac_cv_prog_MSGFMT+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 if test -n "$MSGFMT"; then
6457 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6462 IFS=$as_save_IFS
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_MSGFMT="$ac_prog"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 break 2
6470 done
6471 done
6472 IFS=$as_save_IFS
6476 MSGFMT=$ac_cv_prog_MSGFMT
6477 if test -n "$MSGFMT"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6479 $as_echo "$MSGFMT" >&6; }
6480 else
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6486 test -n "$MSGFMT" && break
6487 done
6488 test -n "$MSGFMT" || MSGFMT="false"
6490 if ${ac_tool_prefix+:} false; then :
6491 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6492 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6496 $as_echo_n "(cached) " >&6
6497 else
6498 if test -n "$PKG_CONFIG"; then
6499 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6500 else
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 for as_dir in $PATH
6504 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 break 2
6512 done
6513 done
6514 IFS=$as_save_IFS
6518 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6519 if test -n "$PKG_CONFIG"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6521 $as_echo "$PKG_CONFIG" >&6; }
6522 else
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6529 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6530 if test "x$cross_compiling" = xyes; then :
6532 else
6533 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6534 # Extract the first word of "pkg-config", so it can be a program name with args.
6535 set dummy pkg-config; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 $as_echo_n "checking for $ac_word... " >&6; }
6538 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 if test -n "$PKG_CONFIG"; then
6542 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6543 else
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545 for as_dir in $PATH
6547 IFS=$as_save_IFS
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_PKG_CONFIG="pkg-config"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 break 2
6555 done
6556 done
6557 IFS=$as_save_IFS
6561 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6562 if test -n "$PKG_CONFIG"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6564 $as_echo "$PKG_CONFIG" >&6; }
6565 else
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 $as_echo "no" >&6; }
6572 else
6573 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6576 if test "x$enable_maintainer_mode" != "xyes"
6577 then
6578 FONTFORGE=""
6579 RSVG=""
6580 CONVERT=""
6581 ICOTOOL=""
6582 else
6583 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6584 for ac_prog in fontforge
6586 # Extract the first word of "$ac_prog", so it can be a program name with args.
6587 set dummy $ac_prog; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_FONTFORGE+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$FONTFORGE"; then
6594 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_FONTFORGE="$ac_prog"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 FONTFORGE=$ac_cv_prog_FONTFORGE
6614 if test -n "$FONTFORGE"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6616 $as_echo "$FONTFORGE" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6623 test -n "$FONTFORGE" && break
6624 done
6625 test -n "$FONTFORGE" || FONTFORGE="false"
6627 for ac_prog in rsvg-convert rsvg
6629 # Extract the first word of "$ac_prog", so it can be a program name with args.
6630 set dummy $ac_prog; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_RSVG+:} false; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RSVG"; then
6637 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_RSVG="$ac_prog"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 RSVG=$ac_cv_prog_RSVG
6657 if test -n "$RSVG"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6659 $as_echo "$RSVG" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6666 test -n "$RSVG" && break
6667 done
6668 test -n "$RSVG" || RSVG="false"
6670 for ac_prog in convert
6672 # Extract the first word of "$ac_prog", so it can be a program name with args.
6673 set dummy $ac_prog; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_CONVERT+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 if test -n "$CONVERT"; then
6680 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6681 else
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 for as_dir in $PATH
6685 IFS=$as_save_IFS
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6689 ac_cv_prog_CONVERT="$ac_prog"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 break 2
6693 done
6694 done
6695 IFS=$as_save_IFS
6699 CONVERT=$ac_cv_prog_CONVERT
6700 if test -n "$CONVERT"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6702 $as_echo "$CONVERT" >&6; }
6703 else
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6709 test -n "$CONVERT" && break
6710 done
6711 test -n "$CONVERT" || CONVERT="false"
6713 for ac_prog in icotool
6715 # Extract the first word of "$ac_prog", so it can be a program name with args.
6716 set dummy $ac_prog; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_ICOTOOL+:} false; then :
6720 $as_echo_n "(cached) " >&6
6721 else
6722 if test -n "$ICOTOOL"; then
6723 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6728 IFS=$as_save_IFS
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_ICOTOOL="$ac_prog"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 break 2
6736 done
6737 done
6738 IFS=$as_save_IFS
6742 ICOTOOL=$ac_cv_prog_ICOTOOL
6743 if test -n "$ICOTOOL"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6745 $as_echo "$ICOTOOL" >&6; }
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6752 test -n "$ICOTOOL" && break
6753 done
6754 test -n "$ICOTOOL" || ICOTOOL="false"
6756 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6757 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6759 if test "$CONVERT" = false
6760 then
6761 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6762 else
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6764 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6765 convert_version=`convert --version | head -n1`
6766 if test "x$convert_version" != "x"
6767 then
6768 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6769 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6770 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6771 then
6772 CONVERT=false
6775 if test "$CONVERT" = false
6776 then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6778 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6779 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6782 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6786 if test "$ICOTOOL" = false
6787 then
6788 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6789 else
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6791 $as_echo_n "checking for recent enough icotool... " >&6; }
6792 icotool_version=`icotool --version | head -n1`
6793 if test "x$icotool_version" != "x"
6794 then
6795 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6796 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6797 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6798 then
6799 ICOTOOL=false
6800 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6803 if test "$ICOTOOL" = false
6804 then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6806 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6807 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6808 else
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6810 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6814 with_gettext=yes
6815 with_gettextpo=yes
6817 enable_werror=yes
6820 test "x$with_gettext" != xno || MSGFMT=false
6821 if test "$MSGFMT" != "false"
6822 then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6824 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6825 if ${wine_cv_msgfmt_contexts+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 cat >conftest.po <<EOF
6829 # comment
6830 msgctxt "ctxt"
6831 msgid "id"
6832 msgstr "str"
6834 if $MSGFMT -o /dev/null conftest.po 2>&5
6835 then
6836 wine_cv_msgfmt_contexts=yes
6837 else
6838 wine_cv_msgfmt_contexts=no
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6842 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6843 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6845 if test "$MSGFMT" = false; then :
6846 case "x$with_gettext" in
6847 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6848 xno) ;;
6849 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6850 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6851 esac
6852 enable_po=${enable_po:-no}
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6857 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6858 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6859 $as_echo_n "(cached) " >&6
6860 else
6861 ac_check_lib_save_LIBS=$LIBS
6862 LIBS="-li386 $LIBS"
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6866 /* Override any GCC internal prototype to avoid an error.
6867 Use char because int might match the return type of a GCC
6868 builtin and then its argument prototype would still apply. */
6869 #ifdef __cplusplus
6870 extern "C"
6871 #endif
6872 char i386_set_ldt ();
6874 main ()
6876 return i386_set_ldt ();
6878 return 0;
6880 _ACEOF
6881 if ac_fn_c_try_link "$LINENO"; then :
6882 ac_cv_lib_i386_i386_set_ldt=yes
6883 else
6884 ac_cv_lib_i386_i386_set_ldt=no
6886 rm -f core conftest.err conftest.$ac_objext \
6887 conftest$ac_exeext conftest.$ac_ext
6888 LIBS=$ac_check_lib_save_LIBS
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6891 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6892 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6893 I386_LIBS="-li386"
6898 OPENGL_LIBS=""
6902 # Check whether --enable-largefile was given.
6903 if test "${enable_largefile+set}" = set; then :
6904 enableval=$enable_largefile;
6907 if test "$enable_largefile" != no; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6910 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6911 if ${ac_cv_sys_largefile_CC+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 ac_cv_sys_largefile_CC=no
6915 if test "$GCC" != yes; then
6916 ac_save_CC=$CC
6917 while :; do
6918 # IRIX 6.2 and later do not support large files by default,
6919 # so use the C compiler's -n32 option if that helps.
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 #include <sys/types.h>
6923 /* Check that off_t can represent 2**63 - 1 correctly.
6924 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6925 since some C++ compilers masquerading as C compilers
6926 incorrectly reject 9223372036854775807. */
6927 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6928 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6929 && LARGE_OFF_T % 2147483647 == 1)
6930 ? 1 : -1];
6932 main ()
6936 return 0;
6938 _ACEOF
6939 if ac_fn_c_try_compile "$LINENO"; then :
6940 break
6942 rm -f core conftest.err conftest.$ac_objext
6943 CC="$CC -n32"
6944 if ac_fn_c_try_compile "$LINENO"; then :
6945 ac_cv_sys_largefile_CC=' -n32'; break
6947 rm -f core conftest.err conftest.$ac_objext
6948 break
6949 done
6950 CC=$ac_save_CC
6951 rm -f conftest.$ac_ext
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6955 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6956 if test "$ac_cv_sys_largefile_CC" != no; then
6957 CC=$CC$ac_cv_sys_largefile_CC
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6961 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6962 if ${ac_cv_sys_file_offset_bits+:} false; then :
6963 $as_echo_n "(cached) " >&6
6964 else
6965 while :; do
6966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6967 /* end confdefs.h. */
6968 #include <sys/types.h>
6969 /* Check that off_t can represent 2**63 - 1 correctly.
6970 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6971 since some C++ compilers masquerading as C compilers
6972 incorrectly reject 9223372036854775807. */
6973 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6974 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6975 && LARGE_OFF_T % 2147483647 == 1)
6976 ? 1 : -1];
6978 main ()
6982 return 0;
6984 _ACEOF
6985 if ac_fn_c_try_compile "$LINENO"; then :
6986 ac_cv_sys_file_offset_bits=no; break
6988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h. */
6991 #define _FILE_OFFSET_BITS 64
6992 #include <sys/types.h>
6993 /* Check that off_t can represent 2**63 - 1 correctly.
6994 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6995 since some C++ compilers masquerading as C compilers
6996 incorrectly reject 9223372036854775807. */
6997 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6998 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6999 && LARGE_OFF_T % 2147483647 == 1)
7000 ? 1 : -1];
7002 main ()
7006 return 0;
7008 _ACEOF
7009 if ac_fn_c_try_compile "$LINENO"; then :
7010 ac_cv_sys_file_offset_bits=64; break
7012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7013 ac_cv_sys_file_offset_bits=unknown
7014 break
7015 done
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7018 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7019 case $ac_cv_sys_file_offset_bits in #(
7020 no | unknown) ;;
7022 cat >>confdefs.h <<_ACEOF
7023 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7024 _ACEOF
7026 esac
7027 rm -rf conftest*
7028 if test $ac_cv_sys_file_offset_bits = unknown; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7030 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7031 if ${ac_cv_sys_large_files+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 while :; do
7035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7037 #include <sys/types.h>
7038 /* Check that off_t can represent 2**63 - 1 correctly.
7039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7040 since some C++ compilers masquerading as C compilers
7041 incorrectly reject 9223372036854775807. */
7042 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7044 && LARGE_OFF_T % 2147483647 == 1)
7045 ? 1 : -1];
7047 main ()
7051 return 0;
7053 _ACEOF
7054 if ac_fn_c_try_compile "$LINENO"; then :
7055 ac_cv_sys_large_files=no; break
7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7059 /* end confdefs.h. */
7060 #define _LARGE_FILES 1
7061 #include <sys/types.h>
7062 /* Check that off_t can represent 2**63 - 1 correctly.
7063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7064 since some C++ compilers masquerading as C compilers
7065 incorrectly reject 9223372036854775807. */
7066 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7068 && LARGE_OFF_T % 2147483647 == 1)
7069 ? 1 : -1];
7071 main ()
7075 return 0;
7077 _ACEOF
7078 if ac_fn_c_try_compile "$LINENO"; then :
7079 ac_cv_sys_large_files=1; break
7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7082 ac_cv_sys_large_files=unknown
7083 break
7084 done
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7087 $as_echo "$ac_cv_sys_large_files" >&6; }
7088 case $ac_cv_sys_large_files in #(
7089 no | unknown) ;;
7091 cat >>confdefs.h <<_ACEOF
7092 #define _LARGE_FILES $ac_cv_sys_large_files
7093 _ACEOF
7095 esac
7096 rm -rf conftest*
7103 ac_ext=c
7104 ac_cpp='$CPP $CPPFLAGS'
7105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7109 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7110 # On Suns, sometimes $CPP names a directory.
7111 if test -n "$CPP" && test -d "$CPP"; then
7112 CPP=
7114 if test -z "$CPP"; then
7115 if ${ac_cv_prog_CPP+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 # Double quotes because CPP needs to be expanded
7119 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7121 ac_preproc_ok=false
7122 for ac_c_preproc_warn_flag in '' yes
7124 # Use a header file that comes with gcc, so configuring glibc
7125 # with a fresh cross-compiler works.
7126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7127 # <limits.h> exists even on freestanding compilers.
7128 # On the NeXT, cc -E runs the code through the compiler's parser,
7129 # not just through cpp. "Syntax error" is here to catch this case.
7130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7132 #ifdef __STDC__
7133 # include <limits.h>
7134 #else
7135 # include <assert.h>
7136 #endif
7137 Syntax error
7138 _ACEOF
7139 if ac_fn_c_try_cpp "$LINENO"; then :
7141 else
7142 # Broken: fails on valid input.
7143 continue
7145 rm -f conftest.err conftest.i conftest.$ac_ext
7147 # OK, works on sane cases. Now check whether nonexistent headers
7148 # can be detected and how.
7149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7151 #include <ac_nonexistent.h>
7152 _ACEOF
7153 if ac_fn_c_try_cpp "$LINENO"; then :
7154 # Broken: success on invalid input.
7155 continue
7156 else
7157 # Passes both tests.
7158 ac_preproc_ok=:
7159 break
7161 rm -f conftest.err conftest.i conftest.$ac_ext
7163 done
7164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7165 rm -f conftest.i conftest.err conftest.$ac_ext
7166 if $ac_preproc_ok; then :
7167 break
7170 done
7171 ac_cv_prog_CPP=$CPP
7174 CPP=$ac_cv_prog_CPP
7175 else
7176 ac_cv_prog_CPP=$CPP
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7179 $as_echo "$CPP" >&6; }
7180 ac_preproc_ok=false
7181 for ac_c_preproc_warn_flag in '' yes
7183 # Use a header file that comes with gcc, so configuring glibc
7184 # with a fresh cross-compiler works.
7185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7186 # <limits.h> exists even on freestanding compilers.
7187 # On the NeXT, cc -E runs the code through the compiler's parser,
7188 # not just through cpp. "Syntax error" is here to catch this case.
7189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190 /* end confdefs.h. */
7191 #ifdef __STDC__
7192 # include <limits.h>
7193 #else
7194 # include <assert.h>
7195 #endif
7196 Syntax error
7197 _ACEOF
7198 if ac_fn_c_try_cpp "$LINENO"; then :
7200 else
7201 # Broken: fails on valid input.
7202 continue
7204 rm -f conftest.err conftest.i conftest.$ac_ext
7206 # OK, works on sane cases. Now check whether nonexistent headers
7207 # can be detected and how.
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7210 #include <ac_nonexistent.h>
7211 _ACEOF
7212 if ac_fn_c_try_cpp "$LINENO"; then :
7213 # Broken: success on invalid input.
7214 continue
7215 else
7216 # Passes both tests.
7217 ac_preproc_ok=:
7218 break
7220 rm -f conftest.err conftest.i conftest.$ac_ext
7222 done
7223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7224 rm -f conftest.i conftest.err conftest.$ac_ext
7225 if $ac_preproc_ok; then :
7227 else
7228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7230 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7231 See \`config.log' for more details" "$LINENO" 5; }
7234 ac_ext=c
7235 ac_cpp='$CPP $CPPFLAGS'
7236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7242 $as_echo_n "checking for ANSI C header files... " >&6; }
7243 if ${ac_cv_header_stdc+:} false; then :
7244 $as_echo_n "(cached) " >&6
7245 else
7246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7247 /* end confdefs.h. */
7248 #include <stdlib.h>
7249 #include <stdarg.h>
7250 #include <string.h>
7251 #include <float.h>
7254 main ()
7258 return 0;
7260 _ACEOF
7261 if ac_fn_c_try_compile "$LINENO"; then :
7262 ac_cv_header_stdc=yes
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 if test $ac_cv_header_stdc = yes; then
7269 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7271 /* end confdefs.h. */
7272 #include <string.h>
7274 _ACEOF
7275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7276 $EGREP "memchr" >/dev/null 2>&1; then :
7278 else
7279 ac_cv_header_stdc=no
7281 rm -f conftest*
7285 if test $ac_cv_header_stdc = yes; then
7286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7289 #include <stdlib.h>
7291 _ACEOF
7292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7293 $EGREP "free" >/dev/null 2>&1; then :
7295 else
7296 ac_cv_header_stdc=no
7298 rm -f conftest*
7302 if test $ac_cv_header_stdc = yes; then
7303 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7304 if test "$cross_compiling" = yes; then :
7306 else
7307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308 /* end confdefs.h. */
7309 #include <ctype.h>
7310 #include <stdlib.h>
7311 #if ((' ' & 0x0FF) == 0x020)
7312 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7313 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7314 #else
7315 # define ISLOWER(c) \
7316 (('a' <= (c) && (c) <= 'i') \
7317 || ('j' <= (c) && (c) <= 'r') \
7318 || ('s' <= (c) && (c) <= 'z'))
7319 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7320 #endif
7322 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7324 main ()
7326 int i;
7327 for (i = 0; i < 256; i++)
7328 if (XOR (islower (i), ISLOWER (i))
7329 || toupper (i) != TOUPPER (i))
7330 return 2;
7331 return 0;
7333 _ACEOF
7334 if ac_fn_c_try_run "$LINENO"; then :
7336 else
7337 ac_cv_header_stdc=no
7339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7340 conftest.$ac_objext conftest.beam conftest.$ac_ext
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7346 $as_echo "$ac_cv_header_stdc" >&6; }
7347 if test $ac_cv_header_stdc = yes; then
7349 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7353 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7354 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7355 inttypes.h stdint.h unistd.h
7356 do :
7357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7358 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7361 cat >>confdefs.h <<_ACEOF
7362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7363 _ACEOF
7367 done
7370 for ac_header in \
7371 AL/al.h \
7372 ApplicationServices/ApplicationServices.h \
7373 AudioToolbox/AudioConverter.h \
7374 AudioUnit/AudioUnit.h \
7375 AudioUnit/AudioComponent.h \
7376 CL/cl.h \
7377 Carbon/Carbon.h \
7378 CommonCrypto/CommonCryptor.h \
7379 CoreAudio/CoreAudio.h \
7380 CoreServices/CoreServices.h \
7381 DiskArbitration/DiskArbitration.h \
7382 EGL/egl.h \
7383 IOKit/IOKitLib.h \
7384 IOKit/hid/IOHIDLib.h \
7385 OpenAL/al.h \
7386 OpenCL/opencl.h \
7387 QuickTime/ImageCompression.h \
7388 Security/Security.h \
7389 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7390 SystemConfiguration/SCNetworkConfiguration.h \
7391 alias.h \
7392 arpa/inet.h \
7393 arpa/nameser.h \
7394 asm/types.h \
7395 asm/user.h \
7396 curses.h \
7397 dirent.h \
7398 dlfcn.h \
7399 elf.h \
7400 float.h \
7401 fnmatch.h \
7402 getopt.h \
7403 gettext-po.h \
7404 grp.h \
7405 gsm.h \
7406 gsm/gsm.h \
7407 ieeefp.h \
7408 inet/mib2.h \
7409 kstat.h \
7410 libproc.h \
7411 link.h \
7412 linux/cdrom.h \
7413 linux/compiler.h \
7414 linux/filter.h \
7415 linux/hdreg.h \
7416 linux/hidraw.h \
7417 linux/input.h \
7418 linux/ioctl.h \
7419 linux/joystick.h \
7420 linux/major.h \
7421 linux/param.h \
7422 linux/serial.h \
7423 linux/types.h \
7424 linux/ucdrom.h \
7425 lwp.h \
7426 mach-o/nlist.h \
7427 mach-o/loader.h \
7428 mach/mach.h \
7429 mach/machine.h \
7430 machine/cpu.h \
7431 machine/sysarch.h \
7432 mntent.h \
7433 ncurses.h \
7434 netdb.h \
7435 netinet/in.h \
7436 netinet/in_systm.h \
7437 netinet/tcp.h \
7438 netinet/tcp_fsm.h \
7439 pcap/pcap.h \
7440 poll.h \
7441 port.h \
7442 pthread.h \
7443 pwd.h \
7444 sasl/sasl.h \
7445 sched.h \
7446 scsi/scsi.h \
7447 scsi/scsi_ioctl.h \
7448 scsi/sg.h \
7449 stdbool.h \
7450 stdint.h \
7451 stropts.h \
7452 sys/attr.h \
7453 sys/auxv.h \
7454 sys/cdio.h \
7455 sys/epoll.h \
7456 sys/event.h \
7457 sys/filio.h \
7458 sys/ioctl.h \
7459 sys/ipc.h \
7460 sys/link.h \
7461 sys/mman.h \
7462 sys/modem.h \
7463 sys/msg.h \
7464 sys/mtio.h \
7465 sys/param.h \
7466 sys/poll.h \
7467 sys/prctl.h \
7468 sys/protosw.h \
7469 sys/ptrace.h \
7470 sys/queue.h \
7471 sys/resource.h \
7472 sys/scsiio.h \
7473 sys/shm.h \
7474 sys/signal.h \
7475 sys/socket.h \
7476 sys/socketvar.h \
7477 sys/sockio.h \
7478 sys/statvfs.h \
7479 sys/strtio.h \
7480 sys/syscall.h \
7481 sys/sysinfo.h \
7482 sys/tihdr.h \
7483 sys/time.h \
7484 sys/timeout.h \
7485 sys/times.h \
7486 sys/uio.h \
7487 sys/user.h \
7488 sys/utsname.h \
7489 sys/vnode.h \
7490 sys/wait.h \
7491 syscall.h \
7492 termios.h \
7493 unistd.h \
7494 utime.h \
7495 valgrind/memcheck.h \
7496 valgrind/valgrind.h
7498 do :
7499 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7500 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7501 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7502 cat >>confdefs.h <<_ACEOF
7503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7504 _ACEOF
7508 done
7510 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7511 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7513 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7518 if test $ac_cv_header_sys_mkdev_h = no; then
7519 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7520 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7522 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7529 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7530 if ${ac_cv_header_stat_broken+:} false; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7535 #include <sys/types.h>
7536 #include <sys/stat.h>
7538 #if defined S_ISBLK && defined S_IFDIR
7539 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7540 #endif
7542 #if defined S_ISBLK && defined S_IFCHR
7543 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7544 #endif
7546 #if defined S_ISLNK && defined S_IFREG
7547 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7548 #endif
7550 #if defined S_ISSOCK && defined S_IFREG
7551 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7552 #endif
7554 _ACEOF
7555 if ac_fn_c_try_compile "$LINENO"; then :
7556 ac_cv_header_stat_broken=no
7557 else
7558 ac_cv_header_stat_broken=yes
7560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7563 $as_echo "$ac_cv_header_stat_broken" >&6; }
7564 if test $ac_cv_header_stat_broken = yes; then
7566 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7572 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7573 do :
7574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7575 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7576 #ifdef HAVE_SYS_PARAM_H
7577 # include <sys/param.h>
7578 #endif
7580 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7581 cat >>confdefs.h <<_ACEOF
7582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7583 _ACEOF
7587 done
7590 saved_sysctl_h_CFLAGS=$CFLAGS
7591 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7592 for ac_header in sys/sysctl.h
7593 do :
7594 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7595 #ifdef HAVE_SYS_PARAM_H
7596 # include <sys/param.h>
7597 #endif
7599 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7600 cat >>confdefs.h <<_ACEOF
7601 #define HAVE_SYS_SYSCTL_H 1
7602 _ACEOF
7606 done
7608 CFLAGS=$saved_sysctl_h_CFLAGS
7610 for ac_header in \
7611 netinet/ip.h \
7612 net/if.h \
7613 net/if_arp.h \
7614 net/if_dl.h \
7615 net/if_types.h \
7616 net/route.h \
7617 netinet/if_ether.h \
7618 netinet/if_inarp.h \
7619 netinet/in_pcb.h \
7620 netinet/ip_icmp.h \
7621 netinet/ip_var.h \
7622 netinet/udp.h \
7623 netipx/ipx.h \
7624 sys/un.h \
7626 do :
7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7629 #ifdef HAVE_SYS_SOCKET_H
7630 # include <sys/socket.h>
7631 #endif
7632 #ifdef HAVE_SYS_SOCKETVAR_H
7633 # include <sys/socketvar.h>
7634 #endif
7635 #ifdef HAVE_NET_ROUTE_H
7636 # include <net/route.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IN_H
7639 # include <netinet/in.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IN_SYSTM_H
7642 # include <netinet/in_systm.h>
7643 #endif
7644 #ifdef HAVE_NET_IF_H
7645 # include <net/if.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IP_H
7648 # include <netinet/ip.h>
7649 #endif
7651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 _ACEOF
7658 done
7661 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7662 do :
7663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7665 #ifdef HAVE_ALIAS_H
7666 # include <alias.h>
7667 #endif
7668 #ifdef HAVE_SYS_SOCKET_H
7669 # include <sys/socket.h>
7670 #endif
7671 #ifdef HAVE_SYS_SOCKETVAR_H
7672 # include <sys/socketvar.h>
7673 #endif
7674 #ifdef HAVE_SYS_TIMEOUT_H
7675 # include <sys/timeout.h>
7676 #endif
7677 #ifdef HAVE_NETINET_IN_H
7678 # include <netinet/in.h>
7679 #endif
7680 #ifdef HAVE_NETINET_IN_SYSTM_H
7681 # include <netinet/in_systm.h>
7682 #endif
7683 #ifdef HAVE_NETINET_IP_H
7684 # include <netinet/ip.h>
7685 #endif
7686 #ifdef HAVE_NETINET_IP_VAR_H
7687 # include <netinet/ip_var.h>
7688 #endif
7689 #ifdef HAVE_NETINET_IP_ICMP_H
7690 # include <netinet/ip_icmp.h>
7691 #endif
7692 #ifdef HAVE_NETINET_UDP_H
7693 # include <netinet/udp.h>
7694 #endif
7695 #ifdef HAVE_NETINET_TCP_H
7696 # include <netinet/tcp.h>
7697 #endif
7698 #ifdef HAVE_NETINET_TCP_TIMER_H
7699 #include <netinet/tcp_timer.h>
7700 #endif
7702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7705 _ACEOF
7709 done
7712 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7713 do :
7714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7715 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7716 #ifdef HAVE_ASM_TYPES_H
7717 # include <asm/types.h>
7718 #endif
7719 #ifdef HAVE_SYS_SOCKET_H
7720 # include <sys/socket.h>
7721 #endif
7722 #ifdef HAVE_LINUX_TYPES_H
7723 # include <linux/types.h>
7724 #endif
7726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7727 cat >>confdefs.h <<_ACEOF
7728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 _ACEOF
7733 done
7736 for ac_header in resolv.h
7737 do :
7738 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7739 #ifdef HAVE_SYS_SOCKET_H
7740 # include <sys/socket.h>
7741 #endif
7742 #ifdef HAVE_NETINET_IN_H
7743 # include <netinet/in.h>
7744 #endif
7745 #ifdef HAVE_ARPA_NAMESER_H
7746 # include <arpa/nameser.h>
7747 #endif
7749 if test "x$ac_cv_header_resolv_h" = xyes; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_RESOLV_H 1
7752 _ACEOF
7756 done
7759 for ac_header in ifaddrs.h
7760 do :
7761 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7763 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_IFADDRS_H 1
7766 _ACEOF
7770 done
7773 for ac_header in sys/ucontext.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7777 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_SYS_UCONTEXT_H 1
7780 _ACEOF
7784 done
7787 for ac_header in sys/thr.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7790 #ifdef HAVE_SYS_UCONTEXT_H
7791 #include <sys/ucontext.h>
7792 #endif
7794 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_SYS_THR_H 1
7797 _ACEOF
7801 done
7804 for ac_header in pthread_np.h
7805 do :
7806 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7807 #include <pthread.h>
7808 #endif
7810 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_PTHREAD_NP_H 1
7813 _ACEOF
7817 done
7820 for ac_header in linux/videodev2.h
7821 do :
7822 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7823 #include <sys/time.h>
7824 #endif
7825 #include <sys/types.h>
7826 #ifdef HAVE_ASM_TYPES_H
7827 #include <asm/types.h>
7828 #endif
7830 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_LINUX_VIDEODEV2_H 1
7833 _ACEOF
7837 done
7840 for ac_header in libprocstat.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7843 #include <sys/param.h>
7844 #endif
7845 #ifdef HAVE_SYS_QUEUE_H
7846 #include <sys/queue.h>
7847 #endif
7848 #ifdef HAVE_SYS_SOCKET_H
7849 #include <sys/socket.h>
7850 #endif
7852 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define HAVE_LIBPROCSTAT_H 1
7855 _ACEOF
7859 done
7863 DLLFLAGS="-D_REENTRANT"
7865 LDRPATH_INSTALL=""
7867 LDRPATH_LOCAL=""
7869 LDDLLFLAGS=""
7871 LDEXECFLAGS=""
7873 TOP_INSTALL_LIB=""
7875 TOP_INSTALL_DEV=""
7877 WINELOADER_LDFLAGS=""
7879 WINEPRELOADER_LDFLAGS=""
7881 LIBEXT="so"
7882 DLLEXT=".so"
7883 # Extract the first word of "ldd", so it can be a program name with args.
7884 set dummy ldd; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_path_LDD+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 case $LDD in
7891 [\\/]* | ?:[\\/]*)
7892 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 as_dummy="/sbin:/usr/sbin:$PATH"
7897 for as_dir in $as_dummy
7899 IFS=$as_save_IFS
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7903 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 break 2
7907 done
7908 done
7909 IFS=$as_save_IFS
7911 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7913 esac
7915 LDD=$ac_cv_path_LDD
7916 if test -n "$LDD"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7918 $as_echo "$LDD" >&6; }
7919 else
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7921 $as_echo "no" >&6; }
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7927 set dummy ${ac_tool_prefix}otool; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_OTOOL+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 if test -n "$OTOOL"; then
7934 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7947 done
7948 done
7949 IFS=$as_save_IFS
7953 OTOOL=$ac_cv_prog_OTOOL
7954 if test -n "$OTOOL"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7956 $as_echo "$OTOOL" >&6; }
7957 else
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_OTOOL"; then
7965 ac_ct_OTOOL=$OTOOL
7966 # Extract the first word of "otool", so it can be a program name with args.
7967 set dummy otool; ac_word=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 if test -n "$ac_ct_OTOOL"; then
7974 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7975 else
7976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 for as_dir in $PATH
7979 IFS=$as_save_IFS
7980 test -z "$as_dir" && as_dir=.
7981 for ac_exec_ext in '' $ac_executable_extensions; do
7982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_OTOOL="otool"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7985 break 2
7987 done
7988 done
7989 IFS=$as_save_IFS
7993 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7994 if test -n "$ac_ct_OTOOL"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7996 $as_echo "$ac_ct_OTOOL" >&6; }
7997 else
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_OTOOL" = x; then
8003 OTOOL="otool"
8004 else
8005 case $cross_compiling:$ac_tool_warned in
8006 yes:)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned=yes ;;
8010 esac
8011 OTOOL=$ac_ct_OTOOL
8013 else
8014 OTOOL="$ac_cv_prog_OTOOL"
8017 if test -n "$ac_tool_prefix"; then
8018 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8019 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8021 $as_echo_n "checking for $ac_word... " >&6; }
8022 if ${ac_cv_prog_READELF+:} false; then :
8023 $as_echo_n "(cached) " >&6
8024 else
8025 if test -n "$READELF"; then
8026 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8027 else
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 for as_dir in $PATH
8031 IFS=$as_save_IFS
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 break 2
8039 done
8040 done
8041 IFS=$as_save_IFS
8045 READELF=$ac_cv_prog_READELF
8046 if test -n "$READELF"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8048 $as_echo "$READELF" >&6; }
8049 else
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
8056 if test -z "$ac_cv_prog_READELF"; then
8057 ac_ct_READELF=$READELF
8058 # Extract the first word of "readelf", so it can be a program name with args.
8059 set dummy readelf; ac_word=$2
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8061 $as_echo_n "checking for $ac_word... " >&6; }
8062 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8063 $as_echo_n "(cached) " >&6
8064 else
8065 if test -n "$ac_ct_READELF"; then
8066 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8067 else
8068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 for as_dir in $PATH
8071 IFS=$as_save_IFS
8072 test -z "$as_dir" && as_dir=.
8073 for ac_exec_ext in '' $ac_executable_extensions; do
8074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8075 ac_cv_prog_ac_ct_READELF="readelf"
8076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077 break 2
8079 done
8080 done
8081 IFS=$as_save_IFS
8085 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8086 if test -n "$ac_ct_READELF"; then
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8088 $as_echo "$ac_ct_READELF" >&6; }
8089 else
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091 $as_echo "no" >&6; }
8094 if test "x$ac_ct_READELF" = x; then
8095 READELF="true"
8096 else
8097 case $cross_compiling:$ac_tool_warned in
8098 yes:)
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101 ac_tool_warned=yes ;;
8102 esac
8103 READELF=$ac_ct_READELF
8105 else
8106 READELF="$ac_cv_prog_READELF"
8109 wine_rules_file=conf$$rules.make
8110 rm -f $wine_rules_file
8111 SUBDIRS=""
8113 DISABLED_SUBDIRS=""
8115 CONFIGURE_TARGETS=""
8118 wine_fn_append_file ()
8120 as_fn_append $1 " \\$as_nl $2"
8123 wine_fn_append_rule ()
8125 $as_echo "$1" >>$wine_rules_file
8128 wine_fn_config_makefile ()
8130 wine_fn_append_file SUBDIRS $1
8131 if eval test \"x\$"$2"\" = x"no"; then :
8132 wine_fn_append_file DISABLED_SUBDIRS $1
8136 wine_fn_config_symlink ()
8138 ac_links=$@
8139 wine_fn_append_rule \
8140 "$ac_links:
8141 @./config.status \$@"
8142 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8145 wine_binary="wine"
8146 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8147 WINELOADER_PROGRAMS="$wine_binary"
8149 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8151 case $host_os in
8152 cygwin*|mingw32*)
8153 if test -n "$ac_tool_prefix"; then
8154 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8155 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157 $as_echo_n "checking for $ac_word... " >&6; }
8158 if ${ac_cv_prog_DLLTOOL+:} false; then :
8159 $as_echo_n "(cached) " >&6
8160 else
8161 if test -n "$DLLTOOL"; then
8162 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8163 else
8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 for as_dir in $PATH
8167 IFS=$as_save_IFS
8168 test -z "$as_dir" && as_dir=.
8169 for ac_exec_ext in '' $ac_executable_extensions; do
8170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8171 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8173 break 2
8175 done
8176 done
8177 IFS=$as_save_IFS
8181 DLLTOOL=$ac_cv_prog_DLLTOOL
8182 if test -n "$DLLTOOL"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8184 $as_echo "$DLLTOOL" >&6; }
8185 else
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8192 if test -z "$ac_cv_prog_DLLTOOL"; then
8193 ac_ct_DLLTOOL=$DLLTOOL
8194 # Extract the first word of "dlltool", so it can be a program name with args.
8195 set dummy dlltool; ac_word=$2
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8197 $as_echo_n "checking for $ac_word... " >&6; }
8198 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200 else
8201 if test -n "$ac_ct_DLLTOOL"; then
8202 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8203 else
8204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8205 for as_dir in $PATH
8207 IFS=$as_save_IFS
8208 test -z "$as_dir" && as_dir=.
8209 for ac_exec_ext in '' $ac_executable_extensions; do
8210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8211 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8213 break 2
8215 done
8216 done
8217 IFS=$as_save_IFS
8221 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8222 if test -n "$ac_ct_DLLTOOL"; then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8224 $as_echo "$ac_ct_DLLTOOL" >&6; }
8225 else
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8230 if test "x$ac_ct_DLLTOOL" = x; then
8231 DLLTOOL="false"
8232 else
8233 case $cross_compiling:$ac_tool_warned in
8234 yes:)
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8237 ac_tool_warned=yes ;;
8238 esac
8239 DLLTOOL=$ac_ct_DLLTOOL
8241 else
8242 DLLTOOL="$ac_cv_prog_DLLTOOL"
8245 LIBEXT="dll"
8246 DLLEXT=""
8247 case $host_cpu in
8248 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8249 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8250 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 ac_wine_try_cflags_saved=$CFLAGS
8254 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 int main(int argc, char **argv) { return 0; }
8258 _ACEOF
8259 if ac_fn_c_try_link "$LINENO"; then :
8260 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8261 else
8262 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8264 rm -f core conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 CFLAGS=$ac_wine_try_cflags_saved
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8269 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8270 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8271 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8272 fi ;;
8273 esac
8274 enable_iphlpapi=${enable_iphlpapi:-no}
8275 enable_kernel32=${enable_kernel32:-no}
8276 enable_ntdll=${enable_ntdll:-no}
8277 enable_ws2_32=${enable_ws2_32:-no}
8278 enable_loader=${enable_loader:-no}
8279 enable_server=${enable_server:-no}
8280 with_x=${with_x:-no}
8281 with_pthread=${with_pthread:-no}
8284 darwin*|macosx*)
8285 ac_ext=m
8286 ac_cpp='$OBJCPP $CPPFLAGS'
8287 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8291 ac_ext=m
8292 ac_cpp='$OBJCPP $CPPFLAGS'
8293 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8294 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8295 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8296 if test -n "$ac_tool_prefix"; then
8297 for ac_prog in gcc objcc objc cc CC
8299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if ${ac_cv_prog_OBJC+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 if test -n "$OBJC"; then
8307 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8308 else
8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8310 for as_dir in $PATH
8312 IFS=$as_save_IFS
8313 test -z "$as_dir" && as_dir=.
8314 for ac_exec_ext in '' $ac_executable_extensions; do
8315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8316 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 break 2
8320 done
8321 done
8322 IFS=$as_save_IFS
8326 OBJC=$ac_cv_prog_OBJC
8327 if test -n "$OBJC"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8329 $as_echo "$OBJC" >&6; }
8330 else
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8336 test -n "$OBJC" && break
8337 done
8339 if test -z "$OBJC"; then
8340 ac_ct_OBJC=$OBJC
8341 for ac_prog in gcc objcc objc cc CC
8343 # Extract the first word of "$ac_prog", so it can be a program name with args.
8344 set dummy $ac_prog; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8346 $as_echo_n "checking for $ac_word... " >&6; }
8347 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 if test -n "$ac_ct_OBJC"; then
8351 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8352 else
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 for as_dir in $PATH
8356 IFS=$as_save_IFS
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362 break 2
8364 done
8365 done
8366 IFS=$as_save_IFS
8370 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8371 if test -n "$ac_ct_OBJC"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8373 $as_echo "$ac_ct_OBJC" >&6; }
8374 else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8380 test -n "$ac_ct_OBJC" && break
8381 done
8383 if test "x$ac_ct_OBJC" = x; then
8384 OBJC="gcc"
8385 else
8386 case $cross_compiling:$ac_tool_warned in
8387 yes:)
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8390 ac_tool_warned=yes ;;
8391 esac
8392 OBJC=$ac_ct_OBJC
8396 # Provide some information about the compiler.
8397 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8398 set X $ac_compile
8399 ac_compiler=$2
8400 for ac_option in --version -v -V -qversion; do
8401 { { ac_try="$ac_compiler $ac_option >&5"
8402 case "(($ac_try" in
8403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8404 *) ac_try_echo=$ac_try;;
8405 esac
8406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8407 $as_echo "$ac_try_echo"; } >&5
8408 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8409 ac_status=$?
8410 if test -s conftest.err; then
8411 sed '10a\
8412 ... rest of stderr output deleted ...
8413 10q' conftest.err >conftest.er1
8414 cat conftest.er1 >&5
8416 rm -f conftest.er1 conftest.err
8417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8418 test $ac_status = 0; }
8419 done
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8422 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8423 if ${ac_cv_objc_compiler_gnu+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8430 main ()
8432 #ifndef __GNUC__
8433 choke me
8434 #endif
8437 return 0;
8439 _ACEOF
8440 if ac_fn_objc_try_compile "$LINENO"; then :
8441 ac_compiler_gnu=yes
8442 else
8443 ac_compiler_gnu=no
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8450 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8451 if test $ac_compiler_gnu = yes; then
8452 GOBJC=yes
8453 else
8454 GOBJC=
8456 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8457 ac_save_OBJCFLAGS=$OBJCFLAGS
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8459 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8460 if ${ac_cv_prog_objc_g+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 ac_save_objc_werror_flag=$ac_objc_werror_flag
8464 ac_objc_werror_flag=yes
8465 ac_cv_prog_objc_g=no
8466 OBJCFLAGS="-g"
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8471 main ()
8475 return 0;
8477 _ACEOF
8478 if ac_fn_objc_try_compile "$LINENO"; then :
8479 ac_cv_prog_objc_g=yes
8480 else
8481 OBJCFLAGS=""
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8486 main ()
8490 return 0;
8492 _ACEOF
8493 if ac_fn_objc_try_compile "$LINENO"; then :
8495 else
8496 ac_objc_werror_flag=$ac_save_objc_werror_flag
8497 OBJCFLAGS="-g"
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8502 main ()
8506 return 0;
8508 _ACEOF
8509 if ac_fn_objc_try_compile "$LINENO"; then :
8510 ac_cv_prog_objc_g=yes
8512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8517 ac_objc_werror_flag=$ac_save_objc_werror_flag
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8520 $as_echo "$ac_cv_prog_objc_g" >&6; }
8521 if test "$ac_test_OBJCFLAGS" = set; then
8522 OBJCFLAGS=$ac_save_OBJCFLAGS
8523 elif test $ac_cv_prog_objc_g = yes; then
8524 if test "$GOBJC" = yes; then
8525 OBJCFLAGS="-g -O2"
8526 else
8527 OBJCFLAGS="-g"
8529 else
8530 if test "$GOBJC" = yes; then
8531 OBJCFLAGS="-O2"
8532 else
8533 OBJCFLAGS=
8536 ac_ext=m
8537 ac_cpp='$OBJCPP $CPPFLAGS'
8538 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8539 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8540 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8543 ac_ext=m
8544 ac_cpp='$OBJCPP $CPPFLAGS'
8545 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8546 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8547 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8549 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8550 if test -z "$OBJCPP"; then
8551 if ${ac_cv_prog_OBJCPP+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 # Double quotes because OBJCPP needs to be expanded
8555 for OBJCPP in "$OBJC -E" "/lib/cpp"
8557 ac_preproc_ok=false
8558 for ac_objc_preproc_warn_flag in '' yes
8560 # Use a header file that comes with gcc, so configuring glibc
8561 # with a fresh cross-compiler works.
8562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8563 # <limits.h> exists even on freestanding compilers.
8564 # On the NeXT, cc -E runs the code through the compiler's parser,
8565 # not just through cpp. "Syntax error" is here to catch this case.
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8568 #ifdef __STDC__
8569 # include <limits.h>
8570 #else
8571 # include <assert.h>
8572 #endif
8573 Syntax error
8574 _ACEOF
8575 if ac_fn_objc_try_cpp "$LINENO"; then :
8577 else
8578 # Broken: fails on valid input.
8579 continue
8581 rm -f conftest.err conftest.i conftest.$ac_ext
8583 # OK, works on sane cases. Now check whether nonexistent headers
8584 # can be detected and how.
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 #include <ac_nonexistent.h>
8588 _ACEOF
8589 if ac_fn_objc_try_cpp "$LINENO"; then :
8590 # Broken: success on invalid input.
8591 continue
8592 else
8593 # Passes both tests.
8594 ac_preproc_ok=:
8595 break
8597 rm -f conftest.err conftest.i conftest.$ac_ext
8599 done
8600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8601 rm -f conftest.i conftest.err conftest.$ac_ext
8602 if $ac_preproc_ok; then :
8603 break
8606 done
8607 ac_cv_prog_OBJCPP=$OBJCPP
8610 OBJCPP=$ac_cv_prog_OBJCPP
8611 else
8612 ac_cv_prog_OBJCPP=$OBJCPP
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8615 $as_echo "$OBJCPP" >&6; }
8616 ac_preproc_ok=false
8617 for ac_objc_preproc_warn_flag in '' yes
8619 # Use a header file that comes with gcc, so configuring glibc
8620 # with a fresh cross-compiler works.
8621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8622 # <limits.h> exists even on freestanding compilers.
8623 # On the NeXT, cc -E runs the code through the compiler's parser,
8624 # not just through cpp. "Syntax error" is here to catch this case.
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 #ifdef __STDC__
8628 # include <limits.h>
8629 #else
8630 # include <assert.h>
8631 #endif
8632 Syntax error
8633 _ACEOF
8634 if ac_fn_objc_try_cpp "$LINENO"; then :
8636 else
8637 # Broken: fails on valid input.
8638 continue
8640 rm -f conftest.err conftest.i conftest.$ac_ext
8642 # OK, works on sane cases. Now check whether nonexistent headers
8643 # can be detected and how.
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8646 #include <ac_nonexistent.h>
8647 _ACEOF
8648 if ac_fn_objc_try_cpp "$LINENO"; then :
8649 # Broken: success on invalid input.
8650 continue
8651 else
8652 # Passes both tests.
8653 ac_preproc_ok=:
8654 break
8656 rm -f conftest.err conftest.i conftest.$ac_ext
8658 done
8659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8660 rm -f conftest.i conftest.err conftest.$ac_ext
8661 if $ac_preproc_ok; then :
8663 else
8664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8666 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8667 See \`config.log' for more details" "$LINENO" 5; }
8670 ac_ext=m
8671 ac_cpp='$OBJCPP $CPPFLAGS'
8672 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8673 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8674 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8677 for ac_header in Metal/Metal.h
8678 do :
8679 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8680 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8681 cat >>confdefs.h <<_ACEOF
8682 #define HAVE_METAL_METAL_H 1
8683 _ACEOF
8687 done
8689 ac_ext=c
8690 ac_cpp='$CPP $CPPFLAGS'
8691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8695 LIBEXT="dylib"
8696 DLLFLAGS="$DLLFLAGS -fPIC"
8697 LDDLLFLAGS="-fPIC"
8698 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8699 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8700 COREFOUNDATION_LIBS="-framework CoreFoundation"
8702 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8704 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8706 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8708 CORESERVICES_LIBS="-framework CoreServices"
8710 APPKIT_LIBS="-framework AppKit"
8712 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8715 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8717 wine_can_build_preloader=yes
8718 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8720 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8721 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__Wl__no_new_main__e__main=yes
8732 else
8733 ac_cv_cflags__Wl__no_new_main__e__main=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8740 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8741 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8742 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8744 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8745 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8746 $as_echo_n "(cached) " >&6
8747 else
8748 ac_wine_try_cflags_saved=$CFLAGS
8749 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 int main(int argc, char **argv) { return 0; }
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8756 else
8757 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 CFLAGS=$ac_wine_try_cflags_saved
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8764 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8765 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8766 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8767 else
8768 { $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
8769 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8770 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 int main(int argc, char **argv) { return 0; }
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8781 else
8782 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $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
8789 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8790 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8791 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8792 else
8793 wine_can_build_preloader=no
8796 else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8798 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8799 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8810 else
8811 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8818 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8819 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8820 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8821 else
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8823 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8824 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8835 else
8836 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8843 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8844 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8845 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8846 else
8847 wine_can_build_preloader=no
8851 if test "$wine_can_build_preloader" = "yes"
8852 then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8854 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8855 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8856 $as_echo_n "(cached) " >&6
8857 else
8858 ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -Wl,-no_pie"
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8862 int main(int argc, char **argv) { return 0; }
8863 _ACEOF
8864 if ac_fn_c_try_link "$LINENO"; then :
8865 ac_cv_cflags__Wl__no_pie=yes
8866 else
8867 ac_cv_cflags__Wl__no_pie=no
8869 rm -f core conftest.err conftest.$ac_objext \
8870 conftest$ac_exeext conftest.$ac_ext
8871 CFLAGS=$ac_wine_try_cflags_saved
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8874 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8875 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8876 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8878 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8879 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8880 else
8881 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8884 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8885 then
8886 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8889 if test "$ac_cv_header_Security_Security_h" = "yes"
8890 then
8891 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8893 ac_save_LIBS="$LIBS"
8894 LIBS="$LIBS $SECURITY_LIBS"
8895 for ac_func in SSLCopyPeerCertificates
8896 do :
8897 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8898 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8899 cat >>confdefs.h <<_ACEOF
8900 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8901 _ACEOF
8904 done
8906 LIBS="$ac_save_LIBS"
8908 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8909 then
8910 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8911 then
8912 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8914 else
8915 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8918 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8919 ac_save_LIBS="$LIBS"
8920 LIBS="$LIBS $COREAUDIO_LIBS"
8921 for ac_func in AUGraphAddNode
8922 do :
8923 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8924 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8925 cat >>confdefs.h <<_ACEOF
8926 #define HAVE_AUGRAPHADDNODE 1
8927 _ACEOF
8930 done
8932 LIBS="$ac_save_LIBS"
8934 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8935 then
8936 OPENAL_LIBS="-framework OpenAL"
8939 cat >>confdefs.h <<_ACEOF
8940 #define HAVE_OPENAL 1
8941 _ACEOF
8943 ac_cv_lib_openal=yes
8945 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8946 then
8947 OPENCL_LIBS="-framework OpenCL"
8949 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8951 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8952 then
8953 ac_save_LIBS="$LIBS"
8954 LIBS="$LIBS $IOKIT_LIBS"
8955 for ac_func in IOHIDManagerCreate
8956 do :
8957 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8958 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8959 cat >>confdefs.h <<_ACEOF
8960 #define HAVE_IOHIDMANAGERCREATE 1
8961 _ACEOF
8964 done
8966 LIBS="$ac_save_LIBS"
8968 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8969 then
8970 ac_save_LIBS="$LIBS"
8971 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8973 $as_echo_n "checking for the QuickTime framework... " >&6; }
8974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8976 #include <QuickTime/ImageCompression.h>
8978 main ()
8980 CodecManagerVersion(NULL);
8982 return 0;
8984 _ACEOF
8985 if ac_fn_c_try_link "$LINENO"; then :
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8987 $as_echo "yes" >&6; }
8988 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8990 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8991 else
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8993 $as_echo "no" >&6; }
8994 ac_cv_header_QuickTime_ImageCompression_h=no
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 LIBS="$ac_save_LIBS"
9000 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
9001 then
9002 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
9004 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9005 then
9006 CARBON_LIBS="-framework Carbon"
9009 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9010 then
9011 METAL_LIBS="-framework Metal -framework QuartzCore"
9015 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9016 then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9018 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9019 ac_ext=m
9020 ac_cpp='$OBJCPP $CPPFLAGS'
9021 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9022 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9023 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9027 #include <Metal/Metal.h>
9029 main ()
9031 id<MTLDevice> device; device.registryID;
9033 return 0;
9035 _ACEOF
9036 if ac_fn_objc_try_compile "$LINENO"; then :
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9038 $as_echo "yes" >&6; }
9040 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9042 else
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9047 ac_ext=c
9048 ac_cpp='$CPP $CPPFLAGS'
9049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9055 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9056 then
9057 ac_save_LIBS="$LIBS"
9058 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9059 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9060 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9061 enable_winemac_drv=${enable_winemac_drv:-yes}
9064 LIBS="$ac_save_LIBS"
9067 if test "x$enable_win16" = "xyes"
9068 then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9070 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9071 if test "$cross_compiling" = yes; then :
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9073 $as_echo "cross-compiling, assuming yes" >&6; }
9074 else
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9077 asm(".text\n"
9078 "bad:\tnop;nop\n"
9079 "good:\tnop;nop\n\t"
9080 ".globl _testfunc\n"
9081 "_testfunc:\tcallw good");
9082 extern void testfunc();
9084 main ()
9086 unsigned short *p = (unsigned short *)testfunc;
9087 return p[0] != 0xe866 || p[1] != 0xfffa
9089 return 0;
9091 _ACEOF
9092 if ac_fn_c_try_run "$LINENO"; then :
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9094 $as_echo "yes" >&6; }
9095 else
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9098 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
9100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9101 conftest.$ac_objext conftest.beam conftest.$ac_ext
9106 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9108 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9110 WINELOADER_DEPENDS="wine_info.plist"
9112 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9113 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9116 linux-android*)
9117 DLLFLAGS="$DLLFLAGS -fPIC"
9118 LDDLLFLAGS="-fPIC"
9119 LDEXECFLAGS="-Wl,-pie"
9120 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9122 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9123 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_wine_try_cflags_saved=$CFLAGS
9127 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9130 int main(int argc, char **argv) { return 0; }
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9134 else
9135 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 CFLAGS=$ac_wine_try_cflags_saved
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9142 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9143 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9144 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9146 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9147 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9149 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9150 if eval \${$as_ac_var+:} false; then :
9151 $as_echo_n "(cached) " >&6
9152 else
9153 ac_wine_try_cflags_saved=$CFLAGS
9154 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 int main(int argc, char **argv) { return 0; }
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 eval "$as_ac_var=yes"
9161 else
9162 eval "$as_ac_var=no"
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 CFLAGS=$ac_wine_try_cflags_saved
9168 eval ac_res=\$$as_ac_var
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9170 $as_echo "$ac_res" >&6; }
9171 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9172 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9173 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9174 else
9175 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9177 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9178 if eval \${$as_ac_var+:} false; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 ac_wine_try_cflags_saved=$CFLAGS
9182 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9185 int main(int argc, char **argv) { return 0; }
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 eval "$as_ac_var=yes"
9189 else
9190 eval "$as_ac_var=no"
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 CFLAGS=$ac_wine_try_cflags_saved
9196 eval ac_res=\$$as_ac_var
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9198 $as_echo "$ac_res" >&6; }
9199 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9200 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9201 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9205 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9206 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9207 $as_echo_n "(cached) " >&6
9208 else
9209 ac_wine_try_cflags_saved=$CFLAGS
9210 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9213 int main(int argc, char **argv) { return 0; }
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 ac_cv_cflags__Wl___enable_new_dtags=yes
9217 else
9218 ac_cv_cflags__Wl___enable_new_dtags=no
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 CFLAGS=$ac_wine_try_cflags_saved
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9225 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9226 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9227 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9230 LIBWINE_SHAREDLIB="libwine.so"
9232 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9234 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9237 $as_echo_n "checking for -lEGL... " >&6; }
9238 if ${ac_cv_lib_soname_EGL+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_soname_save_LIBS=$LIBS
9242 LIBS="-lEGL $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char eglGetProcAddress ();
9254 main ()
9256 return eglGetProcAddress ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 case "$LIBEXT" in
9263 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9264 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'` ;;
9265 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9266 if ${ac_cv_lib_soname_EGL:+false} :; then :
9267 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9268 fi ;;
9269 esac
9270 else
9271 ac_cv_lib_soname_EGL=
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_soname_save_LIBS
9277 if ${ac_cv_lib_soname_EGL:+false} :; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9279 $as_echo "not found" >&6; }
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9283 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9285 cat >>confdefs.h <<_ACEOF
9286 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9287 _ACEOF
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9292 $as_echo_n "checking for -lGLESv2... " >&6; }
9293 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_soname_save_LIBS=$LIBS
9297 LIBS="-lGLESv2 $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char glFlush ();
9309 main ()
9311 return glFlush ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 case "$LIBEXT" in
9318 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9319 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'` ;;
9320 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9321 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9322 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9323 fi ;;
9324 esac
9325 else
9326 ac_cv_lib_soname_GLESv2=
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 LIBS=$ac_check_soname_save_LIBS
9332 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9334 $as_echo "not found" >&6; }
9336 else
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9338 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9340 cat >>confdefs.h <<_ACEOF
9341 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9342 _ACEOF
9347 if test "x$exec_prefix" = xNONE
9348 then
9349 case $host_cpu in
9350 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9351 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9352 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9353 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9354 esac
9359 case $host_cpu in
9360 *i[3456789]86*)
9361 DLLFLAGS="$DLLFLAGS -fno-PIC"
9362 LDDLLFLAGS="-fno-PIC" ;;
9364 DLLFLAGS="$DLLFLAGS -fPIC"
9365 LDDLLFLAGS="-fPIC" ;;
9366 esac
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9368 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9369 if ${ac_cv_c_dll_gnuelf+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_wine_try_cflags_saved=$CFLAGS
9373 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9376 void myfunc() {}
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9380 else
9381 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9386 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9387 ac_cv_c_dll_gnuelf="yes"
9388 else
9389 ac_cv_c_dll_gnuelf="no"
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9393 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9394 if test "$ac_cv_c_dll_gnuelf" = "yes"
9395 then
9396 LIBWINE_LDFLAGS="-shared"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9398 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9399 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9400 $as_echo_n "(cached) " >&6
9401 else
9402 ac_wine_try_cflags_saved=$CFLAGS
9403 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9406 int main(int argc, char **argv) { return 0; }
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9410 else
9411 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 CFLAGS=$ac_wine_try_cflags_saved
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9418 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9419 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9420 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9421 else
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9423 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9424 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_wine_try_cflags_saved=$CFLAGS
9428 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9431 int main(int argc, char **argv) { return 0; }
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9435 else
9436 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 CFLAGS=$ac_wine_try_cflags_saved
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9443 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9444 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9445 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9449 echo '{ global: *; };' >conftest.map
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9451 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9452 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_wine_try_cflags_saved=$CFLAGS
9456 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9459 int main(int argc, char **argv) { return 0; }
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9463 else
9464 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 CFLAGS=$ac_wine_try_cflags_saved
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9471 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9472 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9473 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9475 rm -f conftest.map
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9478 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9479 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_cflags__Wl___export_dynamic=yes
9490 else
9491 ac_cv_cflags__Wl___export_dynamic=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9498 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9499 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9500 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9502 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9504 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9506 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9507 if eval \${$as_ac_var+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 eval "$as_ac_var=yes"
9518 else
9519 eval "$as_ac_var=no"
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 eval ac_res=\$$as_ac_var
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9527 $as_echo "$ac_res" >&6; }
9528 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9529 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9530 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9531 else
9532 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9534 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9535 if eval \${$as_ac_var+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 eval "$as_ac_var=yes"
9546 else
9547 eval "$as_ac_var=no"
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 CFLAGS=$ac_wine_try_cflags_saved
9553 eval ac_res=\$$as_ac_var
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9555 $as_echo "$ac_res" >&6; }
9556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9557 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9558 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9563 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9564 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 int main(int argc, char **argv) { return 0; }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_cflags__Wl___enable_new_dtags=yes
9575 else
9576 ac_cv_cflags__Wl___enable_new_dtags=no
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9583 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9584 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9585 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9588 case $host_cpu in
9589 *i[3456789]86* | x86_64 | *aarch64*)
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9591 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9592 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_wine_try_cflags_saved=$CFLAGS
9596 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9599 int main(int argc, char **argv) { return 0; }
9600 _ACEOF
9601 if ac_fn_c_try_link "$LINENO"; then :
9602 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9603 else
9604 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9606 rm -f core conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 CFLAGS=$ac_wine_try_cflags_saved
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9611 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9612 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9613 case $host_os in
9614 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9615 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9616 esac
9617 else
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9619 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9620 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_wine_try_cflags_saved=$CFLAGS
9624 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9627 int main(int argc, char **argv) { return 0; }
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9631 else
9632 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 CFLAGS=$ac_wine_try_cflags_saved
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9639 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9640 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9641 case $host_os in
9642 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9643 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9644 esac
9646 # Extract the first word of "prelink", so it can be a program name with args.
9647 set dummy prelink; ac_word=$2
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9649 $as_echo_n "checking for $ac_word... " >&6; }
9650 if ${ac_cv_path_PRELINK+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 case $PRELINK in
9654 [\\/]* | ?:[\\/]*)
9655 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9659 for as_dir in /sbin /usr/sbin $PATH
9661 IFS=$as_save_IFS
9662 test -z "$as_dir" && as_dir=.
9663 for ac_exec_ext in '' $ac_executable_extensions; do
9664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9665 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9667 break 2
9669 done
9670 done
9671 IFS=$as_save_IFS
9673 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9675 esac
9677 PRELINK=$ac_cv_path_PRELINK
9678 if test -n "$PRELINK"; then
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9680 $as_echo "$PRELINK" >&6; }
9681 else
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683 $as_echo "no" >&6; }
9687 if test "x$PRELINK" = xfalse
9688 then
9689 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9693 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9694 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_wine_try_cflags_saved=$CFLAGS
9698 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9701 int main(int argc, char **argv) { return 0; }
9702 _ACEOF
9703 if ac_fn_c_try_link "$LINENO"; then :
9704 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9705 else
9706 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9708 rm -f core conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 CFLAGS=$ac_wine_try_cflags_saved
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9713 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9714 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9715 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9718 esac
9720 else
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9722 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9723 if ${ac_cv_c_dll_unixware+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 ac_wine_try_cflags_saved=$CFLAGS
9727 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9730 void myfunc() {}
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9734 else
9735 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 CFLAGS=$ac_wine_try_cflags_saved
9740 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9741 ac_cv_c_dll_unixware="yes"
9742 else
9743 ac_cv_c_dll_unixware="no"
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9747 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9748 if test "$ac_cv_c_dll_unixware" = "yes"
9749 then
9750 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9753 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9755 LIBWINE_DEPENDS="wine.map"
9757 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9758 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9760 esac
9762 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9763 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9764 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9765 enable_winemac_drv=${enable_winemac_drv:-no}
9766 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9769 if test "x$with_mingw" != xno
9770 then
9771 case "x$with_mingw" in
9772 x|xyes) case "$host_cpu" in
9773 aarch64*)
9774 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9775 arm*)
9776 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9777 i[3456789]86*)
9778 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
9779 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9780 mingw32-gcc" ;;
9781 x86_64)
9782 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
9783 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9785 ac_prefix_list="" ;;
9786 esac
9787 for ac_prog in $ac_prefix_list
9789 # Extract the first word of "$ac_prog", so it can be a program name with args.
9790 set dummy $ac_prog; ac_word=$2
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9792 $as_echo_n "checking for $ac_word... " >&6; }
9793 if ${ac_cv_prog_CROSSCC+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 if test -n "$CROSSCC"; then
9797 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9798 else
9799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 for as_dir in $PATH
9802 IFS=$as_save_IFS
9803 test -z "$as_dir" && as_dir=.
9804 for ac_exec_ext in '' $ac_executable_extensions; do
9805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9806 ac_cv_prog_CROSSCC="$ac_prog"
9807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9808 break 2
9810 done
9811 done
9812 IFS=$as_save_IFS
9816 CROSSCC=$ac_cv_prog_CROSSCC
9817 if test -n "$CROSSCC"; then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9819 $as_echo "$CROSSCC" >&6; }
9820 else
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9822 $as_echo "no" >&6; }
9826 test -n "$CROSSCC" && break
9827 done
9828 test -n "$CROSSCC" || CROSSCC="false"
9830 *) CROSSCC=$with_mingw ;;
9831 esac
9832 if test "$CROSSCC" != "false"
9833 then
9834 ac_save_CC="$CC"
9835 saved_CFLAGS=$CFLAGS
9836 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9838 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9842 CC="$CROSSCC"
9843 CFLAGS=$CROSSCFLAGS
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9845 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9846 if ${wine_cv_crosscc+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9853 main ()
9857 return 0;
9859 _ACEOF
9860 if ac_fn_c_try_compile "$LINENO"; then :
9861 wine_cv_crosscc=yes
9862 else
9863 wine_cv_crosscc=no
9865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9868 $as_echo "$wine_cv_crosscc" >&6; }
9869 if test $wine_cv_crosscc = yes
9870 then
9871 set x $CROSSCC
9872 shift
9873 while test $# -ge 1
9875 case "$1" in
9876 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9877 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9878 esac
9879 shift
9880 done
9882 llvm_target=$CROSSTARGET
9883 llvm_cflags="-fuse-ld=lld"
9884 if test -z "$llvm_target"
9885 then
9886 case $host_cpu in
9887 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9888 *) llvm_target=$host_cpu-windows-gnu ;;
9889 esac
9891 case $llvm_target in
9892 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9893 esac
9894 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9896 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9897 if eval \${$as_ac_var+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_wine_try_cflags_saved=$CFLAGS
9901 ac_wine_try_cflags_saved_cc=$CC
9902 ac_wine_try_cflags_saved_exeext=$ac_exeext
9903 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9904 CC="$CROSSCC"
9905 ac_exeext=".exe"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int __cdecl mainCRTStartup(void) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 eval "$as_ac_var=yes"
9912 else
9913 eval "$as_ac_var=no"
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9918 CC=$ac_wine_try_cflags_saved_cc
9919 ac_exeext=$ac_wine_try_cflags_saved_exeext
9921 eval ac_res=\$$as_ac_var
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9923 $as_echo "$ac_res" >&6; }
9924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9925 CROSSTARGET=$llvm_target
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9927 DELAYLOADFLAG="-Wl,-delayload,"
9929 CFLAGS="$CFLAGS $llvm_cflags"
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9933 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9934 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_wine_try_cflags_saved=$CFLAGS
9938 ac_wine_try_cflags_saved_cc=$CC
9939 ac_wine_try_cflags_saved_exeext=$ac_exeext
9940 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9941 CC="$CROSSCC"
9942 ac_exeext=".exe"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 int __cdecl mainCRTStartup(void) { return 0; }
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 ac_cv_crosscflags__fno_strict_aliasing=yes
9949 else
9950 ac_cv_crosscflags__fno_strict_aliasing=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 CFLAGS=$ac_wine_try_cflags_saved
9955 CC=$ac_wine_try_cflags_saved_cc
9956 ac_exeext=$ac_wine_try_cflags_saved_exeext
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9959 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9960 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9961 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9964 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9965 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 ac_wine_try_cflags_saved_cc=$CC
9970 ac_wine_try_cflags_saved_exeext=$ac_exeext
9971 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9972 CC="$CROSSCC"
9973 ac_exeext=".exe"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 int __cdecl mainCRTStartup(void) { return 0; }
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9980 else
9981 ac_cv_crosscflags__Werror_unknown_warning_option=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 CFLAGS=$ac_wine_try_cflags_saved
9986 CC=$ac_wine_try_cflags_saved_cc
9987 ac_exeext=$ac_wine_try_cflags_saved_exeext
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9990 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9991 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9992 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9995 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9996 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9997 $as_echo_n "(cached) " >&6
9998 else
9999 ac_wine_try_cflags_saved=$CFLAGS
10000 ac_wine_try_cflags_saved_cc=$CC
10001 ac_wine_try_cflags_saved_exeext=$ac_exeext
10002 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10003 CC="$CROSSCC"
10004 ac_exeext=".exe"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 int __cdecl mainCRTStartup(void) { return 0; }
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10011 else
10012 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10014 rm -f core conftest.err conftest.$ac_objext \
10015 conftest$ac_exeext conftest.$ac_ext
10016 CFLAGS=$ac_wine_try_cflags_saved
10017 CC=$ac_wine_try_cflags_saved_cc
10018 ac_exeext=$ac_wine_try_cflags_saved_exeext
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10021 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10022 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10023 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10026 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10027 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_wine_try_cflags_saved=$CFLAGS
10031 ac_wine_try_cflags_saved_cc=$CC
10032 ac_wine_try_cflags_saved_exeext=$ac_exeext
10033 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10034 CC="$CROSSCC"
10035 ac_exeext=".exe"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10038 int __cdecl mainCRTStartup(void) { return 0; }
10039 _ACEOF
10040 if ac_fn_c_try_link "$LINENO"; then :
10041 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10042 else
10043 ac_cv_crosscflags__Wdeclaration_after_statement=no
10045 rm -f core conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10047 CFLAGS=$ac_wine_try_cflags_saved
10048 CC=$ac_wine_try_cflags_saved_cc
10049 ac_exeext=$ac_wine_try_cflags_saved_exeext
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10052 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10053 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10054 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10057 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10058 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 ac_wine_try_cflags_saved=$CFLAGS
10062 ac_wine_try_cflags_saved_cc=$CC
10063 ac_wine_try_cflags_saved_exeext=$ac_exeext
10064 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10065 CC="$CROSSCC"
10066 ac_exeext=".exe"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10069 int __cdecl mainCRTStartup(void) { return 0; }
10070 _ACEOF
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 ac_cv_crosscflags__Wempty_body=yes
10073 else
10074 ac_cv_crosscflags__Wempty_body=no
10076 rm -f core conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10078 CFLAGS=$ac_wine_try_cflags_saved
10079 CC=$ac_wine_try_cflags_saved_cc
10080 ac_exeext=$ac_wine_try_cflags_saved_exeext
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10083 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10084 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10085 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10088 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10089 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_wine_try_cflags_saved=$CFLAGS
10093 ac_wine_try_cflags_saved_cc=$CC
10094 ac_wine_try_cflags_saved_exeext=$ac_exeext
10095 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10096 CC="$CROSSCC"
10097 ac_exeext=".exe"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10100 int __cdecl mainCRTStartup(void) { return 0; }
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 ac_cv_crosscflags__Wignored_qualifiers=yes
10104 else
10105 ac_cv_crosscflags__Wignored_qualifiers=no
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 CFLAGS=$ac_wine_try_cflags_saved
10110 CC=$ac_wine_try_cflags_saved_cc
10111 ac_exeext=$ac_wine_try_cflags_saved_exeext
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10114 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10115 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10116 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10119 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10120 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_wine_try_cflags_saved=$CFLAGS
10124 ac_wine_try_cflags_saved_cc=$CC
10125 ac_wine_try_cflags_saved_exeext=$ac_exeext
10126 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10127 CC="$CROSSCC"
10128 ac_exeext=".exe"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 int __cdecl mainCRTStartup(void) { return 0; }
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 ac_cv_crosscflags__Wpacked_not_aligned=yes
10135 else
10136 ac_cv_crosscflags__Wpacked_not_aligned=no
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 CFLAGS=$ac_wine_try_cflags_saved
10141 CC=$ac_wine_try_cflags_saved_cc
10142 ac_exeext=$ac_wine_try_cflags_saved_exeext
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10145 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10146 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10147 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10150 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10151 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10152 $as_echo_n "(cached) " >&6
10153 else
10154 ac_wine_try_cflags_saved=$CFLAGS
10155 ac_wine_try_cflags_saved_cc=$CC
10156 ac_wine_try_cflags_saved_exeext=$ac_exeext
10157 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10158 CC="$CROSSCC"
10159 ac_exeext=".exe"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 int __cdecl mainCRTStartup(void) { return 0; }
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 ac_cv_crosscflags__Wpragma_pack=yes
10166 else
10167 ac_cv_crosscflags__Wpragma_pack=no
10169 rm -f core conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 CFLAGS=$ac_wine_try_cflags_saved
10172 CC=$ac_wine_try_cflags_saved_cc
10173 ac_exeext=$ac_wine_try_cflags_saved_exeext
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10176 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10177 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10178 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10181 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10182 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 ac_wine_try_cflags_saved=$CFLAGS
10186 ac_wine_try_cflags_saved_cc=$CC
10187 ac_wine_try_cflags_saved_exeext=$ac_exeext
10188 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10189 CC="$CROSSCC"
10190 ac_exeext=".exe"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 int __cdecl mainCRTStartup(void) { return 0; }
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 ac_cv_crosscflags__Wshift_overflow_2=yes
10197 else
10198 ac_cv_crosscflags__Wshift_overflow_2=no
10200 rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10202 CFLAGS=$ac_wine_try_cflags_saved
10203 CC=$ac_wine_try_cflags_saved_cc
10204 ac_exeext=$ac_wine_try_cflags_saved_exeext
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10207 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10208 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10209 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10212 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10213 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10214 $as_echo_n "(cached) " >&6
10215 else
10216 ac_wine_try_cflags_saved=$CFLAGS
10217 ac_wine_try_cflags_saved_cc=$CC
10218 ac_wine_try_cflags_saved_exeext=$ac_exeext
10219 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10220 CC="$CROSSCC"
10221 ac_exeext=".exe"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10224 int __cdecl mainCRTStartup(void) { return 0; }
10225 _ACEOF
10226 if ac_fn_c_try_link "$LINENO"; then :
10227 ac_cv_crosscflags__Wstrict_prototypes=yes
10228 else
10229 ac_cv_crosscflags__Wstrict_prototypes=no
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 CFLAGS=$ac_wine_try_cflags_saved
10234 CC=$ac_wine_try_cflags_saved_cc
10235 ac_exeext=$ac_wine_try_cflags_saved_exeext
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10238 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10239 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10240 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10243 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10244 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 ac_wine_try_cflags_saved=$CFLAGS
10248 ac_wine_try_cflags_saved_cc=$CC
10249 ac_wine_try_cflags_saved_exeext=$ac_exeext
10250 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10251 CC="$CROSSCC"
10252 ac_exeext=".exe"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int __cdecl mainCRTStartup(void) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 ac_cv_crosscflags__Wtype_limits=yes
10259 else
10260 ac_cv_crosscflags__Wtype_limits=no
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 CFLAGS=$ac_wine_try_cflags_saved
10265 CC=$ac_wine_try_cflags_saved_cc
10266 ac_exeext=$ac_wine_try_cflags_saved_exeext
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10269 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10270 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10271 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10274 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10275 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10276 $as_echo_n "(cached) " >&6
10277 else
10278 ac_wine_try_cflags_saved=$CFLAGS
10279 ac_wine_try_cflags_saved_cc=$CC
10280 ac_wine_try_cflags_saved_exeext=$ac_exeext
10281 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10282 CC="$CROSSCC"
10283 ac_exeext=".exe"
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10286 int __cdecl mainCRTStartup(void) { return 0; }
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"; then :
10289 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10290 else
10291 ac_cv_crosscflags__Wunused_but_set_parameter=no
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 CFLAGS=$ac_wine_try_cflags_saved
10296 CC=$ac_wine_try_cflags_saved_cc
10297 ac_exeext=$ac_wine_try_cflags_saved_exeext
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10300 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10301 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10302 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10305 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10306 if ${ac_cv_crosscflags__Wvla+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_wine_try_cflags_saved=$CFLAGS
10310 ac_wine_try_cflags_saved_cc=$CC
10311 ac_wine_try_cflags_saved_exeext=$ac_exeext
10312 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10313 CC="$CROSSCC"
10314 ac_exeext=".exe"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10317 int __cdecl mainCRTStartup(void) { return 0; }
10318 _ACEOF
10319 if ac_fn_c_try_link "$LINENO"; then :
10320 ac_cv_crosscflags__Wvla=yes
10321 else
10322 ac_cv_crosscflags__Wvla=no
10324 rm -f core conftest.err conftest.$ac_objext \
10325 conftest$ac_exeext conftest.$ac_ext
10326 CFLAGS=$ac_wine_try_cflags_saved
10327 CC=$ac_wine_try_cflags_saved_cc
10328 ac_exeext=$ac_wine_try_cflags_saved_exeext
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10331 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10332 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10333 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10336 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10337 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_wine_try_cflags_saved=$CFLAGS
10341 ac_wine_try_cflags_saved_cc=$CC
10342 ac_wine_try_cflags_saved_exeext=$ac_exeext
10343 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10344 CC="$CROSSCC"
10345 ac_exeext=".exe"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 int __cdecl mainCRTStartup(void) { return 0; }
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 ac_cv_crosscflags__Wwrite_strings=yes
10352 else
10353 ac_cv_crosscflags__Wwrite_strings=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 CFLAGS=$ac_wine_try_cflags_saved
10358 CC=$ac_wine_try_cflags_saved_cc
10359 ac_exeext=$ac_wine_try_cflags_saved_exeext
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10362 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10363 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10364 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10367 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10368 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_wine_try_cflags_saved=$CFLAGS
10372 ac_wine_try_cflags_saved_cc=$CC
10373 ac_wine_try_cflags_saved_exeext=$ac_exeext
10374 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10375 CC="$CROSSCC"
10376 ac_exeext=".exe"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 int __cdecl mainCRTStartup(void) { return 0; }
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_crosscflags__Wpointer_arith=yes
10383 else
10384 ac_cv_crosscflags__Wpointer_arith=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 CFLAGS=$ac_wine_try_cflags_saved
10389 CC=$ac_wine_try_cflags_saved_cc
10390 ac_exeext=$ac_wine_try_cflags_saved_exeext
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10393 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10394 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10395 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10398 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10399 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_wine_try_cflags_saved=$CFLAGS
10403 ac_wine_try_cflags_saved_cc=$CC
10404 ac_wine_try_cflags_saved_exeext=$ac_exeext
10405 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10406 CC="$CROSSCC"
10407 ac_exeext=".exe"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int __cdecl mainCRTStartup(void) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 ac_cv_crosscflags__Wlogical_op=yes
10414 else
10415 ac_cv_crosscflags__Wlogical_op=no
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10420 CC=$ac_wine_try_cflags_saved_cc
10421 ac_exeext=$ac_wine_try_cflags_saved_exeext
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10424 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10425 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10429 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10430 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_wine_try_cflags_saved=$CFLAGS
10434 ac_wine_try_cflags_saved_cc=$CC
10435 ac_wine_try_cflags_saved_exeext=$ac_exeext
10436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10437 CC="$CROSSCC"
10438 ac_exeext=".exe"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 int __cdecl mainCRTStartup(void) { return 0; }
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_crosscflags__Wabsolute_value=yes
10445 else
10446 ac_cv_crosscflags__Wabsolute_value=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 CFLAGS=$ac_wine_try_cflags_saved
10451 CC=$ac_wine_try_cflags_saved_cc
10452 ac_exeext=$ac_wine_try_cflags_saved_exeext
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10455 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10456 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10460 case $host_cpu in
10461 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10462 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10463 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_wine_try_cflags_saved=$CFLAGS
10467 ac_wine_try_cflags_saved_cc=$CC
10468 ac_wine_try_cflags_saved_exeext=$ac_exeext
10469 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10470 CC="$CROSSCC"
10471 ac_exeext=".exe"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 int __cdecl mainCRTStartup(void) { return 0; }
10475 _ACEOF
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10478 else
10479 ac_cv_crosscflags__fno_omit_frame_pointer=no
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 CFLAGS=$ac_wine_try_cflags_saved
10484 CC=$ac_wine_try_cflags_saved_cc
10485 ac_exeext=$ac_wine_try_cflags_saved_exeext
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10488 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10489 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10490 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10491 fi ;;
10492 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10493 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10494 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10495 $as_echo_n "(cached) " >&6
10496 else
10497 ac_wine_try_cflags_saved=$CFLAGS
10498 ac_wine_try_cflags_saved_cc=$CC
10499 ac_wine_try_cflags_saved_exeext=$ac_exeext
10500 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10501 CC="$CROSSCC"
10502 ac_exeext=".exe"
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10505 int __cdecl mainCRTStartup(void) { return 0; }
10506 _ACEOF
10507 if ac_fn_c_try_link "$LINENO"; then :
10508 ac_cv_crosscflags__Wno_format=yes
10509 else
10510 ac_cv_crosscflags__Wno_format=no
10512 rm -f core conftest.err conftest.$ac_objext \
10513 conftest$ac_exeext conftest.$ac_ext
10514 CFLAGS=$ac_wine_try_cflags_saved
10515 CC=$ac_wine_try_cflags_saved_cc
10516 ac_exeext=$ac_wine_try_cflags_saved_exeext
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10519 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10520 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10524 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10525 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10526 $as_echo_n "(cached) " >&6
10527 else
10528 ac_wine_try_cflags_saved=$CFLAGS
10529 ac_wine_try_cflags_saved_cc=$CC
10530 ac_wine_try_cflags_saved_exeext=$ac_exeext
10531 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10532 CC="$CROSSCC"
10533 ac_exeext=".exe"
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10536 int __cdecl mainCRTStartup(void) { return 0; }
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 ac_cv_crosscflags__Wformat_overflow=yes
10540 else
10541 ac_cv_crosscflags__Wformat_overflow=no
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 CFLAGS=$ac_wine_try_cflags_saved
10546 CC=$ac_wine_try_cflags_saved_cc
10547 ac_exeext=$ac_wine_try_cflags_saved_exeext
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10550 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10551 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10552 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10555 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10556 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10557 $as_echo_n "(cached) " >&6
10558 else
10559 ac_wine_try_cflags_saved=$CFLAGS
10560 ac_wine_try_cflags_saved_cc=$CC
10561 ac_wine_try_cflags_saved_exeext=$ac_exeext
10562 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10563 CC="$CROSSCC"
10564 ac_exeext=".exe"
10565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10567 int __cdecl mainCRTStartup(void) { return 0; }
10568 _ACEOF
10569 if ac_fn_c_try_link "$LINENO"; then :
10570 ac_cv_crosscflags__Wnonnull=yes
10571 else
10572 ac_cv_crosscflags__Wnonnull=no
10574 rm -f core conftest.err conftest.$ac_objext \
10575 conftest$ac_exeext conftest.$ac_ext
10576 CFLAGS=$ac_wine_try_cflags_saved
10577 CC=$ac_wine_try_cflags_saved_cc
10578 ac_exeext=$ac_wine_try_cflags_saved_exeext
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10581 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10582 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10583 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10584 fi ;;
10585 esac
10588 if test -z "$CROSSDEBUG"
10589 then
10590 for ac_flag in $CROSSCFLAGS; do
10591 case $ac_flag in
10592 -gdwarf*) CROSSDEBUG=dwarf ;;
10593 -gcodeview) CROSSDEBUG=pdb ;;
10594 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10595 esac
10596 done
10598 case $CROSSDEBUG in
10599 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10600 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10601 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10602 $as_echo_n "(cached) " >&6
10603 else
10604 ac_wine_try_cflags_saved=$CFLAGS
10605 ac_wine_try_cflags_saved_cc=$CC
10606 ac_wine_try_cflags_saved_exeext=$ac_exeext
10607 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10608 CC="$CROSSCC"
10609 ac_exeext=".exe"
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10612 int __cdecl mainCRTStartup(void) { return 0; }
10613 _ACEOF
10614 if ac_fn_c_try_link "$LINENO"; then :
10615 ac_cv_crosscflags__gdwarf_2=yes
10616 else
10617 ac_cv_crosscflags__gdwarf_2=no
10619 rm -f core conftest.err conftest.$ac_objext \
10620 conftest$ac_exeext conftest.$ac_ext
10621 CFLAGS=$ac_wine_try_cflags_saved
10622 CC=$ac_wine_try_cflags_saved_cc
10623 ac_exeext=$ac_wine_try_cflags_saved_exeext
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10626 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10627 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10628 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10631 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10632 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10633 $as_echo_n "(cached) " >&6
10634 else
10635 ac_wine_try_cflags_saved=$CFLAGS
10636 ac_wine_try_cflags_saved_cc=$CC
10637 ac_wine_try_cflags_saved_exeext=$ac_exeext
10638 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10639 CC="$CROSSCC"
10640 ac_exeext=".exe"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10643 int __cdecl mainCRTStartup(void) { return 0; }
10644 _ACEOF
10645 if ac_fn_c_try_link "$LINENO"; then :
10646 ac_cv_crosscflags__gstrict_dwarf=yes
10647 else
10648 ac_cv_crosscflags__gstrict_dwarf=no
10650 rm -f core conftest.err conftest.$ac_objext \
10651 conftest$ac_exeext conftest.$ac_ext
10652 CFLAGS=$ac_wine_try_cflags_saved
10653 CC=$ac_wine_try_cflags_saved_cc
10654 ac_exeext=$ac_wine_try_cflags_saved_exeext
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10657 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10658 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10659 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10660 fi ;;
10661 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10662 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10663 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_wine_try_cflags_saved=$CFLAGS
10667 ac_wine_try_cflags_saved_cc=$CC
10668 ac_wine_try_cflags_saved_exeext=$ac_exeext
10669 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10670 CC="$CROSSCC"
10671 ac_exeext=".exe"
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10673 /* end confdefs.h. */
10674 int __cdecl mainCRTStartup(void) { return 0; }
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
10677 ac_cv_crosscflags__gcodeview=yes
10678 else
10679 ac_cv_crosscflags__gcodeview=no
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 CFLAGS=$ac_wine_try_cflags_saved
10684 CC=$ac_wine_try_cflags_saved_cc
10685 ac_exeext=$ac_wine_try_cflags_saved_exeext
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10688 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10689 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10690 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10691 fi ;;
10692 esac
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10695 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10696 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_wine_try_cflags_saved=$CFLAGS
10700 ac_wine_try_cflags_saved_cc=$CC
10701 ac_wine_try_cflags_saved_exeext=$ac_exeext
10702 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10703 CC="$CROSSCC"
10704 ac_exeext=".exe"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int __cdecl mainCRTStartup(void) { return 0; }
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_crosscflags__fexcess_precision_standard=yes
10711 else
10712 ac_cv_crosscflags__fexcess_precision_standard=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 CFLAGS=$ac_wine_try_cflags_saved
10717 CC=$ac_wine_try_cflags_saved_cc
10718 ac_exeext=$ac_wine_try_cflags_saved_exeext
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10721 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10722 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10723 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10727 if test "x$enable_werror" = "xyes"
10728 then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10730 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10731 if ${ac_cv_crosscflags__Werror+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_wine_try_cflags_saved=$CFLAGS
10735 ac_wine_try_cflags_saved_cc=$CC
10736 ac_wine_try_cflags_saved_exeext=$ac_exeext
10737 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10738 CC="$CROSSCC"
10739 ac_exeext=".exe"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10742 int __cdecl mainCRTStartup(void) { return 0; }
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 ac_cv_crosscflags__Werror=yes
10746 else
10747 ac_cv_crosscflags__Werror=no
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 CFLAGS=$ac_wine_try_cflags_saved
10752 CC=$ac_wine_try_cflags_saved_cc
10753 ac_exeext=$ac_wine_try_cflags_saved_exeext
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10756 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10757 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10758 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10762 CFLAGS=$saved_CFLAGS
10763 CC="$ac_save_CC"
10766 if test "x$CROSSTARGET" = "x"; then :
10767 case "x$with_mingw" in
10768 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10771 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10772 esac
10777 if test "$ac_cv_header_pthread_h" = "yes"
10778 then
10779 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10780 if test "x$ac_cv_func_pthread_create" = xyes; then :
10782 else
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10784 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10785 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lpthread $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char pthread_create ();
10801 main ()
10803 return pthread_create ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_pthread_pthread_create=yes
10810 else
10811 ac_cv_lib_pthread_pthread_create=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10818 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10819 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10820 PTHREAD_LIBS="-lpthread"
10827 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10828 case "x$with_pthread" in
10829 xno) ;;
10830 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10831 Wine cannot support threads without libpthread.
10832 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10833 esac
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10839 $as_echo_n "checking for X... " >&6; }
10842 # Check whether --with-x was given.
10843 if test "${with_x+set}" = set; then :
10844 withval=$with_x;
10847 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10848 if test "x$with_x" = xno; then
10849 # The user explicitly disabled X.
10850 have_x=disabled
10851 else
10852 case $x_includes,$x_libraries in #(
10853 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10854 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 # One or both of the vars are not set, and there is no cached value.
10858 ac_x_includes=no ac_x_libraries=no
10859 rm -f -r conftest.dir
10860 if mkdir conftest.dir; then
10861 cd conftest.dir
10862 cat >Imakefile <<'_ACEOF'
10863 incroot:
10864 @echo incroot='${INCROOT}'
10865 usrlibdir:
10866 @echo usrlibdir='${USRLIBDIR}'
10867 libdir:
10868 @echo libdir='${LIBDIR}'
10869 _ACEOF
10870 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10872 for ac_var in incroot usrlibdir libdir; do
10873 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10874 done
10875 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10876 for ac_extension in a so sl dylib la dll; do
10877 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10878 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10879 ac_im_usrlibdir=$ac_im_libdir; break
10881 done
10882 # Screen out bogus values from the imake configuration. They are
10883 # bogus both because they are the default anyway, and because
10884 # using them would break gcc on systems where it needs fixed includes.
10885 case $ac_im_incroot in
10886 /usr/include) ac_x_includes= ;;
10887 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10888 esac
10889 case $ac_im_usrlibdir in
10890 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10891 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10892 esac
10894 cd ..
10895 rm -f -r conftest.dir
10898 # Standard set of common directories for X headers.
10899 # Check X11 before X11Rn because it is often a symlink to the current release.
10900 ac_x_header_dirs='
10901 /usr/X11/include
10902 /usr/X11R7/include
10903 /usr/X11R6/include
10904 /usr/X11R5/include
10905 /usr/X11R4/include
10907 /usr/include/X11
10908 /usr/include/X11R7
10909 /usr/include/X11R6
10910 /usr/include/X11R5
10911 /usr/include/X11R4
10913 /usr/local/X11/include
10914 /usr/local/X11R7/include
10915 /usr/local/X11R6/include
10916 /usr/local/X11R5/include
10917 /usr/local/X11R4/include
10919 /usr/local/include/X11
10920 /usr/local/include/X11R7
10921 /usr/local/include/X11R6
10922 /usr/local/include/X11R5
10923 /usr/local/include/X11R4
10925 /usr/X386/include
10926 /usr/x386/include
10927 /usr/XFree86/include/X11
10929 /usr/include
10930 /usr/local/include
10931 /usr/unsupported/include
10932 /usr/athena/include
10933 /usr/local/x11r5/include
10934 /usr/lpp/Xamples/include
10936 /usr/openwin/include
10937 /usr/openwin/share/include'
10939 if test "$ac_x_includes" = no; then
10940 # Guess where to find include files, by looking for Xlib.h.
10941 # First, try using that file with no special directory specified.
10942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10944 #include <X11/Xlib.h>
10945 _ACEOF
10946 if ac_fn_c_try_cpp "$LINENO"; then :
10947 # We can compile using X headers with no special include directory.
10948 ac_x_includes=
10949 else
10950 for ac_dir in $ac_x_header_dirs; do
10951 if test -r "$ac_dir/X11/Xlib.h"; then
10952 ac_x_includes=$ac_dir
10953 break
10955 done
10957 rm -f conftest.err conftest.i conftest.$ac_ext
10958 fi # $ac_x_includes = no
10960 if test "$ac_x_libraries" = no; then
10961 # Check for the libraries.
10962 # See if we find them without any special options.
10963 # Don't add to $LIBS permanently.
10964 ac_save_LIBS=$LIBS
10965 LIBS="-lX11 $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10968 #include <X11/Xlib.h>
10970 main ()
10972 XrmInitialize ()
10974 return 0;
10976 _ACEOF
10977 if ac_fn_c_try_link "$LINENO"; then :
10978 LIBS=$ac_save_LIBS
10979 # We can link X programs with no special library path.
10980 ac_x_libraries=
10981 else
10982 LIBS=$ac_save_LIBS
10983 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10985 # Don't even attempt the hair of trying to link an X program!
10986 for ac_extension in a so sl dylib la dll; do
10987 if test -r "$ac_dir/libX11.$ac_extension"; then
10988 ac_x_libraries=$ac_dir
10989 break 2
10991 done
10992 done
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 fi # $ac_x_libraries = no
10998 case $ac_x_includes,$ac_x_libraries in #(
10999 no,* | *,no | *\'*)
11000 # Didn't find X, or a directory has "'" in its name.
11001 ac_cv_have_x="have_x=no";; #(
11003 # Record where we found X for the cache.
11004 ac_cv_have_x="have_x=yes\
11005 ac_x_includes='$ac_x_includes'\
11006 ac_x_libraries='$ac_x_libraries'"
11007 esac
11009 ;; #(
11010 *) have_x=yes;;
11011 esac
11012 eval "$ac_cv_have_x"
11013 fi # $with_x != no
11015 if test "$have_x" != yes; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11017 $as_echo "$have_x" >&6; }
11018 no_x=yes
11019 else
11020 # If each of the values was on the command line, it overrides each guess.
11021 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11022 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11023 # Update the cache value to reflect the command line values.
11024 ac_cv_have_x="have_x=yes\
11025 ac_x_includes='$x_includes'\
11026 ac_x_libraries='$x_libraries'"
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11028 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11031 if test "$no_x" = yes; then
11032 # Not all programs may use this symbol, but it does not hurt to define it.
11034 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11036 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11037 else
11038 if test -n "$x_includes"; then
11039 X_CFLAGS="$X_CFLAGS -I$x_includes"
11042 # It would also be nice to do this for all -L options, not just this one.
11043 if test -n "$x_libraries"; then
11044 X_LIBS="$X_LIBS -L$x_libraries"
11045 # For Solaris; some versions of Sun CC require a space after -R and
11046 # others require no space. Words are not sufficient . . . .
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11048 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11049 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11050 ac_xsave_c_werror_flag=$ac_c_werror_flag
11051 ac_c_werror_flag=yes
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11056 main ()
11060 return 0;
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11065 $as_echo "no" >&6; }
11066 X_LIBS="$X_LIBS -R$x_libraries"
11067 else
11068 LIBS="$ac_xsave_LIBS -R $x_libraries"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11073 main ()
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11082 $as_echo "yes" >&6; }
11083 X_LIBS="$X_LIBS -R $x_libraries"
11084 else
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11086 $as_echo "neither works" >&6; }
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 ac_c_werror_flag=$ac_xsave_c_werror_flag
11094 LIBS=$ac_xsave_LIBS
11097 # Check for system-dependent libraries X programs must link with.
11098 # Do this before checking for the system-independent R6 libraries
11099 # (-lICE), since we may need -lsocket or whatever for X linking.
11101 if test "$ISC" = yes; then
11102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11103 else
11104 # Martyn Johnson says this is needed for Ultrix, if the X
11105 # libraries were built with DECnet support. And Karl Berry says
11106 # the Alpha needs dnet_stub (dnet does not exist).
11107 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char XOpenDisplay ();
11119 main ()
11121 return XOpenDisplay ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11128 else
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11130 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11131 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-ldnet $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char dnet_ntoa ();
11147 main ()
11149 return dnet_ntoa ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_dnet_dnet_ntoa=yes
11156 else
11157 ac_cv_lib_dnet_dnet_ntoa=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11164 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11165 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11166 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11169 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11171 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11172 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-ldnet_stub $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char dnet_ntoa ();
11188 main ()
11190 return dnet_ntoa ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11197 else
11198 ac_cv_lib_dnet_stub_dnet_ntoa=no
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11205 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11206 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS="$ac_xsave_LIBS"
11216 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11217 # to get the SysV transport functions.
11218 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11219 # needs -lnsl.
11220 # The nsl library prevents programs from opening the X display
11221 # on Irix 5.2, according to T.E. Dickey.
11222 # The functions gethostbyname, getservbyname, and inet_addr are
11223 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11224 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11225 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11229 if test $ac_cv_func_gethostbyname = no; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11231 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11232 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lnsl $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char gethostbyname ();
11248 main ()
11250 return gethostbyname ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_nsl_gethostbyname=yes
11257 else
11258 ac_cv_lib_nsl_gethostbyname=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11265 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11266 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11270 if test $ac_cv_lib_nsl_gethostbyname = no; then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11272 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11273 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-lbsd $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char gethostbyname ();
11289 main ()
11291 return gethostbyname ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_bsd_gethostbyname=yes
11298 else
11299 ac_cv_lib_bsd_gethostbyname=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11306 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11307 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11308 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11314 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11315 # socket/setsockopt and other routines are undefined under SCO ODT
11316 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11317 # on later versions), says Simon Leinen: it contains gethostby*
11318 # variants that don't use the name server (or something). -lsocket
11319 # must be given before -lnsl if both are needed. We assume that
11320 # if connect needs -lnsl, so does gethostbyname.
11321 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11322 if test "x$ac_cv_func_connect" = xyes; then :
11326 if test $ac_cv_func_connect = no; then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11328 $as_echo_n "checking for connect in -lsocket... " >&6; }
11329 if ${ac_cv_lib_socket_connect+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char connect ();
11345 main ()
11347 return connect ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_socket_connect=yes
11354 else
11355 ac_cv_lib_socket_connect=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11362 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11363 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11364 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11369 # Guillermo Gomez says -lposix is necessary on A/UX.
11370 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11371 if test "x$ac_cv_func_remove" = xyes; then :
11375 if test $ac_cv_func_remove = no; then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11377 $as_echo_n "checking for remove in -lposix... " >&6; }
11378 if ${ac_cv_lib_posix_remove+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lposix $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char remove ();
11394 main ()
11396 return remove ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 ac_cv_lib_posix_remove=yes
11403 else
11404 ac_cv_lib_posix_remove=no
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_lib_save_LIBS
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11411 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11412 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11418 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11419 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11420 if test "x$ac_cv_func_shmat" = xyes; then :
11424 if test $ac_cv_func_shmat = no; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11426 $as_echo_n "checking for shmat in -lipc... " >&6; }
11427 if ${ac_cv_lib_ipc_shmat+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lipc $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char shmat ();
11443 main ()
11445 return shmat ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_ipc_shmat=yes
11452 else
11453 ac_cv_lib_ipc_shmat=no
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11460 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11461 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11468 # Check for libraries that X11R6 Xt/Xaw programs need.
11469 ac_save_LDFLAGS=$LDFLAGS
11470 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11471 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11472 # check for ICE first), but we must link in the order -lSM -lICE or
11473 # we get undefined symbols. So assume we have SM if we have ICE.
11474 # These have to be linked with before -lX11, unlike the other
11475 # libraries we check for below, so use a different variable.
11476 # John Interrante, Karl Berry
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11478 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11479 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char IceConnectionNumber ();
11495 main ()
11497 return IceConnectionNumber ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 ac_cv_lib_ICE_IceConnectionNumber=yes
11504 else
11505 ac_cv_lib_ICE_IceConnectionNumber=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11512 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11513 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11514 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11517 LDFLAGS=$ac_save_LDFLAGS
11522 if test "$have_x" = "yes"
11523 then
11524 ac_save_CPPFLAGS="$CPPFLAGS"
11525 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11528 $as_echo_n "checking for -lX11... " >&6; }
11529 if ${ac_cv_lib_soname_X11+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_soname_save_LIBS=$LIBS
11533 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char XCreateWindow ();
11545 main ()
11547 return XCreateWindow ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 case "$LIBEXT" in
11554 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_X11:+false} :; then :
11558 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11559 fi ;;
11560 esac
11561 else
11562 ac_cv_lib_soname_X11=
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_X11:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11572 else
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11574 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11576 cat >>confdefs.h <<_ACEOF
11577 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11578 _ACEOF
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11583 $as_echo_n "checking for -lXext... " >&6; }
11584 if ${ac_cv_lib_soname_Xext+:} false; then :
11585 $as_echo_n "(cached) " >&6
11586 else
11587 ac_check_soname_save_LIBS=$LIBS
11588 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11595 #ifdef __cplusplus
11596 extern "C"
11597 #endif
11598 char XextCreateExtension ();
11600 main ()
11602 return XextCreateExtension ();
11604 return 0;
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"; then :
11608 case "$LIBEXT" in
11609 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11610 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'` ;;
11611 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11612 if ${ac_cv_lib_soname_Xext:+false} :; then :
11613 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11614 fi ;;
11615 esac
11616 else
11617 ac_cv_lib_soname_Xext=
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_soname_save_LIBS
11623 if ${ac_cv_lib_soname_Xext:+false} :; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11629 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11631 cat >>confdefs.h <<_ACEOF
11632 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11633 _ACEOF
11635 X_LIBS="$X_LIBS -lXext"
11637 X_LIBS="$X_LIBS -lX11"
11639 for ac_header in X11/Xlib.h \
11640 X11/XKBlib.h \
11641 X11/Xutil.h \
11642 X11/Xcursor/Xcursor.h \
11643 X11/extensions/shape.h \
11644 X11/extensions/XInput.h \
11645 X11/extensions/XInput2.h \
11646 X11/extensions/XShm.h \
11647 X11/extensions/Xcomposite.h \
11648 X11/extensions/Xfixes.h \
11649 X11/extensions/Xinerama.h \
11650 X11/extensions/Xrandr.h \
11651 X11/extensions/Xrender.h \
11652 X11/extensions/xf86vmode.h \
11653 X11/extensions/xf86vmproto.h
11654 do :
11655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11657 # include <X11/Xlib.h>
11658 #endif
11659 #ifdef HAVE_X11_XUTIL_H
11660 # include <X11/Xutil.h>
11661 #endif
11663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11664 cat >>confdefs.h <<_ACEOF
11665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11666 _ACEOF
11670 done
11673 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11676 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11677 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char XkbQueryExtension ();
11693 main ()
11695 return XkbQueryExtension ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 ac_cv_lib_X11_XkbQueryExtension=yes
11702 else
11703 ac_cv_lib_X11_XkbQueryExtension=no
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_lib_save_LIBS
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11710 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11711 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11713 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11719 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11720 then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11722 $as_echo_n "checking for -lXcursor... " >&6; }
11723 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char XcursorImageLoadCursor ();
11739 main ()
11741 return XcursorImageLoadCursor ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11751 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11752 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11755 else
11756 ac_cv_lib_soname_Xcursor=
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11768 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11772 _ACEOF
11777 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11778 case "x$with_xcursor" in
11779 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11782 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11783 esac
11787 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11788 then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11790 $as_echo_n "checking for -lXi... " >&6; }
11791 if ${ac_cv_lib_soname_Xi+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_soname_save_LIBS=$LIBS
11795 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char XOpenDevice ();
11807 main ()
11809 return XOpenDevice ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 case "$LIBEXT" in
11816 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11817 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'` ;;
11818 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11819 if ${ac_cv_lib_soname_Xi:+false} :; then :
11820 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11821 fi ;;
11822 esac
11823 else
11824 ac_cv_lib_soname_Xi=
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if ${ac_cv_lib_soname_Xi:+false} :; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832 $as_echo "not found" >&6; }
11834 else
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11836 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11840 _ACEOF
11845 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11846 case "x$with_xinput" in
11847 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11848 xno) ;;
11849 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11850 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11851 esac
11855 if test "x$ac_cv_lib_soname_Xi" != x
11856 then
11857 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11858 case "x$with_xinput2" in
11859 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11860 xno) ;;
11861 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11862 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11863 esac
11868 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11871 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11872 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_lib_save_LIBS=$LIBS
11876 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char XShmQueryExtension ();
11888 main ()
11890 return XShmQueryExtension ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 ac_cv_lib_Xext_XShmQueryExtension=yes
11897 else
11898 ac_cv_lib_Xext_XShmQueryExtension=no
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11905 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11906 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11908 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11913 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11914 case "x$with_xshm" in
11915 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11916 xno) ;;
11917 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11918 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11919 esac
11923 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11924 then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11926 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11927 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char XShapeQueryExtension ();
11943 main ()
11945 return XShapeQueryExtension ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 ac_cv_lib_Xext_XShapeQueryExtension=yes
11952 else
11953 ac_cv_lib_Xext_XShapeQueryExtension=no
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11960 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11961 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11963 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11968 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11969 case "x$with_xshape" in
11970 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11971 xno) ;;
11972 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11973 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11974 esac
11978 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11979 then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11981 $as_echo_n "checking for -lXxf86vm... " >&6; }
11982 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 ac_check_soname_save_LIBS=$LIBS
11986 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char XF86VidModeQueryExtension ();
11998 main ()
12000 return XF86VidModeQueryExtension ();
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 case "$LIBEXT" in
12007 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12008 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'` ;;
12009 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12010 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12011 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12012 fi ;;
12013 esac
12014 else
12015 ac_cv_lib_soname_Xxf86vm=
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_soname_save_LIBS
12021 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12023 $as_echo "not found" >&6; }
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12027 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12029 cat >>confdefs.h <<_ACEOF
12030 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12031 _ACEOF
12036 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12037 case "x$with_xxf86vm" in
12038 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12041 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12042 esac
12046 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12047 then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12049 $as_echo_n "checking for -lXrender... " >&6; }
12050 if ${ac_cv_lib_soname_Xrender+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_soname_save_LIBS=$LIBS
12054 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char XRenderQueryExtension ();
12066 main ()
12068 return XRenderQueryExtension ();
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_link "$LINENO"; then :
12074 case "$LIBEXT" in
12075 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12076 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'` ;;
12077 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12078 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12079 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12080 fi ;;
12081 esac
12082 else
12083 ac_cv_lib_soname_Xrender=
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_soname_save_LIBS
12089 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12091 $as_echo "not found" >&6; }
12093 else
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12095 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12097 cat >>confdefs.h <<_ACEOF
12098 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12099 _ACEOF
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12102 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12103 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char XRenderSetPictureTransform ();
12119 main ()
12121 return XRenderSetPictureTransform ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12128 else
12129 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_lib_save_LIBS
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12136 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12137 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12139 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12144 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12145 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_lib_save_LIBS=$LIBS
12149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char XRenderCreateLinearGradient ();
12161 main ()
12163 return XRenderCreateLinearGradient ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12170 else
12171 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12178 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12179 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12181 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12188 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12189 case "x$with_xrender" in
12190 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12191 xno) ;;
12192 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12193 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12194 esac
12198 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12199 then
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <X11/Xlib.h>
12203 #include <X11/extensions/Xrandr.h>
12205 main ()
12207 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_compile "$LINENO"; then :
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12214 $as_echo_n "checking for -lXrandr... " >&6; }
12215 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12216 $as_echo_n "(cached) " >&6
12217 else
12218 ac_check_soname_save_LIBS=$LIBS
12219 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12223 /* Override any GCC internal prototype to avoid an error.
12224 Use char because int might match the return type of a GCC
12225 builtin and then its argument prototype would still apply. */
12226 #ifdef __cplusplus
12227 extern "C"
12228 #endif
12229 char XRRQueryExtension ();
12231 main ()
12233 return XRRQueryExtension ();
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_link "$LINENO"; then :
12239 case "$LIBEXT" in
12240 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12241 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'` ;;
12242 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12243 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12244 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12245 fi ;;
12246 esac
12247 else
12248 ac_cv_lib_soname_Xrandr=
12250 rm -f core conftest.err conftest.$ac_objext \
12251 conftest$ac_exeext conftest.$ac_ext
12252 LIBS=$ac_check_soname_save_LIBS
12254 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12256 $as_echo "not found" >&6; }
12258 else
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12260 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12262 cat >>confdefs.h <<_ACEOF
12263 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12264 _ACEOF
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <X11/Xlib.h>
12269 #include <X11/extensions/Xrandr.h>
12271 main ()
12273 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12280 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 #include <X11/Xlib.h>
12287 #include <X11/extensions/Xrandr.h>
12289 main ()
12291 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12293 return 0;
12295 _ACEOF
12296 if ac_fn_c_try_compile "$LINENO"; then :
12298 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12300 else
12301 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12309 case "x$with_xrandr" in
12310 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12311 xno) ;;
12312 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12313 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12314 esac
12318 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12319 then
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12322 #include <X11/Xlib.h>
12323 #include <X11/extensions/Xfixes.h>
12325 main ()
12327 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12329 return 0;
12331 _ACEOF
12332 if ac_fn_c_try_compile "$LINENO"; then :
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12334 $as_echo_n "checking for -lXfixes... " >&6; }
12335 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 ac_check_soname_save_LIBS=$LIBS
12339 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 #ifdef __cplusplus
12347 extern "C"
12348 #endif
12349 char XFixesQueryVersion ();
12351 main ()
12353 return XFixesQueryVersion ();
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_link "$LINENO"; then :
12359 case "$LIBEXT" in
12360 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12361 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'` ;;
12362 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12363 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12364 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12365 fi ;;
12366 esac
12367 else
12368 ac_cv_lib_soname_Xfixes=
12370 rm -f core conftest.err conftest.$ac_objext \
12371 conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_soname_save_LIBS
12374 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12376 $as_echo "not found" >&6; }
12378 else
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12380 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12382 cat >>confdefs.h <<_ACEOF
12383 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12384 _ACEOF
12389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12391 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12392 case "x$with_xfixes" in
12393 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12394 xno) ;;
12395 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12396 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12397 esac
12401 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12402 then
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 #include <X11/Xlib.h>
12406 #include <X11/extensions/Xinerama.h>
12408 main ()
12410 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_compile "$LINENO"; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12417 $as_echo_n "checking for -lXinerama... " >&6; }
12418 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_soname_save_LIBS=$LIBS
12422 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char XineramaQueryScreens ();
12434 main ()
12436 return XineramaQueryScreens ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 case "$LIBEXT" in
12443 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12444 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'` ;;
12445 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12446 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12447 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12448 fi ;;
12449 esac
12450 else
12451 ac_cv_lib_soname_Xinerama=
12453 rm -f core conftest.err conftest.$ac_objext \
12454 conftest$ac_exeext conftest.$ac_ext
12455 LIBS=$ac_check_soname_save_LIBS
12457 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12459 $as_echo "not found" >&6; }
12461 else
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12463 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12465 cat >>confdefs.h <<_ACEOF
12466 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12467 _ACEOF
12472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12474 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12475 case "x$with_xinerama" in
12476 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12477 xno) ;;
12478 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12479 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12480 esac
12484 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12485 then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12487 $as_echo_n "checking for -lXcomposite... " >&6; }
12488 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12489 $as_echo_n "(cached) " >&6
12490 else
12491 ac_check_soname_save_LIBS=$LIBS
12492 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 #ifdef __cplusplus
12500 extern "C"
12501 #endif
12502 char XCompositeRedirectWindow ();
12504 main ()
12506 return XCompositeRedirectWindow ();
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 case "$LIBEXT" in
12513 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12514 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'` ;;
12515 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12516 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12517 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12518 fi ;;
12519 esac
12520 else
12521 ac_cv_lib_soname_Xcomposite=
12523 rm -f core conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12525 LIBS=$ac_check_soname_save_LIBS
12527 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12529 $as_echo "not found" >&6; }
12531 else
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12533 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12535 cat >>confdefs.h <<_ACEOF
12536 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12537 _ACEOF
12542 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12543 case "x$with_xcomposite" in
12544 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12545 xno) ;;
12546 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12547 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12548 esac
12552 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12553 #include <X11/Xlib.h>
12554 #endif
12556 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12558 cat >>confdefs.h <<_ACEOF
12559 #define HAVE_XICCALLBACK_CALLBACK 1
12560 _ACEOF
12564 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12565 #include <X11/Xlib.h>
12566 #endif
12568 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12570 cat >>confdefs.h <<_ACEOF
12571 #define HAVE_XEVENT_XCOOKIE 1
12572 _ACEOF
12579 opengl_msg=""
12580 if test "x$with_opengl" != "xno"
12581 then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12583 $as_echo_n "checking for -lGL... " >&6; }
12584 if ${ac_cv_lib_soname_GL+:} false; then :
12585 $as_echo_n "(cached) " >&6
12586 else
12587 ac_check_soname_save_LIBS=$LIBS
12588 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 /* Override any GCC internal prototype to avoid an error.
12593 Use char because int might match the return type of a GCC
12594 builtin and then its argument prototype would still apply. */
12595 #ifdef __cplusplus
12596 extern "C"
12597 #endif
12598 char glXCreateContext ();
12600 main ()
12602 return glXCreateContext ();
12604 return 0;
12606 _ACEOF
12607 if ac_fn_c_try_link "$LINENO"; then :
12608 case "$LIBEXT" in
12609 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12610 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'` ;;
12611 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12612 if ${ac_cv_lib_soname_GL:+false} :; then :
12613 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12614 fi ;;
12615 esac
12616 else
12617 ac_cv_lib_soname_GL=
12619 rm -f core conftest.err conftest.$ac_objext \
12620 conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_soname_save_LIBS
12623 if ${ac_cv_lib_soname_GL:+false} :; then :
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12625 $as_echo "not found" >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12627 $as_echo_n "checking for -lGL... " >&6; }
12628 if ${ac_cv_lib_soname_GL+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_soname_save_LIBS=$LIBS
12632 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"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char glXCreateContext ();
12644 main ()
12646 return glXCreateContext ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 case "$LIBEXT" in
12653 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12654 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'` ;;
12655 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12656 if ${ac_cv_lib_soname_GL:+false} :; then :
12657 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12658 fi ;;
12659 esac
12660 else
12661 ac_cv_lib_soname_GL=
12663 rm -f core conftest.err conftest.$ac_objext \
12664 conftest$ac_exeext conftest.$ac_ext
12665 LIBS=$ac_check_soname_save_LIBS
12667 if ${ac_cv_lib_soname_GL:+false} :; then :
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12669 $as_echo "not found" >&6; }
12670 if test -f /usr/X11R6/lib/libGL.a
12671 then
12672 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12673 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12674 else
12675 opengl_msg="No OpenGL library found on this system."
12677 else
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12679 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12681 cat >>confdefs.h <<_ACEOF
12682 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12683 _ACEOF
12685 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"
12687 else
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12689 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12691 cat >>confdefs.h <<_ACEOF
12692 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12693 _ACEOF
12695 OPENGL_LIBS="-lGL"
12697 if test "x$with_glu" != "xno"
12698 then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12700 $as_echo_n "checking for -lGLU... " >&6; }
12701 if ${ac_cv_lib_soname_GLU+:} false; then :
12702 $as_echo_n "(cached) " >&6
12703 else
12704 ac_check_soname_save_LIBS=$LIBS
12705 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char gluLookAt ();
12717 main ()
12719 return gluLookAt ();
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_link "$LINENO"; then :
12725 case "$LIBEXT" in
12726 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12727 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'` ;;
12728 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12729 if ${ac_cv_lib_soname_GLU:+false} :; then :
12730 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12731 fi ;;
12732 esac
12733 else
12734 ac_cv_lib_soname_GLU=
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_soname_save_LIBS
12740 if ${ac_cv_lib_soname_GLU:+false} :; then :
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12742 $as_echo "not found" >&6; }
12744 else
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12746 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12748 cat >>confdefs.h <<_ACEOF
12749 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12750 _ACEOF
12754 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12755 case "x$with_glu" in
12756 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12759 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12760 esac
12765 if test "x$with_osmesa" != "xno"
12766 then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12768 $as_echo_n "checking for -lOSMesa... " >&6; }
12769 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 ac_check_soname_save_LIBS=$LIBS
12773 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char OSMesaGetProcAddress ();
12785 main ()
12787 return OSMesaGetProcAddress ();
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 case "$LIBEXT" in
12794 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12795 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'` ;;
12796 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12797 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12798 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12799 fi ;;
12800 esac
12801 else
12802 ac_cv_lib_soname_OSMesa=
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_soname_save_LIBS
12808 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12810 $as_echo "not found" >&6; }
12812 else
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12814 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12816 cat >>confdefs.h <<_ACEOF
12817 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12818 _ACEOF
12822 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12823 case "x$with_osmesa" in
12824 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12825 xno) ;;
12826 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12827 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12828 esac
12833 if test -n "$opengl_msg"; then :
12834 case "x$with_opengl" in
12835 x) as_fn_append wine_warnings "|$opengl_msg
12836 OpenGL and Direct3D won't be supported." ;;
12837 xno) ;;
12838 *) as_fn_error $? "$opengl_msg
12839 OpenGL and Direct3D won't be supported.
12840 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12841 esac
12845 CPPFLAGS="$ac_save_CPPFLAGS"
12846 else
12847 X_CFLAGS=""
12848 X_LIBS=""
12851 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12852 then
12853 if test "x$X_LIBS" = "x"; then :
12854 case "x$with_x" in
12855 xno) ;;
12856 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12857 without X support, which probably isn't what you want. You will need
12858 to install ${notice_platform}development packages of Xlib at the very least.
12859 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12860 esac
12861 enable_winex11_drv=${enable_winex11_drv:-no}
12863 else
12864 if test "x$X_LIBS" = "x"; then :
12865 case "x$with_x" in
12866 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12867 xno) ;;
12868 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12869 This is an error since --with-x was requested." "$LINENO" 5 ;;
12870 esac
12871 enable_winex11_drv=${enable_winex11_drv:-no}
12875 if test "$ac_cv_header_CL_cl_h" = "yes"
12876 then
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12878 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12879 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 ac_check_lib_save_LIBS=$LIBS
12883 LIBS="-lOpenCL $LIBS"
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 char clGetPlatformInfo ();
12895 main ()
12897 return clGetPlatformInfo ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"; then :
12903 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12904 else
12905 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12907 rm -f core conftest.err conftest.$ac_objext \
12908 conftest$ac_exeext conftest.$ac_ext
12909 LIBS=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12912 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12913 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12914 OPENCL_LIBS="-lOpenCL"
12919 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12920 case "x$with_opencl" in
12921 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12922 xno) ;;
12923 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12924 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12925 esac
12926 enable_opencl=${enable_opencl:-no}
12929 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12930 then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12932 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12933 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_lib_save_LIBS=$LIBS
12937 LIBS="-lpcap $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char pcap_create ();
12949 main ()
12951 return pcap_create ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_lib_pcap_pcap_create=yes
12958 else
12959 ac_cv_lib_pcap_pcap_create=no
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_lib_save_LIBS
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12966 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12967 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12968 PCAP_LIBS="-lpcap"
12973 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12974 case "x$with_pcap" in
12975 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12976 xno) ;;
12977 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12978 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12979 esac
12980 enable_wpcap=${enable_wpcap:-no}
12984 if test "x$with_xml" != "xno"
12985 then
12986 if ${XML2_CFLAGS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12991 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12992 if ${XML2_LIBS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12997 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12998 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
13000 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
13001 ac_save_CPPFLAGS=$CPPFLAGS
13002 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13003 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13004 do :
13005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13006 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13008 cat >>confdefs.h <<_ACEOF
13009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13010 _ACEOF
13014 done
13016 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"
13017 then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13019 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13020 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13021 $as_echo_n "(cached) " >&6
13022 else
13023 ac_check_lib_save_LIBS=$LIBS
13024 LIBS="-lxml2 $XML2_LIBS $LIBS"
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13028 /* Override any GCC internal prototype to avoid an error.
13029 Use char because int might match the return type of a GCC
13030 builtin and then its argument prototype would still apply. */
13031 #ifdef __cplusplus
13032 extern "C"
13033 #endif
13034 char xmlParseMemory ();
13036 main ()
13038 return xmlParseMemory ();
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_link "$LINENO"; then :
13044 ac_cv_lib_xml2_xmlParseMemory=yes
13045 else
13046 ac_cv_lib_xml2_xmlParseMemory=no
13048 rm -f core conftest.err conftest.$ac_objext \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_lib_save_LIBS
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13053 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13054 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13056 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13058 else
13059 XML2_LIBS=""
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13063 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13064 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lxml2 $XML2_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char xmlReadMemory ();
13080 main ()
13082 return xmlReadMemory ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_xml2_xmlReadMemory=yes
13089 else
13090 ac_cv_lib_xml2_xmlReadMemory=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13097 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13098 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13100 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13105 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13106 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_lib_save_LIBS=$LIBS
13110 LIBS="-lxml2 $XML2_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char xmlNewDocPI ();
13122 main ()
13124 return xmlNewDocPI ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 ac_cv_lib_xml2_xmlNewDocPI=yes
13131 else
13132 ac_cv_lib_xml2_xmlNewDocPI=no
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_lib_save_LIBS
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13139 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13140 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13142 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13147 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13148 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_lib_save_LIBS=$LIBS
13152 LIBS="-lxml2 $XML2_LIBS $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char xmlSchemaSetParserStructuredErrors ();
13164 main ()
13166 return xmlSchemaSetParserStructuredErrors ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13173 else
13174 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13181 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13182 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13184 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13189 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13190 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13191 $as_echo_n "(cached) " >&6
13192 else
13193 ac_check_lib_save_LIBS=$LIBS
13194 LIBS="-lxml2 $XML2_LIBS $LIBS"
13195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13201 #ifdef __cplusplus
13202 extern "C"
13203 #endif
13204 char xmlSchemaSetValidStructuredErrors ();
13206 main ()
13208 return xmlSchemaSetValidStructuredErrors ();
13210 return 0;
13212 _ACEOF
13213 if ac_fn_c_try_link "$LINENO"; then :
13214 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13215 else
13216 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13218 rm -f core conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13220 LIBS=$ac_check_lib_save_LIBS
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13223 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13224 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13226 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13231 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13232 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13233 $as_echo_n "(cached) " >&6
13234 else
13235 ac_check_lib_save_LIBS=$LIBS
13236 LIBS="-lxml2 $XML2_LIBS $LIBS"
13237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13238 /* end confdefs.h. */
13240 /* Override any GCC internal prototype to avoid an error.
13241 Use char because int might match the return type of a GCC
13242 builtin and then its argument prototype would still apply. */
13243 #ifdef __cplusplus
13244 extern "C"
13245 #endif
13246 char xmlFirstElementChild ();
13248 main ()
13250 return xmlFirstElementChild ();
13252 return 0;
13254 _ACEOF
13255 if ac_fn_c_try_link "$LINENO"; then :
13256 ac_cv_lib_xml2_xmlFirstElementChild=yes
13257 else
13258 ac_cv_lib_xml2_xmlFirstElementChild=no
13260 rm -f core conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13262 LIBS=$ac_check_lib_save_LIBS
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13265 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13266 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13268 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13272 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13274 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13276 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13280 else
13281 XML2_CFLAGS=""
13282 XML2_LIBS=""
13284 CPPFLAGS=$ac_save_CPPFLAGS
13285 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13286 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13289 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13290 case "x$with_xml" in
13291 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13292 xno) ;;
13293 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13294 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13295 esac
13299 if test "x$with_xslt" != "xno"
13300 then
13301 if ${XSLT_CFLAGS:+false} :; then :
13302 if ${PKG_CONFIG+:} false; then :
13303 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13306 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13307 if ${XSLT_LIBS:+false} :; then :
13308 if ${PKG_CONFIG+:} false; then :
13309 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13312 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13313 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13314 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13316 ac_save_CPPFLAGS=$CPPFLAGS
13317 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13318 for ac_header in libxslt/pattern.h libxslt/transform.h
13319 do :
13320 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13321 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13322 # include <libxslt/pattern.h>
13323 #endif
13325 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13326 cat >>confdefs.h <<_ACEOF
13327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13328 _ACEOF
13332 done
13334 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13335 then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13337 $as_echo_n "checking for -lxslt... " >&6; }
13338 if ${ac_cv_lib_soname_xslt+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_soname_save_LIBS=$LIBS
13342 LIBS="-lxslt $XSLT_LIBS $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char xsltCompilePattern ();
13354 main ()
13356 return xsltCompilePattern ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 case "$LIBEXT" in
13363 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13364 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'` ;;
13365 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13366 if ${ac_cv_lib_soname_xslt:+false} :; then :
13367 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13368 fi ;;
13369 esac
13370 else
13371 ac_cv_lib_soname_xslt=
13373 rm -f core conftest.err conftest.$ac_objext \
13374 conftest$ac_exeext conftest.$ac_ext
13375 LIBS=$ac_check_soname_save_LIBS
13377 if ${ac_cv_lib_soname_xslt:+false} :; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13379 $as_echo "not found" >&6; }
13381 else
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13383 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13385 cat >>confdefs.h <<_ACEOF
13386 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13387 _ACEOF
13391 else
13392 XSLT_CFLAGS=""
13394 CPPFLAGS=$ac_save_CPPFLAGS
13395 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13396 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13399 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13400 case "x$with_xslt" in
13401 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13402 xno) ;;
13403 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13404 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13405 esac
13409 if test "x$with_inotify" != "xno"
13410 then
13411 if ${INOTIFY_CFLAGS:+false} :; then :
13412 if ${PKG_CONFIG+:} false; then :
13413 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13417 if ${INOTIFY_LIBS:+false} :; then :
13418 if ${PKG_CONFIG+:} false; then :
13419 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13424 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13425 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13426 ac_save_CPPFLAGS=$CPPFLAGS
13427 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13428 for ac_header in sys/inotify.h
13429 do :
13430 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13431 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13432 cat >>confdefs.h <<_ACEOF
13433 #define HAVE_SYS_INOTIFY_H 1
13434 _ACEOF
13438 done
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13441 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13442 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_lib_save_LIBS=$LIBS
13446 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char inotify_add_watch ();
13458 main ()
13460 return inotify_add_watch ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 ac_cv_lib_inotify_inotify_add_watch=yes
13467 else
13468 ac_cv_lib_inotify_inotify_add_watch=no
13470 rm -f core conftest.err conftest.$ac_objext \
13471 conftest$ac_exeext conftest.$ac_ext
13472 LIBS=$ac_check_lib_save_LIBS
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13475 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13476 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13478 else
13479 INOTIFY_LIBS=""
13482 CPPFLAGS=$ac_save_CPPFLAGS
13483 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13484 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13487 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13488 case "x$with_inotify" in
13489 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13492 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13493 esac
13497 if test "x$with_dbus" != "xno"
13498 then
13499 if ${DBUS_CFLAGS:+false} :; then :
13500 if ${PKG_CONFIG+:} false; then :
13501 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13505 if ${DBUS_LIBS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13512 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13514 ac_save_CPPFLAGS=$CPPFLAGS
13515 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13516 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13517 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13519 $as_echo_n "checking for -ldbus-1... " >&6; }
13520 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 ac_check_soname_save_LIBS=$LIBS
13524 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13531 #ifdef __cplusplus
13532 extern "C"
13533 #endif
13534 char dbus_connection_close ();
13536 main ()
13538 return dbus_connection_close ();
13540 return 0;
13542 _ACEOF
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 case "$LIBEXT" in
13545 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) 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'`
13548 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13549 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13550 fi ;;
13551 esac
13552 else
13553 ac_cv_lib_soname_dbus_1=
13555 rm -f core conftest.err conftest.$ac_objext \
13556 conftest$ac_exeext conftest.$ac_ext
13557 LIBS=$ac_check_soname_save_LIBS
13559 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13561 $as_echo "not found" >&6; }
13562 DBUS_CFLAGS=""
13563 else
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13565 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13567 cat >>confdefs.h <<_ACEOF
13568 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13569 _ACEOF
13573 else
13574 DBUS_CFLAGS=""
13578 CPPFLAGS=$ac_save_CPPFLAGS
13579 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13580 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13583 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13584 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13585 case "x$with_dbus" in
13586 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13587 xno) ;;
13588 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13589 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13590 esac
13594 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13595 then
13596 if ${HAL_CFLAGS:+false} :; then :
13597 if ${PKG_CONFIG+:} false; then :
13598 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13602 if ${HAL_LIBS:+false} :; then :
13603 if ${PKG_CONFIG+:} false; then :
13604 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13608 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13609 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13610 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13611 ac_save_CPPFLAGS=$CPPFLAGS
13612 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13613 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13614 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13616 $as_echo_n "checking for -lhal... " >&6; }
13617 if ${ac_cv_lib_soname_hal+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_check_soname_save_LIBS=$LIBS
13621 LIBS="-lhal $HAL_LIBS $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13625 /* Override any GCC internal prototype to avoid an error.
13626 Use char because int might match the return type of a GCC
13627 builtin and then its argument prototype would still apply. */
13628 #ifdef __cplusplus
13629 extern "C"
13630 #endif
13631 char libhal_ctx_new ();
13633 main ()
13635 return libhal_ctx_new ();
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 case "$LIBEXT" in
13642 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13643 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'` ;;
13644 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13645 if ${ac_cv_lib_soname_hal:+false} :; then :
13646 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13647 fi ;;
13648 esac
13649 else
13650 ac_cv_lib_soname_hal=
13652 rm -f core conftest.err conftest.$ac_objext \
13653 conftest$ac_exeext conftest.$ac_ext
13654 LIBS=$ac_check_soname_save_LIBS
13656 if ${ac_cv_lib_soname_hal:+false} :; then :
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13658 $as_echo "not found" >&6; }
13659 HAL_CFLAGS=""
13660 else
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13662 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13664 cat >>confdefs.h <<_ACEOF
13665 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13666 _ACEOF
13670 else
13671 HAL_CFLAGS=""
13675 CPPFLAGS=$ac_save_CPPFLAGS
13676 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13677 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13679 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13680 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13681 case "x$with_hal" in
13682 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13683 xno) ;;
13684 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13685 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13686 esac
13691 if test "x$with_gnutls" != "xno"
13692 then
13693 if ${GNUTLS_CFLAGS:+false} :; then :
13694 if ${PKG_CONFIG+:} false; then :
13695 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13699 if ${GNUTLS_LIBS:+false} :; then :
13700 if ${PKG_CONFIG+:} false; then :
13701 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13705 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13706 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13707 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13708 ac_save_CPPFLAGS=$CPPFLAGS
13709 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13710 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13711 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 #include <gnutls/gnutls.h>
13715 #include <gnutls/crypto.h>
13717 main ()
13719 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_compile "$LINENO"; then :
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13726 $as_echo_n "checking for -lgnutls... " >&6; }
13727 if ${ac_cv_lib_soname_gnutls+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_soname_save_LIBS=$LIBS
13731 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char gnutls_global_init ();
13743 main ()
13745 return gnutls_global_init ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 case "$LIBEXT" in
13752 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13753 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'` ;;
13754 *) 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'`
13755 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13756 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'`
13757 fi ;;
13758 esac
13759 else
13760 ac_cv_lib_soname_gnutls=
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_soname_save_LIBS
13766 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13768 $as_echo "not found" >&6; }
13769 GNUTLS_CFLAGS=""
13770 else
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13772 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13774 cat >>confdefs.h <<_ACEOF
13775 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13776 _ACEOF
13780 ac_wine_check_funcs_save_LIBS="$LIBS"
13781 LIBS="$LIBS $GNUTLS_LIBS"
13782 for ac_func in gnutls_cipher_init
13783 do :
13784 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13785 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13786 cat >>confdefs.h <<_ACEOF
13787 #define HAVE_GNUTLS_CIPHER_INIT 1
13788 _ACEOF
13790 else
13791 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13793 done
13795 LIBS="$ac_wine_check_funcs_save_LIBS"
13797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13798 else
13799 GNUTLS_CFLAGS=""
13803 CPPFLAGS=$ac_save_CPPFLAGS
13804 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13805 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13808 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13809 case "x$with_gnutls" in
13810 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13811 xno) ;;
13812 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13813 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13814 esac
13818 CURSES_LIBS=""
13819 if test "$ac_cv_header_ncurses_h" = "yes"
13820 then
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13822 $as_echo_n "checking for -lncurses... " >&6; }
13823 if ${ac_cv_lib_soname_ncurses+:} false; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 ac_check_soname_save_LIBS=$LIBS
13827 LIBS="-lncurses $LIBS"
13828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13831 /* Override any GCC internal prototype to avoid an error.
13832 Use char because int might match the return type of a GCC
13833 builtin and then its argument prototype would still apply. */
13834 #ifdef __cplusplus
13835 extern "C"
13836 #endif
13837 char waddch ();
13839 main ()
13841 return waddch ();
13843 return 0;
13845 _ACEOF
13846 if ac_fn_c_try_link "$LINENO"; then :
13847 case "$LIBEXT" in
13848 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13849 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'` ;;
13850 *) 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'`
13851 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13852 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13853 fi ;;
13854 esac
13855 else
13856 ac_cv_lib_soname_ncurses=
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_soname_save_LIBS
13862 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13864 $as_echo "not found" >&6; }
13866 else
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13868 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13870 cat >>confdefs.h <<_ACEOF
13871 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13872 _ACEOF
13874 CURSES_LIBS="-lncurses"
13876 elif test "$ac_cv_header_curses_h" = "yes"
13877 then
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13879 $as_echo_n "checking for -lcurses... " >&6; }
13880 if ${ac_cv_lib_soname_curses+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_check_soname_save_LIBS=$LIBS
13884 LIBS="-lcurses $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 char waddch ();
13896 main ()
13898 return waddch ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 case "$LIBEXT" in
13905 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13906 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'` ;;
13907 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13908 if ${ac_cv_lib_soname_curses:+false} :; then :
13909 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13910 fi ;;
13911 esac
13912 else
13913 ac_cv_lib_soname_curses=
13915 rm -f core conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_soname_save_LIBS
13919 if ${ac_cv_lib_soname_curses:+false} :; then :
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13921 $as_echo "not found" >&6; }
13923 else
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13925 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13927 cat >>confdefs.h <<_ACEOF
13928 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13929 _ACEOF
13931 CURSES_LIBS="-lcurses"
13934 ac_save_LIBS="$LIBS"
13935 LIBS="$LIBS $CURSES_LIBS"
13936 for ac_func in mousemask
13937 do :
13938 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13939 if test "x$ac_cv_func_mousemask" = xyes; then :
13940 cat >>confdefs.h <<_ACEOF
13941 #define HAVE_MOUSEMASK 1
13942 _ACEOF
13945 done
13947 LIBS="$ac_save_LIBS"
13948 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13949 case "x$with_curses" in
13950 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13951 xno) ;;
13952 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13953 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13954 esac
13958 if test "x$with_sane" != "xno"
13959 then
13960 if ${SANE_CFLAGS:+false} :; then :
13961 if ${PKG_CONFIG+:} false; then :
13962 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13965 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13966 if ${SANE_LIBS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13971 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13974 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13975 ac_save_CPPFLAGS=$CPPFLAGS
13976 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13977 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13978 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13980 $as_echo_n "checking for -lsane... " >&6; }
13981 if ${ac_cv_lib_soname_sane+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_check_soname_save_LIBS=$LIBS
13985 LIBS="-lsane $SANE_LIBS $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 char sane_init ();
13997 main ()
13999 return sane_init ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 case "$LIBEXT" in
14006 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14007 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'` ;;
14008 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14009 if ${ac_cv_lib_soname_sane:+false} :; then :
14010 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14011 fi ;;
14012 esac
14013 else
14014 ac_cv_lib_soname_sane=
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_soname_save_LIBS
14020 if ${ac_cv_lib_soname_sane:+false} :; then :
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14022 $as_echo "not found" >&6; }
14023 SANE_CFLAGS=""
14024 else
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14026 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14028 cat >>confdefs.h <<_ACEOF
14029 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14030 _ACEOF
14034 else
14035 SANE_CFLAGS=""
14039 CPPFLAGS=$ac_save_CPPFLAGS
14040 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14041 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14044 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14045 case "x$with_sane" in
14046 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14047 xno) ;;
14048 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14049 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14050 esac
14054 if test "x$with_usb" != "xno"
14055 then
14056 if ${USB_CFLAGS:+false} :; then :
14057 if ${PKG_CONFIG+:} false; then :
14058 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14062 if ${USB_LIBS:+false} :; then :
14063 if ${PKG_CONFIG+:} false; then :
14064 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14068 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14069 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14070 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14071 ac_save_CPPFLAGS=$CPPFLAGS
14072 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14073 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14074 if test "x$ac_cv_header_libusb_h" = xyes; then :
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14076 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14077 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14078 $as_echo_n "(cached) " >&6
14079 else
14080 ac_check_lib_save_LIBS=$LIBS
14081 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 #ifdef __cplusplus
14089 extern "C"
14090 #endif
14091 char libusb_interrupt_event_handler ();
14093 main ()
14095 return libusb_interrupt_event_handler ();
14097 return 0;
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"; then :
14101 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14102 else
14103 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14105 rm -f core conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14110 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14111 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14113 else
14114 USB_LIBS=""
14117 else
14118 USB_LIBS=""
14122 CPPFLAGS=$ac_save_CPPFLAGS
14123 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14124 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14127 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14128 case "x$with_usb" in
14129 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14130 xno) ;;
14131 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14132 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14133 esac
14134 enable_wineusb_sys=${enable_wineusb_sys:-no}
14137 if test "x$with_v4l2" != "xno"
14138 then
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14140 $as_echo_n "checking for -lv4l2... " >&6; }
14141 if ${ac_cv_lib_soname_v4l2+:} false; then :
14142 $as_echo_n "(cached) " >&6
14143 else
14144 ac_check_soname_save_LIBS=$LIBS
14145 LIBS="-lv4l2 $LIBS"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 #ifdef __cplusplus
14153 extern "C"
14154 #endif
14155 char v4l2_open ();
14157 main ()
14159 return v4l2_open ();
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 case "$LIBEXT" in
14166 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14167 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'` ;;
14168 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14169 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14170 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14171 fi ;;
14172 esac
14173 else
14174 ac_cv_lib_soname_v4l2=
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LIBS=$ac_check_soname_save_LIBS
14180 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14182 $as_echo "not found" >&6; }
14184 else
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14186 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14188 cat >>confdefs.h <<_ACEOF
14189 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14190 _ACEOF
14195 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14196 case "x$with_v4l2" in
14197 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14198 xno) ;;
14199 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14200 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14201 esac
14205 if test "x$with_gphoto" != "xno"
14206 then
14207 if ${GPHOTO2_CFLAGS:+false} :; then :
14208 if ${PKG_CONFIG+:} false; then :
14209 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14212 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14213 if ${GPHOTO2_LIBS:+false} :; then :
14214 if ${PKG_CONFIG+:} false; then :
14215 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14218 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14219 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14220 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14221 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14222 ac_save_CPPFLAGS=$CPPFLAGS
14223 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14224 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14225 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14227 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14228 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 ac_check_lib_save_LIBS=$LIBS
14232 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14236 /* Override any GCC internal prototype to avoid an error.
14237 Use char because int might match the return type of a GCC
14238 builtin and then its argument prototype would still apply. */
14239 #ifdef __cplusplus
14240 extern "C"
14241 #endif
14242 char gp_camera_new ();
14244 main ()
14246 return gp_camera_new ();
14248 return 0;
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_lib_gphoto2_gp_camera_new=yes
14253 else
14254 ac_cv_lib_gphoto2_gp_camera_new=no
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_lib_save_LIBS
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14261 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14262 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14264 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14266 else
14267 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14270 else
14271 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14275 CPPFLAGS=$ac_save_CPPFLAGS
14276 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14277 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14279 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14280 if ${PKG_CONFIG+:} false; then :
14281 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14284 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14285 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14286 if ${PKG_CONFIG+:} false; then :
14287 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14290 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14291 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14292 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14293 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14294 ac_save_CPPFLAGS=$CPPFLAGS
14295 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14296 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14297 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14299 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14300 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_check_lib_save_LIBS=$LIBS
14304 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char gp_port_info_list_new ();
14316 main ()
14318 return gp_port_info_list_new ();
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14325 else
14326 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14333 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14334 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14336 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14338 else
14339 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14342 else
14343 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14347 CPPFLAGS=$ac_save_CPPFLAGS
14348 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14349 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14352 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14353 case "x$with_gphoto" in
14354 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14355 xno) ;;
14356 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14357 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14358 esac
14361 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14362 case "x$with_gphoto" in
14363 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14364 xno) ;;
14365 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14366 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14367 esac
14372 if test "$ac_cv_header_resolv_h" = "yes"
14373 then
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14375 $as_echo_n "checking for resolver library... " >&6; }
14376 if ${ac_cv_have_resolv+:} false; then :
14377 $as_echo_n "(cached) " >&6
14378 else
14379 ac_save_LIBS="$LIBS"
14380 for lib in '' -lresolv
14382 LIBS="$lib $ac_save_LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 #ifdef HAVE_NETINET_IN_H
14386 #include <netinet/in.h>
14387 #endif
14388 #include <resolv.h>
14390 main ()
14392 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14394 return 0;
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"; then :
14398 ac_cv_have_resolv=${lib:-"none required"}
14399 else
14400 ac_cv_have_resolv="not found"
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14404 test "x$ac_cv_have_resolv" = "xnot found" || break
14405 done
14406 LIBS="$ac_save_LIBS"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14409 $as_echo "$ac_cv_have_resolv" >&6; }
14411 case "$ac_cv_have_resolv" in
14412 "not found") ;;
14413 "none required")
14415 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14418 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14420 RESOLV_LIBS=$ac_cv_have_resolv
14422 esac
14424 if test "x$ac_cv_have_resolv" != "xnot found"
14425 then
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14427 $as_echo_n "checking for res_getservers... " >&6; }
14428 if ${ac_cv_have_res_getservers+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_save_LIBS="$LIBS"
14432 LIBS="$RESOLV_LIBS $LIBS"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 #include <resolv.h>
14437 main ()
14439 res_getservers(NULL, NULL, 0);
14441 return 0;
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_have_res_getservers=yes
14446 else
14447 ac_cv_have_res_getservers=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS="$ac_save_LIBS"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14454 $as_echo "$ac_cv_have_res_getservers" >&6; }
14455 if test "$ac_cv_have_res_getservers" = "yes"
14456 then
14458 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14464 if test "x$with_cms" != "xno"
14465 then
14466 if ${LCMS2_CFLAGS:+false} :; then :
14467 if ${PKG_CONFIG+:} false; then :
14468 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14472 if ${LCMS2_LIBS:+false} :; then :
14473 if ${PKG_CONFIG+:} false; then :
14474 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14478 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14479 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14480 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14481 ac_save_CPPFLAGS=$CPPFLAGS
14482 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14483 for ac_header in lcms2.h
14484 do :
14485 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14486 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14487 cat >>confdefs.h <<_ACEOF
14488 #define HAVE_LCMS2_H 1
14489 _ACEOF
14493 done
14495 if test "$ac_cv_header_lcms2_h" = "yes"
14496 then
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14498 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14499 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_check_lib_save_LIBS=$LIBS
14503 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 #ifdef __cplusplus
14511 extern "C"
14512 #endif
14513 char cmsOpenProfileFromFile ();
14515 main ()
14517 return cmsOpenProfileFromFile ();
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"; then :
14523 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14524 else
14525 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14527 rm -f core conftest.err conftest.$ac_objext \
14528 conftest$ac_exeext conftest.$ac_ext
14529 LIBS=$ac_check_lib_save_LIBS
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14532 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14533 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14535 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14537 else
14538 LCMS2_LIBS=""
14541 else
14542 LCMS2_CFLAGS=""
14543 LCMS2_LIBS=""
14545 CPPFLAGS=$ac_save_CPPFLAGS
14546 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14547 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14550 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14551 case "x$with_cms" in
14552 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14553 xno) ;;
14554 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14555 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14556 esac
14560 if test "x$with_freetype" != "xno"
14561 then
14562 if ${FREETYPE_CFLAGS:+false} :; then :
14563 if ${PKG_CONFIG+:} false; then :
14564 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14567 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14568 if ${FREETYPE_LIBS:+false} :; then :
14569 if ${PKG_CONFIG+:} false; then :
14570 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14573 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14574 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14575 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14576 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14577 ac_save_CPPFLAGS=$CPPFLAGS
14578 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14579 for ac_header in ft2build.h
14580 do :
14581 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14582 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14583 cat >>confdefs.h <<_ACEOF
14584 #define HAVE_FT2BUILD_H 1
14585 _ACEOF
14589 done
14591 if test "$ac_cv_header_ft2build_h" = "yes"
14592 then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14594 $as_echo_n "checking for -lfreetype... " >&6; }
14595 if ${ac_cv_lib_soname_freetype+:} false; then :
14596 $as_echo_n "(cached) " >&6
14597 else
14598 ac_check_soname_save_LIBS=$LIBS
14599 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14603 /* Override any GCC internal prototype to avoid an error.
14604 Use char because int might match the return type of a GCC
14605 builtin and then its argument prototype would still apply. */
14606 #ifdef __cplusplus
14607 extern "C"
14608 #endif
14609 char FT_Init_FreeType ();
14611 main ()
14613 return FT_Init_FreeType ();
14615 return 0;
14617 _ACEOF
14618 if ac_fn_c_try_link "$LINENO"; then :
14619 case "$LIBEXT" in
14620 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14621 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'` ;;
14622 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14623 if ${ac_cv_lib_soname_freetype:+false} :; then :
14624 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14625 fi ;;
14626 esac
14627 else
14628 ac_cv_lib_soname_freetype=
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 LIBS=$ac_check_soname_save_LIBS
14634 if ${ac_cv_lib_soname_freetype:+false} :; then :
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14636 $as_echo "not found" >&6; }
14637 FREETYPE_LIBS=""
14638 else
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14640 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14642 cat >>confdefs.h <<_ACEOF
14643 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14644 _ACEOF
14647 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14649 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14650 #include FT_MODULE_H
14652 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14654 cat >>confdefs.h <<_ACEOF
14655 #define HAVE_FT_TRUETYPEENGINETYPE 1
14656 _ACEOF
14662 else
14663 FREETYPE_CFLAGS=""
14664 FREETYPE_LIBS=""
14666 CPPFLAGS=$ac_save_CPPFLAGS
14667 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14668 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14671 if test "x$ac_cv_lib_soname_freetype" = x; then :
14672 case "x$with_freetype" in
14673 xno) ;;
14674 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14675 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14676 esac
14677 enable_fonts=${enable_fonts:-no}
14680 ac_wine_check_funcs_save_LIBS="$LIBS"
14681 LIBS="$LIBS $PTHREAD_LIBS"
14682 for ac_func in \
14683 pthread_getthreadid_np
14684 do :
14685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14687 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14688 cat >>confdefs.h <<_ACEOF
14689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14690 _ACEOF
14693 done
14695 LIBS="$ac_wine_check_funcs_save_LIBS"
14697 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14698 then
14699 if test "$ac_cv_header_gettext_po_h" = "yes"
14700 then
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14702 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14703 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_check_lib_save_LIBS=$LIBS
14707 LIBS="-lgettextpo $LIBS"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char po_message_msgctxt ();
14719 main ()
14721 return po_message_msgctxt ();
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14728 else
14729 ac_cv_lib_gettextpo_po_message_msgctxt=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_lib_save_LIBS
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14736 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14737 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14739 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14741 GETTEXTPO_LIBS="-lgettextpo"
14746 if test "x$GETTEXTPO_LIBS" = "x"; then :
14747 case "x$with_gettextpo" in
14748 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14749 xno) ;;
14750 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14751 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14752 esac
14755 if test "$srcdir" != .; then :
14756 case "x$with_gettextpo" in
14757 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14758 xno) ;;
14759 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14760 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14761 esac
14766 if test "x$with_pulse" != "xno";
14767 then
14768 if ${PULSE_CFLAGS:+false} :; then :
14769 if ${PKG_CONFIG+:} false; then :
14770 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14774 if ${PULSE_LIBS:+false} :; then :
14775 if ${PKG_CONFIG+:} false; then :
14776 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14781 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14782 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14783 ac_save_CPPFLAGS=$CPPFLAGS
14784 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14785 for ac_header in pulse/pulseaudio.h
14786 do :
14787 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14788 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14789 cat >>confdefs.h <<_ACEOF
14790 #define HAVE_PULSE_PULSEAUDIO_H 1
14791 _ACEOF
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14793 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14794 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lpulse $PULSE_LIBS $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char pa_stream_is_corked ();
14810 main ()
14812 return pa_stream_is_corked ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_pulse_pa_stream_is_corked=yes
14819 else
14820 ac_cv_lib_pulse_pa_stream_is_corked=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14827 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14828 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14830 else
14831 PULSE_LIBS=""
14834 else
14835 PULSE_LIBS=""
14838 done
14840 CPPFLAGS=$ac_save_CPPFLAGS
14841 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14842 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14845 if test -z "$PULSE_LIBS"; then :
14846 case "x$with_pulse" in
14847 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14848 xno) ;;
14849 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14850 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14851 esac
14852 enable_winepulse_drv=${enable_winepulse_drv:-no}
14855 if test "x$with_gstreamer" != "xno"
14856 then
14857 if ${GSTREAMER_CFLAGS:+false} :; then :
14858 if ${PKG_CONFIG+:} false; then :
14859 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14863 if ${GSTREAMER_LIBS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14870 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14871 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14872 ac_save_CPPFLAGS=$CPPFLAGS
14873 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14874 ac_gst_incl=""
14875 for i in $GSTREAMER_CFLAGS
14877 case "$i" in
14878 -I*) ac_gst_incl="$ac_gst_incl $i";;
14879 esac
14880 done
14881 GSTREAMER_CFLAGS=$ac_gst_incl
14882 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14883 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14884 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14886 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14889 #include <gst/gst.h>
14891 main ()
14893 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14895 return 0;
14897 _ACEOF
14898 if ac_fn_c_try_compile "$LINENO"; then :
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14900 $as_echo "yes" >&6; }
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14902 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14903 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14904 $as_echo_n "(cached) " >&6
14905 else
14906 ac_check_lib_save_LIBS=$LIBS
14907 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14914 #ifdef __cplusplus
14915 extern "C"
14916 #endif
14917 char gst_pad_new ();
14919 main ()
14921 return gst_pad_new ();
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_link "$LINENO"; then :
14927 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14928 else
14929 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14931 rm -f core conftest.err conftest.$ac_objext \
14932 conftest$ac_exeext conftest.$ac_ext
14933 LIBS=$ac_check_lib_save_LIBS
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14936 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14937 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14941 else
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14943 $as_echo "no" >&6; }
14944 ac_glib2_broken=yes
14945 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14951 CPPFLAGS=$ac_save_CPPFLAGS
14952 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14953 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14956 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 :
14957 case "x$with_gstreamer" in
14958 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14959 xno) ;;
14960 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14961 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14962 esac
14965 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14967 ALSA_LIBS=""
14969 if test "x$with_alsa" != "xno"
14970 then
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14972 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14973 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 ac_check_lib_save_LIBS=$LIBS
14977 LIBS="-lasound $LIBS"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14984 #ifdef __cplusplus
14985 extern "C"
14986 #endif
14987 char snd_pcm_hw_params_get_access_mask ();
14989 main ()
14991 return snd_pcm_hw_params_get_access_mask ();
14993 return 0;
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"; then :
14997 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14998 else
14999 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
15001 rm -f core conftest.err conftest.$ac_objext \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15006 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15007 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 #include <alsa/asoundlib.h>
15012 main ()
15014 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_compile "$LINENO"; then :
15020 ALSA_LIBS="-lasound"
15022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15026 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15028 if test "x$with_oss" != xno
15029 then
15030 ac_save_CPPFLAGS="$CPPFLAGS"
15031 if test -f /etc/oss.conf
15032 then
15033 . /etc/oss.conf
15035 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15036 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15037 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15038 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15039 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15041 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15043 cat >>confdefs.h <<_ACEOF
15044 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15045 _ACEOF
15047 OSS4_CFLAGS="$ac_oss_incl"
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15050 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15051 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 ac_check_lib_save_LIBS=$LIBS
15055 LIBS="-lossaudio $LIBS"
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15059 /* Override any GCC internal prototype to avoid an error.
15060 Use char because int might match the return type of a GCC
15061 builtin and then its argument prototype would still apply. */
15062 #ifdef __cplusplus
15063 extern "C"
15064 #endif
15065 char _oss_ioctl ();
15067 main ()
15069 return _oss_ioctl ();
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"; then :
15075 ac_cv_lib_ossaudio__oss_ioctl=yes
15076 else
15077 ac_cv_lib_ossaudio__oss_ioctl=no
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15081 LIBS=$ac_check_lib_save_LIBS
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15084 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15085 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15086 OSS4_LIBS="-lossaudio"
15095 CPPFLAGS="$ac_save_CPPFLAGS"
15097 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15098 case "x$with_oss" in
15099 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15100 xno) ;;
15101 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15102 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15103 esac
15104 enable_wineoss_drv=${enable_wineoss_drv:-no}
15107 if test "x$with_udev" != "xno"
15108 then
15109 if ${UDEV_CFLAGS:+false} :; then :
15110 if ${PKG_CONFIG+:} false; then :
15111 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15115 if ${UDEV_LIBS:+false} :; then :
15116 if ${PKG_CONFIG+:} false; then :
15117 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15121 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15122 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15123 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15124 ac_save_CPPFLAGS=$CPPFLAGS
15125 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15126 for ac_header in libudev.h
15127 do :
15128 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15129 if test "x$ac_cv_header_libudev_h" = xyes; then :
15130 cat >>confdefs.h <<_ACEOF
15131 #define HAVE_LIBUDEV_H 1
15132 _ACEOF
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15134 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15135 if ${ac_cv_lib_udev_udev_new+:} false; then :
15136 $as_echo_n "(cached) " >&6
15137 else
15138 ac_check_lib_save_LIBS=$LIBS
15139 LIBS="-ludev $UDEV_LIBS $LIBS"
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15143 /* Override any GCC internal prototype to avoid an error.
15144 Use char because int might match the return type of a GCC
15145 builtin and then its argument prototype would still apply. */
15146 #ifdef __cplusplus
15147 extern "C"
15148 #endif
15149 char udev_new ();
15151 main ()
15153 return udev_new ();
15155 return 0;
15157 _ACEOF
15158 if ac_fn_c_try_link "$LINENO"; then :
15159 ac_cv_lib_udev_udev_new=yes
15160 else
15161 ac_cv_lib_udev_udev_new=no
15163 rm -f core conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15165 LIBS=$ac_check_lib_save_LIBS
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15168 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15169 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15171 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15173 else
15174 UDEV_LIBS=""
15177 else
15178 UDEV_LIBS=""
15181 done
15183 CPPFLAGS=$ac_save_CPPFLAGS
15184 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15185 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15188 if test "x$UDEV_LIBS" = "x"; then :
15189 case "x$with_udev" in
15190 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15191 xno) ;;
15192 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15193 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15194 esac
15198 if test "x$with_unwind" != xno
15199 then
15200 if ${UNWIND_CFLAGS:+false} :; then :
15201 if ${PKG_CONFIG+:} false; then :
15202 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15206 if ${UNWIND_LIBS:+false} :; then :
15207 if ${PKG_CONFIG+:} false; then :
15208 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15212 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15213 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15214 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15215 ac_save_CPPFLAGS=$CPPFLAGS
15216 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15218 $as_echo_n "checking for unw_step... " >&6; }
15219 if ${wine_cv_have_unw_step+:} false; then :
15220 $as_echo_n "(cached) " >&6
15221 else
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 #define UNW_LOCAL_ONLY
15225 #include <libunwind.h>
15227 main ()
15229 unw_cursor_t cursor; unw_step( &cursor );
15231 return 0;
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"; then :
15235 wine_cv_have_unw_step="yes"
15236 else
15237 wine_cv_have_unw_step="no"
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15243 $as_echo "$wine_cv_have_unw_step" >&6; }
15244 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15245 then
15246 save_libs=$LIBS
15247 LIBS="$UNWIND_LIBS $LIBS"
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15249 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15250 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15251 $as_echo_n "(cached) " >&6
15252 else
15253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15254 /* end confdefs.h. */
15255 #define UNW_LOCAL_ONLY
15256 #include <libunwind.h>
15258 main ()
15260 unw_cursor_t cursor; unw_step( &cursor );
15262 return 0;
15264 _ACEOF
15265 if ac_fn_c_try_link "$LINENO"; then :
15266 wine_cv_have_libunwind_unw_step="yes"
15267 else
15268 wine_cv_have_libunwind_unw_step="no"
15270 rm -f core conftest.err conftest.$ac_objext \
15271 conftest$ac_exeext conftest.$ac_ext
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15274 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15275 LIBS=$save_libs
15277 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15278 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15279 then
15281 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15284 CPPFLAGS=$ac_save_CPPFLAGS
15285 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15286 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15289 case $host in
15290 aarch64*|*-darwin*)
15291 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15292 case "x$with_unwind" in
15293 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15294 xno) ;;
15295 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15296 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15297 esac
15299 fi ;;
15300 esac
15302 if test "x$with_sdl" != "xno"
15303 then
15304 if ${SDL2_CFLAGS:+false} :; then :
15305 if ${PKG_CONFIG+:} false; then :
15306 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15310 if ${SDL2_LIBS:+false} :; then :
15311 if ${PKG_CONFIG+:} false; then :
15312 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15316 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15317 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15318 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15319 ac_save_CPPFLAGS=$CPPFLAGS
15320 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15321 for ac_header in SDL2/SDL.h
15322 do :
15323 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15324 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15325 cat >>confdefs.h <<_ACEOF
15326 #define HAVE_SDL2_SDL_H 1
15327 _ACEOF
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15329 $as_echo_n "checking for -lSDL2... " >&6; }
15330 if ${ac_cv_lib_soname_SDL2+:} false; then :
15331 $as_echo_n "(cached) " >&6
15332 else
15333 ac_check_soname_save_LIBS=$LIBS
15334 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15338 /* Override any GCC internal prototype to avoid an error.
15339 Use char because int might match the return type of a GCC
15340 builtin and then its argument prototype would still apply. */
15341 #ifdef __cplusplus
15342 extern "C"
15343 #endif
15344 char SDL_Init ();
15346 main ()
15348 return SDL_Init ();
15350 return 0;
15352 _ACEOF
15353 if ac_fn_c_try_link "$LINENO"; then :
15354 case "$LIBEXT" in
15355 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15356 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'` ;;
15357 *) 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'`
15358 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15359 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15360 fi ;;
15361 esac
15362 else
15363 ac_cv_lib_soname_SDL2=
15365 rm -f core conftest.err conftest.$ac_objext \
15366 conftest$ac_exeext conftest.$ac_ext
15367 LIBS=$ac_check_soname_save_LIBS
15369 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15371 $as_echo "not found" >&6; }
15373 else
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15375 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15377 cat >>confdefs.h <<_ACEOF
15378 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15379 _ACEOF
15385 done
15387 CPPFLAGS=$ac_save_CPPFLAGS
15388 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15389 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15392 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15393 case "x$with_sdl" in
15394 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15395 xno) ;;
15396 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15397 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15398 esac
15402 if test "x$with_faudio" != "xno"
15403 then
15404 if ${FAUDIO_CFLAGS:+false} :; then :
15405 if ${PKG_CONFIG+:} false; then :
15406 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15410 if ${FAUDIO_LIBS:+false} :; then :
15411 if ${PKG_CONFIG+:} false; then :
15412 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15416 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15417 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15418 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15419 ac_save_CPPFLAGS=$CPPFLAGS
15420 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15421 for ac_header in FAudio.h
15422 do :
15423 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15424 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_FAUDIO_H 1
15427 _ACEOF
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15429 $as_echo_n "checking for -lFAudio... " >&6; }
15430 if ${ac_cv_lib_soname_FAudio+:} false; then :
15431 $as_echo_n "(cached) " >&6
15432 else
15433 ac_check_soname_save_LIBS=$LIBS
15434 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 #ifdef __cplusplus
15442 extern "C"
15443 #endif
15444 char FAudioCreate ();
15446 main ()
15448 return FAudioCreate ();
15450 return 0;
15452 _ACEOF
15453 if ac_fn_c_try_link "$LINENO"; then :
15454 case "$LIBEXT" in
15455 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15456 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'` ;;
15457 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15458 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15459 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15460 fi ;;
15461 esac
15462 else
15463 ac_cv_lib_soname_FAudio=
15465 rm -f core conftest.err conftest.$ac_objext \
15466 conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_soname_save_LIBS
15469 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15471 $as_echo "not found" >&6; }
15473 else
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15475 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15477 cat >>confdefs.h <<_ACEOF
15478 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15479 _ACEOF
15485 done
15487 ac_wine_check_funcs_save_LIBS="$LIBS"
15488 LIBS="$LIBS $FAUDIO_LIBS"
15489 for ac_func in FAudio_CommitOperationSet \
15490 F3DAudioInitialize8 \
15491 FAudioLinkedVersion
15492 do :
15493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15496 cat >>confdefs.h <<_ACEOF
15497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15498 _ACEOF
15501 done
15503 LIBS="$ac_wine_check_funcs_save_LIBS"
15505 CPPFLAGS=$ac_save_CPPFLAGS
15506 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15507 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15510 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15511 case "x$with_faudio" in
15512 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15513 xno) ;;
15514 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15515 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15516 esac
15520 if test "x$with_capi" != "xno"
15521 then
15522 if ${CAPI20_CFLAGS:+false} :; then :
15523 if ${PKG_CONFIG+:} false; then :
15524 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15528 if ${CAPI20_LIBS:+false} :; then :
15529 if ${PKG_CONFIG+:} false; then :
15530 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15535 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15536 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15537 ac_save_CPPFLAGS=$CPPFLAGS
15538 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15539 for ac_header in capi20.h linux/capi.h
15540 do :
15541 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15542 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15545 cat >>confdefs.h <<_ACEOF
15546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15547 _ACEOF
15551 done
15553 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15554 then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15556 $as_echo_n "checking for -lcapi20... " >&6; }
15557 if ${ac_cv_lib_soname_capi20+:} false; then :
15558 $as_echo_n "(cached) " >&6
15559 else
15560 ac_check_soname_save_LIBS=$LIBS
15561 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15563 /* end confdefs.h. */
15565 /* Override any GCC internal prototype to avoid an error.
15566 Use char because int might match the return type of a GCC
15567 builtin and then its argument prototype would still apply. */
15568 #ifdef __cplusplus
15569 extern "C"
15570 #endif
15571 char capi20_register ();
15573 main ()
15575 return capi20_register ();
15577 return 0;
15579 _ACEOF
15580 if ac_fn_c_try_link "$LINENO"; then :
15581 case "$LIBEXT" in
15582 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15583 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'` ;;
15584 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15585 if ${ac_cv_lib_soname_capi20:+false} :; then :
15586 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15587 fi ;;
15588 esac
15589 else
15590 ac_cv_lib_soname_capi20=
15592 rm -f core conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15594 LIBS=$ac_check_soname_save_LIBS
15596 if ${ac_cv_lib_soname_capi20:+false} :; then :
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15598 $as_echo "not found" >&6; }
15600 else
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15602 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15604 cat >>confdefs.h <<_ACEOF
15605 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15606 _ACEOF
15611 CPPFLAGS=$ac_save_CPPFLAGS
15612 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15613 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15616 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15617 case "x$with_capi" in
15618 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15619 xno) ;;
15620 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15621 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15622 esac
15626 if test "x$with_cups" != "xno"
15627 then
15628 if ${CUPS_CFLAGS:+false} :; then :
15629 if ${PKG_CONFIG+:} false; then :
15630 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15633 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15634 if ${CUPS_LIBS:+false} :; then :
15635 if ${PKG_CONFIG+:} false; then :
15636 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15639 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15640 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15641 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15642 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15643 ac_save_CPPFLAGS=$CPPFLAGS
15644 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15645 for ac_header in cups/cups.h cups/ppd.h
15646 do :
15647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15648 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15650 cat >>confdefs.h <<_ACEOF
15651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15652 _ACEOF
15656 done
15658 if test "$ac_cv_header_cups_cups_h" = "yes"
15659 then
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15661 $as_echo_n "checking for -lcups... " >&6; }
15662 if ${ac_cv_lib_soname_cups+:} false; then :
15663 $as_echo_n "(cached) " >&6
15664 else
15665 ac_check_soname_save_LIBS=$LIBS
15666 LIBS="-lcups $CUPS_LIBS $LIBS"
15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15668 /* end confdefs.h. */
15670 /* Override any GCC internal prototype to avoid an error.
15671 Use char because int might match the return type of a GCC
15672 builtin and then its argument prototype would still apply. */
15673 #ifdef __cplusplus
15674 extern "C"
15675 #endif
15676 char cupsGetDefault ();
15678 main ()
15680 return cupsGetDefault ();
15682 return 0;
15684 _ACEOF
15685 if ac_fn_c_try_link "$LINENO"; then :
15686 case "$LIBEXT" in
15687 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15688 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'` ;;
15689 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15690 if ${ac_cv_lib_soname_cups:+false} :; then :
15691 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15692 fi ;;
15693 esac
15694 else
15695 ac_cv_lib_soname_cups=
15697 rm -f core conftest.err conftest.$ac_objext \
15698 conftest$ac_exeext conftest.$ac_ext
15699 LIBS=$ac_check_soname_save_LIBS
15701 if ${ac_cv_lib_soname_cups:+false} :; then :
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15703 $as_echo "not found" >&6; }
15704 CUPS_LIBS=""
15705 else
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15707 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15709 cat >>confdefs.h <<_ACEOF
15710 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15711 _ACEOF
15715 else
15716 CUPS_CFLAGS=""
15717 CUPS_LIBS=""
15719 CPPFLAGS=$ac_save_CPPFLAGS
15720 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15721 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15724 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15725 case "x$with_cups" in
15726 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15727 xno) ;;
15728 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15729 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15730 esac
15734 if test "x$with_fontconfig" != "xno"
15735 then
15736 if ${FONTCONFIG_CFLAGS:+false} :; then :
15737 if ${PKG_CONFIG+:} false; then :
15738 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15741 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15742 if ${FONTCONFIG_LIBS:+false} :; then :
15743 if ${PKG_CONFIG+:} false; then :
15744 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15747 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15749 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15750 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15751 ac_save_CPPFLAGS=$CPPFLAGS
15752 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15753 for ac_header in fontconfig/fontconfig.h
15754 do :
15755 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15756 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15759 _ACEOF
15763 done
15765 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15766 then
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15768 $as_echo_n "checking for -lfontconfig... " >&6; }
15769 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15770 $as_echo_n "(cached) " >&6
15771 else
15772 ac_check_soname_save_LIBS=$LIBS
15773 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15777 /* Override any GCC internal prototype to avoid an error.
15778 Use char because int might match the return type of a GCC
15779 builtin and then its argument prototype would still apply. */
15780 #ifdef __cplusplus
15781 extern "C"
15782 #endif
15783 char FcInit ();
15785 main ()
15787 return FcInit ();
15789 return 0;
15791 _ACEOF
15792 if ac_fn_c_try_link "$LINENO"; then :
15793 case "$LIBEXT" in
15794 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15795 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'` ;;
15796 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15797 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15798 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15799 fi ;;
15800 esac
15801 else
15802 ac_cv_lib_soname_fontconfig=
15804 rm -f core conftest.err conftest.$ac_objext \
15805 conftest$ac_exeext conftest.$ac_ext
15806 LIBS=$ac_check_soname_save_LIBS
15808 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15810 $as_echo "not found" >&6; }
15811 FONTCONFIG_CFLAGS=""
15812 else
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15814 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15816 cat >>confdefs.h <<_ACEOF
15817 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15818 _ACEOF
15822 else
15823 FONTCONFIG_CFLAGS=""
15825 CPPFLAGS=$ac_save_CPPFLAGS
15826 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15827 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15830 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15831 case "x$with_fontconfig" in
15832 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15833 xno) ;;
15834 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15835 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15836 esac
15840 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15841 then
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15843 $as_echo_n "checking for -lgsm... " >&6; }
15844 if ${ac_cv_lib_soname_gsm+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 ac_check_soname_save_LIBS=$LIBS
15848 LIBS="-lgsm $LIBS"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 #ifdef __cplusplus
15856 extern "C"
15857 #endif
15858 char gsm_create ();
15860 main ()
15862 return gsm_create ();
15864 return 0;
15866 _ACEOF
15867 if ac_fn_c_try_link "$LINENO"; then :
15868 case "$LIBEXT" in
15869 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15870 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'` ;;
15871 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15872 if ${ac_cv_lib_soname_gsm:+false} :; then :
15873 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15874 fi ;;
15875 esac
15876 else
15877 ac_cv_lib_soname_gsm=
15879 rm -f core conftest.err conftest.$ac_objext \
15880 conftest$ac_exeext conftest.$ac_ext
15881 LIBS=$ac_check_soname_save_LIBS
15883 if ${ac_cv_lib_soname_gsm:+false} :; then :
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15885 $as_echo "not found" >&6; }
15887 else
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15889 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15891 cat >>confdefs.h <<_ACEOF
15892 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15893 _ACEOF
15898 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15899 case "x$with_gsm" in
15900 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15901 xno) ;;
15902 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15903 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15904 esac
15908 if test "x$with_krb5" != "xno"
15909 then
15910 if ${KRB5_CFLAGS:+false} :; then :
15911 if ${PKG_CONFIG+:} false; then :
15912 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15915 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15916 if ${KRB5_LIBS:+false} :; then :
15917 if ${PKG_CONFIG+:} false; then :
15918 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15921 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15923 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15924 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15925 ac_save_CPPFLAGS=$CPPFLAGS
15926 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15927 for ac_header in krb5/krb5.h
15928 do :
15929 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15930 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_KRB5_KRB5_H 1
15933 _ACEOF
15937 done
15939 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15940 then
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15942 $as_echo_n "checking for -lkrb5... " >&6; }
15943 if ${ac_cv_lib_soname_krb5+:} false; then :
15944 $as_echo_n "(cached) " >&6
15945 else
15946 ac_check_soname_save_LIBS=$LIBS
15947 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15954 #ifdef __cplusplus
15955 extern "C"
15956 #endif
15957 char krb5_is_config_principal ();
15959 main ()
15961 return krb5_is_config_principal ();
15963 return 0;
15965 _ACEOF
15966 if ac_fn_c_try_link "$LINENO"; then :
15967 case "$LIBEXT" in
15968 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15969 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'` ;;
15970 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15971 if ${ac_cv_lib_soname_krb5:+false} :; then :
15972 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15973 fi ;;
15974 esac
15975 else
15976 ac_cv_lib_soname_krb5=
15978 rm -f core conftest.err conftest.$ac_objext \
15979 conftest$ac_exeext conftest.$ac_ext
15980 LIBS=$ac_check_soname_save_LIBS
15982 if ${ac_cv_lib_soname_krb5:+false} :; then :
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15984 $as_echo "not found" >&6; }
15985 KRB5_CFLAGS=""
15986 else
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15988 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15990 cat >>confdefs.h <<_ACEOF
15991 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15992 _ACEOF
15996 else
15997 KRB5_CFLAGS=""
15999 CPPFLAGS=$ac_save_CPPFLAGS
16000 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16001 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16004 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16005 case "x$with_krb5" in
16006 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16007 xno) ;;
16008 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16009 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16010 esac
16013 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16015 if test "x$with_gssapi" != "xno"
16016 then
16017 if ${GSSAPI_CFLAGS:+false} :; then :
16018 if ${PKG_CONFIG+:} false; then :
16019 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16022 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16023 if ${GSSAPI_LIBS:+false} :; then :
16024 if ${PKG_CONFIG+:} false; then :
16025 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16028 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16030 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16031 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16032 ac_save_CPPFLAGS=$CPPFLAGS
16033 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16034 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16035 do :
16036 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16037 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16038 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16041 _ACEOF
16045 done
16047 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16048 then
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16050 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16051 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16052 $as_echo_n "(cached) " >&6
16053 else
16054 ac_check_soname_save_LIBS=$LIBS
16055 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h. */
16059 /* Override any GCC internal prototype to avoid an error.
16060 Use char because int might match the return type of a GCC
16061 builtin and then its argument prototype would still apply. */
16062 #ifdef __cplusplus
16063 extern "C"
16064 #endif
16065 char gss_init_sec_context ();
16067 main ()
16069 return gss_init_sec_context ();
16071 return 0;
16073 _ACEOF
16074 if ac_fn_c_try_link "$LINENO"; then :
16075 case "$LIBEXT" in
16076 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16077 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'` ;;
16078 *) 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'`
16079 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16080 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16081 fi ;;
16082 esac
16083 else
16084 ac_cv_lib_soname_gssapi_krb5=
16086 rm -f core conftest.err conftest.$ac_objext \
16087 conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_soname_save_LIBS
16090 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16092 $as_echo "not found" >&6; }
16093 GSSAPI_CFLAGS=""
16094 else
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16096 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16098 cat >>confdefs.h <<_ACEOF
16099 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16100 _ACEOF
16104 else
16105 GSSAPI_CFLAGS=""
16107 CPPFLAGS=$ac_save_CPPFLAGS
16108 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16109 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16112 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16113 case "x$with_gssapi" in
16114 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16115 xno) ;;
16116 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16117 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16118 esac
16122 if test "x$with_jpeg" != "xno"
16123 then
16124 if ${JPEG_CFLAGS:+false} :; then :
16125 if ${PKG_CONFIG+:} false; then :
16126 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16130 if ${JPEG_LIBS:+false} :; then :
16131 if ${PKG_CONFIG+:} false; then :
16132 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16137 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16138 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16139 ac_save_CPPFLAGS=$CPPFLAGS
16140 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16141 for ac_header in jpeglib.h
16142 do :
16143 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_JPEGLIB_H 1
16147 _ACEOF
16151 done
16153 if test "$ac_cv_header_jpeglib_h" = "yes"
16154 then
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16156 $as_echo_n "checking for -ljpeg... " >&6; }
16157 if ${ac_cv_lib_soname_jpeg+:} false; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 ac_check_soname_save_LIBS=$LIBS
16161 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16165 /* Override any GCC internal prototype to avoid an error.
16166 Use char because int might match the return type of a GCC
16167 builtin and then its argument prototype would still apply. */
16168 #ifdef __cplusplus
16169 extern "C"
16170 #endif
16171 char jpeg_start_decompress ();
16173 main ()
16175 return jpeg_start_decompress ();
16177 return 0;
16179 _ACEOF
16180 if ac_fn_c_try_link "$LINENO"; then :
16181 case "$LIBEXT" in
16182 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16183 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'` ;;
16184 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16185 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16186 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16187 fi ;;
16188 esac
16189 else
16190 ac_cv_lib_soname_jpeg=
16192 rm -f core conftest.err conftest.$ac_objext \
16193 conftest$ac_exeext conftest.$ac_ext
16194 LIBS=$ac_check_soname_save_LIBS
16196 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16198 $as_echo "not found" >&6; }
16199 JPEG_CFLAGS=""
16200 else
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16202 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16204 cat >>confdefs.h <<_ACEOF
16205 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16206 _ACEOF
16210 else
16211 JPEG_CFLAGS=""
16213 CPPFLAGS=$ac_save_CPPFLAGS
16214 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16215 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16218 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16219 case "x$with_jpeg" in
16220 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16221 xno) ;;
16222 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16223 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16224 esac
16228 if test "x$with_png" != "xno"
16229 then
16230 if ${PNG_CFLAGS:+false} :; then :
16231 if ${PKG_CONFIG+:} false; then :
16232 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16235 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16236 if ${PNG_LIBS:+false} :; then :
16237 if ${PKG_CONFIG+:} false; then :
16238 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16241 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16243 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16244 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16245 ac_save_CPPFLAGS=$CPPFLAGS
16246 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16247 for ac_header in png.h
16248 do :
16249 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16250 if test "x$ac_cv_header_png_h" = xyes; then :
16251 cat >>confdefs.h <<_ACEOF
16252 #define HAVE_PNG_H 1
16253 _ACEOF
16257 done
16259 if test "$ac_cv_header_png_h" = "yes"
16260 then
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16262 $as_echo_n "checking for -lpng... " >&6; }
16263 if ${ac_cv_lib_soname_png+:} false; then :
16264 $as_echo_n "(cached) " >&6
16265 else
16266 ac_check_soname_save_LIBS=$LIBS
16267 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16274 #ifdef __cplusplus
16275 extern "C"
16276 #endif
16277 char png_create_read_struct ();
16279 main ()
16281 return png_create_read_struct ();
16283 return 0;
16285 _ACEOF
16286 if ac_fn_c_try_link "$LINENO"; then :
16287 case "$LIBEXT" in
16288 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16289 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'` ;;
16290 *) 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'`
16291 if ${ac_cv_lib_soname_png:+false} :; then :
16292 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16293 fi ;;
16294 esac
16295 else
16296 ac_cv_lib_soname_png=
16298 rm -f core conftest.err conftest.$ac_objext \
16299 conftest$ac_exeext conftest.$ac_ext
16300 LIBS=$ac_check_soname_save_LIBS
16302 if ${ac_cv_lib_soname_png:+false} :; then :
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16304 $as_echo "not found" >&6; }
16305 PNG_CFLAGS=""
16306 else
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16308 $as_echo "$ac_cv_lib_soname_png" >&6; }
16310 cat >>confdefs.h <<_ACEOF
16311 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16312 _ACEOF
16316 else
16317 PNG_CFLAGS=""
16319 CPPFLAGS=$ac_save_CPPFLAGS
16320 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16321 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16324 if test "x$ac_cv_lib_soname_png" = "x"; then :
16325 case "x$with_png" in
16326 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16327 xno) ;;
16328 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16329 This is an error since --with-png was requested." "$LINENO" 5 ;;
16330 esac
16334 if test "x$with_tiff" != "xno"
16335 then
16336 if ${TIFF_CFLAGS:+false} :; then :
16337 if ${PKG_CONFIG+:} false; then :
16338 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16342 if ${TIFF_LIBS:+false} :; then :
16343 if ${PKG_CONFIG+:} false; then :
16344 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16349 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16350 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16351 ac_save_CPPFLAGS=$CPPFLAGS
16352 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16353 for ac_header in tiffio.h
16354 do :
16355 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16356 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_TIFFIO_H 1
16359 _ACEOF
16363 done
16365 if test "$ac_cv_header_tiffio_h" = "yes"
16366 then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16368 $as_echo_n "checking for -ltiff... " >&6; }
16369 if ${ac_cv_lib_soname_tiff+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 ac_check_soname_save_LIBS=$LIBS
16373 LIBS="-ltiff $TIFF_LIBS $LIBS"
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16377 /* Override any GCC internal prototype to avoid an error.
16378 Use char because int might match the return type of a GCC
16379 builtin and then its argument prototype would still apply. */
16380 #ifdef __cplusplus
16381 extern "C"
16382 #endif
16383 char TIFFClientOpen ();
16385 main ()
16387 return TIFFClientOpen ();
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"; then :
16393 case "$LIBEXT" in
16394 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16395 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'` ;;
16396 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16397 if ${ac_cv_lib_soname_tiff:+false} :; then :
16398 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16399 fi ;;
16400 esac
16401 else
16402 ac_cv_lib_soname_tiff=
16404 rm -f core conftest.err conftest.$ac_objext \
16405 conftest$ac_exeext conftest.$ac_ext
16406 LIBS=$ac_check_soname_save_LIBS
16408 if ${ac_cv_lib_soname_tiff:+false} :; then :
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16410 $as_echo "not found" >&6; }
16412 else
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16414 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16416 cat >>confdefs.h <<_ACEOF
16417 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16418 _ACEOF
16423 CPPFLAGS=$ac_save_CPPFLAGS
16424 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16425 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16428 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16429 case "x$with_tiff" in
16430 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16431 xno) ;;
16432 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16433 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16434 esac
16438 if test "x$with_mpg123" != "xno"
16439 then
16440 if ${MPG123_CFLAGS:+false} :; then :
16441 if ${PKG_CONFIG+:} false; then :
16442 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16446 if ${MPG123_LIBS:+false} :; then :
16447 if ${PKG_CONFIG+:} false; then :
16448 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16452 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16453 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16454 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16455 ac_save_CPPFLAGS=$CPPFLAGS
16456 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16457 for ac_header in mpg123.h
16458 do :
16459 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16460 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_MPG123_H 1
16463 _ACEOF
16467 done
16469 if test "$ac_cv_header_mpg123_h" = "yes"
16470 then
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16472 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16473 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 ac_check_lib_save_LIBS=$LIBS
16477 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 #ifdef __cplusplus
16485 extern "C"
16486 #endif
16487 char mpg123_feed ();
16489 main ()
16491 return mpg123_feed ();
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"; then :
16497 ac_cv_lib_mpg123_mpg123_feed=yes
16498 else
16499 ac_cv_lib_mpg123_mpg123_feed=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16503 LIBS=$ac_check_lib_save_LIBS
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16506 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16507 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16509 else
16510 MPG123_LIBS=""
16513 else
16514 MPG123_CFLAGS=""
16515 MPG123_LIBS=""
16517 CPPFLAGS=$ac_save_CPPFLAGS
16518 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16519 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16522 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16523 case "x$with_mpg123" in
16524 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16525 xno) ;;
16526 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16527 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16528 esac
16529 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16531 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16533 if test "$ac_cv_header_AL_al_h" = "yes"
16534 then
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16536 $as_echo_n "checking for -lopenal... " >&6; }
16537 if ${ac_cv_lib_soname_openal+:} false; then :
16538 $as_echo_n "(cached) " >&6
16539 else
16540 ac_check_soname_save_LIBS=$LIBS
16541 LIBS="-lopenal $LIBS"
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16545 /* Override any GCC internal prototype to avoid an error.
16546 Use char because int might match the return type of a GCC
16547 builtin and then its argument prototype would still apply. */
16548 #ifdef __cplusplus
16549 extern "C"
16550 #endif
16551 char alGetSource3i ();
16553 main ()
16555 return alGetSource3i ();
16557 return 0;
16559 _ACEOF
16560 if ac_fn_c_try_link "$LINENO"; then :
16561 case "$LIBEXT" in
16562 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16563 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'` ;;
16564 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16565 if ${ac_cv_lib_soname_openal:+false} :; then :
16566 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16567 fi ;;
16568 esac
16569 else
16570 ac_cv_lib_soname_openal=
16572 rm -f core conftest.err conftest.$ac_objext \
16573 conftest$ac_exeext conftest.$ac_ext
16574 LIBS=$ac_check_soname_save_LIBS
16576 if ${ac_cv_lib_soname_openal:+false} :; then :
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16578 $as_echo "not found" >&6; }
16580 else
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16582 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16584 cat >>confdefs.h <<_ACEOF
16585 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16586 _ACEOF
16588 OPENAL_LIBS="-lopenal"
16590 ac_cv_lib_openal=yes
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_OPENAL 1
16594 _ACEOF
16598 if test "x$ac_cv_lib_openal" != xyes; then :
16599 case "x$with_openal" in
16600 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16601 xno) ;;
16602 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16603 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16604 esac
16605 enable_openal32=${enable_openal32:-no}
16608 if test "x$ac_cv_lib_soname_FAudio" = "x"
16609 then
16610 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16611 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16612 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16613 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16614 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16615 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16616 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16617 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16618 enable_xapofx1_1=${enable_xapofx1_1:-no}
16619 enable_xapofx1_2=${enable_xapofx1_2:-no}
16620 enable_xapofx1_3=${enable_xapofx1_3:-no}
16621 enable_xapofx1_4=${enable_xapofx1_4:-no}
16622 enable_xapofx1_5=${enable_xapofx1_5:-no}
16623 enable_xaudio2_0=${enable_xaudio2_0:-no}
16624 enable_xaudio2_1=${enable_xaudio2_1:-no}
16625 enable_xaudio2_2=${enable_xaudio2_2:-no}
16626 enable_xaudio2_3=${enable_xaudio2_3:-no}
16627 enable_xaudio2_4=${enable_xaudio2_4:-no}
16628 enable_xaudio2_5=${enable_xaudio2_5:-no}
16629 enable_xaudio2_6=${enable_xaudio2_6:-no}
16630 enable_xaudio2_7=${enable_xaudio2_7:-no}
16631 enable_xaudio2_8=${enable_xaudio2_8:-no}
16632 enable_xaudio2_9=${enable_xaudio2_9:-no}
16635 if test "$ac_cv_header_kstat_h" = "yes"
16636 then
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16638 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16639 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16640 $as_echo_n "(cached) " >&6
16641 else
16642 ac_check_lib_save_LIBS=$LIBS
16643 LIBS="-lkstat $LIBS"
16644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16647 /* Override any GCC internal prototype to avoid an error.
16648 Use char because int might match the return type of a GCC
16649 builtin and then its argument prototype would still apply. */
16650 #ifdef __cplusplus
16651 extern "C"
16652 #endif
16653 char kstat_open ();
16655 main ()
16657 return kstat_open ();
16659 return 0;
16661 _ACEOF
16662 if ac_fn_c_try_link "$LINENO"; then :
16663 ac_cv_lib_kstat_kstat_open=yes
16664 else
16665 ac_cv_lib_kstat_kstat_open=no
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 LIBS=$ac_check_lib_save_LIBS
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16672 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16673 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16675 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16677 KSTAT_LIBS="-lkstat"
16683 if test "$ac_cv_header_libprocstat_h" = "yes"
16684 then
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16686 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16687 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16688 $as_echo_n "(cached) " >&6
16689 else
16690 ac_check_lib_save_LIBS=$LIBS
16691 LIBS="-lprocstat $LIBS"
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16695 /* Override any GCC internal prototype to avoid an error.
16696 Use char because int might match the return type of a GCC
16697 builtin and then its argument prototype would still apply. */
16698 #ifdef __cplusplus
16699 extern "C"
16700 #endif
16701 char procstat_open_sysctl ();
16703 main ()
16705 return procstat_open_sysctl ();
16707 return 0;
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_lib_procstat_procstat_open_sysctl=yes
16712 else
16713 ac_cv_lib_procstat_procstat_open_sysctl=no
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_lib_save_LIBS
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16720 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16721 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16723 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16725 PROCSTAT_LIBS="-lprocstat"
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16732 $as_echo_n "checking for -lodbc... " >&6; }
16733 if ${ac_cv_lib_soname_odbc+:} false; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16736 ac_check_soname_save_LIBS=$LIBS
16737 LIBS="-lodbc $LIBS"
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16741 /* Override any GCC internal prototype to avoid an error.
16742 Use char because int might match the return type of a GCC
16743 builtin and then its argument prototype would still apply. */
16744 #ifdef __cplusplus
16745 extern "C"
16746 #endif
16747 char SQLConnect ();
16749 main ()
16751 return SQLConnect ();
16753 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 case "$LIBEXT" in
16758 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16759 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'` ;;
16760 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16761 if ${ac_cv_lib_soname_odbc:+false} :; then :
16762 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16763 fi ;;
16764 esac
16765 else
16766 ac_cv_lib_soname_odbc=
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16770 LIBS=$ac_check_soname_save_LIBS
16772 if ${ac_cv_lib_soname_odbc:+false} :; then :
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16774 $as_echo "not found" >&6; }
16775 cat >>confdefs.h <<_ACEOF
16776 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16777 _ACEOF
16779 else
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16781 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16783 cat >>confdefs.h <<_ACEOF
16784 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16785 _ACEOF
16790 if test "x$with_netapi" != "xno"
16791 then
16792 if ${NETAPI_CFLAGS:+false} :; then :
16793 if ${PKG_CONFIG+:} false; then :
16794 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16798 if ${NETAPI_LIBS:+false} :; then :
16799 if ${PKG_CONFIG+:} false; then :
16800 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16805 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16806 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16807 ac_save_CPPFLAGS=$CPPFLAGS
16808 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16810 $as_echo_n "checking for -lnetapi... " >&6; }
16811 if ${ac_cv_lib_soname_netapi+:} false; then :
16812 $as_echo_n "(cached) " >&6
16813 else
16814 ac_check_soname_save_LIBS=$LIBS
16815 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16822 #ifdef __cplusplus
16823 extern "C"
16824 #endif
16825 char libnetapi_init ();
16827 main ()
16829 return libnetapi_init ();
16831 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 case "$LIBEXT" in
16836 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16837 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'` ;;
16838 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16839 if ${ac_cv_lib_soname_netapi:+false} :; then :
16840 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16841 fi ;;
16842 esac
16843 else
16844 ac_cv_lib_soname_netapi=
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_soname_save_LIBS
16850 if ${ac_cv_lib_soname_netapi:+false} :; then :
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16852 $as_echo "not found" >&6; }
16853 cat >>confdefs.h <<_ACEOF
16854 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16855 _ACEOF
16857 else
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16859 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16861 cat >>confdefs.h <<_ACEOF
16862 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16863 _ACEOF
16867 CPPFLAGS=$ac_save_CPPFLAGS
16868 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16869 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16873 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16874 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16875 then
16876 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16879 if test "x$with_vulkan" != "xno"
16880 then
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16882 $as_echo_n "checking for -lvulkan... " >&6; }
16883 if ${ac_cv_lib_soname_vulkan+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_check_soname_save_LIBS=$LIBS
16887 LIBS="-lvulkan $LIBS"
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16891 /* Override any GCC internal prototype to avoid an error.
16892 Use char because int might match the return type of a GCC
16893 builtin and then its argument prototype would still apply. */
16894 #ifdef __cplusplus
16895 extern "C"
16896 #endif
16897 char vkGetInstanceProcAddr ();
16899 main ()
16901 return vkGetInstanceProcAddr ();
16903 return 0;
16905 _ACEOF
16906 if ac_fn_c_try_link "$LINENO"; then :
16907 case "$LIBEXT" in
16908 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16909 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'` ;;
16910 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16911 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16912 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16913 fi ;;
16914 esac
16915 else
16916 ac_cv_lib_soname_vulkan=
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 LIBS=$ac_check_soname_save_LIBS
16922 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16924 $as_echo "not found" >&6; }
16926 else
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16928 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16930 cat >>confdefs.h <<_ACEOF
16931 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16932 _ACEOF
16936 if test "x$ac_cv_lib_soname_vulkan" = "x"
16937 then
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16939 $as_echo_n "checking for -lMoltenVK... " >&6; }
16940 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16941 $as_echo_n "(cached) " >&6
16942 else
16943 ac_check_soname_save_LIBS=$LIBS
16944 LIBS="-lMoltenVK $LIBS"
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16948 /* Override any GCC internal prototype to avoid an error.
16949 Use char because int might match the return type of a GCC
16950 builtin and then its argument prototype would still apply. */
16951 #ifdef __cplusplus
16952 extern "C"
16953 #endif
16954 char vkGetInstanceProcAddr ();
16956 main ()
16958 return vkGetInstanceProcAddr ();
16960 return 0;
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 case "$LIBEXT" in
16965 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16966 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'` ;;
16967 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16968 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16969 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16970 fi ;;
16971 esac
16972 else
16973 ac_cv_lib_soname_MoltenVK=
16975 rm -f core conftest.err conftest.$ac_objext \
16976 conftest$ac_exeext conftest.$ac_ext
16977 LIBS=$ac_check_soname_save_LIBS
16979 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16981 $as_echo "not found" >&6; }
16983 else
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16985 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16987 cat >>confdefs.h <<_ACEOF
16988 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16989 _ACEOF
16995 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16996 case "x$with_vulkan" in
16997 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16998 xno) ;;
16999 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17000 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17001 esac
17005 if test "x$with_vkd3d" != "xno"
17006 then
17007 if ${VKD3D_CFLAGS:+false} :; then :
17008 if ${PKG_CONFIG+:} false; then :
17009 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17013 if ${VKD3D_LIBS:+false} :; then :
17014 if ${PKG_CONFIG+:} false; then :
17015 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17020 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17021 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17022 ac_save_CPPFLAGS=$CPPFLAGS
17023 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17025 $as_echo_n "checking for -lvkd3d... " >&6; }
17026 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_check_soname_save_LIBS=$LIBS
17030 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 #ifdef __cplusplus
17038 extern "C"
17039 #endif
17040 char vkd3d_get_dxgi_format ();
17042 main ()
17044 return vkd3d_get_dxgi_format ();
17046 return 0;
17048 _ACEOF
17049 if ac_fn_c_try_link "$LINENO"; then :
17050 case "$LIBEXT" in
17051 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17052 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'` ;;
17053 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17054 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17055 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17056 fi ;;
17057 esac
17058 else
17059 ac_cv_lib_soname_vkd3d=
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 LIBS=$ac_check_soname_save_LIBS
17065 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17067 $as_echo "not found" >&6; }
17069 else
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17071 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17073 cat >>confdefs.h <<_ACEOF
17074 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17075 _ACEOF
17079 CPPFLAGS=$ac_save_CPPFLAGS
17080 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17081 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17084 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17085 case "x$with_vkd3d" in
17086 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17087 xno) ;;
17088 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17089 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17090 esac
17093 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17096 EXTRACFLAGS=""
17098 if test "x${GCC}" = "xyes"
17099 then
17100 EXTRACFLAGS="-Wall -pipe"
17102 saved_CFLAGS=$CFLAGS
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17104 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17105 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 ac_wine_try_cflags_saved=$CFLAGS
17109 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 int main(int argc, char **argv) { return 0; }
17113 _ACEOF
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_cflags__Werror_unknown_warning_option=yes
17116 else
17117 ac_cv_cflags__Werror_unknown_warning_option=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 CFLAGS=$ac_wine_try_cflags_saved
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17124 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17125 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17126 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17129 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17130 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 ac_wine_try_cflags_saved=$CFLAGS
17134 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 int main(int argc, char **argv) { return 0; }
17138 _ACEOF
17139 if ac_fn_c_try_link "$LINENO"; then :
17140 ac_cv_cflags__Werror_unused_command_line_argument=yes
17141 else
17142 ac_cv_cflags__Werror_unused_command_line_argument=no
17144 rm -f core conftest.err conftest.$ac_objext \
17145 conftest$ac_exeext conftest.$ac_ext
17146 CFLAGS=$ac_wine_try_cflags_saved
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17149 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17150 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17151 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17154 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17155 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 int main(int argc, char **argv) { return 0; }
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17166 else
17167 ac_cv_cflags__Werror_ignored_optimization_argument=no
17169 rm -f core conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 CFLAGS=$ac_wine_try_cflags_saved
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17174 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17175 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17176 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17179 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17180 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -fcf-protection=none"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 int main(int argc, char **argv) { return 0; }
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_cflags__fcf_protection_none=yes
17191 else
17192 ac_cv_cflags__fcf_protection_none=no
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17196 CFLAGS=$ac_wine_try_cflags_saved
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17199 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17200 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17204 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17205 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -fno-stack-protector"
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 int main(int argc, char **argv) { return 0; }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_cflags__fno_stack_protector=yes
17216 else
17217 ac_cv_cflags__fno_stack_protector=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17221 CFLAGS=$ac_wine_try_cflags_saved
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17224 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17225 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17226 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17229 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17230 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_wine_try_cflags_saved=$CFLAGS
17234 CFLAGS="$CFLAGS -fno-strict-aliasing"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 int main(int argc, char **argv) { return 0; }
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_cflags__fno_strict_aliasing=yes
17241 else
17242 ac_cv_cflags__fno_strict_aliasing=no
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246 CFLAGS=$ac_wine_try_cflags_saved
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17249 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17250 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17251 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17254 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17255 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 ac_wine_try_cflags_saved=$CFLAGS
17259 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 int main(int argc, char **argv) { return 0; }
17263 _ACEOF
17264 if ac_fn_c_try_link "$LINENO"; then :
17265 ac_cv_cflags__Wdeclaration_after_statement=yes
17266 else
17267 ac_cv_cflags__Wdeclaration_after_statement=no
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 CFLAGS=$ac_wine_try_cflags_saved
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17274 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17275 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17276 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17279 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17280 if ${ac_cv_cflags__Wempty_body+:} false; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17283 ac_wine_try_cflags_saved=$CFLAGS
17284 CFLAGS="$CFLAGS -Wempty-body"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 int main(int argc, char **argv) { return 0; }
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"; then :
17290 ac_cv_cflags__Wempty_body=yes
17291 else
17292 ac_cv_cflags__Wempty_body=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 CFLAGS=$ac_wine_try_cflags_saved
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17299 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17300 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17301 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17304 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17305 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 ac_wine_try_cflags_saved=$CFLAGS
17309 CFLAGS="$CFLAGS -Wignored-qualifiers"
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 int main(int argc, char **argv) { return 0; }
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 ac_cv_cflags__Wignored_qualifiers=yes
17316 else
17317 ac_cv_cflags__Wignored_qualifiers=no
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17321 CFLAGS=$ac_wine_try_cflags_saved
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17324 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17325 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17326 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17329 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17330 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 ac_wine_try_cflags_saved=$CFLAGS
17334 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 int main(int argc, char **argv) { return 0; }
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_cflags__Wpacked_not_aligned=yes
17341 else
17342 ac_cv_cflags__Wpacked_not_aligned=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 CFLAGS=$ac_wine_try_cflags_saved
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17349 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17350 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17351 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17354 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17355 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 ac_wine_try_cflags_saved=$CFLAGS
17359 CFLAGS="$CFLAGS -Wpragma-pack"
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17362 int main(int argc, char **argv) { return 0; }
17363 _ACEOF
17364 if ac_fn_c_try_link "$LINENO"; then :
17365 ac_cv_cflags__Wpragma_pack=yes
17366 else
17367 ac_cv_cflags__Wpragma_pack=no
17369 rm -f core conftest.err conftest.$ac_objext \
17370 conftest$ac_exeext conftest.$ac_ext
17371 CFLAGS=$ac_wine_try_cflags_saved
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17374 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17375 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17376 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17379 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17380 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 ac_wine_try_cflags_saved=$CFLAGS
17384 CFLAGS="$CFLAGS -Wshift-overflow=2"
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 int main(int argc, char **argv) { return 0; }
17388 _ACEOF
17389 if ac_fn_c_try_link "$LINENO"; then :
17390 ac_cv_cflags__Wshift_overflow_2=yes
17391 else
17392 ac_cv_cflags__Wshift_overflow_2=no
17394 rm -f core conftest.err conftest.$ac_objext \
17395 conftest$ac_exeext conftest.$ac_ext
17396 CFLAGS=$ac_wine_try_cflags_saved
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17399 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17400 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17401 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17404 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17405 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408 ac_wine_try_cflags_saved=$CFLAGS
17409 CFLAGS="$CFLAGS -Wstrict-prototypes"
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 int main(int argc, char **argv) { return 0; }
17413 _ACEOF
17414 if ac_fn_c_try_link "$LINENO"; then :
17415 ac_cv_cflags__Wstrict_prototypes=yes
17416 else
17417 ac_cv_cflags__Wstrict_prototypes=no
17419 rm -f core conftest.err conftest.$ac_objext \
17420 conftest$ac_exeext conftest.$ac_ext
17421 CFLAGS=$ac_wine_try_cflags_saved
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17424 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17425 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17426 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17429 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17430 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 ac_wine_try_cflags_saved=$CFLAGS
17434 CFLAGS="$CFLAGS -Wtype-limits"
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 int main(int argc, char **argv) { return 0; }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_cflags__Wtype_limits=yes
17441 else
17442 ac_cv_cflags__Wtype_limits=no
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 CFLAGS=$ac_wine_try_cflags_saved
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17449 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17450 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17451 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17454 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17455 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 ac_wine_try_cflags_saved=$CFLAGS
17459 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 int main(int argc, char **argv) { return 0; }
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 ac_cv_cflags__Wunused_but_set_parameter=yes
17466 else
17467 ac_cv_cflags__Wunused_but_set_parameter=no
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17471 CFLAGS=$ac_wine_try_cflags_saved
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17474 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17475 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17476 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17479 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17480 if ${ac_cv_cflags__Wvla+:} false; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17483 ac_wine_try_cflags_saved=$CFLAGS
17484 CFLAGS="$CFLAGS -Wvla"
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 int main(int argc, char **argv) { return 0; }
17488 _ACEOF
17489 if ac_fn_c_try_link "$LINENO"; then :
17490 ac_cv_cflags__Wvla=yes
17491 else
17492 ac_cv_cflags__Wvla=no
17494 rm -f core conftest.err conftest.$ac_objext \
17495 conftest$ac_exeext conftest.$ac_ext
17496 CFLAGS=$ac_wine_try_cflags_saved
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17499 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17500 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17501 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17504 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17505 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 ac_wine_try_cflags_saved=$CFLAGS
17509 CFLAGS="$CFLAGS -Wwrite-strings"
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 int main(int argc, char **argv) { return 0; }
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"; then :
17515 ac_cv_cflags__Wwrite_strings=yes
17516 else
17517 ac_cv_cflags__Wwrite_strings=no
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17521 CFLAGS=$ac_wine_try_cflags_saved
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17524 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17525 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17526 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17529 if test -z "$CROSSTARGET"
17530 then
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17532 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17533 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 ac_wine_try_cflags_saved=$CFLAGS
17537 CFLAGS="$CFLAGS -fexcess-precision=standard"
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 int main(int argc, char **argv) { return 0; }
17541 _ACEOF
17542 if ac_fn_c_try_link "$LINENO"; then :
17543 ac_cv_cflags__fexcess_precision_standard=yes
17544 else
17545 ac_cv_cflags__fexcess_precision_standard=no
17547 rm -f core conftest.err conftest.$ac_objext \
17548 conftest$ac_exeext conftest.$ac_ext
17549 CFLAGS=$ac_wine_try_cflags_saved
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17552 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17553 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17554 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17560 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17561 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -Wpointer-arith"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 int main(int argc, char **argv) { return 0; }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_cflags__Wpointer_arith=yes
17572 else
17573 ac_cv_cflags__Wpointer_arith=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 CFLAGS=$ac_wine_try_cflags_saved
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17580 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17581 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17582 saved_string_h_CFLAGS=$CFLAGS
17583 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17585 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17586 if ${ac_cv_c_string_h_warnings+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <string.h>
17593 main ()
17597 return 0;
17599 _ACEOF
17600 if ac_fn_c_try_compile "$LINENO"; then :
17601 ac_cv_c_string_h_warnings=no
17602 else
17603 ac_cv_c_string_h_warnings=yes
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17608 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17609 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17610 CFLAGS=$saved_string_h_CFLAGS
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17614 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17615 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 ac_wine_try_cflags_saved=$CFLAGS
17619 CFLAGS="$CFLAGS -Wlogical-op"
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 int main(int argc, char **argv) { return 0; }
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"; then :
17625 ac_cv_cflags__Wlogical_op=yes
17626 else
17627 ac_cv_cflags__Wlogical_op=no
17629 rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631 CFLAGS=$ac_wine_try_cflags_saved
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17634 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17635 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17636 saved_string_h_CFLAGS=$CFLAGS
17637 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17639 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17640 if ${ac_cv_c_logicalop_noisy+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #include <string.h>
17646 char*f(const char *h,char n) {return strchr(h,n);}
17648 main ()
17652 return 0;
17654 _ACEOF
17655 if ac_fn_c_try_compile "$LINENO"; then :
17656 ac_cv_c_logicalop_noisy=no
17657 else
17658 ac_cv_c_logicalop_noisy=yes
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17663 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17664 CFLAGS=$saved_string_h_CFLAGS
17665 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17668 for ac_flag in $CFLAGS; do
17669 case $ac_flag in
17670 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17671 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17672 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17673 $as_echo_n "(cached) " >&6
17674 else
17675 ac_wine_try_cflags_saved=$CFLAGS
17676 CFLAGS="$CFLAGS -gdwarf-2"
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 int main(int argc, char **argv) { return 0; }
17680 _ACEOF
17681 if ac_fn_c_try_link "$LINENO"; then :
17682 ac_cv_cflags__gdwarf_2=yes
17683 else
17684 ac_cv_cflags__gdwarf_2=no
17686 rm -f core conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17688 CFLAGS=$ac_wine_try_cflags_saved
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17691 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17692 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17693 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17696 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17697 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17700 ac_wine_try_cflags_saved=$CFLAGS
17701 CFLAGS="$CFLAGS -gstrict-dwarf"
17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17704 int main(int argc, char **argv) { return 0; }
17705 _ACEOF
17706 if ac_fn_c_try_link "$LINENO"; then :
17707 ac_cv_cflags__gstrict_dwarf=yes
17708 else
17709 ac_cv_cflags__gstrict_dwarf=no
17711 rm -f core conftest.err conftest.$ac_objext \
17712 conftest$ac_exeext conftest.$ac_ext
17713 CFLAGS=$ac_wine_try_cflags_saved
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17716 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17717 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17718 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17719 fi ;;
17720 esac
17721 done
17723 MSVCRTFLAGS=""
17725 case $host_os in
17726 mingw32*) ;;
17727 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17728 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17729 if ${ac_cv_cflags__fno_builtin+:} false; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17732 ac_wine_try_cflags_saved=$CFLAGS
17733 CFLAGS="$CFLAGS -fno-builtin"
17734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17736 int main(int argc, char **argv) { return 0; }
17737 _ACEOF
17738 if ac_fn_c_try_link "$LINENO"; then :
17739 ac_cv_cflags__fno_builtin=yes
17740 else
17741 ac_cv_cflags__fno_builtin=no
17743 rm -f core conftest.err conftest.$ac_objext \
17744 conftest$ac_exeext conftest.$ac_ext
17745 CFLAGS=$ac_wine_try_cflags_saved
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17748 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17749 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17750 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17753 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17754 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17755 $as_echo_n "(cached) " >&6
17756 else
17757 ac_wine_try_cflags_saved=$CFLAGS
17758 CFLAGS="$CFLAGS -fshort-wchar"
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 int main(int argc, char **argv) { return 0; }
17762 _ACEOF
17763 if ac_fn_c_try_link "$LINENO"; then :
17764 ac_cv_cflags__fshort_wchar=yes
17765 else
17766 ac_cv_cflags__fshort_wchar=no
17768 rm -f core conftest.err conftest.$ac_objext \
17769 conftest$ac_exeext conftest.$ac_ext
17770 CFLAGS=$ac_wine_try_cflags_saved
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17773 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17774 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17775 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17776 fi ;;
17777 esac
17779 case $host_cpu in
17780 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17781 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17782 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 ac_wine_try_cflags_saved=$CFLAGS
17786 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 int main(int argc, char **argv) { return 0; }
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792 ac_cv_cflags__fno_omit_frame_pointer=yes
17793 else
17794 ac_cv_cflags__fno_omit_frame_pointer=no
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 CFLAGS=$ac_wine_try_cflags_saved
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17801 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17802 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17803 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17804 fi ;;
17805 *x86_64*)
17806 case $host_os in
17807 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17808 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17809 if ${ac_cv_cflags__Wno_format+:} false; then :
17810 $as_echo_n "(cached) " >&6
17811 else
17812 ac_wine_try_cflags_saved=$CFLAGS
17813 CFLAGS="$CFLAGS -Wno-format"
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 int main(int argc, char **argv) { return 0; }
17817 _ACEOF
17818 if ac_fn_c_try_link "$LINENO"; then :
17819 ac_cv_cflags__Wno_format=yes
17820 else
17821 ac_cv_cflags__Wno_format=no
17823 rm -f core conftest.err conftest.$ac_objext \
17824 conftest$ac_exeext conftest.$ac_ext
17825 CFLAGS=$ac_wine_try_cflags_saved
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17828 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17829 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17830 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17831 fi ;;
17832 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17833 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17834 if ${ac_cv_cflags__mabi_ms+:} false; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17837 ac_wine_try_cflags_saved=$CFLAGS
17838 CFLAGS="$CFLAGS -mabi=ms"
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 int main(int argc, char **argv) { return 0; }
17842 _ACEOF
17843 if ac_fn_c_try_link "$LINENO"; then :
17844 ac_cv_cflags__mabi_ms=yes
17845 else
17846 ac_cv_cflags__mabi_ms=no
17848 rm -f core conftest.err conftest.$ac_objext \
17849 conftest$ac_exeext conftest.$ac_ext
17850 CFLAGS=$ac_wine_try_cflags_saved
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17853 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17854 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17855 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17856 fi ;;
17857 esac ;;
17858 esac
17860 CFLAGS=$saved_CFLAGS
17862 if test "x$enable_werror" = "xyes"
17863 then
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17865 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17866 if ${ac_cv_cflags__Werror+:} false; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869 ac_wine_try_cflags_saved=$CFLAGS
17870 CFLAGS="$CFLAGS -Werror"
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17873 int main(int argc, char **argv) { return 0; }
17874 _ACEOF
17875 if ac_fn_c_try_link "$LINENO"; then :
17876 ac_cv_cflags__Werror=yes
17877 else
17878 ac_cv_cflags__Werror=no
17880 rm -f core conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17882 CFLAGS=$ac_wine_try_cflags_saved
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17885 $as_echo "$ac_cv_cflags__Werror" >&6; }
17886 if test "x$ac_cv_cflags__Werror" = xyes; then :
17887 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17894 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17895 if ${ac_cv_c_fortify_enabled+:} false; then :
17896 $as_echo_n "(cached) " >&6
17897 else
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 #include <string.h>
17902 main ()
17904 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17905 #error Fortify enabled
17906 #endif
17908 return 0;
17910 _ACEOF
17911 if ac_fn_c_try_compile "$LINENO"; then :
17912 ac_cv_c_fortify_enabled=no
17913 else
17914 ac_cv_c_fortify_enabled=yes
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17919 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17920 if test "$ac_cv_c_fortify_enabled" = yes
17921 then
17922 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17927 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17928 if ${ac_cv_c_cfi_support+:} false; then :
17929 $as_echo_n "(cached) " >&6
17930 else
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17935 main ()
17939 return 0;
17941 _ACEOF
17942 if ac_fn_c_try_compile "$LINENO"; then :
17943 ac_cv_c_cfi_support="yes"
17944 else
17945 ac_cv_c_cfi_support="no"
17947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17950 $as_echo "$ac_cv_c_cfi_support" >&6; }
17951 if test "$ac_cv_c_cfi_support" = "yes"
17952 then
17953 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17954 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17955 else
17956 if test "x$enable_win64" = "xyes"
17957 then
17958 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17963 case $build_os in
17964 cygwin*|mingw32*) TOOLSEXT=".exe"
17966 esac
17968 case $host_os in
17969 linux*)
17970 case $host_cpu in
17971 *i[3456789]86*|x86_64*|*aarch64*)
17972 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17973 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17975 esac
17977 esac
17980 ac_save_CFLAGS="$CFLAGS"
17981 CFLAGS="$CFLAGS $BUILTINFLAG"
17982 for ac_func in \
17983 __res_get_state \
17984 __res_getservers \
17985 _spawnvp \
17986 epoll_create \
17987 ffs \
17988 finitef \
17989 fnmatch \
17990 fork \
17991 fpclass \
17992 fstatfs \
17993 fstatvfs \
17994 futimens \
17995 futimes \
17996 futimesat \
17997 getattrlist \
17998 getauxval \
17999 getifaddrs \
18000 getopt_long_only \
18001 kqueue \
18002 lstat \
18003 mach_continuous_time \
18004 pipe2 \
18005 poll \
18006 port_create \
18007 prctl \
18008 pread \
18009 proc_pidinfo \
18010 pwrite \
18011 readdir \
18012 readlink \
18013 sched_yield \
18014 select \
18015 setproctitle \
18016 setprogname \
18017 settimeofday \
18018 sigprocmask \
18019 statfs \
18020 statvfs \
18021 strnlen \
18022 strtold \
18023 symlink \
18024 sysinfo \
18025 tcdrain \
18026 thr_kill2 \
18027 usleep
18029 do :
18030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18033 cat >>confdefs.h <<_ACEOF
18034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18035 _ACEOF
18038 done
18040 CFLAGS="$ac_save_CFLAGS"
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18043 $as_echo_n "checking for library containing dlopen... " >&6; }
18044 if ${ac_cv_search_dlopen+:} false; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047 ac_func_search_save_LIBS=$LIBS
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18051 /* Override any GCC internal prototype to avoid an error.
18052 Use char because int might match the return type of a GCC
18053 builtin and then its argument prototype would still apply. */
18054 #ifdef __cplusplus
18055 extern "C"
18056 #endif
18057 char dlopen ();
18059 main ()
18061 return dlopen ();
18063 return 0;
18065 _ACEOF
18066 for ac_lib in '' dl; do
18067 if test -z "$ac_lib"; then
18068 ac_res="none required"
18069 else
18070 ac_res=-l$ac_lib
18071 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18073 if ac_fn_c_try_link "$LINENO"; then :
18074 ac_cv_search_dlopen=$ac_res
18076 rm -f core conftest.err conftest.$ac_objext \
18077 conftest$ac_exeext
18078 if ${ac_cv_search_dlopen+:} false; then :
18079 break
18081 done
18082 if ${ac_cv_search_dlopen+:} false; then :
18084 else
18085 ac_cv_search_dlopen=no
18087 rm conftest.$ac_ext
18088 LIBS=$ac_func_search_save_LIBS
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18091 $as_echo "$ac_cv_search_dlopen" >&6; }
18092 ac_res=$ac_cv_search_dlopen
18093 if test "$ac_res" != no; then :
18094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18098 ac_wine_check_funcs_save_LIBS="$LIBS"
18099 LIBS="$LIBS $DL_LIBS"
18100 for ac_func in dladdr dlinfo
18101 do :
18102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18105 cat >>confdefs.h <<_ACEOF
18106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18107 _ACEOF
18110 done
18112 LIBS="$ac_wine_check_funcs_save_LIBS"
18114 if test "$ac_cv_func_poll" = no
18115 then
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18117 $as_echo_n "checking for poll in -lpoll... " >&6; }
18118 if ${ac_cv_lib_poll_poll+:} false; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18121 ac_check_lib_save_LIBS=$LIBS
18122 LIBS="-lpoll $LIBS"
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18126 /* Override any GCC internal prototype to avoid an error.
18127 Use char because int might match the return type of a GCC
18128 builtin and then its argument prototype would still apply. */
18129 #ifdef __cplusplus
18130 extern "C"
18131 #endif
18132 char poll ();
18134 main ()
18136 return poll ();
18138 return 0;
18140 _ACEOF
18141 if ac_fn_c_try_link "$LINENO"; then :
18142 ac_cv_lib_poll_poll=yes
18143 else
18144 ac_cv_lib_poll_poll=no
18146 rm -f core conftest.err conftest.$ac_objext \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18151 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18152 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18153 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18154 POLL_LIBS="-lpoll"
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18161 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18162 if ${ac_cv_search_gethostbyname+:} false; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 ac_func_search_save_LIBS=$LIBS
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18169 /* Override any GCC internal prototype to avoid an error.
18170 Use char because int might match the return type of a GCC
18171 builtin and then its argument prototype would still apply. */
18172 #ifdef __cplusplus
18173 extern "C"
18174 #endif
18175 char gethostbyname ();
18177 main ()
18179 return gethostbyname ();
18181 return 0;
18183 _ACEOF
18184 for ac_lib in '' nsl; do
18185 if test -z "$ac_lib"; then
18186 ac_res="none required"
18187 else
18188 ac_res=-l$ac_lib
18189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18191 if ac_fn_c_try_link "$LINENO"; then :
18192 ac_cv_search_gethostbyname=$ac_res
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext
18196 if ${ac_cv_search_gethostbyname+:} false; then :
18197 break
18199 done
18200 if ${ac_cv_search_gethostbyname+:} false; then :
18202 else
18203 ac_cv_search_gethostbyname=no
18205 rm conftest.$ac_ext
18206 LIBS=$ac_func_search_save_LIBS
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18209 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18210 ac_res=$ac_cv_search_gethostbyname
18211 if test "$ac_res" != no; then :
18212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18218 $as_echo_n "checking for library containing connect... " >&6; }
18219 if ${ac_cv_search_connect+:} false; then :
18220 $as_echo_n "(cached) " >&6
18221 else
18222 ac_func_search_save_LIBS=$LIBS
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 /* Override any GCC internal prototype to avoid an error.
18227 Use char because int might match the return type of a GCC
18228 builtin and then its argument prototype would still apply. */
18229 #ifdef __cplusplus
18230 extern "C"
18231 #endif
18232 char connect ();
18234 main ()
18236 return connect ();
18238 return 0;
18240 _ACEOF
18241 for ac_lib in '' socket; do
18242 if test -z "$ac_lib"; then
18243 ac_res="none required"
18244 else
18245 ac_res=-l$ac_lib
18246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18248 if ac_fn_c_try_link "$LINENO"; then :
18249 ac_cv_search_connect=$ac_res
18251 rm -f core conftest.err conftest.$ac_objext \
18252 conftest$ac_exeext
18253 if ${ac_cv_search_connect+:} false; then :
18254 break
18256 done
18257 if ${ac_cv_search_connect+:} false; then :
18259 else
18260 ac_cv_search_connect=no
18262 rm conftest.$ac_ext
18263 LIBS=$ac_func_search_save_LIBS
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18266 $as_echo "$ac_cv_search_connect" >&6; }
18267 ac_res=$ac_cv_search_connect
18268 if test "$ac_res" != no; then :
18269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18275 $as_echo_n "checking for library containing inet_aton... " >&6; }
18276 if ${ac_cv_search_inet_aton+:} false; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18279 ac_func_search_save_LIBS=$LIBS
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18283 /* Override any GCC internal prototype to avoid an error.
18284 Use char because int might match the return type of a GCC
18285 builtin and then its argument prototype would still apply. */
18286 #ifdef __cplusplus
18287 extern "C"
18288 #endif
18289 char inet_aton ();
18291 main ()
18293 return inet_aton ();
18295 return 0;
18297 _ACEOF
18298 for ac_lib in '' resolv; do
18299 if test -z "$ac_lib"; then
18300 ac_res="none required"
18301 else
18302 ac_res=-l$ac_lib
18303 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18305 if ac_fn_c_try_link "$LINENO"; then :
18306 ac_cv_search_inet_aton=$ac_res
18308 rm -f core conftest.err conftest.$ac_objext \
18309 conftest$ac_exeext
18310 if ${ac_cv_search_inet_aton+:} false; then :
18311 break
18313 done
18314 if ${ac_cv_search_inet_aton+:} false; then :
18316 else
18317 ac_cv_search_inet_aton=no
18319 rm conftest.$ac_ext
18320 LIBS=$ac_func_search_save_LIBS
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18323 $as_echo "$ac_cv_search_inet_aton" >&6; }
18324 ac_res=$ac_cv_search_inet_aton
18325 if test "$ac_res" != no; then :
18326 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18331 for ac_func in \
18332 getaddrinfo \
18333 getnameinfo \
18334 getnetbyname \
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-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20367 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20375 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20380 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20381 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20386 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20388 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20407 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20408 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20411 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20428 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20434 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20436 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20438 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20439 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20442 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20443 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20444 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20445 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20447 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20448 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20450 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20453 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20455 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20457 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20461 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20463 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20464 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20465 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20466 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20467 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20468 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20469 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20470 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20471 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20472 wine_fn_config_makefile dlls/apphelp enable_apphelp
20473 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20474 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20475 wine_fn_config_makefile dlls/atl enable_atl
20476 wine_fn_config_makefile dlls/atl/tests enable_tests
20477 wine_fn_config_makefile dlls/atl100 enable_atl100
20478 wine_fn_config_makefile dlls/atl100/tests enable_tests
20479 wine_fn_config_makefile dlls/atl110 enable_atl110
20480 wine_fn_config_makefile dlls/atl80 enable_atl80
20481 wine_fn_config_makefile dlls/atl80/tests enable_tests
20482 wine_fn_config_makefile dlls/atl90 enable_atl90
20483 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20484 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20485 wine_fn_config_makefile dlls/atmlib enable_atmlib
20486 wine_fn_config_makefile dlls/authz enable_authz
20487 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20488 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20489 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20490 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20491 wine_fn_config_makefile dlls/avrt enable_avrt
20492 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20493 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20494 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20495 wine_fn_config_makefile dlls/browseui enable_browseui
20496 wine_fn_config_makefile dlls/browseui/tests enable_tests
20497 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20498 wine_fn_config_makefile dlls/cabinet enable_cabinet
20499 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20500 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20501 wine_fn_config_makefile dlls/cards enable_cards
20502 wine_fn_config_makefile dlls/cdosys enable_cdosys
20503 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20504 wine_fn_config_makefile dlls/clusapi enable_clusapi
20505 wine_fn_config_makefile dlls/combase enable_combase
20506 wine_fn_config_makefile dlls/combase/tests enable_tests
20507 wine_fn_config_makefile dlls/comcat enable_comcat
20508 wine_fn_config_makefile dlls/comcat/tests enable_tests
20509 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20510 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20511 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20512 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20513 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20514 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20515 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20516 wine_fn_config_makefile dlls/compstui enable_compstui
20517 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20518 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20519 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20520 wine_fn_config_makefile dlls/connect enable_connect
20521 wine_fn_config_makefile dlls/credui enable_credui
20522 wine_fn_config_makefile dlls/credui/tests enable_tests
20523 wine_fn_config_makefile dlls/crtdll enable_crtdll
20524 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20525 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20526 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20527 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20528 wine_fn_config_makefile dlls/cryptext enable_cryptext
20529 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20530 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20531 wine_fn_config_makefile dlls/cryptui enable_cryptui
20532 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20533 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20534 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20535 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20536 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20537 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20538 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20539 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20540 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20541 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20542 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20543 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20544 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20545 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20546 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20547 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20548 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20549 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20550 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20551 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20552 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20553 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20554 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20555 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20556 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20557 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20558 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20559 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20560 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20561 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20562 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20563 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20564 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20565 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20566 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20567 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20568 wine_fn_config_makefile dlls/d3dim enable_d3dim
20569 wine_fn_config_makefile dlls/d3drm enable_d3drm
20570 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20571 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20572 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20573 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20574 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20575 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20576 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20577 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20578 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20579 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20580 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20581 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20582 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20583 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20584 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20585 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20586 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20587 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20588 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20589 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20590 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20591 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20592 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20593 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20594 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20595 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20596 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20597 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20598 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20599 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20600 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20601 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20602 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20603 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20604 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20605 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20606 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20607 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20608 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20609 wine_fn_config_makefile dlls/davclnt enable_davclnt
20610 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20611 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20612 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20613 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20614 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20615 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20616 wine_fn_config_makefile dlls/ddraw enable_ddraw
20617 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20618 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20619 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20620 wine_fn_config_makefile dlls/devenum enable_devenum
20621 wine_fn_config_makefile dlls/devenum/tests enable_tests
20622 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20623 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20624 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20625 wine_fn_config_makefile dlls/difxapi enable_difxapi
20626 wine_fn_config_makefile dlls/dinput enable_dinput
20627 wine_fn_config_makefile dlls/dinput/tests enable_tests
20628 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20629 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20630 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20631 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20632 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20633 wine_fn_config_makefile dlls/dispex enable_dispex
20634 wine_fn_config_makefile dlls/dispex/tests enable_tests
20635 wine_fn_config_makefile dlls/display.drv16 enable_win16
20636 wine_fn_config_makefile dlls/dmband enable_dmband
20637 wine_fn_config_makefile dlls/dmband/tests enable_tests
20638 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20639 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20640 wine_fn_config_makefile dlls/dmime enable_dmime
20641 wine_fn_config_makefile dlls/dmime/tests enable_tests
20642 wine_fn_config_makefile dlls/dmloader enable_dmloader
20643 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20644 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20645 wine_fn_config_makefile dlls/dmscript enable_dmscript
20646 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20647 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20648 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20649 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20650 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20651 wine_fn_config_makefile dlls/dmusic enable_dmusic
20652 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20653 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20654 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20655 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20656 wine_fn_config_makefile dlls/dplay enable_dplay
20657 wine_fn_config_makefile dlls/dplayx enable_dplayx
20658 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20659 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20660 wine_fn_config_makefile dlls/dpnet enable_dpnet
20661 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20662 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20663 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20664 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20665 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20666 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20667 wine_fn_config_makefile dlls/drmclien enable_drmclien
20668 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20669 wine_fn_config_makefile dlls/dsound enable_dsound
20670 wine_fn_config_makefile dlls/dsound/tests enable_tests
20671 wine_fn_config_makefile dlls/dsquery enable_dsquery
20672 wine_fn_config_makefile dlls/dssenh enable_dssenh
20673 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20674 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20675 wine_fn_config_makefile dlls/dswave enable_dswave
20676 wine_fn_config_makefile dlls/dswave/tests enable_tests
20677 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20678 wine_fn_config_makefile dlls/dwrite enable_dwrite
20679 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20680 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20681 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20682 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20683 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20684 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20685 wine_fn_config_makefile dlls/dxgi enable_dxgi
20686 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20687 wine_fn_config_makefile dlls/dxguid enable_dxguid
20688 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20689 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20690 wine_fn_config_makefile dlls/esent enable_esent
20691 wine_fn_config_makefile dlls/evr enable_evr
20692 wine_fn_config_makefile dlls/evr/tests enable_tests
20693 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20694 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20695 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20696 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20697 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20698 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20699 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20700 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20701 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20702 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20703 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20704 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20705 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20706 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20707 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20708 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20709 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20710 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20711 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20712 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20713 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20714 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20715 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20716 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20717 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20718 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20719 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20720 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20721 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20722 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20723 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20724 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20725 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20726 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20727 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20728 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20729 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20730 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20731 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20732 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20733 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20734 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20735 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
20736 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20737 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20738 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20739 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20740 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20741 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20742 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20743 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20744 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20745 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20746 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20747 wine_fn_config_makefile dlls/faultrep enable_faultrep
20748 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20749 wine_fn_config_makefile dlls/feclient enable_feclient
20750 wine_fn_config_makefile dlls/fltlib enable_fltlib
20751 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20752 wine_fn_config_makefile dlls/fntcache enable_fntcache
20753 wine_fn_config_makefile dlls/fontsub enable_fontsub
20754 wine_fn_config_makefile dlls/fusion enable_fusion
20755 wine_fn_config_makefile dlls/fusion/tests enable_tests
20756 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20757 wine_fn_config_makefile dlls/gameux enable_gameux
20758 wine_fn_config_makefile dlls/gameux/tests enable_tests
20759 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20760 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20761 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20762 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20763 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20764 wine_fn_config_makefile dlls/glu32 enable_glu32
20765 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20766 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20767 wine_fn_config_makefile dlls/hal enable_hal
20768 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20769 wine_fn_config_makefile dlls/hid enable_hid
20770 wine_fn_config_makefile dlls/hid/tests enable_tests
20771 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20772 wine_fn_config_makefile dlls/hlink enable_hlink
20773 wine_fn_config_makefile dlls/hlink/tests enable_tests
20774 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20775 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20776 wine_fn_config_makefile dlls/http.sys enable_http_sys
20777 wine_fn_config_makefile dlls/httpapi enable_httpapi
20778 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20779 wine_fn_config_makefile dlls/iccvid enable_iccvid
20780 wine_fn_config_makefile dlls/icmp enable_icmp
20781 wine_fn_config_makefile dlls/ieframe enable_ieframe
20782 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20783 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20784 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20785 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20786 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20787 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20788 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20789 wine_fn_config_makefile dlls/imm32 enable_imm32
20790 wine_fn_config_makefile dlls/imm32/tests enable_tests
20791 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20792 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20793 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20794 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20795 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20796 wine_fn_config_makefile dlls/infosoft enable_infosoft
20797 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20798 wine_fn_config_makefile dlls/initpki enable_initpki
20799 wine_fn_config_makefile dlls/inkobj enable_inkobj
20800 wine_fn_config_makefile dlls/inseng enable_inseng
20801 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20802 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20803 wine_fn_config_makefile dlls/iprop enable_iprop
20804 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20805 wine_fn_config_makefile dlls/itircl enable_itircl
20806 wine_fn_config_makefile dlls/itss enable_itss
20807 wine_fn_config_makefile dlls/itss/tests enable_tests
20808 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20809 wine_fn_config_makefile dlls/jscript enable_jscript
20810 wine_fn_config_makefile dlls/jscript/tests enable_tests
20811 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20812 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20813 wine_fn_config_makefile dlls/kerberos enable_kerberos
20814 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20815 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20816 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20817 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20818 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20819 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20820 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20821 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20822 wine_fn_config_makefile dlls/ksuser enable_ksuser
20823 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20824 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20825 wine_fn_config_makefile dlls/loadperf enable_loadperf
20826 wine_fn_config_makefile dlls/localspl enable_localspl
20827 wine_fn_config_makefile dlls/localspl/tests enable_tests
20828 wine_fn_config_makefile dlls/localui enable_localui
20829 wine_fn_config_makefile dlls/localui/tests enable_tests
20830 wine_fn_config_makefile dlls/lz32 enable_lz32
20831 wine_fn_config_makefile dlls/lz32/tests enable_tests
20832 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20833 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20834 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20835 wine_fn_config_makefile dlls/mapistub enable_mapistub
20836 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20837 wine_fn_config_makefile dlls/mcicda enable_mcicda
20838 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20839 wine_fn_config_makefile dlls/mciseq enable_mciseq
20840 wine_fn_config_makefile dlls/mciwave enable_mciwave
20841 wine_fn_config_makefile dlls/mf enable_mf
20842 wine_fn_config_makefile dlls/mf/tests enable_tests
20843 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20844 wine_fn_config_makefile dlls/mferror enable_mferror
20845 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20846 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20847 wine_fn_config_makefile dlls/mfplat enable_mfplat
20848 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20849 wine_fn_config_makefile dlls/mfplay enable_mfplay
20850 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20851 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20852 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20853 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20854 wine_fn_config_makefile dlls/midimap enable_midimap
20855 wine_fn_config_makefile dlls/mlang enable_mlang
20856 wine_fn_config_makefile dlls/mlang/tests enable_tests
20857 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20858 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20859 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20860 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20861 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20862 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20863 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20864 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20865 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20866 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20867 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20868 wine_fn_config_makefile dlls/mpr enable_mpr
20869 wine_fn_config_makefile dlls/mpr/tests enable_tests
20870 wine_fn_config_makefile dlls/mprapi enable_mprapi
20871 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20872 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20873 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20874 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20875 wine_fn_config_makefile dlls/msado15 enable_msado15
20876 wine_fn_config_makefile dlls/msado15/tests enable_tests
20877 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20878 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20879 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20880 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20881 wine_fn_config_makefile dlls/mscms enable_mscms
20882 wine_fn_config_makefile dlls/mscms/tests enable_tests
20883 wine_fn_config_makefile dlls/mscoree enable_mscoree
20884 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20885 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20886 wine_fn_config_makefile dlls/msctf enable_msctf
20887 wine_fn_config_makefile dlls/msctf/tests enable_tests
20888 wine_fn_config_makefile dlls/msctfp enable_msctfp
20889 wine_fn_config_makefile dlls/msdaps enable_msdaps
20890 wine_fn_config_makefile dlls/msdelta enable_msdelta
20891 wine_fn_config_makefile dlls/msdmo enable_msdmo
20892 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20893 wine_fn_config_makefile dlls/msdrm enable_msdrm
20894 wine_fn_config_makefile dlls/msftedit enable_msftedit
20895 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20896 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20897 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20898 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20899 wine_fn_config_makefile dlls/mshtml enable_mshtml
20900 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20901 wine_fn_config_makefile dlls/msi enable_msi
20902 wine_fn_config_makefile dlls/msi/tests enable_tests
20903 wine_fn_config_makefile dlls/msident enable_msident
20904 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20905 wine_fn_config_makefile dlls/msimsg enable_msimsg
20906 wine_fn_config_makefile dlls/msimtf enable_msimtf
20907 wine_fn_config_makefile dlls/msisip enable_msisip
20908 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20909 wine_fn_config_makefile dlls/msls31 enable_msls31
20910 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20911 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20912 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20913 wine_fn_config_makefile dlls/msports enable_msports
20914 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20915 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20916 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20917 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20918 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20919 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20920 wine_fn_config_makefile dlls/mstask enable_mstask
20921 wine_fn_config_makefile dlls/mstask/tests enable_tests
20922 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20923 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20924 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20925 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20926 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20927 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20928 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20929 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20930 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20931 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20932 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20933 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20934 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20935 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20936 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20937 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20938 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20939 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20940 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20941 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20942 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20943 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20944 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20945 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20946 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20947 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20948 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20949 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20950 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20951 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20952 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20953 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20954 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20955 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20956 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20957 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20958 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20959 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20960 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20961 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20962 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20963 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20964 wine_fn_config_makefile dlls/mswsock enable_mswsock
20965 wine_fn_config_makefile dlls/msxml enable_msxml
20966 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20967 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20968 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20969 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20970 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20971 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20972 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20973 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20974 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20975 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20976 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20977 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20978 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20979 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20980 wine_fn_config_makefile dlls/netprofm enable_netprofm
20981 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20982 wine_fn_config_makefile dlls/newdev enable_newdev
20983 wine_fn_config_makefile dlls/ninput enable_ninput
20984 wine_fn_config_makefile dlls/ninput/tests enable_tests
20985 wine_fn_config_makefile dlls/normaliz enable_normaliz
20986 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20987 wine_fn_config_makefile dlls/npptools enable_npptools
20988 wine_fn_config_makefile dlls/ntdll enable_ntdll
20989 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20990 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20991 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20992 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20993 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20994 wine_fn_config_makefile dlls/ntprint enable_ntprint
20995 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20996 wine_fn_config_makefile dlls/objsel enable_objsel
20997 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20998 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20999 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21000 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21001 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21002 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21003 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21004 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21005 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21006 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21007 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21008 wine_fn_config_makefile dlls/ole32 enable_ole32
21009 wine_fn_config_makefile dlls/ole32/tests enable_tests
21010 wine_fn_config_makefile dlls/oleacc enable_oleacc
21011 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21012 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21013 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21014 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21015 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21016 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21017 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21018 wine_fn_config_makefile dlls/oledlg enable_oledlg
21019 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21020 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21021 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21022 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21023 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21024 wine_fn_config_makefile dlls/opcservices enable_opcservices
21025 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21026 wine_fn_config_makefile dlls/openal32 enable_openal32
21027 wine_fn_config_makefile dlls/opencl enable_opencl
21028 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21029 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21030 wine_fn_config_makefile dlls/packager enable_packager
21031 wine_fn_config_makefile dlls/packager/tests enable_tests
21032 wine_fn_config_makefile dlls/pdh enable_pdh
21033 wine_fn_config_makefile dlls/pdh/tests enable_tests
21034 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21035 wine_fn_config_makefile dlls/pidgen enable_pidgen
21036 wine_fn_config_makefile dlls/powrprof enable_powrprof
21037 wine_fn_config_makefile dlls/printui enable_printui
21038 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21039 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21040 wine_fn_config_makefile dlls/propsys enable_propsys
21041 wine_fn_config_makefile dlls/propsys/tests enable_tests
21042 wine_fn_config_makefile dlls/psapi enable_psapi
21043 wine_fn_config_makefile dlls/psapi/tests enable_tests
21044 wine_fn_config_makefile dlls/pstorec enable_pstorec
21045 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21046 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21047 wine_fn_config_makefile dlls/qasf enable_qasf
21048 wine_fn_config_makefile dlls/qasf/tests enable_tests
21049 wine_fn_config_makefile dlls/qcap enable_qcap
21050 wine_fn_config_makefile dlls/qcap/tests enable_tests
21051 wine_fn_config_makefile dlls/qdvd enable_qdvd
21052 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21053 wine_fn_config_makefile dlls/qedit enable_qedit
21054 wine_fn_config_makefile dlls/qedit/tests enable_tests
21055 wine_fn_config_makefile dlls/qmgr enable_qmgr
21056 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21057 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21058 wine_fn_config_makefile dlls/quartz enable_quartz
21059 wine_fn_config_makefile dlls/quartz/tests enable_tests
21060 wine_fn_config_makefile dlls/query enable_query
21061 wine_fn_config_makefile dlls/qwave enable_qwave
21062 wine_fn_config_makefile dlls/qwave/tests enable_tests
21063 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21064 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21065 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21066 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21067 wine_fn_config_makefile dlls/regapi enable_regapi
21068 wine_fn_config_makefile dlls/resutils enable_resutils
21069 wine_fn_config_makefile dlls/riched20 enable_riched20
21070 wine_fn_config_makefile dlls/riched20/tests enable_tests
21071 wine_fn_config_makefile dlls/riched32 enable_riched32
21072 wine_fn_config_makefile dlls/riched32/tests enable_tests
21073 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21074 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21075 wine_fn_config_makefile dlls/rsabase enable_rsabase
21076 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21077 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21078 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21079 wine_fn_config_makefile dlls/rtutils enable_rtutils
21080 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21081 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21082 wine_fn_config_makefile dlls/samlib enable_samlib
21083 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21084 wine_fn_config_makefile dlls/sapi enable_sapi
21085 wine_fn_config_makefile dlls/sapi/tests enable_tests
21086 wine_fn_config_makefile dlls/sas enable_sas
21087 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21088 wine_fn_config_makefile dlls/sccbase enable_sccbase
21089 wine_fn_config_makefile dlls/schannel enable_schannel
21090 wine_fn_config_makefile dlls/schannel/tests enable_tests
21091 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21092 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21093 wine_fn_config_makefile dlls/scrobj enable_scrobj
21094 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21095 wine_fn_config_makefile dlls/scrrun enable_scrrun
21096 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21097 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21098 wine_fn_config_makefile dlls/sechost enable_sechost
21099 wine_fn_config_makefile dlls/secur32 enable_secur32
21100 wine_fn_config_makefile dlls/secur32/tests enable_tests
21101 wine_fn_config_makefile dlls/security enable_security
21102 wine_fn_config_makefile dlls/sensapi enable_sensapi
21103 wine_fn_config_makefile dlls/serialui enable_serialui
21104 wine_fn_config_makefile dlls/serialui/tests enable_tests
21105 wine_fn_config_makefile dlls/setupapi enable_setupapi
21106 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21107 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21108 wine_fn_config_makefile dlls/sfc enable_sfc
21109 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21110 wine_fn_config_makefile dlls/shcore enable_shcore
21111 wine_fn_config_makefile dlls/shcore/tests enable_tests
21112 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21113 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21114 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21115 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21116 wine_fn_config_makefile dlls/shell32 enable_shell32
21117 wine_fn_config_makefile dlls/shell32/tests enable_tests
21118 wine_fn_config_makefile dlls/shfolder enable_shfolder
21119 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21120 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21121 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21122 wine_fn_config_makefile dlls/slc enable_slc
21123 wine_fn_config_makefile dlls/slc/tests enable_tests
21124 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21125 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21126 wine_fn_config_makefile dlls/softpub enable_softpub
21127 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21128 wine_fn_config_makefile dlls/spoolss enable_spoolss
21129 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21130 wine_fn_config_makefile dlls/srclient enable_srclient
21131 wine_fn_config_makefile dlls/sspicli enable_sspicli
21132 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21133 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21134 wine_fn_config_makefile dlls/sti enable_sti
21135 wine_fn_config_makefile dlls/sti/tests enable_tests
21136 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21137 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21138 wine_fn_config_makefile dlls/strmbase enable_strmbase
21139 wine_fn_config_makefile dlls/strmdll enable_strmdll
21140 wine_fn_config_makefile dlls/strmiids enable_strmiids
21141 wine_fn_config_makefile dlls/svrapi enable_svrapi
21142 wine_fn_config_makefile dlls/sxs enable_sxs
21143 wine_fn_config_makefile dlls/sxs/tests enable_tests
21144 wine_fn_config_makefile dlls/system.drv16 enable_win16
21145 wine_fn_config_makefile dlls/t2embed enable_t2embed
21146 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21147 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21148 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21149 wine_fn_config_makefile dlls/taskschd enable_taskschd
21150 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21151 wine_fn_config_makefile dlls/tdh enable_tdh
21152 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21153 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21154 wine_fn_config_makefile dlls/traffic enable_traffic
21155 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21156 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21157 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21158 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21159 wine_fn_config_makefile dlls/tzres enable_tzres
21160 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21161 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21162 wine_fn_config_makefile dlls/uianimation enable_uianimation
21163 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21164 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21165 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21166 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21167 wine_fn_config_makefile dlls/unicows enable_unicows
21168 wine_fn_config_makefile dlls/updspapi enable_updspapi
21169 wine_fn_config_makefile dlls/url enable_url
21170 wine_fn_config_makefile dlls/urlmon enable_urlmon
21171 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21172 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21173 wine_fn_config_makefile dlls/user.exe16 enable_win16
21174 wine_fn_config_makefile dlls/user32 enable_user32
21175 wine_fn_config_makefile dlls/user32/tests enable_tests
21176 wine_fn_config_makefile dlls/userenv enable_userenv
21177 wine_fn_config_makefile dlls/userenv/tests enable_tests
21178 wine_fn_config_makefile dlls/usp10 enable_usp10
21179 wine_fn_config_makefile dlls/usp10/tests enable_tests
21180 wine_fn_config_makefile dlls/utildll enable_utildll
21181 wine_fn_config_makefile dlls/uuid enable_uuid
21182 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21183 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21184 wine_fn_config_makefile dlls/vbscript enable_vbscript
21185 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21186 wine_fn_config_makefile dlls/vcomp enable_vcomp
21187 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21188 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21189 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21190 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21191 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21192 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21193 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21194 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21195 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21196 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21197 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21198 wine_fn_config_makefile dlls/version enable_version
21199 wine_fn_config_makefile dlls/version/tests enable_tests
21200 wine_fn_config_makefile dlls/vga enable_vga
21201 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21202 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21203 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21204 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21205 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21206 wine_fn_config_makefile dlls/vssapi enable_vssapi
21207 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21208 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21209 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21210 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21211 wine_fn_config_makefile dlls/w32skrnl enable_win16
21212 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21213 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21214 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21215 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21216 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21217 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21218 wine_fn_config_makefile dlls/wdscore enable_wdscore
21219 wine_fn_config_makefile dlls/webservices enable_webservices
21220 wine_fn_config_makefile dlls/webservices/tests enable_tests
21221 wine_fn_config_makefile dlls/wer enable_wer
21222 wine_fn_config_makefile dlls/wer/tests enable_tests
21223 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21224 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21225 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21226 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21227 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21228 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21229 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21230 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21231 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21232 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21233 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21234 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21235 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21236 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21237 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21238 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21239 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21240 wine_fn_config_makefile dlls/wined3d enable_wined3d
21241 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21242 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21243 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21244 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21245 wine_fn_config_makefile dlls/winemapi enable_winemapi
21246 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21247 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21248 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21249 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21250 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21251 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21252 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21253 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21254 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21255 wine_fn_config_makefile dlls/wing32 enable_wing32
21256 wine_fn_config_makefile dlls/winhttp enable_winhttp
21257 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21258 wine_fn_config_makefile dlls/wininet enable_wininet
21259 wine_fn_config_makefile dlls/wininet/tests enable_tests
21260 wine_fn_config_makefile dlls/winmm enable_winmm
21261 wine_fn_config_makefile dlls/winmm/tests enable_tests
21262 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21263 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21264 wine_fn_config_makefile dlls/winscard enable_winscard
21265 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21266 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21267 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21268 wine_fn_config_makefile dlls/winsta enable_winsta
21269 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21270 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21271 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21272 wine_fn_config_makefile dlls/wintrust enable_wintrust
21273 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21274 wine_fn_config_makefile dlls/winusb enable_winusb
21275 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21276 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21277 wine_fn_config_makefile dlls/wlanui enable_wlanui
21278 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21279 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21280 wine_fn_config_makefile dlls/wmasf enable_wmasf
21281 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21282 wine_fn_config_makefile dlls/wmi enable_wmi
21283 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21284 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21285 wine_fn_config_makefile dlls/wmp enable_wmp
21286 wine_fn_config_makefile dlls/wmp/tests enable_tests
21287 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21288 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21289 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21290 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21291 wine_fn_config_makefile dlls/wow32 enable_win16
21292 wine_fn_config_makefile dlls/wpc enable_wpc
21293 wine_fn_config_makefile dlls/wpc/tests enable_tests
21294 wine_fn_config_makefile dlls/wpcap enable_wpcap
21295 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21296 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21297 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21298 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21299 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21300 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21301 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21302 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21303 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21304 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21305 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21306 wine_fn_config_makefile dlls/wuapi enable_wuapi
21307 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21308 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21309 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21310 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21311 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21312 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21313 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21314 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21315 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21316 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21317 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21318 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21319 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21320 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21321 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21322 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21323 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21324 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21325 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21326 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21327 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21328 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21329 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21330 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21331 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21332 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21333 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21334 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21335 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21336 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21337 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21338 wine_fn_config_makefile dlls/xmllite enable_xmllite
21339 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21340 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21341 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21342 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21343 wine_fn_config_makefile fonts enable_fonts
21344 wine_fn_config_makefile include enable_include
21345 wine_fn_config_makefile libs/port enable_port
21346 wine_fn_config_makefile libs/wine enable_wine
21347 wine_fn_config_makefile libs/wpp enable_wpp
21348 wine_fn_config_makefile loader enable_loader
21349 wine_fn_config_makefile nls enable_nls
21350 wine_fn_config_makefile po enable_po
21351 wine_fn_config_makefile programs/arp enable_arp
21352 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21353 wine_fn_config_makefile programs/attrib enable_attrib
21354 wine_fn_config_makefile programs/cabarc enable_cabarc
21355 wine_fn_config_makefile programs/cacls enable_cacls
21356 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21357 wine_fn_config_makefile programs/clock enable_clock
21358 wine_fn_config_makefile programs/cmd enable_cmd
21359 wine_fn_config_makefile programs/cmd/tests enable_tests
21360 wine_fn_config_makefile programs/conhost enable_conhost
21361 wine_fn_config_makefile programs/control enable_control
21362 wine_fn_config_makefile programs/cscript enable_cscript
21363 wine_fn_config_makefile programs/dism enable_dism
21364 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21365 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21366 wine_fn_config_makefile programs/eject enable_eject
21367 wine_fn_config_makefile programs/expand enable_expand
21368 wine_fn_config_makefile programs/explorer enable_explorer
21369 wine_fn_config_makefile programs/extrac32 enable_extrac32
21370 wine_fn_config_makefile programs/fc enable_fc
21371 wine_fn_config_makefile programs/find enable_find
21372 wine_fn_config_makefile programs/find/tests enable_tests
21373 wine_fn_config_makefile programs/findstr enable_findstr
21374 wine_fn_config_makefile programs/fsutil enable_fsutil
21375 wine_fn_config_makefile programs/hh enable_hh
21376 wine_fn_config_makefile programs/hostname enable_hostname
21377 wine_fn_config_makefile programs/icacls enable_icacls
21378 wine_fn_config_makefile programs/icinfo enable_icinfo
21379 wine_fn_config_makefile programs/iexplore enable_iexplore
21380 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21381 wine_fn_config_makefile programs/lodctr enable_lodctr
21382 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21383 wine_fn_config_makefile programs/mshta enable_mshta
21384 wine_fn_config_makefile programs/msidb enable_msidb
21385 wine_fn_config_makefile programs/msiexec enable_msiexec
21386 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21387 wine_fn_config_makefile programs/net enable_net
21388 wine_fn_config_makefile programs/netsh enable_netsh
21389 wine_fn_config_makefile programs/netstat enable_netstat
21390 wine_fn_config_makefile programs/ngen enable_ngen
21391 wine_fn_config_makefile programs/notepad enable_notepad
21392 wine_fn_config_makefile programs/oleview enable_oleview
21393 wine_fn_config_makefile programs/ping enable_ping
21394 wine_fn_config_makefile programs/plugplay enable_plugplay
21395 wine_fn_config_makefile programs/powershell enable_powershell
21396 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21397 wine_fn_config_makefile programs/progman enable_progman
21398 wine_fn_config_makefile programs/reg enable_reg
21399 wine_fn_config_makefile programs/reg/tests enable_tests
21400 wine_fn_config_makefile programs/regasm enable_regasm
21401 wine_fn_config_makefile programs/regedit enable_regedit
21402 wine_fn_config_makefile programs/regedit/tests enable_tests
21403 wine_fn_config_makefile programs/regini enable_regini
21404 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21405 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21406 wine_fn_config_makefile programs/rpcss enable_rpcss
21407 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21408 wine_fn_config_makefile programs/rundll32 enable_rundll32
21409 wine_fn_config_makefile programs/sc enable_sc
21410 wine_fn_config_makefile programs/schtasks enable_schtasks
21411 wine_fn_config_makefile programs/schtasks/tests enable_tests
21412 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21413 wine_fn_config_makefile programs/secedit enable_secedit
21414 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21415 wine_fn_config_makefile programs/services enable_services
21416 wine_fn_config_makefile programs/services/tests enable_tests
21417 wine_fn_config_makefile programs/shutdown enable_shutdown
21418 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21419 wine_fn_config_makefile programs/start enable_start
21420 wine_fn_config_makefile programs/subst enable_subst
21421 wine_fn_config_makefile programs/svchost enable_svchost
21422 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21423 wine_fn_config_makefile programs/taskkill enable_taskkill
21424 wine_fn_config_makefile programs/tasklist enable_tasklist
21425 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21426 wine_fn_config_makefile programs/termsv enable_termsv
21427 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21428 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21429 wine_fn_config_makefile programs/view enable_view
21430 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21431 wine_fn_config_makefile programs/where enable_where
21432 wine_fn_config_makefile programs/whoami enable_whoami
21433 wine_fn_config_makefile programs/wineboot enable_wineboot
21434 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21435 wine_fn_config_makefile programs/winecfg enable_winecfg
21436 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21437 wine_fn_config_makefile programs/winedbg enable_winedbg
21438 wine_fn_config_makefile programs/winedevice enable_winedevice
21439 wine_fn_config_makefile programs/winefile enable_winefile
21440 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21441 wine_fn_config_makefile programs/winemine enable_winemine
21442 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21443 wine_fn_config_makefile programs/winepath enable_winepath
21444 wine_fn_config_makefile programs/winetest enable_winetest
21445 wine_fn_config_makefile programs/winevdm enable_win16
21446 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21447 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21448 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21449 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21450 wine_fn_config_makefile programs/winver enable_winver
21451 wine_fn_config_makefile programs/wmic enable_wmic
21452 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21453 wine_fn_config_makefile programs/wordpad enable_wordpad
21454 wine_fn_config_makefile programs/write enable_write
21455 wine_fn_config_makefile programs/wscript enable_wscript
21456 wine_fn_config_makefile programs/wscript/tests enable_tests
21457 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21458 wine_fn_config_makefile programs/wusa enable_wusa
21459 wine_fn_config_makefile programs/xcopy enable_xcopy
21460 wine_fn_config_makefile programs/xcopy/tests enable_tests
21461 wine_fn_config_makefile server enable_server
21462 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21463 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21464 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21465 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21466 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21467 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21468 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21469 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21470 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21473 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21474 wine_fn_append_file CONFIGURE_TARGETS "tags"
21475 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21476 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21477 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21478 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21479 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21480 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21482 if test "x$enable_tools" != xno
21483 then
21484 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21485 ac_config_commands="$ac_config_commands tools/makedep"
21489 ac_config_commands="$ac_config_commands Makefile"
21492 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21496 if test "x$enable_maintainer_mode" = xyes
21497 then
21498 wine_fn_append_rule "configure: configure.ac aclocal.m4
21499 autoconf --warnings=all
21500 include/config.h.in: include/stamp-h.in
21501 include/stamp-h.in: configure.ac aclocal.m4
21502 autoheader --warnings=all
21503 @echo timestamp > \$@"
21506 if test "x$enable_tools" != xno
21507 then
21508 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21509 @./config.status tools/makedep
21510 Makefile: tools/makedep$ac_exeext
21511 fonts: tools/sfnt2fon
21512 include: tools tools/widl"
21513 else
21514 wine_fn_append_rule "\$(MAKEDEP):
21515 @echo \"You need to run make in $TOOLSDIR first\" && false"
21518 if test -n "$with_wine64"
21519 then
21520 case "$with_wine64" in
21521 /*) reldir="" ;;
21522 *) reldir="../" ;;
21523 esac
21524 rm -f fonts server 2>/dev/null
21525 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21526 loader/wine64 loader/wine64-preloader:
21527 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21528 $with_wine64/loader/wine:
21529 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21530 $with_wine64/loader/wine-preloader:
21531 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21532 clean::
21533 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21534 else
21535 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21536 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21537 fonts \
21538 loader/wine.inf \
21539 loader/winebus.inf \
21540 loader/winehid.inf \
21541 loader/wineusb.inf \
21542 nls \
21543 programs/msidb/msidb \
21544 programs/msiexec/msiexec \
21545 programs/notepad/notepad \
21546 programs/regedit/regedit \
21547 programs/regsvr32/regsvr32 \
21548 programs/wineboot/wineboot \
21549 programs/winecfg/winecfg \
21550 programs/wineconsole/wineconsole \
21551 programs/winedbg/winedbg \
21552 programs/winefile/winefile \
21553 programs/winemine/winemine \
21554 programs/winepath/winepath \
21555 server/wineserver"
21557 case $host_os in
21558 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21559 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21560 esac
21563 $as_echo " done" >&6
21564 cat >confcache <<\_ACEOF
21565 # This file is a shell script that caches the results of configure
21566 # tests run on this system so they can be shared between configure
21567 # scripts and configure runs, see configure's option --config-cache.
21568 # It is not useful on other systems. If it contains results you don't
21569 # want to keep, you may remove or edit it.
21571 # config.status only pays attention to the cache file if you give it
21572 # the --recheck option to rerun configure.
21574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21576 # following values.
21578 _ACEOF
21580 # The following way of writing the cache mishandles newlines in values,
21581 # but we know of no workaround that is simple, portable, and efficient.
21582 # So, we kill variables containing newlines.
21583 # Ultrix sh set writes to stderr and can't be redirected directly,
21584 # and sets the high bit in the cache file unless we assign to the vars.
21586 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21587 eval ac_val=\$$ac_var
21588 case $ac_val in #(
21589 *${as_nl}*)
21590 case $ac_var in #(
21591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21593 esac
21594 case $ac_var in #(
21595 _ | IFS | as_nl) ;; #(
21596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21597 *) { eval $ac_var=; unset $ac_var;} ;;
21598 esac ;;
21599 esac
21600 done
21602 (set) 2>&1 |
21603 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21604 *${as_nl}ac_space=\ *)
21605 # `set' does not quote correctly, so add quotes: double-quote
21606 # substitution turns \\\\ into \\, and sed turns \\ into \.
21607 sed -n \
21608 "s/'/'\\\\''/g;
21609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21610 ;; #(
21612 # `set' quotes correctly as required by POSIX, so do not add quotes.
21613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21615 esac |
21616 sort
21618 sed '
21619 /^ac_cv_env_/b end
21620 t clear
21621 :clear
21622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21623 t end
21624 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21625 :end' >>confcache
21626 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21627 if test -w "$cache_file"; then
21628 if test "x$cache_file" != "x/dev/null"; then
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21630 $as_echo "$as_me: updating cache $cache_file" >&6;}
21631 if test ! -f "$cache_file" || test -h "$cache_file"; then
21632 cat confcache >"$cache_file"
21633 else
21634 case $cache_file in #(
21635 */* | ?:*)
21636 mv -f confcache "$cache_file"$$ &&
21637 mv -f "$cache_file"$$ "$cache_file" ;; #(
21639 mv -f confcache "$cache_file" ;;
21640 esac
21643 else
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21645 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21648 rm -f confcache
21650 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21651 # Let make expand exec_prefix.
21652 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21654 DEFS=-DHAVE_CONFIG_H
21656 ac_libobjs=
21657 ac_ltlibobjs=
21659 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21660 # 1. Remove the extension, and $U if already installed.
21661 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21662 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21663 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21664 # will be set to the directory where LIBOBJS objects are built.
21665 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21666 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21667 done
21668 LIBOBJS=$ac_libobjs
21670 LTLIBOBJS=$ac_ltlibobjs
21674 : "${CONFIG_STATUS=./config.status}"
21675 ac_write_fail=0
21676 ac_clean_files_save=$ac_clean_files
21677 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21679 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21680 as_write_fail=0
21681 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21682 #! $SHELL
21683 # Generated by $as_me.
21684 # Run this file to recreate the current configuration.
21685 # Compiler output produced by configure, useful for debugging
21686 # configure, is in config.log if it exists.
21688 debug=false
21689 ac_cs_recheck=false
21690 ac_cs_silent=false
21692 SHELL=\${CONFIG_SHELL-$SHELL}
21693 export SHELL
21694 _ASEOF
21695 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21696 ## -------------------- ##
21697 ## M4sh Initialization. ##
21698 ## -------------------- ##
21700 # Be more Bourne compatible
21701 DUALCASE=1; export DUALCASE # for MKS sh
21702 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21703 emulate sh
21704 NULLCMD=:
21705 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21706 # is contrary to our usage. Disable this feature.
21707 alias -g '${1+"$@"}'='"$@"'
21708 setopt NO_GLOB_SUBST
21709 else
21710 case `(set -o) 2>/dev/null` in #(
21711 *posix*) :
21712 set -o posix ;; #(
21713 *) :
21715 esac
21719 as_nl='
21721 export as_nl
21722 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21723 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21726 # Prefer a ksh shell builtin over an external printf program on Solaris,
21727 # but without wasting forks for bash or zsh.
21728 if test -z "$BASH_VERSION$ZSH_VERSION" \
21729 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21730 as_echo='print -r --'
21731 as_echo_n='print -rn --'
21732 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21733 as_echo='printf %s\n'
21734 as_echo_n='printf %s'
21735 else
21736 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21737 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21738 as_echo_n='/usr/ucb/echo -n'
21739 else
21740 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21741 as_echo_n_body='eval
21742 arg=$1;
21743 case $arg in #(
21744 *"$as_nl"*)
21745 expr "X$arg" : "X\\(.*\\)$as_nl";
21746 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21747 esac;
21748 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21750 export as_echo_n_body
21751 as_echo_n='sh -c $as_echo_n_body as_echo'
21753 export as_echo_body
21754 as_echo='sh -c $as_echo_body as_echo'
21757 # The user is always right.
21758 if test "${PATH_SEPARATOR+set}" != set; then
21759 PATH_SEPARATOR=:
21760 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21761 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21762 PATH_SEPARATOR=';'
21767 # IFS
21768 # We need space, tab and new line, in precisely that order. Quoting is
21769 # there to prevent editors from complaining about space-tab.
21770 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21771 # splitting by setting IFS to empty value.)
21772 IFS=" "" $as_nl"
21774 # Find who we are. Look in the path if we contain no directory separator.
21775 as_myself=
21776 case $0 in #((
21777 *[\\/]* ) as_myself=$0 ;;
21778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21779 for as_dir in $PATH
21781 IFS=$as_save_IFS
21782 test -z "$as_dir" && as_dir=.
21783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21784 done
21785 IFS=$as_save_IFS
21788 esac
21789 # We did not find ourselves, most probably we were run as `sh COMMAND'
21790 # in which case we are not to be found in the path.
21791 if test "x$as_myself" = x; then
21792 as_myself=$0
21794 if test ! -f "$as_myself"; then
21795 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21796 exit 1
21799 # Unset variables that we do not need and which cause bugs (e.g. in
21800 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21801 # suppresses any "Segmentation fault" message there. '((' could
21802 # trigger a bug in pdksh 5.2.14.
21803 for as_var in BASH_ENV ENV MAIL MAILPATH
21804 do eval test x\${$as_var+set} = xset \
21805 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21806 done
21807 PS1='$ '
21808 PS2='> '
21809 PS4='+ '
21811 # NLS nuisances.
21812 LC_ALL=C
21813 export LC_ALL
21814 LANGUAGE=C
21815 export LANGUAGE
21817 # CDPATH.
21818 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21821 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21822 # ----------------------------------------
21823 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21824 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21825 # script with STATUS, using 1 if that was 0.
21826 as_fn_error ()
21828 as_status=$1; test $as_status -eq 0 && as_status=1
21829 if test "$4"; then
21830 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21831 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21833 $as_echo "$as_me: error: $2" >&2
21834 as_fn_exit $as_status
21835 } # as_fn_error
21838 # as_fn_set_status STATUS
21839 # -----------------------
21840 # Set $? to STATUS, without forking.
21841 as_fn_set_status ()
21843 return $1
21844 } # as_fn_set_status
21846 # as_fn_exit STATUS
21847 # -----------------
21848 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21849 as_fn_exit ()
21851 set +e
21852 as_fn_set_status $1
21853 exit $1
21854 } # as_fn_exit
21856 # as_fn_unset VAR
21857 # ---------------
21858 # Portably unset VAR.
21859 as_fn_unset ()
21861 { eval $1=; unset $1;}
21863 as_unset=as_fn_unset
21864 # as_fn_append VAR VALUE
21865 # ----------------------
21866 # Append the text in VALUE to the end of the definition contained in VAR. Take
21867 # advantage of any shell optimizations that allow amortized linear growth over
21868 # repeated appends, instead of the typical quadratic growth present in naive
21869 # implementations.
21870 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21871 eval 'as_fn_append ()
21873 eval $1+=\$2
21875 else
21876 as_fn_append ()
21878 eval $1=\$$1\$2
21880 fi # as_fn_append
21882 # as_fn_arith ARG...
21883 # ------------------
21884 # Perform arithmetic evaluation on the ARGs, and store the result in the
21885 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21886 # must be portable across $(()) and expr.
21887 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21888 eval 'as_fn_arith ()
21890 as_val=$(( $* ))
21892 else
21893 as_fn_arith ()
21895 as_val=`expr "$@" || test $? -eq 1`
21897 fi # as_fn_arith
21900 if expr a : '\(a\)' >/dev/null 2>&1 &&
21901 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21902 as_expr=expr
21903 else
21904 as_expr=false
21907 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21908 as_basename=basename
21909 else
21910 as_basename=false
21913 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21914 as_dirname=dirname
21915 else
21916 as_dirname=false
21919 as_me=`$as_basename -- "$0" ||
21920 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21921 X"$0" : 'X\(//\)$' \| \
21922 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21923 $as_echo X/"$0" |
21924 sed '/^.*\/\([^/][^/]*\)\/*$/{
21925 s//\1/
21928 /^X\/\(\/\/\)$/{
21929 s//\1/
21932 /^X\/\(\/\).*/{
21933 s//\1/
21936 s/.*/./; q'`
21938 # Avoid depending upon Character Ranges.
21939 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21940 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21941 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21942 as_cr_digits='0123456789'
21943 as_cr_alnum=$as_cr_Letters$as_cr_digits
21945 ECHO_C= ECHO_N= ECHO_T=
21946 case `echo -n x` in #(((((
21947 -n*)
21948 case `echo 'xy\c'` in
21949 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21950 xy) ECHO_C='\c';;
21951 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21952 ECHO_T=' ';;
21953 esac;;
21955 ECHO_N='-n';;
21956 esac
21958 rm -f conf$$ conf$$.exe conf$$.file
21959 if test -d conf$$.dir; then
21960 rm -f conf$$.dir/conf$$.file
21961 else
21962 rm -f conf$$.dir
21963 mkdir conf$$.dir 2>/dev/null
21965 if (echo >conf$$.file) 2>/dev/null; then
21966 if ln -s conf$$.file conf$$ 2>/dev/null; then
21967 as_ln_s='ln -s'
21968 # ... but there are two gotchas:
21969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21971 # In both cases, we have to default to `cp -pR'.
21972 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21973 as_ln_s='cp -pR'
21974 elif ln conf$$.file conf$$ 2>/dev/null; then
21975 as_ln_s=ln
21976 else
21977 as_ln_s='cp -pR'
21979 else
21980 as_ln_s='cp -pR'
21982 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21983 rmdir conf$$.dir 2>/dev/null
21986 # as_fn_mkdir_p
21987 # -------------
21988 # Create "$as_dir" as a directory, including parents if necessary.
21989 as_fn_mkdir_p ()
21992 case $as_dir in #(
21993 -*) as_dir=./$as_dir;;
21994 esac
21995 test -d "$as_dir" || eval $as_mkdir_p || {
21996 as_dirs=
21997 while :; do
21998 case $as_dir in #(
21999 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22000 *) as_qdir=$as_dir;;
22001 esac
22002 as_dirs="'$as_qdir' $as_dirs"
22003 as_dir=`$as_dirname -- "$as_dir" ||
22004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22005 X"$as_dir" : 'X\(//\)[^/]' \| \
22006 X"$as_dir" : 'X\(//\)$' \| \
22007 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22008 $as_echo X"$as_dir" |
22009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22010 s//\1/
22013 /^X\(\/\/\)[^/].*/{
22014 s//\1/
22017 /^X\(\/\/\)$/{
22018 s//\1/
22021 /^X\(\/\).*/{
22022 s//\1/
22025 s/.*/./; q'`
22026 test -d "$as_dir" && break
22027 done
22028 test -z "$as_dirs" || eval "mkdir $as_dirs"
22029 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22032 } # as_fn_mkdir_p
22033 if mkdir -p . 2>/dev/null; then
22034 as_mkdir_p='mkdir -p "$as_dir"'
22035 else
22036 test -d ./-p && rmdir ./-p
22037 as_mkdir_p=false
22041 # as_fn_executable_p FILE
22042 # -----------------------
22043 # Test if FILE is an executable regular file.
22044 as_fn_executable_p ()
22046 test -f "$1" && test -x "$1"
22047 } # as_fn_executable_p
22048 as_test_x='test -x'
22049 as_executable_p=as_fn_executable_p
22051 # Sed expression to map a string onto a valid CPP name.
22052 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22054 # Sed expression to map a string onto a valid variable name.
22055 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22058 exec 6>&1
22059 ## ----------------------------------- ##
22060 ## Main body of $CONFIG_STATUS script. ##
22061 ## ----------------------------------- ##
22062 _ASEOF
22063 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22066 # Save the log message, to keep $0 and so on meaningful, and to
22067 # report actual input values of CONFIG_FILES etc. instead of their
22068 # values after options handling.
22069 ac_log="
22070 This file was extended by Wine $as_me 5.13, which was
22071 generated by GNU Autoconf 2.69. Invocation command line was
22073 CONFIG_FILES = $CONFIG_FILES
22074 CONFIG_HEADERS = $CONFIG_HEADERS
22075 CONFIG_LINKS = $CONFIG_LINKS
22076 CONFIG_COMMANDS = $CONFIG_COMMANDS
22077 $ $0 $@
22079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22082 _ACEOF
22084 case $ac_config_files in *"
22085 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22086 esac
22088 case $ac_config_headers in *"
22089 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22090 esac
22093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22094 # Files that config.status was made for.
22095 config_files="$ac_config_files"
22096 config_headers="$ac_config_headers"
22097 config_links="$ac_config_links"
22098 config_commands="$ac_config_commands"
22100 _ACEOF
22102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22103 ac_cs_usage="\
22104 \`$as_me' instantiates files and other configuration actions
22105 from templates according to the current configuration. Unless the files
22106 and actions are specified as TAGs, all are instantiated by default.
22108 Usage: $0 [OPTION]... [TAG]...
22110 -h, --help print this help, then exit
22111 -V, --version print version number and configuration settings, then exit
22112 --config print configuration, then exit
22113 -q, --quiet, --silent
22114 do not print progress messages
22115 -d, --debug don't remove temporary files
22116 --recheck update $as_me by reconfiguring in the same conditions
22117 --file=FILE[:TEMPLATE]
22118 instantiate the configuration file FILE
22119 --header=FILE[:TEMPLATE]
22120 instantiate the configuration header FILE
22122 Configuration files:
22123 $config_files
22125 Configuration headers:
22126 $config_headers
22128 Configuration links:
22129 $config_links
22131 Configuration commands:
22132 $config_commands
22134 Report bugs to <wine-devel@winehq.org>.
22135 Wine home page: <https://www.winehq.org>."
22137 _ACEOF
22138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22139 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22140 ac_cs_version="\\
22141 Wine config.status 5.13
22142 configured by $0, generated by GNU Autoconf 2.69,
22143 with options \\"\$ac_cs_config\\"
22145 Copyright (C) 2012 Free Software Foundation, Inc.
22146 This config.status script is free software; the Free Software Foundation
22147 gives unlimited permission to copy, distribute and modify it."
22149 ac_pwd='$ac_pwd'
22150 srcdir='$srcdir'
22151 test -n "\$AWK" || AWK=awk
22152 _ACEOF
22154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22155 # The default lists apply if the user does not specify any file.
22156 ac_need_defaults=:
22157 while test $# != 0
22159 case $1 in
22160 --*=?*)
22161 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22162 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22163 ac_shift=:
22165 --*=)
22166 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22167 ac_optarg=
22168 ac_shift=:
22171 ac_option=$1
22172 ac_optarg=$2
22173 ac_shift=shift
22175 esac
22177 case $ac_option in
22178 # Handling of the options.
22179 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22180 ac_cs_recheck=: ;;
22181 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22182 $as_echo "$ac_cs_version"; exit ;;
22183 --config | --confi | --conf | --con | --co | --c )
22184 $as_echo "$ac_cs_config"; exit ;;
22185 --debug | --debu | --deb | --de | --d | -d )
22186 debug=: ;;
22187 --file | --fil | --fi | --f )
22188 $ac_shift
22189 case $ac_optarg in
22190 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22191 '') as_fn_error $? "missing file argument" ;;
22192 esac
22193 as_fn_append CONFIG_FILES " '$ac_optarg'"
22194 ac_need_defaults=false;;
22195 --header | --heade | --head | --hea )
22196 $ac_shift
22197 case $ac_optarg in
22198 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22199 esac
22200 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22201 ac_need_defaults=false;;
22202 --he | --h)
22203 # Conflict between --help and --header
22204 as_fn_error $? "ambiguous option: \`$1'
22205 Try \`$0 --help' for more information.";;
22206 --help | --hel | -h )
22207 $as_echo "$ac_cs_usage"; exit ;;
22208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22209 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22210 ac_cs_silent=: ;;
22212 # This is an error.
22213 -*) as_fn_error $? "unrecognized option: \`$1'
22214 Try \`$0 --help' for more information." ;;
22216 *) as_fn_append ac_config_targets " $1"
22217 ac_need_defaults=false ;;
22219 esac
22220 shift
22221 done
22223 ac_configure_extra_args=
22225 if $ac_cs_silent; then
22226 exec 6>/dev/null
22227 ac_configure_extra_args="$ac_configure_extra_args --silent"
22230 _ACEOF
22231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22232 if \$ac_cs_recheck; then
22233 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22234 shift
22235 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22236 CONFIG_SHELL='$SHELL'
22237 export CONFIG_SHELL
22238 exec "\$@"
22241 _ACEOF
22242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22243 exec 5>>config.log
22245 echo
22246 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22247 ## Running $as_me. ##
22248 _ASBOX
22249 $as_echo "$ac_log"
22250 } >&5
22252 _ACEOF
22253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22255 # INIT-COMMANDS
22257 wine_fn_output_makedep ()
22259 as_dir=tools; as_fn_mkdir_p
22260 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22262 wine_fn_output_makefile ()
22264 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22265 `cat $wine_rules_file`
22266 _WINE_EOF
22267 as_fn_error $? "could not create Makefile" "$LINENO" 5
22270 _ACEOF
22272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22274 # Handling of arguments.
22275 for ac_config_target in $ac_config_targets
22277 case $ac_config_target in
22278 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22279 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22280 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22281 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22282 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22283 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22284 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22286 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22287 esac
22288 done
22291 # If the user did not use the arguments to specify the items to instantiate,
22292 # then the envvar interface is used. Set only those that are not.
22293 # We use the long form for the default assignment because of an extremely
22294 # bizarre bug on SunOS 4.1.3.
22295 if $ac_need_defaults; then
22296 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22297 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22298 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22299 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22302 # Have a temporary directory for convenience. Make it in the build tree
22303 # simply because there is no reason against having it here, and in addition,
22304 # creating and moving files from /tmp can sometimes cause problems.
22305 # Hook for its removal unless debugging.
22306 # Note that there is a small window in which the directory will not be cleaned:
22307 # after its creation but before its name has been assigned to `$tmp'.
22308 $debug ||
22310 tmp= ac_tmp=
22311 trap 'exit_status=$?
22312 : "${ac_tmp:=$tmp}"
22313 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22315 trap 'as_fn_exit 1' 1 2 13 15
22317 # Create a (secure) tmp directory for tmp files.
22320 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22321 test -d "$tmp"
22322 } ||
22324 tmp=./conf$$-$RANDOM
22325 (umask 077 && mkdir "$tmp")
22326 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22327 ac_tmp=$tmp
22329 # Set up the scripts for CONFIG_FILES section.
22330 # No need to generate them if there are no CONFIG_FILES.
22331 # This happens for instance with `./config.status config.h'.
22332 if test -n "$CONFIG_FILES"; then
22335 ac_cr=`echo X | tr X '\015'`
22336 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22337 # But we know of no other shell where ac_cr would be empty at this
22338 # point, so we can use a bashism as a fallback.
22339 if test "x$ac_cr" = x; then
22340 eval ac_cr=\$\'\\r\'
22342 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22343 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22344 ac_cs_awk_cr='\\r'
22345 else
22346 ac_cs_awk_cr=$ac_cr
22349 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22350 _ACEOF
22354 echo "cat >conf$$subs.awk <<_ACEOF" &&
22355 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22356 echo "_ACEOF"
22357 } >conf$$subs.sh ||
22358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22359 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22360 ac_delim='%!_!# '
22361 for ac_last_try in false false false false false :; do
22362 . ./conf$$subs.sh ||
22363 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22365 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22366 if test $ac_delim_n = $ac_delim_num; then
22367 break
22368 elif $ac_last_try; then
22369 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22370 else
22371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22373 done
22374 rm -f conf$$subs.sh
22376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22377 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22378 _ACEOF
22379 sed -n '
22381 s/^/S["/; s/!.*/"]=/
22384 s/^[^!]*!//
22385 :repl
22386 t repl
22387 s/'"$ac_delim"'$//
22388 t delim
22391 s/\(.\{148\}\)..*/\1/
22392 t more1
22393 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22396 b repl
22397 :more1
22398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22401 s/.\{148\}//
22402 t nl
22403 :delim
22405 s/\(.\{148\}\)..*/\1/
22406 t more2
22407 s/["\\]/\\&/g; s/^/"/; s/$/"/
22410 :more2
22411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22414 s/.\{148\}//
22415 t delim
22416 ' <conf$$subs.awk | sed '
22417 /^[^""]/{
22419 s/\n//
22421 ' >>$CONFIG_STATUS || ac_write_fail=1
22422 rm -f conf$$subs.awk
22423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22424 _ACAWK
22425 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22426 for (key in S) S_is_set[key] = 1
22427 FS = "\a"
22431 line = $ 0
22432 nfields = split(line, field, "@")
22433 substed = 0
22434 len = length(field[1])
22435 for (i = 2; i < nfields; i++) {
22436 key = field[i]
22437 keylen = length(key)
22438 if (S_is_set[key]) {
22439 value = S[key]
22440 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22441 len += length(value) + length(field[++i])
22442 substed = 1
22443 } else
22444 len += 1 + keylen
22447 print line
22450 _ACAWK
22451 _ACEOF
22452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22453 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22454 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22455 else
22457 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22458 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22459 _ACEOF
22461 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22462 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22463 # trailing colons and then remove the whole line if VPATH becomes empty
22464 # (actually we leave an empty line to preserve line numbers).
22465 if test "x$srcdir" = x.; then
22466 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22468 s///
22469 s/^/:/
22470 s/[ ]*$/:/
22471 s/:\$(srcdir):/:/g
22472 s/:\${srcdir}:/:/g
22473 s/:@srcdir@:/:/g
22474 s/^:*//
22475 s/:*$//
22477 s/\(=[ ]*\).*/\1/
22479 s/\n//
22480 s/^[^=]*=[ ]*$//
22484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22485 fi # test -n "$CONFIG_FILES"
22487 # Set up the scripts for CONFIG_HEADERS section.
22488 # No need to generate them if there are no CONFIG_HEADERS.
22489 # This happens for instance with `./config.status Makefile'.
22490 if test -n "$CONFIG_HEADERS"; then
22491 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22492 BEGIN {
22493 _ACEOF
22495 # Transform confdefs.h into an awk script `defines.awk', embedded as
22496 # here-document in config.status, that substitutes the proper values into
22497 # config.h.in to produce config.h.
22499 # Create a delimiter string that does not exist in confdefs.h, to ease
22500 # handling of long lines.
22501 ac_delim='%!_!# '
22502 for ac_last_try in false false :; do
22503 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22504 if test -z "$ac_tt"; then
22505 break
22506 elif $ac_last_try; then
22507 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22508 else
22509 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22511 done
22513 # For the awk script, D is an array of macro values keyed by name,
22514 # likewise P contains macro parameters if any. Preserve backslash
22515 # newline sequences.
22517 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22518 sed -n '
22519 s/.\{148\}/&'"$ac_delim"'/g
22520 t rset
22521 :rset
22522 s/^[ ]*#[ ]*define[ ][ ]*/ /
22523 t def
22525 :def
22526 s/\\$//
22527 t bsnl
22528 s/["\\]/\\&/g
22529 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22530 D["\1"]=" \3"/p
22531 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22533 :bsnl
22534 s/["\\]/\\&/g
22535 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22536 D["\1"]=" \3\\\\\\n"\\/p
22537 t cont
22538 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22539 t cont
22541 :cont
22543 s/.\{148\}/&'"$ac_delim"'/g
22544 t clear
22545 :clear
22546 s/\\$//
22547 t bsnlc
22548 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22550 :bsnlc
22551 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22552 b cont
22553 ' <confdefs.h | sed '
22554 s/'"$ac_delim"'/"\\\
22555 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22558 for (key in D) D_is_set[key] = 1
22559 FS = "\a"
22561 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22562 line = \$ 0
22563 split(line, arg, " ")
22564 if (arg[1] == "#") {
22565 defundef = arg[2]
22566 mac1 = arg[3]
22567 } else {
22568 defundef = substr(arg[1], 2)
22569 mac1 = arg[2]
22571 split(mac1, mac2, "(") #)
22572 macro = mac2[1]
22573 prefix = substr(line, 1, index(line, defundef) - 1)
22574 if (D_is_set[macro]) {
22575 # Preserve the white space surrounding the "#".
22576 print prefix "define", macro P[macro] D[macro]
22577 next
22578 } else {
22579 # Replace #undef with comments. This is necessary, for example,
22580 # in the case of _POSIX_SOURCE, which is predefined and required
22581 # on some systems where configure will not decide to define it.
22582 if (defundef == "undef") {
22583 print "/*", prefix defundef, macro, "*/"
22584 next
22588 { print }
22589 _ACAWK
22590 _ACEOF
22591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22592 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22593 fi # test -n "$CONFIG_HEADERS"
22596 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22597 shift
22598 for ac_tag
22600 case $ac_tag in
22601 :[FHLC]) ac_mode=$ac_tag; continue;;
22602 esac
22603 case $ac_mode$ac_tag in
22604 :[FHL]*:*);;
22605 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22606 :[FH]-) ac_tag=-:-;;
22607 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22608 esac
22609 ac_save_IFS=$IFS
22610 IFS=:
22611 set x $ac_tag
22612 IFS=$ac_save_IFS
22613 shift
22614 ac_file=$1
22615 shift
22617 case $ac_mode in
22618 :L) ac_source=$1;;
22619 :[FH])
22620 ac_file_inputs=
22621 for ac_f
22623 case $ac_f in
22624 -) ac_f="$ac_tmp/stdin";;
22625 *) # Look for the file first in the build tree, then in the source tree
22626 # (if the path is not absolute). The absolute path cannot be DOS-style,
22627 # because $ac_f cannot contain `:'.
22628 test -f "$ac_f" ||
22629 case $ac_f in
22630 [\\/$]*) false;;
22631 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22632 esac ||
22633 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22634 esac
22635 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22636 as_fn_append ac_file_inputs " '$ac_f'"
22637 done
22639 # Let's still pretend it is `configure' which instantiates (i.e., don't
22640 # use $as_me), people would be surprised to read:
22641 # /* config.h. Generated by config.status. */
22642 configure_input='Generated from '`
22643 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22644 `' by configure.'
22645 if test x"$ac_file" != x-; then
22646 configure_input="$ac_file. $configure_input"
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22648 $as_echo "$as_me: creating $ac_file" >&6;}
22650 # Neutralize special characters interpreted by sed in replacement strings.
22651 case $configure_input in #(
22652 *\&* | *\|* | *\\* )
22653 ac_sed_conf_input=`$as_echo "$configure_input" |
22654 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22655 *) ac_sed_conf_input=$configure_input;;
22656 esac
22658 case $ac_tag in
22659 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22661 esac
22663 esac
22665 ac_dir=`$as_dirname -- "$ac_file" ||
22666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22667 X"$ac_file" : 'X\(//\)[^/]' \| \
22668 X"$ac_file" : 'X\(//\)$' \| \
22669 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22670 $as_echo X"$ac_file" |
22671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22672 s//\1/
22675 /^X\(\/\/\)[^/].*/{
22676 s//\1/
22679 /^X\(\/\/\)$/{
22680 s//\1/
22683 /^X\(\/\).*/{
22684 s//\1/
22687 s/.*/./; q'`
22688 as_dir="$ac_dir"; as_fn_mkdir_p
22689 ac_builddir=.
22691 case "$ac_dir" in
22692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22694 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22695 # A ".." for each directory in $ac_dir_suffix.
22696 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22697 case $ac_top_builddir_sub in
22698 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22699 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22700 esac ;;
22701 esac
22702 ac_abs_top_builddir=$ac_pwd
22703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22704 # for backward compatibility:
22705 ac_top_builddir=$ac_top_build_prefix
22707 case $srcdir in
22708 .) # We are building in place.
22709 ac_srcdir=.
22710 ac_top_srcdir=$ac_top_builddir_sub
22711 ac_abs_top_srcdir=$ac_pwd ;;
22712 [\\/]* | ?:[\\/]* ) # Absolute name.
22713 ac_srcdir=$srcdir$ac_dir_suffix;
22714 ac_top_srcdir=$srcdir
22715 ac_abs_top_srcdir=$srcdir ;;
22716 *) # Relative name.
22717 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22718 ac_top_srcdir=$ac_top_build_prefix$srcdir
22719 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22720 esac
22721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22724 case $ac_mode in
22727 # CONFIG_FILE
22730 _ACEOF
22732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22733 # If the template does not know about datarootdir, expand it.
22734 # FIXME: This hack should be removed a few years after 2.60.
22735 ac_datarootdir_hack=; ac_datarootdir_seen=
22736 ac_sed_dataroot='
22737 /datarootdir/ {
22741 /@datadir@/p
22742 /@docdir@/p
22743 /@infodir@/p
22744 /@localedir@/p
22745 /@mandir@/p'
22746 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22747 *datarootdir*) ac_datarootdir_seen=yes;;
22748 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22750 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22751 _ACEOF
22752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22753 ac_datarootdir_hack='
22754 s&@datadir@&$datadir&g
22755 s&@docdir@&$docdir&g
22756 s&@infodir@&$infodir&g
22757 s&@localedir@&$localedir&g
22758 s&@mandir@&$mandir&g
22759 s&\\\${datarootdir}&$datarootdir&g' ;;
22760 esac
22761 _ACEOF
22763 # Neutralize VPATH when `$srcdir' = `.'.
22764 # Shell code in configure.ac might set extrasub.
22765 # FIXME: do we really want to maintain this feature?
22766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22767 ac_sed_extra="$ac_vpsub
22768 $extrasub
22769 _ACEOF
22770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22773 s|@configure_input@|$ac_sed_conf_input|;t t
22774 s&@top_builddir@&$ac_top_builddir_sub&;t t
22775 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22776 s&@srcdir@&$ac_srcdir&;t t
22777 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22778 s&@top_srcdir@&$ac_top_srcdir&;t t
22779 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22780 s&@builddir@&$ac_builddir&;t t
22781 s&@abs_builddir@&$ac_abs_builddir&;t t
22782 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22783 $ac_datarootdir_hack
22785 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22786 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22788 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22789 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22790 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22791 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22793 which seems to be undefined. Please make sure it is defined" >&5
22794 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22795 which seems to be undefined. Please make sure it is defined" >&2;}
22797 rm -f "$ac_tmp/stdin"
22798 case $ac_file in
22799 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22800 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22801 esac \
22802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22806 # CONFIG_HEADER
22808 if test x"$ac_file" != x-; then
22810 $as_echo "/* $configure_input */" \
22811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22812 } >"$ac_tmp/config.h" \
22813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22814 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22816 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22817 else
22818 rm -f "$ac_file"
22819 mv "$ac_tmp/config.h" "$ac_file" \
22820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22822 else
22823 $as_echo "/* $configure_input */" \
22824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22825 || as_fn_error $? "could not create -" "$LINENO" 5
22830 # CONFIG_LINK
22833 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22835 else
22836 # Prefer the file from the source tree if names are identical.
22837 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22838 ac_source=$srcdir/$ac_source
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22842 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22844 if test ! -r "$ac_source"; then
22845 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22847 rm -f "$ac_file"
22849 # Try a relative symlink, then a hard link, then a copy.
22850 case $ac_source in
22851 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22852 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22853 esac
22854 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22855 ln "$ac_source" "$ac_file" 2>/dev/null ||
22856 cp -p "$ac_source" "$ac_file" ||
22857 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22860 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22861 $as_echo "$as_me: executing $ac_file commands" >&6;}
22863 esac
22866 case $ac_file$ac_mode in
22867 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22868 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22869 "Makefile":C) wine_fn_output_makefile Makefile ;;
22871 esac
22872 done # for ac_tag
22875 as_fn_exit 0
22876 _ACEOF
22877 ac_clean_files=$ac_clean_files_save
22879 test $ac_write_fail = 0 ||
22880 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22883 # configure is writing to config.log, and then calls config.status.
22884 # config.status does its own redirection, appending to config.log.
22885 # Unfortunately, on DOS this fails, as config.log is still kept open
22886 # by configure, so config.status won't be able to write to it; its
22887 # output is simply discarded. So we exec the FD to /dev/null,
22888 # effectively closing config.log, so it can be properly (re)opened and
22889 # appended to by config.status. When coming back to configure, we
22890 # need to make the FD available again.
22891 if test "$no_create" != yes; then
22892 ac_cs_success=:
22893 ac_config_status_args=
22894 test "$silent" = yes &&
22895 ac_config_status_args="$ac_config_status_args --quiet"
22896 exec 5>/dev/null
22897 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22898 exec 5>>config.log
22899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22900 # would make configure fail if this is the last instruction.
22901 $ac_cs_success || as_fn_exit 1
22903 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22905 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22909 if test "$no_create" = "yes"
22910 then
22911 exit 0
22914 ac_save_IFS="$IFS"
22915 if test "x$wine_notices" != x; then
22916 echo >&6
22917 IFS="|"
22918 for msg in $wine_notices; do
22919 IFS="$ac_save_IFS"
22920 if ${msg:+false} :; then :
22922 else
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22924 $as_echo "$as_me: $msg" >&6;}
22926 done
22928 IFS="|"
22929 for msg in $wine_warnings; do
22930 IFS="$ac_save_IFS"
22931 if ${msg:+false} :; then :
22933 else
22934 echo >&2
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22936 $as_echo "$as_me: WARNING: $msg" >&2;}
22938 done
22939 IFS="$ac_save_IFS"
22941 $as_echo "
22942 $as_me: Finished. Do '${ac_make}' to compile Wine.
22943 " >&6