kernelbase: Align stack in GetProcAddress() on x64.
[wine/zf.git] / configure
blob2686af022326d489d9d00805189e4fe6cb739823
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.20.
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.20'
584 PACKAGE_STRING='Wine 5.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
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_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
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_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d9
1193 enable_d3dcompiler_33
1194 enable_d3dcompiler_34
1195 enable_d3dcompiler_35
1196 enable_d3dcompiler_36
1197 enable_d3dcompiler_37
1198 enable_d3dcompiler_38
1199 enable_d3dcompiler_39
1200 enable_d3dcompiler_40
1201 enable_d3dcompiler_41
1202 enable_d3dcompiler_42
1203 enable_d3dcompiler_43
1204 enable_d3dcompiler_46
1205 enable_d3dcompiler_47
1206 enable_d3dim
1207 enable_d3drm
1208 enable_d3dx10_33
1209 enable_d3dx10_34
1210 enable_d3dx10_35
1211 enable_d3dx10_36
1212 enable_d3dx10_37
1213 enable_d3dx10_38
1214 enable_d3dx10_39
1215 enable_d3dx10_40
1216 enable_d3dx10_41
1217 enable_d3dx10_42
1218 enable_d3dx10_43
1219 enable_d3dx11_42
1220 enable_d3dx11_43
1221 enable_d3dx9_24
1222 enable_d3dx9_25
1223 enable_d3dx9_26
1224 enable_d3dx9_27
1225 enable_d3dx9_28
1226 enable_d3dx9_29
1227 enable_d3dx9_30
1228 enable_d3dx9_31
1229 enable_d3dx9_32
1230 enable_d3dx9_33
1231 enable_d3dx9_34
1232 enable_d3dx9_35
1233 enable_d3dx9_36
1234 enable_d3dx9_37
1235 enable_d3dx9_38
1236 enable_d3dx9_39
1237 enable_d3dx9_40
1238 enable_d3dx9_41
1239 enable_d3dx9_42
1240 enable_d3dx9_43
1241 enable_d3dxof
1242 enable_davclnt
1243 enable_dbgeng
1244 enable_dbghelp
1245 enable_dciman32
1246 enable_ddraw
1247 enable_ddrawex
1248 enable_devenum
1249 enable_dhcpcsvc
1250 enable_dhtmled_ocx
1251 enable_difxapi
1252 enable_dinput
1253 enable_dinput8
1254 enable_directmanipulation
1255 enable_dispex
1256 enable_dmband
1257 enable_dmcompos
1258 enable_dmime
1259 enable_dmloader
1260 enable_dmoguids
1261 enable_dmscript
1262 enable_dmstyle
1263 enable_dmsynth
1264 enable_dmusic
1265 enable_dmusic32
1266 enable_dnsapi
1267 enable_dplay
1268 enable_dplayx
1269 enable_dpnaddr
1270 enable_dpnet
1271 enable_dpnhpast
1272 enable_dpnlobby
1273 enable_dpvoice
1274 enable_dpwsockx
1275 enable_drmclien
1276 enable_dsdmo
1277 enable_dsound
1278 enable_dsquery
1279 enable_dssenh
1280 enable_dsuiext
1281 enable_dswave
1282 enable_dwmapi
1283 enable_dwrite
1284 enable_dx8vb
1285 enable_dxdiagn
1286 enable_dxerr8
1287 enable_dxerr9
1288 enable_dxgi
1289 enable_dxguid
1290 enable_dxva2
1291 enable_esent
1292 enable_evr
1293 enable_explorerframe
1294 enable_ext_ms_win_authz_context_l1_1_0
1295 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1296 enable_ext_ms_win_dwmapi_ext_l1_1_0
1297 enable_ext_ms_win_gdi_dc_create_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_1
1299 enable_ext_ms_win_gdi_dc_l1_2_0
1300 enable_ext_ms_win_gdi_devcaps_l1_1_0
1301 enable_ext_ms_win_gdi_draw_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_1
1303 enable_ext_ms_win_gdi_font_l1_1_0
1304 enable_ext_ms_win_gdi_font_l1_1_1
1305 enable_ext_ms_win_gdi_render_l1_1_0
1306 enable_ext_ms_win_kernel32_package_current_l1_1_0
1307 enable_ext_ms_win_kernel32_package_l1_1_1
1308 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1309 enable_ext_ms_win_ntuser_draw_l1_1_0
1310 enable_ext_ms_win_ntuser_gui_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_3_0
1312 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1313 enable_ext_ms_win_ntuser_message_l1_1_0
1314 enable_ext_ms_win_ntuser_message_l1_1_1
1315 enable_ext_ms_win_ntuser_misc_l1_1_0
1316 enable_ext_ms_win_ntuser_misc_l1_2_0
1317 enable_ext_ms_win_ntuser_misc_l1_5_1
1318 enable_ext_ms_win_ntuser_mouse_l1_1_0
1319 enable_ext_ms_win_ntuser_private_l1_1_1
1320 enable_ext_ms_win_ntuser_private_l1_3_1
1321 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1322 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_window_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_1
1325 enable_ext_ms_win_ntuser_window_l1_1_4
1326 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1328 enable_ext_ms_win_oleacc_l1_1_0
1329 enable_ext_ms_win_ras_rasapi32_l1_1_0
1330 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1337 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1340 enable_ext_ms_win_security_credui_l1_1_0
1341 enable_ext_ms_win_security_cryptui_l1_1_0
1342 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1343 enable_ext_ms_win_shell_comdlg32_l1_1_0
1344 enable_ext_ms_win_shell_shell32_l1_2_0
1345 enable_ext_ms_win_uxtheme_themes_l1_1_0
1346 enable_faultrep
1347 enable_feclient
1348 enable_fltlib
1349 enable_fltmgr_sys
1350 enable_fntcache
1351 enable_fontsub
1352 enable_fusion
1353 enable_fwpuclnt
1354 enable_gameux
1355 enable_gdi32
1356 enable_gdiplus
1357 enable_glu32
1358 enable_gphoto2_ds
1359 enable_gpkcsp
1360 enable_hal
1361 enable_hhctrl_ocx
1362 enable_hid
1363 enable_hidclass_sys
1364 enable_hlink
1365 enable_hnetcfg
1366 enable_http_sys
1367 enable_httpapi
1368 enable_iccvid
1369 enable_icmp
1370 enable_ieframe
1371 enable_ieproxy
1372 enable_imaadp32_acm
1373 enable_imagehlp
1374 enable_imm32
1375 enable_inetcomm
1376 enable_inetcpl_cpl
1377 enable_inetmib1
1378 enable_infosoft
1379 enable_initpki
1380 enable_inkobj
1381 enable_inseng
1382 enable_iphlpapi
1383 enable_iprop
1384 enable_irprops_cpl
1385 enable_itircl
1386 enable_itss
1387 enable_joy_cpl
1388 enable_jscript
1389 enable_jsproxy
1390 enable_kerberos
1391 enable_kernel32
1392 enable_kernelbase
1393 enable_ksecdd_sys
1394 enable_ksproxy_ax
1395 enable_ksuser
1396 enable_ktmw32
1397 enable_l3codeca_acm
1398 enable_loadperf
1399 enable_localspl
1400 enable_localui
1401 enable_lz32
1402 enable_mapi32
1403 enable_mapistub
1404 enable_mciavi32
1405 enable_mcicda
1406 enable_mciqtz32
1407 enable_mciseq
1408 enable_mciwave
1409 enable_mf
1410 enable_mf3216
1411 enable_mferror
1412 enable_mfmediaengine
1413 enable_mfplat
1414 enable_mfplay
1415 enable_mfreadwrite
1416 enable_mfuuid
1417 enable_mgmtapi
1418 enable_midimap
1419 enable_mlang
1420 enable_mmcndmgr
1421 enable_mmdevapi
1422 enable_mountmgr_sys
1423 enable_mp3dmod
1424 enable_mpr
1425 enable_mprapi
1426 enable_msacm32_drv
1427 enable_msacm32
1428 enable_msado15
1429 enable_msadp32_acm
1430 enable_msasn1
1431 enable_mscat32
1432 enable_mscms
1433 enable_mscoree
1434 enable_mscorwks
1435 enable_msctf
1436 enable_msctfp
1437 enable_msdaps
1438 enable_msdelta
1439 enable_msdmo
1440 enable_msdrm
1441 enable_msftedit
1442 enable_msg711_acm
1443 enable_msgsm32_acm
1444 enable_mshtml_tlb
1445 enable_mshtml
1446 enable_msi
1447 enable_msident
1448 enable_msimg32
1449 enable_msimsg
1450 enable_msimtf
1451 enable_msisip
1452 enable_msisys_ocx
1453 enable_msls31
1454 enable_msnet32
1455 enable_mspatcha
1456 enable_msports
1457 enable_msrle32
1458 enable_msscript_ocx
1459 enable_mssign32
1460 enable_mssip32
1461 enable_mstask
1462 enable_msvcirt
1463 enable_msvcm80
1464 enable_msvcm90
1465 enable_msvcp100
1466 enable_msvcp110
1467 enable_msvcp120
1468 enable_msvcp120_app
1469 enable_msvcp140
1470 enable_msvcp140_1
1471 enable_msvcp60
1472 enable_msvcp70
1473 enable_msvcp71
1474 enable_msvcp80
1475 enable_msvcp90
1476 enable_msvcr100
1477 enable_msvcr110
1478 enable_msvcr120
1479 enable_msvcr120_app
1480 enable_msvcr70
1481 enable_msvcr71
1482 enable_msvcr80
1483 enable_msvcr90
1484 enable_msvcrt
1485 enable_msvcrt20
1486 enable_msvcrt40
1487 enable_msvcrtd
1488 enable_msvfw32
1489 enable_msvidc32
1490 enable_mswsock
1491 enable_msxml
1492 enable_msxml2
1493 enable_msxml3
1494 enable_msxml4
1495 enable_msxml6
1496 enable_mtxdm
1497 enable_ncrypt
1498 enable_nddeapi
1499 enable_ndis_sys
1500 enable_netapi32
1501 enable_netcfgx
1502 enable_netio_sys
1503 enable_netprofm
1504 enable_newdev
1505 enable_ninput
1506 enable_normaliz
1507 enable_npmshtml
1508 enable_npptools
1509 enable_ntdll
1510 enable_ntdsapi
1511 enable_ntoskrnl_exe
1512 enable_ntprint
1513 enable_objsel
1514 enable_odbc32
1515 enable_odbcbcp
1516 enable_odbccp32
1517 enable_odbccu32
1518 enable_ole32
1519 enable_oleacc
1520 enable_oleaut32
1521 enable_olecli32
1522 enable_oledb32
1523 enable_oledlg
1524 enable_olepro32
1525 enable_olesvr32
1526 enable_olethk32
1527 enable_opcservices
1528 enable_openal32
1529 enable_opencl
1530 enable_opengl32
1531 enable_packager
1532 enable_pdh
1533 enable_photometadatahandler
1534 enable_pidgen
1535 enable_powrprof
1536 enable_printui
1537 enable_prntvpt
1538 enable_propsys
1539 enable_psapi
1540 enable_pstorec
1541 enable_pwrshplugin
1542 enable_qasf
1543 enable_qcap
1544 enable_qdvd
1545 enable_qedit
1546 enable_qmgr
1547 enable_qmgrprxy
1548 enable_quartz
1549 enable_query
1550 enable_qwave
1551 enable_rasapi32
1552 enable_rasdlg
1553 enable_regapi
1554 enable_resutils
1555 enable_riched20
1556 enable_riched32
1557 enable_rpcrt4
1558 enable_rsabase
1559 enable_rsaenh
1560 enable_rstrtmgr
1561 enable_rtutils
1562 enable_rtworkq
1563 enable_samlib
1564 enable_sane_ds
1565 enable_sapi
1566 enable_sas
1567 enable_scarddlg
1568 enable_sccbase
1569 enable_schannel
1570 enable_schedsvc
1571 enable_scrobj
1572 enable_scrrun
1573 enable_scsiport_sys
1574 enable_sechost
1575 enable_secur32
1576 enable_security
1577 enable_sensapi
1578 enable_serialui
1579 enable_setupapi
1580 enable_sfc
1581 enable_sfc_os
1582 enable_shcore
1583 enable_shdoclc
1584 enable_shdocvw
1585 enable_shell32
1586 enable_shfolder
1587 enable_shlwapi
1588 enable_slbcsp
1589 enable_slc
1590 enable_snmpapi
1591 enable_softpub
1592 enable_spoolss
1593 enable_srclient
1594 enable_sspicli
1595 enable_stdole2_tlb
1596 enable_stdole32_tlb
1597 enable_sti
1598 enable_strmbase
1599 enable_strmdll
1600 enable_strmiids
1601 enable_svrapi
1602 enable_sxs
1603 enable_t2embed
1604 enable_tapi32
1605 enable_taskschd
1606 enable_tdh
1607 enable_tdi_sys
1608 enable_traffic
1609 enable_twain_32
1610 enable_tzres
1611 enable_ucrtbase
1612 enable_uianimation
1613 enable_uiautomationcore
1614 enable_uiribbon
1615 enable_unicows
1616 enable_updspapi
1617 enable_url
1618 enable_urlmon
1619 enable_usbd_sys
1620 enable_user32
1621 enable_userenv
1622 enable_usp10
1623 enable_utildll
1624 enable_uuid
1625 enable_uxtheme
1626 enable_vbscript
1627 enable_vcomp
1628 enable_vcomp100
1629 enable_vcomp110
1630 enable_vcomp120
1631 enable_vcomp140
1632 enable_vcomp90
1633 enable_vcruntime140
1634 enable_vcruntime140_1
1635 enable_vdmdbg
1636 enable_version
1637 enable_vga
1638 enable_virtdisk
1639 enable_vssapi
1640 enable_vulkan_1
1641 enable_wbemdisp
1642 enable_wbemprox
1643 enable_wbemuuid
1644 enable_wdscore
1645 enable_webservices
1646 enable_wer
1647 enable_wevtapi
1648 enable_wevtsvc
1649 enable_wiaservc
1650 enable_wimgapi
1651 enable_windowscodecs
1652 enable_windowscodecsext
1653 enable_winealsa_drv
1654 enable_wineandroid_drv
1655 enable_winebus_sys
1656 enable_winecoreaudio_drv
1657 enable_winecrt0
1658 enable_wined3d
1659 enable_winegstreamer
1660 enable_winehid_sys
1661 enable_winejoystick_drv
1662 enable_winemac_drv
1663 enable_winemapi
1664 enable_wineoss_drv
1665 enable_wineps_drv
1666 enable_winepulse_drv
1667 enable_wineqtdecoder
1668 enable_wineusb_sys
1669 enable_winevulkan
1670 enable_winex11_drv
1671 enable_wing32
1672 enable_winhttp
1673 enable_wininet
1674 enable_winmm
1675 enable_winnls32
1676 enable_winscard
1677 enable_winspool_drv
1678 enable_winsta
1679 enable_wintab32
1680 enable_wintrust
1681 enable_winusb
1682 enable_wlanapi
1683 enable_wlanui
1684 enable_wldap32
1685 enable_wmasf
1686 enable_wmcodecdspuuid
1687 enable_wmi
1688 enable_wmiutils
1689 enable_wmp
1690 enable_wmphoto
1691 enable_wmvcore
1692 enable_wnaspi32
1693 enable_wpc
1694 enable_wpcap
1695 enable_ws2_32
1696 enable_wsdapi
1697 enable_wshom_ocx
1698 enable_wsnmp32
1699 enable_wsock32
1700 enable_wtsapi32
1701 enable_wuapi
1702 enable_wuaueng
1703 enable_x3daudio1_0
1704 enable_x3daudio1_1
1705 enable_x3daudio1_2
1706 enable_x3daudio1_3
1707 enable_x3daudio1_4
1708 enable_x3daudio1_5
1709 enable_x3daudio1_6
1710 enable_x3daudio1_7
1711 enable_xactengine3_0
1712 enable_xactengine3_1
1713 enable_xactengine3_2
1714 enable_xactengine3_3
1715 enable_xactengine3_4
1716 enable_xactengine3_5
1717 enable_xactengine3_6
1718 enable_xactengine3_7
1719 enable_xapofx1_1
1720 enable_xapofx1_2
1721 enable_xapofx1_3
1722 enable_xapofx1_4
1723 enable_xapofx1_5
1724 enable_xaudio2_0
1725 enable_xaudio2_1
1726 enable_xaudio2_2
1727 enable_xaudio2_3
1728 enable_xaudio2_4
1729 enable_xaudio2_5
1730 enable_xaudio2_6
1731 enable_xaudio2_7
1732 enable_xaudio2_8
1733 enable_xaudio2_9
1734 enable_xinput1_1
1735 enable_xinput1_2
1736 enable_xinput1_3
1737 enable_xinput1_4
1738 enable_xinput9_1_0
1739 enable_xmllite
1740 enable_xolehlp
1741 enable_xpsprint
1742 enable_xpssvcs
1743 enable_fonts
1744 enable_include
1745 enable_port
1746 enable_wine
1747 enable_wpp
1748 enable_loader
1749 enable_nls
1750 enable_po
1751 enable_arp
1752 enable_aspnet_regiis
1753 enable_attrib
1754 enable_cabarc
1755 enable_cacls
1756 enable_chcp_com
1757 enable_clock
1758 enable_cmd
1759 enable_conhost
1760 enable_control
1761 enable_cscript
1762 enable_dism
1763 enable_dplaysvr
1764 enable_dpnsvr
1765 enable_dpvsetup
1766 enable_dxdiag
1767 enable_eject
1768 enable_expand
1769 enable_explorer
1770 enable_extrac32
1771 enable_fc
1772 enable_find
1773 enable_findstr
1774 enable_fsutil
1775 enable_hh
1776 enable_hostname
1777 enable_icacls
1778 enable_icinfo
1779 enable_iexplore
1780 enable_ipconfig
1781 enable_lodctr
1782 enable_mofcomp
1783 enable_mshta
1784 enable_msidb
1785 enable_msiexec
1786 enable_msinfo32
1787 enable_net
1788 enable_netsh
1789 enable_netstat
1790 enable_ngen
1791 enable_notepad
1792 enable_oleview
1793 enable_ping
1794 enable_plugplay
1795 enable_powershell
1796 enable_presentationfontcache
1797 enable_progman
1798 enable_reg
1799 enable_regasm
1800 enable_regedit
1801 enable_regini
1802 enable_regsvcs
1803 enable_regsvr32
1804 enable_rpcss
1805 enable_rundll32
1806 enable_sc
1807 enable_schtasks
1808 enable_sdbinst
1809 enable_secedit
1810 enable_servicemodelreg
1811 enable_services
1812 enable_shutdown
1813 enable_spoolsv
1814 enable_start
1815 enable_subst
1816 enable_svchost
1817 enable_systeminfo
1818 enable_taskkill
1819 enable_tasklist
1820 enable_taskmgr
1821 enable_termsv
1822 enable_uninstaller
1823 enable_unlodctr
1824 enable_view
1825 enable_wevtutil
1826 enable_where
1827 enable_whoami
1828 enable_wineboot
1829 enable_winebrowser
1830 enable_winecfg
1831 enable_wineconsole
1832 enable_winedbg
1833 enable_winedevice
1834 enable_winefile
1835 enable_winemenubuilder
1836 enable_winemine
1837 enable_winemsibuilder
1838 enable_winepath
1839 enable_winetest
1840 enable_winhlp32
1841 enable_winmgmt
1842 enable_winver
1843 enable_wmic
1844 enable_wmplayer
1845 enable_wordpad
1846 enable_write
1847 enable_wscript
1848 enable_wuauserv
1849 enable_wusa
1850 enable_xcopy
1851 enable_server
1852 enable_tools
1853 enable_sfnt2fon
1854 enable_widl
1855 enable_winebuild
1856 enable_winedump
1857 enable_winegcc
1858 enable_winemaker
1859 enable_wmc
1860 enable_wrc
1862 ac_precious_vars='build_alias
1863 host_alias
1864 target_alias
1866 CFLAGS
1867 LDFLAGS
1868 LIBS
1869 CPPFLAGS
1871 CXXFLAGS
1874 OBJC
1875 OBJCFLAGS
1876 OBJCPP
1877 XMKMF
1878 XML2_CFLAGS
1879 XML2_LIBS
1880 XSLT_CFLAGS
1881 XSLT_LIBS
1882 INOTIFY_CFLAGS
1883 INOTIFY_LIBS
1884 DBUS_CFLAGS
1885 DBUS_LIBS
1886 HAL_CFLAGS
1887 HAL_LIBS
1888 GNUTLS_CFLAGS
1889 GNUTLS_LIBS
1890 SANE_CFLAGS
1891 SANE_LIBS
1892 USB_CFLAGS
1893 USB_LIBS
1894 GPHOTO2_CFLAGS
1895 GPHOTO2_LIBS
1896 GPHOTO2_PORT_CFLAGS
1897 GPHOTO2_PORT_LIBS
1898 LCMS2_CFLAGS
1899 LCMS2_LIBS
1900 FREETYPE_CFLAGS
1901 FREETYPE_LIBS
1902 PULSE_CFLAGS
1903 PULSE_LIBS
1904 GSTREAMER_CFLAGS
1905 GSTREAMER_LIBS
1906 UDEV_CFLAGS
1907 UDEV_LIBS
1908 UNWIND_CFLAGS
1909 UNWIND_LIBS
1910 SDL2_CFLAGS
1911 SDL2_LIBS
1912 FAUDIO_CFLAGS
1913 FAUDIO_LIBS
1914 CAPI20_CFLAGS
1915 CAPI20_LIBS
1916 CUPS_CFLAGS
1917 CUPS_LIBS
1918 FONTCONFIG_CFLAGS
1919 FONTCONFIG_LIBS
1920 KRB5_CFLAGS
1921 KRB5_LIBS
1922 GSSAPI_CFLAGS
1923 GSSAPI_LIBS
1924 JPEG_CFLAGS
1925 JPEG_LIBS
1926 PNG_CFLAGS
1927 PNG_LIBS
1928 TIFF_CFLAGS
1929 TIFF_LIBS
1930 MPG123_CFLAGS
1931 MPG123_LIBS
1932 NETAPI_CFLAGS
1933 NETAPI_LIBS
1934 VKD3D_CFLAGS
1935 VKD3D_LIBS
1936 VKD3D_SHADER_CFLAGS
1937 VKD3D_SHADER_LIBS
1938 LDAP_CFLAGS
1939 LDAP_LIBS'
1942 # Initialize some variables set by options.
1943 ac_init_help=
1944 ac_init_version=false
1945 ac_unrecognized_opts=
1946 ac_unrecognized_sep=
1947 # The variables have the same names as the options, with
1948 # dashes changed to underlines.
1949 cache_file=/dev/null
1950 exec_prefix=NONE
1951 no_create=
1952 no_recursion=
1953 prefix=NONE
1954 program_prefix=NONE
1955 program_suffix=NONE
1956 program_transform_name=s,x,x,
1957 silent=
1958 site=
1959 srcdir=
1960 verbose=
1961 x_includes=NONE
1962 x_libraries=NONE
1964 # Installation directory options.
1965 # These are left unexpanded so users can "make install exec_prefix=/foo"
1966 # and all the variables that are supposed to be based on exec_prefix
1967 # by default will actually change.
1968 # Use braces instead of parens because sh, perl, etc. also accept them.
1969 # (The list follows the same order as the GNU Coding Standards.)
1970 bindir='${exec_prefix}/bin'
1971 sbindir='${exec_prefix}/sbin'
1972 libexecdir='${exec_prefix}/libexec'
1973 datarootdir='${prefix}/share'
1974 datadir='${datarootdir}'
1975 sysconfdir='${prefix}/etc'
1976 sharedstatedir='${prefix}/com'
1977 localstatedir='${prefix}/var'
1978 runstatedir='${localstatedir}/run'
1979 includedir='${prefix}/include'
1980 oldincludedir='/usr/include'
1981 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1982 infodir='${datarootdir}/info'
1983 htmldir='${docdir}'
1984 dvidir='${docdir}'
1985 pdfdir='${docdir}'
1986 psdir='${docdir}'
1987 libdir='${exec_prefix}/lib'
1988 localedir='${datarootdir}/locale'
1989 mandir='${datarootdir}/man'
1991 ac_prev=
1992 ac_dashdash=
1993 for ac_option
1995 # If the previous option needs an argument, assign it.
1996 if test -n "$ac_prev"; then
1997 eval $ac_prev=\$ac_option
1998 ac_prev=
1999 continue
2002 case $ac_option in
2003 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2004 *=) ac_optarg= ;;
2005 *) ac_optarg=yes ;;
2006 esac
2008 # Accept the important Cygnus configure options, so we can diagnose typos.
2010 case $ac_dashdash$ac_option in
2012 ac_dashdash=yes ;;
2014 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2015 ac_prev=bindir ;;
2016 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2017 bindir=$ac_optarg ;;
2019 -build | --build | --buil | --bui | --bu)
2020 ac_prev=build_alias ;;
2021 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2022 build_alias=$ac_optarg ;;
2024 -cache-file | --cache-file | --cache-fil | --cache-fi \
2025 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2026 ac_prev=cache_file ;;
2027 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2028 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2029 cache_file=$ac_optarg ;;
2031 --config-cache | -C)
2032 cache_file=config.cache ;;
2034 -datadir | --datadir | --datadi | --datad)
2035 ac_prev=datadir ;;
2036 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2037 datadir=$ac_optarg ;;
2039 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2040 | --dataroo | --dataro | --datar)
2041 ac_prev=datarootdir ;;
2042 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2043 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2044 datarootdir=$ac_optarg ;;
2046 -disable-* | --disable-*)
2047 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2048 # Reject names that are not valid shell variable names.
2049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2050 as_fn_error $? "invalid feature name: $ac_useropt"
2051 ac_useropt_orig=$ac_useropt
2052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2053 case $ac_user_opts in
2055 "enable_$ac_useropt"
2056 "*) ;;
2057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2058 ac_unrecognized_sep=', ';;
2059 esac
2060 eval enable_$ac_useropt=no ;;
2062 -docdir | --docdir | --docdi | --doc | --do)
2063 ac_prev=docdir ;;
2064 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2065 docdir=$ac_optarg ;;
2067 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2068 ac_prev=dvidir ;;
2069 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2070 dvidir=$ac_optarg ;;
2072 -enable-* | --enable-*)
2073 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2074 # Reject names that are not valid shell variable names.
2075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2076 as_fn_error $? "invalid feature name: $ac_useropt"
2077 ac_useropt_orig=$ac_useropt
2078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2079 case $ac_user_opts in
2081 "enable_$ac_useropt"
2082 "*) ;;
2083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2084 ac_unrecognized_sep=', ';;
2085 esac
2086 eval enable_$ac_useropt=\$ac_optarg ;;
2088 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2089 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2090 | --exec | --exe | --ex)
2091 ac_prev=exec_prefix ;;
2092 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2093 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2094 | --exec=* | --exe=* | --ex=*)
2095 exec_prefix=$ac_optarg ;;
2097 -gas | --gas | --ga | --g)
2098 # Obsolete; use --with-gas.
2099 with_gas=yes ;;
2101 -help | --help | --hel | --he | -h)
2102 ac_init_help=long ;;
2103 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2104 ac_init_help=recursive ;;
2105 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2106 ac_init_help=short ;;
2108 -host | --host | --hos | --ho)
2109 ac_prev=host_alias ;;
2110 -host=* | --host=* | --hos=* | --ho=*)
2111 host_alias=$ac_optarg ;;
2113 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2114 ac_prev=htmldir ;;
2115 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2116 | --ht=*)
2117 htmldir=$ac_optarg ;;
2119 -includedir | --includedir | --includedi | --included | --include \
2120 | --includ | --inclu | --incl | --inc)
2121 ac_prev=includedir ;;
2122 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2123 | --includ=* | --inclu=* | --incl=* | --inc=*)
2124 includedir=$ac_optarg ;;
2126 -infodir | --infodir | --infodi | --infod | --info | --inf)
2127 ac_prev=infodir ;;
2128 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2129 infodir=$ac_optarg ;;
2131 -libdir | --libdir | --libdi | --libd)
2132 ac_prev=libdir ;;
2133 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2134 libdir=$ac_optarg ;;
2136 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2137 | --libexe | --libex | --libe)
2138 ac_prev=libexecdir ;;
2139 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2140 | --libexe=* | --libex=* | --libe=*)
2141 libexecdir=$ac_optarg ;;
2143 -localedir | --localedir | --localedi | --localed | --locale)
2144 ac_prev=localedir ;;
2145 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2146 localedir=$ac_optarg ;;
2148 -localstatedir | --localstatedir | --localstatedi | --localstated \
2149 | --localstate | --localstat | --localsta | --localst | --locals)
2150 ac_prev=localstatedir ;;
2151 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2152 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2153 localstatedir=$ac_optarg ;;
2155 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2156 ac_prev=mandir ;;
2157 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2158 mandir=$ac_optarg ;;
2160 -nfp | --nfp | --nf)
2161 # Obsolete; use --without-fp.
2162 with_fp=no ;;
2164 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2165 | --no-cr | --no-c | -n)
2166 no_create=yes ;;
2168 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2169 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2170 no_recursion=yes ;;
2172 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2173 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2174 | --oldin | --oldi | --old | --ol | --o)
2175 ac_prev=oldincludedir ;;
2176 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2177 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2178 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2179 oldincludedir=$ac_optarg ;;
2181 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2182 ac_prev=prefix ;;
2183 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2184 prefix=$ac_optarg ;;
2186 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2187 | --program-pre | --program-pr | --program-p)
2188 ac_prev=program_prefix ;;
2189 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2190 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2191 program_prefix=$ac_optarg ;;
2193 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2194 | --program-suf | --program-su | --program-s)
2195 ac_prev=program_suffix ;;
2196 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2197 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2198 program_suffix=$ac_optarg ;;
2200 -program-transform-name | --program-transform-name \
2201 | --program-transform-nam | --program-transform-na \
2202 | --program-transform-n | --program-transform- \
2203 | --program-transform | --program-transfor \
2204 | --program-transfo | --program-transf \
2205 | --program-trans | --program-tran \
2206 | --progr-tra | --program-tr | --program-t)
2207 ac_prev=program_transform_name ;;
2208 -program-transform-name=* | --program-transform-name=* \
2209 | --program-transform-nam=* | --program-transform-na=* \
2210 | --program-transform-n=* | --program-transform-=* \
2211 | --program-transform=* | --program-transfor=* \
2212 | --program-transfo=* | --program-transf=* \
2213 | --program-trans=* | --program-tran=* \
2214 | --progr-tra=* | --program-tr=* | --program-t=*)
2215 program_transform_name=$ac_optarg ;;
2217 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2218 ac_prev=pdfdir ;;
2219 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2220 pdfdir=$ac_optarg ;;
2222 -psdir | --psdir | --psdi | --psd | --ps)
2223 ac_prev=psdir ;;
2224 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2225 psdir=$ac_optarg ;;
2227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2228 | -silent | --silent | --silen | --sile | --sil)
2229 silent=yes ;;
2231 -runstatedir | --runstatedir | --runstatedi | --runstated \
2232 | --runstate | --runstat | --runsta | --runst | --runs \
2233 | --run | --ru | --r)
2234 ac_prev=runstatedir ;;
2235 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2236 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2237 | --run=* | --ru=* | --r=*)
2238 runstatedir=$ac_optarg ;;
2240 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2241 ac_prev=sbindir ;;
2242 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2243 | --sbi=* | --sb=*)
2244 sbindir=$ac_optarg ;;
2246 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2247 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2248 | --sharedst | --shareds | --shared | --share | --shar \
2249 | --sha | --sh)
2250 ac_prev=sharedstatedir ;;
2251 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2252 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2253 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2254 | --sha=* | --sh=*)
2255 sharedstatedir=$ac_optarg ;;
2257 -site | --site | --sit)
2258 ac_prev=site ;;
2259 -site=* | --site=* | --sit=*)
2260 site=$ac_optarg ;;
2262 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2263 ac_prev=srcdir ;;
2264 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2265 srcdir=$ac_optarg ;;
2267 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2268 | --syscon | --sysco | --sysc | --sys | --sy)
2269 ac_prev=sysconfdir ;;
2270 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2271 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2272 sysconfdir=$ac_optarg ;;
2274 -target | --target | --targe | --targ | --tar | --ta | --t)
2275 ac_prev=target_alias ;;
2276 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2277 target_alias=$ac_optarg ;;
2279 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2280 verbose=yes ;;
2282 -version | --version | --versio | --versi | --vers | -V)
2283 ac_init_version=: ;;
2285 -with-* | --with-*)
2286 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2287 # Reject names that are not valid shell variable names.
2288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2289 as_fn_error $? "invalid package name: $ac_useropt"
2290 ac_useropt_orig=$ac_useropt
2291 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2292 case $ac_user_opts in
2294 "with_$ac_useropt"
2295 "*) ;;
2296 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2297 ac_unrecognized_sep=', ';;
2298 esac
2299 eval with_$ac_useropt=\$ac_optarg ;;
2301 -without-* | --without-*)
2302 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2303 # Reject names that are not valid shell variable names.
2304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2305 as_fn_error $? "invalid package name: $ac_useropt"
2306 ac_useropt_orig=$ac_useropt
2307 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2308 case $ac_user_opts in
2310 "with_$ac_useropt"
2311 "*) ;;
2312 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2313 ac_unrecognized_sep=', ';;
2314 esac
2315 eval with_$ac_useropt=no ;;
2317 --x)
2318 # Obsolete; use --with-x.
2319 with_x=yes ;;
2321 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2322 | --x-incl | --x-inc | --x-in | --x-i)
2323 ac_prev=x_includes ;;
2324 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2325 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2326 x_includes=$ac_optarg ;;
2328 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2329 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2330 ac_prev=x_libraries ;;
2331 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2332 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2333 x_libraries=$ac_optarg ;;
2335 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2336 Try \`$0 --help' for more information"
2339 *=*)
2340 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2341 # Reject names that are not valid shell variable names.
2342 case $ac_envvar in #(
2343 '' | [0-9]* | *[!_$as_cr_alnum]* )
2344 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2345 esac
2346 eval $ac_envvar=\$ac_optarg
2347 export $ac_envvar ;;
2350 # FIXME: should be removed in autoconf 3.0.
2351 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2352 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2353 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2354 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2357 esac
2358 done
2360 if test -n "$ac_prev"; then
2361 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2362 as_fn_error $? "missing argument to $ac_option"
2365 if test -n "$ac_unrecognized_opts"; then
2366 case $enable_option_checking in
2367 no) ;;
2368 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2369 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2370 esac
2373 # Check all directory arguments for consistency.
2374 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2375 datadir sysconfdir sharedstatedir localstatedir includedir \
2376 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2377 libdir localedir mandir runstatedir
2379 eval ac_val=\$$ac_var
2380 # Remove trailing slashes.
2381 case $ac_val in
2382 */ )
2383 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2384 eval $ac_var=\$ac_val;;
2385 esac
2386 # Be sure to have absolute directory names.
2387 case $ac_val in
2388 [\\/$]* | ?:[\\/]* ) continue;;
2389 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2390 esac
2391 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2392 done
2394 # There might be people who depend on the old broken behavior: `$host'
2395 # used to hold the argument of --host etc.
2396 # FIXME: To remove some day.
2397 build=$build_alias
2398 host=$host_alias
2399 target=$target_alias
2401 # FIXME: To remove some day.
2402 if test "x$host_alias" != x; then
2403 if test "x$build_alias" = x; then
2404 cross_compiling=maybe
2405 elif test "x$build_alias" != "x$host_alias"; then
2406 cross_compiling=yes
2410 ac_tool_prefix=
2411 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2413 test "$silent" = yes && exec 6>/dev/null
2416 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2417 ac_ls_di=`ls -di .` &&
2418 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2419 as_fn_error $? "working directory cannot be determined"
2420 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2421 as_fn_error $? "pwd does not report name of working directory"
2424 # Find the source files, if location was not specified.
2425 if test -z "$srcdir"; then
2426 ac_srcdir_defaulted=yes
2427 # Try the directory containing this script, then the parent directory.
2428 ac_confdir=`$as_dirname -- "$as_myself" ||
2429 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2430 X"$as_myself" : 'X\(//\)[^/]' \| \
2431 X"$as_myself" : 'X\(//\)$' \| \
2432 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2433 $as_echo X"$as_myself" |
2434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2435 s//\1/
2438 /^X\(\/\/\)[^/].*/{
2439 s//\1/
2442 /^X\(\/\/\)$/{
2443 s//\1/
2446 /^X\(\/\).*/{
2447 s//\1/
2450 s/.*/./; q'`
2451 srcdir=$ac_confdir
2452 if test ! -r "$srcdir/$ac_unique_file"; then
2453 srcdir=..
2455 else
2456 ac_srcdir_defaulted=no
2458 if test ! -r "$srcdir/$ac_unique_file"; then
2459 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2460 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2462 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2463 ac_abs_confdir=`(
2464 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2465 pwd)`
2466 # When building in place, set srcdir=.
2467 if test "$ac_abs_confdir" = "$ac_pwd"; then
2468 srcdir=.
2470 # Remove unnecessary trailing slashes from srcdir.
2471 # Double slashes in file names in object file debugging info
2472 # mess up M-x gdb in Emacs.
2473 case $srcdir in
2474 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2475 esac
2476 for ac_var in $ac_precious_vars; do
2477 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2478 eval ac_env_${ac_var}_value=\$${ac_var}
2479 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2480 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2481 done
2484 # Report the --help message.
2486 if test "$ac_init_help" = "long"; then
2487 # Omit some internal or obsolete options to make the list less imposing.
2488 # This message is too long to be a string in the A/UX 3.1 sh.
2489 cat <<_ACEOF
2490 \`configure' configures Wine 5.20 to adapt to many kinds of systems.
2492 Usage: $0 [OPTION]... [VAR=VALUE]...
2494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2495 VAR=VALUE. See below for descriptions of some of the useful variables.
2497 Defaults for the options are specified in brackets.
2499 Configuration:
2500 -h, --help display this help and exit
2501 --help=short display options specific to this package
2502 --help=recursive display the short help of all the included packages
2503 -V, --version display version information and exit
2504 -q, --quiet, --silent do not print \`checking ...' messages
2505 --cache-file=FILE cache test results in FILE [disabled]
2506 -C, --config-cache alias for \`--cache-file=config.cache'
2507 -n, --no-create do not create output files
2508 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2510 Installation directories:
2511 --prefix=PREFIX install architecture-independent files in PREFIX
2512 [$ac_default_prefix]
2513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2514 [PREFIX]
2516 By default, \`make install' will install all the files in
2517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2519 for instance \`--prefix=\$HOME'.
2521 For better control, use the options below.
2523 Fine tuning of the installation directories:
2524 --bindir=DIR user executables [EPREFIX/bin]
2525 --sbindir=DIR system admin executables [EPREFIX/sbin]
2526 --libexecdir=DIR program executables [EPREFIX/libexec]
2527 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2528 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2529 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2530 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2531 --libdir=DIR object code libraries [EPREFIX/lib]
2532 --includedir=DIR C header files [PREFIX/include]
2533 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2534 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2535 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2536 --infodir=DIR info documentation [DATAROOTDIR/info]
2537 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2538 --mandir=DIR man documentation [DATAROOTDIR/man]
2539 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2540 --htmldir=DIR html documentation [DOCDIR]
2541 --dvidir=DIR dvi documentation [DOCDIR]
2542 --pdfdir=DIR pdf documentation [DOCDIR]
2543 --psdir=DIR ps documentation [DOCDIR]
2544 _ACEOF
2546 cat <<\_ACEOF
2548 X features:
2549 --x-includes=DIR X include files are in DIR
2550 --x-libraries=DIR X library files are in DIR
2552 System types:
2553 --build=BUILD configure for building on BUILD [guessed]
2554 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2555 _ACEOF
2558 if test -n "$ac_init_help"; then
2559 case $ac_init_help in
2560 short | recursive ) echo "Configuration of Wine 5.20:";;
2561 esac
2562 cat <<\_ACEOF
2564 Optional Features:
2565 --disable-option-checking ignore unrecognized --enable/--with options
2566 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2567 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2568 --disable-win16 do not include Win16 support
2569 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2570 binaries)
2571 --disable-tests do not build the regression tests
2572 --enable-maintainer-mode
2573 enable maintainer-specific build rules
2574 --enable-werror treat compilation warnings as errors
2575 --disable-largefile omit support for large files
2577 Optional Packages:
2578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2580 --without-alsa do not use the Alsa sound support
2581 --without-capi do not use CAPI (ISDN support)
2582 --without-cms do not use CMS (color management support)
2583 --without-coreaudio do not use the CoreAudio sound support
2584 --without-cups do not use CUPS
2585 --without-dbus do not use DBus (dynamic device support)
2586 --without-faudio do not use FAudio (XAudio2 support)
2587 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2588 --without-fontconfig do not use fontconfig
2589 --without-freetype do not use the FreeType library
2590 --without-gettext do not use gettext
2591 --with-gettextpo use the GetTextPO library to rebuild po files
2592 --without-gphoto do not use gphoto (Digital Camera support)
2593 --without-glu do not use the GLU library
2594 --without-gnutls do not use GnuTLS (schannel support)
2595 --without-gsm do not use libgsm (GSM 06.10 codec support)
2596 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2597 --without-gstreamer do not use GStreamer (codecs support)
2598 --without-hal do not use HAL (dynamic device support)
2599 --without-inotify do not use inotify (filesystem change notifications)
2600 --without-jpeg do not use JPEG
2601 --without-krb5 do not use krb5 (Kerberos)
2602 --without-ldap do not use LDAP
2603 --without-mingw do not use the MinGW cross-compiler
2604 --without-mpg123 do not use the mpg123 library
2605 --without-netapi do not use the Samba NetAPI library
2606 --without-openal do not use OpenAL
2607 --without-opencl do not use OpenCL
2608 --without-opengl do not use OpenGL
2609 --without-osmesa do not use the OSMesa library
2610 --without-oss do not use the OSS sound support
2611 --without-pcap do not use the Packet Capture library
2612 --without-png do not use PNG
2613 --without-pthread do not use the pthread library
2614 --without-pulse do not use PulseAudio sound support
2615 --without-quicktime do not use QuickTime support
2616 --without-sane do not use SANE (scanner support)
2617 --without-sdl do not use SDL
2618 --without-tiff do not use TIFF
2619 --without-udev do not use udev (plug and play support)
2620 --without-unwind do not use the libunwind library (exception
2621 handling)
2622 --without-usb do not use the libusb library
2623 --without-v4l2 do not use v4l2 (video capture)
2624 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2625 --without-vulkan do not use Vulkan
2626 --without-xcomposite do not use the Xcomposite extension
2627 --without-xcursor do not use the Xcursor extension
2628 --without-xfixes do not use Xfixes for clipboard change notifications
2629 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2630 --without-xinput do not use the Xinput extension
2631 --without-xinput2 do not use the Xinput 2 extension
2632 --without-xml do not use XML
2633 --without-xrandr do not use Xrandr (multi-monitor support)
2634 --without-xrender do not use the Xrender extension
2635 --without-xshape do not use the Xshape extension
2636 --without-xshm do not use XShm (shared memory extension)
2637 --without-xslt do not use XSLT
2638 --without-xxf86vm do not use XFree video mode extension
2639 --with-wine-tools=DIR use Wine tools from directory DIR
2640 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2641 --with-x use the X Window System
2643 Some influential environment variables:
2644 CC C compiler command
2645 CFLAGS C compiler flags
2646 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2647 nonstandard directory <lib dir>
2648 LIBS libraries to pass to the linker, e.g. -l<library>
2649 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2650 you have headers in a nonstandard directory <include dir>
2651 CXX C++ compiler command
2652 CXXFLAGS C++ compiler flags
2653 CPP C preprocessor
2654 OBJC Objective C compiler command
2655 OBJCFLAGS Objective C compiler flags
2656 OBJCPP Objective C preprocessor
2657 XMKMF Path to xmkmf, Makefile generator for X Window System
2658 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2659 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2660 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2661 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2662 INOTIFY_CFLAGS
2663 C compiler flags for libinotify, overriding pkg-config
2664 INOTIFY_LIBS
2665 Linker flags for libinotify, overriding pkg-config
2666 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2667 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2668 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2669 HAL_LIBS Linker flags for hal, overriding pkg-config
2670 GNUTLS_CFLAGS
2671 C compiler flags for gnutls, overriding pkg-config
2672 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2673 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2674 SANE_LIBS Linker flags for libsane, overriding pkg-config
2675 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2676 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2677 GPHOTO2_CFLAGS
2678 C compiler flags for libgphoto2, overriding pkg-config
2679 GPHOTO2_LIBS
2680 Linker flags for libgphoto2, overriding pkg-config
2681 GPHOTO2_PORT_CFLAGS
2682 C compiler flags for libgphoto2_port, overriding pkg-config
2683 GPHOTO2_PORT_LIBS
2684 Linker flags for libgphoto2_port, overriding pkg-config
2685 LCMS2_CFLAGS
2686 C compiler flags for lcms2, overriding pkg-config
2687 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2688 FREETYPE_CFLAGS
2689 C compiler flags for freetype2, overriding pkg-config
2690 FREETYPE_LIBS
2691 Linker flags for freetype2, overriding pkg-config
2692 PULSE_CFLAGS
2693 C compiler flags for libpulse, overriding pkg-config
2694 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2695 GSTREAMER_CFLAGS
2696 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2697 gstreamer-audio-1.0, overriding pkg-config
2698 GSTREAMER_LIBS
2699 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2700 gstreamer-audio-1.0, overriding pkg-config
2701 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2702 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2703 UNWIND_CFLAGS
2704 C compiler flags for libunwind, overriding pkg-config
2705 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2706 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2707 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2708 FAUDIO_CFLAGS
2709 C compiler flags for faudio, overriding pkg-config
2710 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2711 CAPI20_CFLAGS
2712 C compiler flags for capi20, overriding pkg-config
2713 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2714 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2715 CUPS_LIBS Linker flags for cups, overriding pkg-config
2716 FONTCONFIG_CFLAGS
2717 C compiler flags for fontconfig, overriding pkg-config
2718 FONTCONFIG_LIBS
2719 Linker flags for fontconfig, overriding pkg-config
2720 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2721 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2722 GSSAPI_CFLAGS
2723 C compiler flags for krb5-gssapi, overriding pkg-config
2724 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2725 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2726 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2727 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2728 PNG_LIBS Linker flags for libpng, overriding pkg-config
2729 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2730 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2731 MPG123_CFLAGS
2732 C compiler flags for libmpg123, overriding pkg-config
2733 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2734 NETAPI_CFLAGS
2735 C compiler flags for netapi, overriding pkg-config
2736 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2737 VKD3D_CFLAGS
2738 C compiler flags for libvkd3d, overriding pkg-config
2739 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2740 VKD3D_SHADER_CFLAGS
2741 C compiler flags for libvkd3d-shader, overriding pkg-config
2742 VKD3D_SHADER_LIBS
2743 Linker flags for libvkd3d-shader, overriding pkg-config
2744 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2745 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2747 Use these variables to override the choices made by `configure' or to help
2748 it to find libraries and programs with nonstandard names/locations.
2750 Report bugs to <wine-devel@winehq.org>.
2751 Wine home page: <https://www.winehq.org>.
2752 _ACEOF
2753 ac_status=$?
2756 if test "$ac_init_help" = "recursive"; then
2757 # If there are subdirs, report their specific --help.
2758 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2759 test -d "$ac_dir" ||
2760 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2761 continue
2762 ac_builddir=.
2764 case "$ac_dir" in
2765 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2767 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2768 # A ".." for each directory in $ac_dir_suffix.
2769 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2770 case $ac_top_builddir_sub in
2771 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2772 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2773 esac ;;
2774 esac
2775 ac_abs_top_builddir=$ac_pwd
2776 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2777 # for backward compatibility:
2778 ac_top_builddir=$ac_top_build_prefix
2780 case $srcdir in
2781 .) # We are building in place.
2782 ac_srcdir=.
2783 ac_top_srcdir=$ac_top_builddir_sub
2784 ac_abs_top_srcdir=$ac_pwd ;;
2785 [\\/]* | ?:[\\/]* ) # Absolute name.
2786 ac_srcdir=$srcdir$ac_dir_suffix;
2787 ac_top_srcdir=$srcdir
2788 ac_abs_top_srcdir=$srcdir ;;
2789 *) # Relative name.
2790 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2791 ac_top_srcdir=$ac_top_build_prefix$srcdir
2792 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2793 esac
2794 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2796 cd "$ac_dir" || { ac_status=$?; continue; }
2797 # Check for guested configure.
2798 if test -f "$ac_srcdir/configure.gnu"; then
2799 echo &&
2800 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2801 elif test -f "$ac_srcdir/configure"; then
2802 echo &&
2803 $SHELL "$ac_srcdir/configure" --help=recursive
2804 else
2805 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2806 fi || ac_status=$?
2807 cd "$ac_pwd" || { ac_status=$?; break; }
2808 done
2811 test -n "$ac_init_help" && exit $ac_status
2812 if $ac_init_version; then
2813 cat <<\_ACEOF
2814 Wine configure 5.20
2815 generated by GNU Autoconf 2.69
2817 Copyright (C) 2012 Free Software Foundation, Inc.
2818 This configure script is free software; the Free Software Foundation
2819 gives unlimited permission to copy, distribute and modify it.
2820 _ACEOF
2821 exit
2824 ## ------------------------ ##
2825 ## Autoconf initialization. ##
2826 ## ------------------------ ##
2828 # ac_fn_c_try_compile LINENO
2829 # --------------------------
2830 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2831 ac_fn_c_try_compile ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 rm -f conftest.$ac_objext
2835 if { { ac_try="$ac_compile"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_compile") 2>conftest.err
2843 ac_status=$?
2844 if test -s conftest.err; then
2845 grep -v '^ *+' conftest.err >conftest.er1
2846 cat conftest.er1 >&5
2847 mv -f conftest.er1 conftest.err
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; } && {
2851 test -z "$ac_c_werror_flag" ||
2852 test ! -s conftest.err
2853 } && test -s conftest.$ac_objext; then :
2854 ac_retval=0
2855 else
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=1
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 as_fn_set_status $ac_retval
2864 } # ac_fn_c_try_compile
2866 # ac_fn_cxx_try_compile LINENO
2867 # ----------------------------
2868 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2869 ac_fn_cxx_try_compile ()
2871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2872 rm -f conftest.$ac_objext
2873 if { { ac_try="$ac_compile"
2874 case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2877 esac
2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2879 $as_echo "$ac_try_echo"; } >&5
2880 (eval "$ac_compile") 2>conftest.err
2881 ac_status=$?
2882 if test -s conftest.err; then
2883 grep -v '^ *+' conftest.err >conftest.er1
2884 cat conftest.er1 >&5
2885 mv -f conftest.er1 conftest.err
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; } && {
2889 test -z "$ac_cxx_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then :
2892 ac_retval=0
2893 else
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_retval=1
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 as_fn_set_status $ac_retval
2902 } # ac_fn_cxx_try_compile
2904 # ac_fn_c_try_link LINENO
2905 # -----------------------
2906 # Try to link conftest.$ac_ext, and return whether this succeeded.
2907 ac_fn_c_try_link ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 rm -f conftest.$ac_objext conftest$ac_exeext
2911 if { { ac_try="$ac_link"
2912 case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_link") 2>conftest.err
2919 ac_status=$?
2920 if test -s conftest.err; then
2921 grep -v '^ *+' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2923 mv -f conftest.er1 conftest.err
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; } && {
2927 test -z "$ac_c_werror_flag" ||
2928 test ! -s conftest.err
2929 } && test -s conftest$ac_exeext && {
2930 test "$cross_compiling" = yes ||
2931 test -x conftest$ac_exeext
2932 }; then :
2933 ac_retval=0
2934 else
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 ac_retval=1
2940 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2941 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2942 # interfere with the next link command; also delete a directory that is
2943 # left behind by Apple's compiler. We do this before executing the actions.
2944 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2946 as_fn_set_status $ac_retval
2948 } # ac_fn_c_try_link
2950 # ac_fn_c_try_cpp LINENO
2951 # ----------------------
2952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2953 ac_fn_c_try_cpp ()
2955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2956 if { { ac_try="$ac_cpp conftest.$ac_ext"
2957 case "(($ac_try" in
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2960 esac
2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962 $as_echo "$ac_try_echo"; } >&5
2963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2964 ac_status=$?
2965 if test -s conftest.err; then
2966 grep -v '^ *+' conftest.err >conftest.er1
2967 cat conftest.er1 >&5
2968 mv -f conftest.er1 conftest.err
2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; } > conftest.i && {
2972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2973 test ! -s conftest.err
2974 }; then :
2975 ac_retval=0
2976 else
2977 $as_echo "$as_me: failed program was:" >&5
2978 sed 's/^/| /' conftest.$ac_ext >&5
2980 ac_retval=1
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 as_fn_set_status $ac_retval
2985 } # ac_fn_c_try_cpp
2987 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2988 # -------------------------------------------------------
2989 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2990 # the include files in INCLUDES and setting the cache variable VAR
2991 # accordingly.
2992 ac_fn_c_check_header_mongrel ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 if eval \${$3+:} false; then :
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2997 $as_echo_n "checking for $2... " >&6; }
2998 if eval \${$3+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 eval ac_res=\$$3
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3003 $as_echo "$ac_res" >&6; }
3004 else
3005 # Is the header compilable?
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3007 $as_echo_n "checking $2 usability... " >&6; }
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3011 #include <$2>
3012 _ACEOF
3013 if ac_fn_c_try_compile "$LINENO"; then :
3014 ac_header_compiler=yes
3015 else
3016 ac_header_compiler=no
3018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3020 $as_echo "$ac_header_compiler" >&6; }
3022 # Is the header present?
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3024 $as_echo_n "checking $2 presence... " >&6; }
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3027 #include <$2>
3028 _ACEOF
3029 if ac_fn_c_try_cpp "$LINENO"; then :
3030 ac_header_preproc=yes
3031 else
3032 ac_header_preproc=no
3034 rm -f conftest.err conftest.i conftest.$ac_ext
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3036 $as_echo "$ac_header_preproc" >&6; }
3038 # So? What about this header?
3039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3040 yes:no: )
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3042 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3046 no:yes:* )
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3048 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3050 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3052 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3054 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3056 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3057 ( $as_echo "## ------------------------------------ ##
3058 ## Report this to wine-devel@winehq.org ##
3059 ## ------------------------------------ ##"
3060 ) | sed "s/^/$as_me: WARNING: /" >&2
3062 esac
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3064 $as_echo_n "checking for $2... " >&6; }
3065 if eval \${$3+:} false; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 eval "$3=\$ac_header_compiler"
3070 eval ac_res=\$$3
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 $as_echo "$ac_res" >&6; }
3074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3076 } # ac_fn_c_check_header_mongrel
3078 # ac_fn_c_try_run LINENO
3079 # ----------------------
3080 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3081 # that executables *can* be run.
3082 ac_fn_c_try_run ()
3084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3085 if { { ac_try="$ac_link"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3091 $as_echo "$ac_try_echo"; } >&5
3092 (eval "$ac_link") 2>&5
3093 ac_status=$?
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3096 { { case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_try") 2>&5
3103 ac_status=$?
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }; }; then :
3106 ac_retval=0
3107 else
3108 $as_echo "$as_me: program exited with status $ac_status" >&5
3109 $as_echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3112 ac_retval=$ac_status
3114 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3116 as_fn_set_status $ac_retval
3118 } # ac_fn_c_try_run
3120 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3121 # -------------------------------------------------------
3122 # Tests whether HEADER exists and can be compiled using the include files in
3123 # INCLUDES, setting the cache variable VAR accordingly.
3124 ac_fn_c_check_header_compile ()
3126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3128 $as_echo_n "checking for $2... " >&6; }
3129 if eval \${$3+:} false; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3135 #include <$2>
3136 _ACEOF
3137 if ac_fn_c_try_compile "$LINENO"; then :
3138 eval "$3=yes"
3139 else
3140 eval "$3=no"
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 eval ac_res=\$$3
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3146 $as_echo "$ac_res" >&6; }
3147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3149 } # ac_fn_c_check_header_compile
3151 # ac_fn_objc_try_compile LINENO
3152 # -----------------------------
3153 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3154 ac_fn_objc_try_compile ()
3156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3157 rm -f conftest.$ac_objext
3158 if { { ac_try="$ac_compile"
3159 case "(($ac_try" in
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3162 esac
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_compile") 2>conftest.err
3166 ac_status=$?
3167 if test -s conftest.err; then
3168 grep -v '^ *+' conftest.err >conftest.er1
3169 cat conftest.er1 >&5
3170 mv -f conftest.er1 conftest.err
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; } && {
3174 test -z "$ac_objc_werror_flag" ||
3175 test ! -s conftest.err
3176 } && test -s conftest.$ac_objext; then :
3177 ac_retval=0
3178 else
3179 $as_echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 ac_retval=1
3184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 as_fn_set_status $ac_retval
3187 } # ac_fn_objc_try_compile
3189 # ac_fn_objc_try_cpp LINENO
3190 # -------------------------
3191 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3192 ac_fn_objc_try_cpp ()
3194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3195 if { { ac_try="$ac_cpp conftest.$ac_ext"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3203 ac_status=$?
3204 if test -s conftest.err; then
3205 grep -v '^ *+' conftest.err >conftest.er1
3206 cat conftest.er1 >&5
3207 mv -f conftest.er1 conftest.err
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; } > conftest.i && {
3211 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3212 test ! -s conftest.err
3213 }; then :
3214 ac_retval=0
3215 else
3216 $as_echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_retval=1
3221 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3222 as_fn_set_status $ac_retval
3224 } # ac_fn_objc_try_cpp
3226 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3227 # ----------------------------------------------------------
3228 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3229 # the include files in INCLUDES and setting the cache variable VAR
3230 # accordingly.
3231 ac_fn_objc_check_header_mongrel ()
3233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3234 if eval \${$3+:} false; then :
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3236 $as_echo_n "checking for $2... " >&6; }
3237 if eval \${$3+:} false; then :
3238 $as_echo_n "(cached) " >&6
3240 eval ac_res=\$$3
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3242 $as_echo "$ac_res" >&6; }
3243 else
3244 # Is the header compilable?
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3246 $as_echo_n "checking $2 usability... " >&6; }
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3250 #include <$2>
3251 _ACEOF
3252 if ac_fn_objc_try_compile "$LINENO"; then :
3253 ac_header_compiler=yes
3254 else
3255 ac_header_compiler=no
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3259 $as_echo "$ac_header_compiler" >&6; }
3261 # Is the header present?
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3263 $as_echo_n "checking $2 presence... " >&6; }
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3266 #include <$2>
3267 _ACEOF
3268 if ac_fn_objc_try_cpp "$LINENO"; then :
3269 ac_header_preproc=yes
3270 else
3271 ac_header_preproc=no
3273 rm -f conftest.err conftest.i conftest.$ac_ext
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3275 $as_echo "$ac_header_preproc" >&6; }
3277 # So? What about this header?
3278 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3279 yes:no: )
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3281 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3283 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3285 no:yes:* )
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3287 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3289 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3291 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3293 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3295 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3296 ( $as_echo "## ------------------------------------ ##
3297 ## Report this to wine-devel@winehq.org ##
3298 ## ------------------------------------ ##"
3299 ) | sed "s/^/$as_me: WARNING: /" >&2
3301 esac
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 eval "$3=\$ac_header_compiler"
3309 eval ac_res=\$$3
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3311 $as_echo "$ac_res" >&6; }
3313 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3315 } # ac_fn_objc_check_header_mongrel
3317 # ac_fn_c_check_func LINENO FUNC VAR
3318 # ----------------------------------
3319 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3320 ac_fn_c_check_func ()
3322 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3324 $as_echo_n "checking for $2... " >&6; }
3325 if eval \${$3+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3330 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3332 #define $2 innocuous_$2
3334 /* System header to define __stub macros and hopefully few prototypes,
3335 which can conflict with char $2 (); below.
3336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3337 <limits.h> exists even on freestanding compilers. */
3339 #ifdef __STDC__
3340 # include <limits.h>
3341 #else
3342 # include <assert.h>
3343 #endif
3345 #undef $2
3347 /* Override any GCC internal prototype to avoid an error.
3348 Use char because int might match the return type of a GCC
3349 builtin and then its argument prototype would still apply. */
3350 #ifdef __cplusplus
3351 extern "C"
3352 #endif
3353 char $2 ();
3354 /* The GNU C library defines this for functions which it implements
3355 to always fail with ENOSYS. Some functions are actually named
3356 something starting with __ and the normal name is an alias. */
3357 #if defined __stub_$2 || defined __stub___$2
3358 choke me
3359 #endif
3362 main ()
3364 return $2 ();
3366 return 0;
3368 _ACEOF
3369 if ac_fn_c_try_link "$LINENO"; then :
3370 eval "$3=yes"
3371 else
3372 eval "$3=no"
3374 rm -f core conftest.err conftest.$ac_objext \
3375 conftest$ac_exeext conftest.$ac_ext
3377 eval ac_res=\$$3
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3379 $as_echo "$ac_res" >&6; }
3380 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3382 } # ac_fn_c_check_func
3384 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3385 # ----------------------------------------------------
3386 # Tries to find if the field MEMBER exists in type AGGR, after including
3387 # INCLUDES, setting cache variable VAR accordingly.
3388 ac_fn_c_check_member ()
3390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3392 $as_echo_n "checking for $2.$3... " >&6; }
3393 if eval \${$4+:} false; then :
3394 $as_echo_n "(cached) " >&6
3395 else
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3400 main ()
3402 static $2 ac_aggr;
3403 if (ac_aggr.$3)
3404 return 0;
3406 return 0;
3408 _ACEOF
3409 if ac_fn_c_try_compile "$LINENO"; then :
3410 eval "$4=yes"
3411 else
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3416 main ()
3418 static $2 ac_aggr;
3419 if (sizeof ac_aggr.$3)
3420 return 0;
3422 return 0;
3424 _ACEOF
3425 if ac_fn_c_try_compile "$LINENO"; then :
3426 eval "$4=yes"
3427 else
3428 eval "$4=no"
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 eval ac_res=\$$4
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3436 $as_echo "$ac_res" >&6; }
3437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3439 } # ac_fn_c_check_member
3441 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3442 # -------------------------------------------
3443 # Tests whether TYPE exists after having included INCLUDES, setting cache
3444 # variable VAR accordingly.
3445 ac_fn_c_check_type ()
3447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3449 $as_echo_n "checking for $2... " >&6; }
3450 if eval \${$3+:} false; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 eval "$3=no"
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3458 main ()
3460 if (sizeof ($2))
3461 return 0;
3463 return 0;
3465 _ACEOF
3466 if ac_fn_c_try_compile "$LINENO"; then :
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3471 main ()
3473 if (sizeof (($2)))
3474 return 0;
3476 return 0;
3478 _ACEOF
3479 if ac_fn_c_try_compile "$LINENO"; then :
3481 else
3482 eval "$3=yes"
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 eval ac_res=\$$3
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3490 $as_echo "$ac_res" >&6; }
3491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3493 } # ac_fn_c_check_type
3494 cat >config.log <<_ACEOF
3495 This file contains any messages produced by compilers while
3496 running configure, to aid debugging if configure makes a mistake.
3498 It was created by Wine $as_me 5.20, which was
3499 generated by GNU Autoconf 2.69. Invocation command line was
3501 $ $0 $@
3503 _ACEOF
3504 exec 5>>config.log
3506 cat <<_ASUNAME
3507 ## --------- ##
3508 ## Platform. ##
3509 ## --------- ##
3511 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3512 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3513 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3514 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3515 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3517 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3518 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3520 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3521 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3522 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3523 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3524 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3525 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3526 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3528 _ASUNAME
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 for as_dir in $PATH
3533 IFS=$as_save_IFS
3534 test -z "$as_dir" && as_dir=.
3535 $as_echo "PATH: $as_dir"
3536 done
3537 IFS=$as_save_IFS
3539 } >&5
3541 cat >&5 <<_ACEOF
3544 ## ----------- ##
3545 ## Core tests. ##
3546 ## ----------- ##
3548 _ACEOF
3551 # Keep a trace of the command line.
3552 # Strip out --no-create and --no-recursion so they do not pile up.
3553 # Strip out --silent because we don't want to record it for future runs.
3554 # Also quote any args containing shell meta-characters.
3555 # Make two passes to allow for proper duplicate-argument suppression.
3556 ac_configure_args=
3557 ac_configure_args0=
3558 ac_configure_args1=
3559 ac_must_keep_next=false
3560 for ac_pass in 1 2
3562 for ac_arg
3564 case $ac_arg in
3565 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3566 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3567 | -silent | --silent | --silen | --sile | --sil)
3568 continue ;;
3569 *\'*)
3570 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3571 esac
3572 case $ac_pass in
3573 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3575 as_fn_append ac_configure_args1 " '$ac_arg'"
3576 if test $ac_must_keep_next = true; then
3577 ac_must_keep_next=false # Got value, back to normal.
3578 else
3579 case $ac_arg in
3580 *=* | --config-cache | -C | -disable-* | --disable-* \
3581 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3582 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3583 | -with-* | --with-* | -without-* | --without-* | --x)
3584 case "$ac_configure_args0 " in
3585 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3586 esac
3588 -* ) ac_must_keep_next=true ;;
3589 esac
3591 as_fn_append ac_configure_args " '$ac_arg'"
3593 esac
3594 done
3595 done
3596 { ac_configure_args0=; unset ac_configure_args0;}
3597 { ac_configure_args1=; unset ac_configure_args1;}
3599 # When interrupted or exit'd, cleanup temporary files, and complete
3600 # config.log. We remove comments because anyway the quotes in there
3601 # would cause problems or look ugly.
3602 # WARNING: Use '\'' to represent an apostrophe within the trap.
3603 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3604 trap 'exit_status=$?
3605 # Save into config.log some information that might help in debugging.
3607 echo
3609 $as_echo "## ---------------- ##
3610 ## Cache variables. ##
3611 ## ---------------- ##"
3612 echo
3613 # The following way of writing the cache mishandles newlines in values,
3615 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3616 eval ac_val=\$$ac_var
3617 case $ac_val in #(
3618 *${as_nl}*)
3619 case $ac_var in #(
3620 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3621 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3622 esac
3623 case $ac_var in #(
3624 _ | IFS | as_nl) ;; #(
3625 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3626 *) { eval $ac_var=; unset $ac_var;} ;;
3627 esac ;;
3628 esac
3629 done
3630 (set) 2>&1 |
3631 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3632 *${as_nl}ac_space=\ *)
3633 sed -n \
3634 "s/'\''/'\''\\\\'\'''\''/g;
3635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3636 ;; #(
3638 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3640 esac |
3641 sort
3643 echo
3645 $as_echo "## ----------------- ##
3646 ## Output variables. ##
3647 ## ----------------- ##"
3648 echo
3649 for ac_var in $ac_subst_vars
3651 eval ac_val=\$$ac_var
3652 case $ac_val in
3653 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3654 esac
3655 $as_echo "$ac_var='\''$ac_val'\''"
3656 done | sort
3657 echo
3659 if test -n "$ac_subst_files"; then
3660 $as_echo "## ------------------- ##
3661 ## File substitutions. ##
3662 ## ------------------- ##"
3663 echo
3664 for ac_var in $ac_subst_files
3666 eval ac_val=\$$ac_var
3667 case $ac_val in
3668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3669 esac
3670 $as_echo "$ac_var='\''$ac_val'\''"
3671 done | sort
3672 echo
3675 if test -s confdefs.h; then
3676 $as_echo "## ----------- ##
3677 ## confdefs.h. ##
3678 ## ----------- ##"
3679 echo
3680 cat confdefs.h
3681 echo
3683 test "$ac_signal" != 0 &&
3684 $as_echo "$as_me: caught signal $ac_signal"
3685 $as_echo "$as_me: exit $exit_status"
3686 } >&5
3687 rm -f core *.core core.conftest.* &&
3688 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3689 exit $exit_status
3691 for ac_signal in 1 2 13 15; do
3692 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3693 done
3694 ac_signal=0
3696 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3697 rm -f -r conftest* confdefs.h
3699 $as_echo "/* confdefs.h */" > confdefs.h
3701 # Predefined preprocessor variables.
3703 cat >>confdefs.h <<_ACEOF
3704 #define PACKAGE_NAME "$PACKAGE_NAME"
3705 _ACEOF
3707 cat >>confdefs.h <<_ACEOF
3708 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3709 _ACEOF
3711 cat >>confdefs.h <<_ACEOF
3712 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3713 _ACEOF
3715 cat >>confdefs.h <<_ACEOF
3716 #define PACKAGE_STRING "$PACKAGE_STRING"
3717 _ACEOF
3719 cat >>confdefs.h <<_ACEOF
3720 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3721 _ACEOF
3723 cat >>confdefs.h <<_ACEOF
3724 #define PACKAGE_URL "$PACKAGE_URL"
3725 _ACEOF
3728 # Let the site file select an alternate cache file if it wants to.
3729 # Prefer an explicitly selected file to automatically selected ones.
3730 ac_site_file1=NONE
3731 ac_site_file2=NONE
3732 if test -n "$CONFIG_SITE"; then
3733 # We do not want a PATH search for config.site.
3734 case $CONFIG_SITE in #((
3735 -*) ac_site_file1=./$CONFIG_SITE;;
3736 */*) ac_site_file1=$CONFIG_SITE;;
3737 *) ac_site_file1=./$CONFIG_SITE;;
3738 esac
3739 elif test "x$prefix" != xNONE; then
3740 ac_site_file1=$prefix/share/config.site
3741 ac_site_file2=$prefix/etc/config.site
3742 else
3743 ac_site_file1=$ac_default_prefix/share/config.site
3744 ac_site_file2=$ac_default_prefix/etc/config.site
3746 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3748 test "x$ac_site_file" = xNONE && continue
3749 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3751 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3752 sed 's/^/| /' "$ac_site_file" >&5
3753 . "$ac_site_file" \
3754 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3756 as_fn_error $? "failed to load site script $ac_site_file
3757 See \`config.log' for more details" "$LINENO" 5; }
3759 done
3761 if test -r "$cache_file"; then
3762 # Some versions of bash will fail to source /dev/null (special files
3763 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3764 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3766 $as_echo "$as_me: loading cache $cache_file" >&6;}
3767 case $cache_file in
3768 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3769 *) . "./$cache_file";;
3770 esac
3772 else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3774 $as_echo "$as_me: creating cache $cache_file" >&6;}
3775 >$cache_file
3778 # Check that the precious variables saved in the cache have kept the same
3779 # value.
3780 ac_cache_corrupted=false
3781 for ac_var in $ac_precious_vars; do
3782 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3783 eval ac_new_set=\$ac_env_${ac_var}_set
3784 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3785 eval ac_new_val=\$ac_env_${ac_var}_value
3786 case $ac_old_set,$ac_new_set in
3787 set,)
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3789 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3790 ac_cache_corrupted=: ;;
3791 ,set)
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3793 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3794 ac_cache_corrupted=: ;;
3795 ,);;
3797 if test "x$ac_old_val" != "x$ac_new_val"; then
3798 # differences in whitespace do not lead to failure.
3799 ac_old_val_w=`echo x $ac_old_val`
3800 ac_new_val_w=`echo x $ac_new_val`
3801 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3803 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3804 ac_cache_corrupted=:
3805 else
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3807 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3808 eval $ac_var=\$ac_old_val
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3811 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3813 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3814 fi;;
3815 esac
3816 # Pass precious variables to config.status.
3817 if test "$ac_new_set" = set; then
3818 case $ac_new_val in
3819 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3820 *) ac_arg=$ac_var=$ac_new_val ;;
3821 esac
3822 case " $ac_configure_args " in
3823 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3824 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3825 esac
3827 done
3828 if $ac_cache_corrupted; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3832 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3833 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3835 ## -------------------- ##
3836 ## Main body of script. ##
3837 ## -------------------- ##
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 ac_config_headers="$ac_config_headers include/config.h"
3849 ac_aux_dir=
3850 for ac_dir in tools "$srcdir"/tools; do
3851 if test -f "$ac_dir/install-sh"; then
3852 ac_aux_dir=$ac_dir
3853 ac_install_sh="$ac_aux_dir/install-sh -c"
3854 break
3855 elif test -f "$ac_dir/install.sh"; then
3856 ac_aux_dir=$ac_dir
3857 ac_install_sh="$ac_aux_dir/install.sh -c"
3858 break
3859 elif test -f "$ac_dir/shtool"; then
3860 ac_aux_dir=$ac_dir
3861 ac_install_sh="$ac_aux_dir/shtool install -c"
3862 break
3864 done
3865 if test -z "$ac_aux_dir"; then
3866 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3869 # These three variables are undocumented and unsupported,
3870 # and are intended to be withdrawn in a future Autoconf release.
3871 # They can cause serious problems if a builder's source tree is in a directory
3872 # whose full name contains unusual characters.
3873 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3874 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3875 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3879 libwine_version="1.0"
3883 # Check whether --enable-win16 was given.
3884 if test "${enable_win16+set}" = set; then :
3885 enableval=$enable_win16;
3888 # Check whether --enable-win64 was given.
3889 if test "${enable_win64+set}" = set; then :
3890 enableval=$enable_win64;
3893 # Check whether --enable-tests was given.
3894 if test "${enable_tests+set}" = set; then :
3895 enableval=$enable_tests;
3898 # Check whether --enable-maintainer-mode was given.
3899 if test "${enable_maintainer_mode+set}" = set; then :
3900 enableval=$enable_maintainer_mode;
3903 # Check whether --enable-werror was given.
3904 if test "${enable_werror+set}" = set; then :
3905 enableval=$enable_werror;
3910 # Check whether --with-alsa was given.
3911 if test "${with_alsa+set}" = set; then :
3912 withval=$with_alsa;
3916 # Check whether --with-capi was given.
3917 if test "${with_capi+set}" = set; then :
3918 withval=$with_capi;
3922 # Check whether --with-cms was given.
3923 if test "${with_cms+set}" = set; then :
3924 withval=$with_cms;
3928 # Check whether --with-coreaudio was given.
3929 if test "${with_coreaudio+set}" = set; then :
3930 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3934 # Check whether --with-cups was given.
3935 if test "${with_cups+set}" = set; then :
3936 withval=$with_cups;
3940 # Check whether --with-dbus was given.
3941 if test "${with_dbus+set}" = set; then :
3942 withval=$with_dbus;
3946 # Check whether --with-faudio was given.
3947 if test "${with_faudio+set}" = set; then :
3948 withval=$with_faudio;
3952 # Check whether --with-float-abi was given.
3953 if test "${with_float_abi+set}" = set; then :
3954 withval=$with_float_abi;
3958 # Check whether --with-fontconfig was given.
3959 if test "${with_fontconfig+set}" = set; then :
3960 withval=$with_fontconfig;
3964 # Check whether --with-freetype was given.
3965 if test "${with_freetype+set}" = set; then :
3966 withval=$with_freetype;
3970 # Check whether --with-gettext was given.
3971 if test "${with_gettext+set}" = set; then :
3972 withval=$with_gettext;
3976 # Check whether --with-gettextpo was given.
3977 if test "${with_gettextpo+set}" = set; then :
3978 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3982 # Check whether --with-gphoto was given.
3983 if test "${with_gphoto+set}" = set; then :
3984 withval=$with_gphoto;
3988 # Check whether --with-glu was given.
3989 if test "${with_glu+set}" = set; then :
3990 withval=$with_glu;
3994 # Check whether --with-gnutls was given.
3995 if test "${with_gnutls+set}" = set; then :
3996 withval=$with_gnutls;
4000 # Check whether --with-gsm was given.
4001 if test "${with_gsm+set}" = set; then :
4002 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4006 # Check whether --with-gssapi was given.
4007 if test "${with_gssapi+set}" = set; then :
4008 withval=$with_gssapi;
4012 # Check whether --with-gstreamer was given.
4013 if test "${with_gstreamer+set}" = set; then :
4014 withval=$with_gstreamer;
4018 # Check whether --with-hal was given.
4019 if test "${with_hal+set}" = set; then :
4020 withval=$with_hal;
4024 # Check whether --with-inotify was given.
4025 if test "${with_inotify+set}" = set; then :
4026 withval=$with_inotify;
4030 # Check whether --with-jpeg was given.
4031 if test "${with_jpeg+set}" = set; then :
4032 withval=$with_jpeg;
4036 # Check whether --with-krb5 was given.
4037 if test "${with_krb5+set}" = set; then :
4038 withval=$with_krb5;
4042 # Check whether --with-ldap was given.
4043 if test "${with_ldap+set}" = set; then :
4044 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4048 # Check whether --with-mingw was given.
4049 if test "${with_mingw+set}" = set; then :
4050 withval=$with_mingw;
4054 # Check whether --with-mpg123 was given.
4055 if test "${with_mpg123+set}" = set; then :
4056 withval=$with_mpg123;
4060 # Check whether --with-netapi was given.
4061 if test "${with_netapi+set}" = set; then :
4062 withval=$with_netapi;
4066 # Check whether --with-openal was given.
4067 if test "${with_openal+set}" = set; then :
4068 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4072 # Check whether --with-opencl was given.
4073 if test "${with_opencl+set}" = set; then :
4074 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4078 # Check whether --with-opengl was given.
4079 if test "${with_opengl+set}" = set; then :
4080 withval=$with_opengl;
4084 # Check whether --with-osmesa was given.
4085 if test "${with_osmesa+set}" = set; then :
4086 withval=$with_osmesa;
4090 # Check whether --with-oss was given.
4091 if test "${with_oss+set}" = set; then :
4092 withval=$with_oss;
4096 # Check whether --with-pcap was given.
4097 if test "${with_pcap+set}" = set; then :
4098 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4102 # Check whether --with-png was given.
4103 if test "${with_png+set}" = set; then :
4104 withval=$with_png;
4108 # Check whether --with-pthread was given.
4109 if test "${with_pthread+set}" = set; then :
4110 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4114 # Check whether --with-pulse was given.
4115 if test "${with_pulse+set}" = set; then :
4116 withval=$with_pulse;
4120 # Check whether --with-quicktime was given.
4121 if test "${with_quicktime+set}" = set; then :
4122 withval=$with_quicktime;
4126 # Check whether --with-sane was given.
4127 if test "${with_sane+set}" = set; then :
4128 withval=$with_sane;
4132 # Check whether --with-sdl was given.
4133 if test "${with_sdl+set}" = set; then :
4134 withval=$with_sdl;
4138 # Check whether --with-tiff was given.
4139 if test "${with_tiff+set}" = set; then :
4140 withval=$with_tiff;
4144 # Check whether --with-udev was given.
4145 if test "${with_udev+set}" = set; then :
4146 withval=$with_udev;
4150 # Check whether --with-unwind was given.
4151 if test "${with_unwind+set}" = set; then :
4152 withval=$with_unwind;
4156 # Check whether --with-usb was given.
4157 if test "${with_usb+set}" = set; then :
4158 withval=$with_usb;
4162 # Check whether --with-v4l2 was given.
4163 if test "${with_v4l2+set}" = set; then :
4164 withval=$with_v4l2;
4168 # Check whether --with-vkd3d was given.
4169 if test "${with_vkd3d+set}" = set; then :
4170 withval=$with_vkd3d;
4174 # Check whether --with-vulkan was given.
4175 if test "${with_vulkan+set}" = set; then :
4176 withval=$with_vulkan;
4180 # Check whether --with-xcomposite was given.
4181 if test "${with_xcomposite+set}" = set; then :
4182 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4186 # Check whether --with-xcursor was given.
4187 if test "${with_xcursor+set}" = set; then :
4188 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4192 # Check whether --with-xfixes was given.
4193 if test "${with_xfixes+set}" = set; then :
4194 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4198 # Check whether --with-xinerama was given.
4199 if test "${with_xinerama+set}" = set; then :
4200 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4204 # Check whether --with-xinput was given.
4205 if test "${with_xinput+set}" = set; then :
4206 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4210 # Check whether --with-xinput2 was given.
4211 if test "${with_xinput2+set}" = set; then :
4212 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4216 # Check whether --with-xml was given.
4217 if test "${with_xml+set}" = set; then :
4218 withval=$with_xml;
4222 # Check whether --with-xrandr was given.
4223 if test "${with_xrandr+set}" = set; then :
4224 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4228 # Check whether --with-xrender was given.
4229 if test "${with_xrender+set}" = set; then :
4230 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4234 # Check whether --with-xshape was given.
4235 if test "${with_xshape+set}" = set; then :
4236 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4240 # Check whether --with-xshm was given.
4241 if test "${with_xshm+set}" = set; then :
4242 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4246 # Check whether --with-xslt was given.
4247 if test "${with_xslt+set}" = set; then :
4248 withval=$with_xslt;
4252 # Check whether --with-xxf86vm was given.
4253 if test "${with_xxf86vm+set}" = set; then :
4254 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
4259 # Check whether --with-wine-tools was given.
4260 if test "${with_wine_tools+set}" = set; then :
4261 withval=$with_wine_tools;
4265 # Check whether --with-wine64 was given.
4266 if test "${with_wine64+set}" = set; then :
4267 withval=$with_wine64;
4271 # Make sure we can run config.sub.
4272 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4273 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4276 $as_echo_n "checking build system type... " >&6; }
4277 if ${ac_cv_build+:} false; then :
4278 $as_echo_n "(cached) " >&6
4279 else
4280 ac_build_alias=$build_alias
4281 test "x$ac_build_alias" = x &&
4282 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4283 test "x$ac_build_alias" = x &&
4284 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4285 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4286 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4290 $as_echo "$ac_cv_build" >&6; }
4291 case $ac_cv_build in
4292 *-*-*) ;;
4293 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4294 esac
4295 build=$ac_cv_build
4296 ac_save_IFS=$IFS; IFS='-'
4297 set x $ac_cv_build
4298 shift
4299 build_cpu=$1
4300 build_vendor=$2
4301 shift; shift
4302 # Remember, the first character of IFS is used to create $*,
4303 # except with old shells:
4304 build_os=$*
4305 IFS=$ac_save_IFS
4306 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4310 $as_echo_n "checking host system type... " >&6; }
4311 if ${ac_cv_host+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 if test "x$host_alias" = x; then
4315 ac_cv_host=$ac_cv_build
4316 else
4317 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4318 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4323 $as_echo "$ac_cv_host" >&6; }
4324 case $ac_cv_host in
4325 *-*-*) ;;
4326 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4327 esac
4328 host=$ac_cv_host
4329 ac_save_IFS=$IFS; IFS='-'
4330 set x $ac_cv_host
4331 shift
4332 host_cpu=$1
4333 host_vendor=$2
4334 shift; shift
4335 # Remember, the first character of IFS is used to create $*,
4336 # except with old shells:
4337 host_os=$*
4338 IFS=$ac_save_IFS
4339 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4345 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4346 set x ${MAKE-make}
4347 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4348 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 cat >conftest.make <<\_ACEOF
4352 SHELL = /bin/sh
4353 all:
4354 @echo '@@@%%%=$(MAKE)=@@@%%%'
4355 _ACEOF
4356 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4357 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4358 *@@@%%%=?*=@@@%%%*)
4359 eval ac_cv_prog_make_${ac_make}_set=yes;;
4361 eval ac_cv_prog_make_${ac_make}_set=no;;
4362 esac
4363 rm -f conftest.make
4365 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4367 $as_echo "yes" >&6; }
4368 SET_MAKE=
4369 else
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4372 SET_MAKE="MAKE=${MAKE-make}"
4375 ac_ext=c
4376 ac_cpp='$CPP $CPPFLAGS'
4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 if test -n "$ac_tool_prefix"; then
4381 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4382 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if ${ac_cv_prog_CC+:} false; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 if test -n "$CC"; then
4389 ac_cv_prog_CC="$CC" # Let the user override the test.
4390 else
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH
4394 IFS=$as_save_IFS
4395 test -z "$as_dir" && as_dir=.
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 break 2
4402 done
4403 done
4404 IFS=$as_save_IFS
4408 CC=$ac_cv_prog_CC
4409 if test -n "$CC"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4411 $as_echo "$CC" >&6; }
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4419 if test -z "$ac_cv_prog_CC"; then
4420 ac_ct_CC=$CC
4421 # Extract the first word of "gcc", so it can be a program name with args.
4422 set dummy gcc; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$ac_ct_CC"; then
4429 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_ac_ct_CC="gcc"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4449 if test -n "$ac_ct_CC"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4451 $as_echo "$ac_ct_CC" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4457 if test "x$ac_ct_CC" = x; then
4458 CC=""
4459 else
4460 case $cross_compiling:$ac_tool_warned in
4461 yes:)
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464 ac_tool_warned=yes ;;
4465 esac
4466 CC=$ac_ct_CC
4468 else
4469 CC="$ac_cv_prog_CC"
4472 if test -z "$CC"; then
4473 if test -n "$ac_tool_prefix"; then
4474 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4475 set dummy ${ac_tool_prefix}cc; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_CC+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 if test -n "$CC"; then
4482 ac_cv_prog_CC="$CC" # Let the user override the test.
4483 else
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4487 IFS=$as_save_IFS
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_CC="${ac_tool_prefix}cc"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4501 CC=$ac_cv_prog_CC
4502 if test -n "$CC"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4504 $as_echo "$CC" >&6; }
4505 else
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4513 if test -z "$CC"; then
4514 # Extract the first word of "cc", so it can be a program name with args.
4515 set dummy cc; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_CC+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 if test -n "$CC"; then
4522 ac_cv_prog_CC="$CC" # Let the user override the test.
4523 else
4524 ac_prog_rejected=no
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH
4528 IFS=$as_save_IFS
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4532 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4533 ac_prog_rejected=yes
4534 continue
4536 ac_cv_prog_CC="cc"
4537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 break 2
4540 done
4541 done
4542 IFS=$as_save_IFS
4544 if test $ac_prog_rejected = yes; then
4545 # We found a bogon in the path, so make sure we never use it.
4546 set dummy $ac_cv_prog_CC
4547 shift
4548 if test $# != 0; then
4549 # We chose a different compiler from the bogus one.
4550 # However, it has the same basename, so the bogon will be chosen
4551 # first if we set CC to just the basename; use the full file name.
4552 shift
4553 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4558 CC=$ac_cv_prog_CC
4559 if test -n "$CC"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4561 $as_echo "$CC" >&6; }
4562 else
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4569 if test -z "$CC"; then
4570 if test -n "$ac_tool_prefix"; then
4571 for ac_prog in cl.exe
4573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_CC+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$CC"; then
4581 ac_cv_prog_CC="$CC" # Let the user override the test.
4582 else
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4600 CC=$ac_cv_prog_CC
4601 if test -n "$CC"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603 $as_echo "$CC" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$CC" && break
4611 done
4613 if test -z "$CC"; then
4614 ac_ct_CC=$CC
4615 for ac_prog in cl.exe
4617 # Extract the first word of "$ac_prog", so it can be a program name with args.
4618 set dummy $ac_prog; ac_word=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4622 $as_echo_n "(cached) " >&6
4623 else
4624 if test -n "$ac_ct_CC"; then
4625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4626 else
4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 for as_dir in $PATH
4630 IFS=$as_save_IFS
4631 test -z "$as_dir" && as_dir=.
4632 for ac_exec_ext in '' $ac_executable_extensions; do
4633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4634 ac_cv_prog_ac_ct_CC="$ac_prog"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 break 2
4638 done
4639 done
4640 IFS=$as_save_IFS
4644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4645 if test -n "$ac_ct_CC"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4647 $as_echo "$ac_ct_CC" >&6; }
4648 else
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4654 test -n "$ac_ct_CC" && break
4655 done
4657 if test "x$ac_ct_CC" = x; then
4658 CC=""
4659 else
4660 case $cross_compiling:$ac_tool_warned in
4661 yes:)
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4664 ac_tool_warned=yes ;;
4665 esac
4666 CC=$ac_ct_CC
4673 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4675 as_fn_error $? "no acceptable C compiler found in \$PATH
4676 See \`config.log' for more details" "$LINENO" 5; }
4678 # Provide some information about the compiler.
4679 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4680 set X $ac_compile
4681 ac_compiler=$2
4682 for ac_option in --version -v -V -qversion; do
4683 { { ac_try="$ac_compiler $ac_option >&5"
4684 case "(($ac_try" in
4685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4687 esac
4688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4689 $as_echo "$ac_try_echo"; } >&5
4690 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4691 ac_status=$?
4692 if test -s conftest.err; then
4693 sed '10a\
4694 ... rest of stderr output deleted ...
4695 10q' conftest.err >conftest.er1
4696 cat conftest.er1 >&5
4698 rm -f conftest.er1 conftest.err
4699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4700 test $ac_status = 0; }
4701 done
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 main ()
4711 return 0;
4713 _ACEOF
4714 ac_clean_files_save=$ac_clean_files
4715 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4716 # Try to create an executable without -o first, disregard a.out.
4717 # It will help us diagnose broken compilers, and finding out an intuition
4718 # of exeext.
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4720 $as_echo_n "checking whether the C compiler works... " >&6; }
4721 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4723 # The possible output files:
4724 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4726 ac_rmfiles=
4727 for ac_file in $ac_files
4729 case $ac_file in
4730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4731 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4732 esac
4733 done
4734 rm -f $ac_rmfiles
4736 if { { ac_try="$ac_link_default"
4737 case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4742 $as_echo "$ac_try_echo"; } >&5
4743 (eval "$ac_link_default") 2>&5
4744 ac_status=$?
4745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4746 test $ac_status = 0; }; then :
4747 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4748 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4749 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4750 # so that the user can short-circuit this test for compilers unknown to
4751 # Autoconf.
4752 for ac_file in $ac_files ''
4754 test -f "$ac_file" || continue
4755 case $ac_file in
4756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4758 [ab].out )
4759 # We found the default executable, but exeext='' is most
4760 # certainly right.
4761 break;;
4762 *.* )
4763 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4764 then :; else
4765 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4767 # We set ac_cv_exeext here because the later test for it is not
4768 # safe: cross compilers may not add the suffix if given an `-o'
4769 # argument, so we may need to know it at that point already.
4770 # Even if this section looks crufty: it has the advantage of
4771 # actually working.
4772 break;;
4774 break;;
4775 esac
4776 done
4777 test "$ac_cv_exeext" = no && ac_cv_exeext=
4779 else
4780 ac_file=''
4782 if test -z "$ac_file"; then :
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4785 $as_echo "$as_me: failed program was:" >&5
4786 sed 's/^/| /' conftest.$ac_ext >&5
4788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4790 as_fn_error 77 "C compiler cannot create executables
4791 See \`config.log' for more details" "$LINENO" 5; }
4792 else
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4797 $as_echo_n "checking for C compiler default output file name... " >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4799 $as_echo "$ac_file" >&6; }
4800 ac_exeext=$ac_cv_exeext
4802 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4803 ac_clean_files=$ac_clean_files_save
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4805 $as_echo_n "checking for suffix of executables... " >&6; }
4806 if { { ac_try="$ac_link"
4807 case "(($ac_try" in
4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809 *) ac_try_echo=$ac_try;;
4810 esac
4811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4812 $as_echo "$ac_try_echo"; } >&5
4813 (eval "$ac_link") 2>&5
4814 ac_status=$?
4815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4816 test $ac_status = 0; }; then :
4817 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4818 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4819 # work properly (i.e., refer to `conftest.exe'), while it won't with
4820 # `rm'.
4821 for ac_file in conftest.exe conftest conftest.*; do
4822 test -f "$ac_file" || continue
4823 case $ac_file in
4824 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4825 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4826 break;;
4827 * ) break;;
4828 esac
4829 done
4830 else
4831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4833 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4834 See \`config.log' for more details" "$LINENO" 5; }
4836 rm -f conftest conftest$ac_cv_exeext
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4838 $as_echo "$ac_cv_exeext" >&6; }
4840 rm -f conftest.$ac_ext
4841 EXEEXT=$ac_cv_exeext
4842 ac_exeext=$EXEEXT
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4845 #include <stdio.h>
4847 main ()
4849 FILE *f = fopen ("conftest.out", "w");
4850 return ferror (f) || fclose (f) != 0;
4853 return 0;
4855 _ACEOF
4856 ac_clean_files="$ac_clean_files conftest.out"
4857 # Check that the compiler produces executables we can run. If not, either
4858 # the compiler is broken, or we cross compile.
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4860 $as_echo_n "checking whether we are cross compiling... " >&6; }
4861 if test "$cross_compiling" != yes; then
4862 { { ac_try="$ac_link"
4863 case "(($ac_try" in
4864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865 *) ac_try_echo=$ac_try;;
4866 esac
4867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4868 $as_echo "$ac_try_echo"; } >&5
4869 (eval "$ac_link") 2>&5
4870 ac_status=$?
4871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4872 test $ac_status = 0; }
4873 if { ac_try='./conftest$ac_cv_exeext'
4874 { { case "(($ac_try" in
4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4877 esac
4878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879 $as_echo "$ac_try_echo"; } >&5
4880 (eval "$ac_try") 2>&5
4881 ac_status=$?
4882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4883 test $ac_status = 0; }; }; then
4884 cross_compiling=no
4885 else
4886 if test "$cross_compiling" = maybe; then
4887 cross_compiling=yes
4888 else
4889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4891 as_fn_error $? "cannot run C compiled programs.
4892 If you meant to cross compile, use \`--host'.
4893 See \`config.log' for more details" "$LINENO" 5; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4898 $as_echo "$cross_compiling" >&6; }
4900 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4901 ac_clean_files=$ac_clean_files_save
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4903 $as_echo_n "checking for suffix of object files... " >&6; }
4904 if ${ac_cv_objext+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4911 main ()
4915 return 0;
4917 _ACEOF
4918 rm -f conftest.o conftest.obj
4919 if { { ac_try="$ac_compile"
4920 case "(($ac_try" in
4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922 *) ac_try_echo=$ac_try;;
4923 esac
4924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4925 $as_echo "$ac_try_echo"; } >&5
4926 (eval "$ac_compile") 2>&5
4927 ac_status=$?
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }; then :
4930 for ac_file in conftest.o conftest.obj conftest.*; do
4931 test -f "$ac_file" || continue;
4932 case $ac_file in
4933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4934 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4935 break;;
4936 esac
4937 done
4938 else
4939 $as_echo "$as_me: failed program was:" >&5
4940 sed 's/^/| /' conftest.$ac_ext >&5
4942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4944 as_fn_error $? "cannot compute suffix of object files: cannot compile
4945 See \`config.log' for more details" "$LINENO" 5; }
4947 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4950 $as_echo "$ac_cv_objext" >&6; }
4951 OBJEXT=$ac_cv_objext
4952 ac_objext=$OBJEXT
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4954 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4955 if ${ac_cv_c_compiler_gnu+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4962 main ()
4964 #ifndef __GNUC__
4965 choke me
4966 #endif
4969 return 0;
4971 _ACEOF
4972 if ac_fn_c_try_compile "$LINENO"; then :
4973 ac_compiler_gnu=yes
4974 else
4975 ac_compiler_gnu=no
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4982 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4983 if test $ac_compiler_gnu = yes; then
4984 GCC=yes
4985 else
4986 GCC=
4988 ac_test_CFLAGS=${CFLAGS+set}
4989 ac_save_CFLAGS=$CFLAGS
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4991 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4992 if ${ac_cv_prog_cc_g+:} false; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 ac_save_c_werror_flag=$ac_c_werror_flag
4996 ac_c_werror_flag=yes
4997 ac_cv_prog_cc_g=no
4998 CFLAGS="-g"
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_compile "$LINENO"; then :
5011 ac_cv_prog_cc_g=yes
5012 else
5013 CFLAGS=""
5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5018 main ()
5022 return 0;
5024 _ACEOF
5025 if ac_fn_c_try_compile "$LINENO"; then :
5027 else
5028 ac_c_werror_flag=$ac_save_c_werror_flag
5029 CFLAGS="-g"
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5034 main ()
5038 return 0;
5040 _ACEOF
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 ac_cv_prog_cc_g=yes
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 ac_c_werror_flag=$ac_save_c_werror_flag
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5052 $as_echo "$ac_cv_prog_cc_g" >&6; }
5053 if test "$ac_test_CFLAGS" = set; then
5054 CFLAGS=$ac_save_CFLAGS
5055 elif test $ac_cv_prog_cc_g = yes; then
5056 if test "$GCC" = yes; then
5057 CFLAGS="-g -O2"
5058 else
5059 CFLAGS="-g"
5061 else
5062 if test "$GCC" = yes; then
5063 CFLAGS="-O2"
5064 else
5065 CFLAGS=
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5069 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5070 if ${ac_cv_prog_cc_c89+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 ac_cv_prog_cc_c89=no
5074 ac_save_CC=$CC
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5077 #include <stdarg.h>
5078 #include <stdio.h>
5079 struct stat;
5080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5081 struct buf { int x; };
5082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5083 static char *e (p, i)
5084 char **p;
5085 int i;
5087 return p[i];
5089 static char *f (char * (*g) (char **, int), char **p, ...)
5091 char *s;
5092 va_list v;
5093 va_start (v,p);
5094 s = g (p, va_arg (v,int));
5095 va_end (v);
5096 return s;
5099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5100 function prototypes and stuff, but not '\xHH' hex character constants.
5101 These don't provoke an error unfortunately, instead are silently treated
5102 as 'x'. The following induces an error, until -std is added to get
5103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5104 array size at least. It's necessary to write '\x00'==0 to get something
5105 that's true only with -std. */
5106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5109 inside strings and character constants. */
5110 #define FOO(x) 'x'
5111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5113 int test (int i, double x);
5114 struct s1 {int (*f) (int a);};
5115 struct s2 {int (*f) (double a);};
5116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5117 int argc;
5118 char **argv;
5120 main ()
5122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5124 return 0;
5126 _ACEOF
5127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5130 CC="$ac_save_CC $ac_arg"
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 ac_cv_prog_cc_c89=$ac_arg
5134 rm -f core conftest.err conftest.$ac_objext
5135 test "x$ac_cv_prog_cc_c89" != "xno" && break
5136 done
5137 rm -f conftest.$ac_ext
5138 CC=$ac_save_CC
5141 # AC_CACHE_VAL
5142 case "x$ac_cv_prog_cc_c89" in
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5145 $as_echo "none needed" >&6; } ;;
5146 xno)
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5148 $as_echo "unsupported" >&6; } ;;
5150 CC="$CC $ac_cv_prog_cc_c89"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5152 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5153 esac
5154 if test "x$ac_cv_prog_cc_c89" != xno; then :
5158 ac_ext=c
5159 ac_cpp='$CPP $CPPFLAGS'
5160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5164 ac_ext=cpp
5165 ac_cpp='$CXXCPP $CPPFLAGS'
5166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5169 if test -z "$CXX"; then
5170 if test -n "$CCC"; then
5171 CXX=$CCC
5172 else
5173 if test -n "$ac_tool_prefix"; then
5174 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_CXX+:} false; then :
5181 $as_echo_n "(cached) " >&6
5182 else
5183 if test -n "$CXX"; then
5184 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5189 IFS=$as_save_IFS
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 break 2
5197 done
5198 done
5199 IFS=$as_save_IFS
5203 CXX=$ac_cv_prog_CXX
5204 if test -n "$CXX"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5206 $as_echo "$CXX" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 test -n "$CXX" && break
5214 done
5216 if test -z "$CXX"; then
5217 ac_ct_CXX=$CXX
5218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5220 # Extract the first word of "$ac_prog", so it can be a program name with args.
5221 set dummy $ac_prog; ac_word=$2
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223 $as_echo_n "checking for $ac_word... " >&6; }
5224 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5225 $as_echo_n "(cached) " >&6
5226 else
5227 if test -n "$ac_ct_CXX"; then
5228 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_ac_ct_CXX="$ac_prog"
5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5243 IFS=$as_save_IFS
5247 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5248 if test -n "$ac_ct_CXX"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5250 $as_echo "$ac_ct_CXX" >&6; }
5251 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5257 test -n "$ac_ct_CXX" && break
5258 done
5260 if test "x$ac_ct_CXX" = x; then
5261 CXX="g++"
5262 else
5263 case $cross_compiling:$ac_tool_warned in
5264 yes:)
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5267 ac_tool_warned=yes ;;
5268 esac
5269 CXX=$ac_ct_CXX
5275 # Provide some information about the compiler.
5276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5277 set X $ac_compile
5278 ac_compiler=$2
5279 for ac_option in --version -v -V -qversion; do
5280 { { ac_try="$ac_compiler $ac_option >&5"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 $as_echo "$ac_try_echo"; } >&5
5287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5288 ac_status=$?
5289 if test -s conftest.err; then
5290 sed '10a\
5291 ... rest of stderr output deleted ...
5292 10q' conftest.err >conftest.er1
5293 cat conftest.er1 >&5
5295 rm -f conftest.er1 conftest.err
5296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5297 test $ac_status = 0; }
5298 done
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5301 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5302 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5309 main ()
5311 #ifndef __GNUC__
5312 choke me
5313 #endif
5316 return 0;
5318 _ACEOF
5319 if ac_fn_cxx_try_compile "$LINENO"; then :
5320 ac_compiler_gnu=yes
5321 else
5322 ac_compiler_gnu=no
5324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5329 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5330 if test $ac_compiler_gnu = yes; then
5331 GXX=yes
5332 else
5333 GXX=
5335 ac_test_CXXFLAGS=${CXXFLAGS+set}
5336 ac_save_CXXFLAGS=$CXXFLAGS
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5338 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5339 if ${ac_cv_prog_cxx_g+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5343 ac_cxx_werror_flag=yes
5344 ac_cv_prog_cxx_g=no
5345 CXXFLAGS="-g"
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5354 return 0;
5356 _ACEOF
5357 if ac_fn_cxx_try_compile "$LINENO"; then :
5358 ac_cv_prog_cxx_g=yes
5359 else
5360 CXXFLAGS=""
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main ()
5369 return 0;
5371 _ACEOF
5372 if ac_fn_cxx_try_compile "$LINENO"; then :
5374 else
5375 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5376 CXXFLAGS="-g"
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main ()
5385 return 0;
5387 _ACEOF
5388 if ac_fn_cxx_try_compile "$LINENO"; then :
5389 ac_cv_prog_cxx_g=yes
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5399 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5400 if test "$ac_test_CXXFLAGS" = set; then
5401 CXXFLAGS=$ac_save_CXXFLAGS
5402 elif test $ac_cv_prog_cxx_g = yes; then
5403 if test "$GXX" = yes; then
5404 CXXFLAGS="-g -O2"
5405 else
5406 CXXFLAGS="-g"
5408 else
5409 if test "$GXX" = yes; then
5410 CXXFLAGS="-O2"
5411 else
5412 CXXFLAGS=
5415 ac_ext=c
5416 ac_cpp='$CPP $CPPFLAGS'
5417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5421 if test -n "$ac_tool_prefix"; then
5422 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5423 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_prog_CPPBIN+:} false; then :
5427 $as_echo_n "(cached) " >&6
5428 else
5429 if test -n "$CPPBIN"; then
5430 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5431 else
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in $PATH
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 break 2
5443 done
5444 done
5445 IFS=$as_save_IFS
5449 CPPBIN=$ac_cv_prog_CPPBIN
5450 if test -n "$CPPBIN"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5452 $as_echo "$CPPBIN" >&6; }
5453 else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5460 if test -z "$ac_cv_prog_CPPBIN"; then
5461 ac_ct_CPPBIN=$CPPBIN
5462 # Extract the first word of "cpp", so it can be a program name with args.
5463 set dummy cpp; ac_word=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 if test -n "$ac_ct_CPPBIN"; then
5470 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5471 else
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_ac_ct_CPPBIN="cpp"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5483 done
5484 done
5485 IFS=$as_save_IFS
5489 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5490 if test -n "$ac_ct_CPPBIN"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5492 $as_echo "$ac_ct_CPPBIN" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5498 if test "x$ac_ct_CPPBIN" = x; then
5499 CPPBIN="cpp"
5500 else
5501 case $cross_compiling:$ac_tool_warned in
5502 yes:)
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5505 ac_tool_warned=yes ;;
5506 esac
5507 CPPBIN=$ac_ct_CPPBIN
5509 else
5510 CPPBIN="$ac_cv_prog_CPPBIN"
5514 cat >>confdefs.h <<_ACEOF
5515 #define EXEEXT "$ac_exeext"
5516 _ACEOF
5518 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5520 set dummy ${ac_tool_prefix}ld; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_LD+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$LD"; then
5527 ac_cv_prog_LD="$LD" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_LD="${ac_tool_prefix}ld"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 LD=$ac_cv_prog_LD
5547 if test -n "$LD"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5549 $as_echo "$LD" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if test -z "$ac_cv_prog_LD"; then
5558 ac_ct_LD=$LD
5559 # Extract the first word of "ld", so it can be a program name with args.
5560 set dummy ld; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -n "$ac_ct_LD"; then
5567 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5568 else
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_ac_ct_LD="ld"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 break 2
5580 done
5581 done
5582 IFS=$as_save_IFS
5586 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5587 if test -n "$ac_ct_LD"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5589 $as_echo "$ac_ct_LD" >&6; }
5590 else
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5595 if test "x$ac_ct_LD" = x; then
5596 LD=""
5597 else
5598 case $cross_compiling:$ac_tool_warned in
5599 yes:)
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned=yes ;;
5603 esac
5604 LD=$ac_ct_LD
5606 else
5607 LD="$ac_cv_prog_LD"
5611 case $host in
5612 *-darwin*)
5613 with_fontconfig=${with_fontconfig:-no}
5615 *-mingw32*|*-cygwin*)
5616 enable_win16=${enable_win16:-no}
5617 with_mingw=${with_mingw:-no}
5618 CFLAGS="$CFLAGS -D_WIN32"
5620 esac
5622 case $host in
5623 x86_64*|amd64*)
5624 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5625 then
5626 CC="$CC -m32"
5627 CXX="$CXX -m32"
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5630 $as_echo_n "checking whether $CC works... " >&6; }
5631 if ${wine_cv_cc_m32+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5638 main ()
5642 return 0;
5644 _ACEOF
5645 if ac_fn_c_try_link "$LINENO"; then :
5646 wine_cv_cc_m32=yes
5647 else
5648 wine_cv_cc_m32=no
5650 rm -f core conftest.err conftest.$ac_objext \
5651 conftest$ac_exeext conftest.$ac_ext
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5654 $as_echo "$wine_cv_cc_m32" >&6; }
5655 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
5656 host_cpu="i386"
5657 notice_platform="32-bit "
5658 TARGETFLAGS="-m32"
5660 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5661 export PKG_CONFIG_PATH
5662 enable_win16=${enable_win16:-yes}
5663 with_unwind=${with_unwind:-no}
5664 else
5665 if test "x${GCC}" = "xyes"
5666 then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5668 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5669 if ${wine_cv_builtin_ms_va_list+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5674 #include <stdarg.h>
5676 main ()
5678 void func(__builtin_ms_va_list *args);
5680 return 0;
5682 _ACEOF
5683 if ac_fn_c_try_compile "$LINENO"; then :
5684 wine_cv_builtin_ms_va_list=yes
5685 else
5686 wine_cv_builtin_ms_va_list=no
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5691 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5692 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
5694 CC="$CC -m64"
5695 CXX="$CXX -m64"
5696 host_cpu="x86_64"
5697 notice_platform="64-bit "
5698 TARGETFLAGS="-m64"
5702 arm*)
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5704 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5705 if ${wine_cv_thumb+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5710 int ac_test(int i) { return i; }
5712 main ()
5714 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5716 return 0;
5718 _ACEOF
5719 if ac_fn_c_try_link "$LINENO"; then :
5720 wine_cv_thumb=yes
5721 else
5722 wine_cv_thumb=no
5724 rm -f core conftest.err conftest.$ac_objext \
5725 conftest$ac_exeext conftest.$ac_ext
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5728 $as_echo "$wine_cv_thumb" >&6; }
5729 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5730 case $with_float_abi in
5731 soft|softfp|hard)
5732 float_abi=$with_float_abi ;;
5734 case $host_os in
5735 *eabihf)
5736 float_abi=hard ;;
5738 float_abi=softfp
5739 saved_CFLAGS=$CFLAGS
5740 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5742 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5743 if ${wine_cv_float_abi+:} false; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5750 main ()
5752 asm("vmrs r2,fpscr");
5754 return 0;
5756 _ACEOF
5757 if ac_fn_c_try_link "$LINENO"; then :
5758 wine_cv_float_abi=yes
5759 else
5760 wine_cv_float_abi=no
5762 rm -f core conftest.err conftest.$ac_objext \
5763 conftest$ac_exeext conftest.$ac_ext
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5766 $as_echo "$wine_cv_float_abi" >&6; }
5767 if test $wine_cv_float_abi = no
5768 then
5769 float_abi=soft
5770 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5772 CFLAGS=$saved_CFLAGS
5773 esac
5775 esac
5776 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5777 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5780 aarch64*)
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5782 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5783 if ${wine_cv_builtin_ms_va_list+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5788 #include <stdarg.h>
5790 main ()
5792 void func(__builtin_ms_va_list *args);
5794 return 0;
5796 _ACEOF
5797 if ac_fn_c_try_compile "$LINENO"; then :
5798 wine_cv_builtin_ms_va_list=yes
5799 else
5800 wine_cv_builtin_ms_va_list=no
5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5805 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5806 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5808 i[3456789]86*)
5809 enable_win16=${enable_win16:-yes}
5810 with_unwind=${with_unwind:-no}
5812 esac
5814 enable_win16=${enable_win16:-no}
5815 enable_win64=${enable_win64:-no}
5817 enable_winetest=${enable_winetest:-$enable_tests}
5819 if test "x$enable_win64" = "xyes"
5820 then
5821 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5822 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5823 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5827 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5828 if ${wine_cv_toolsdir+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 wine_cv_toolsdir="$with_wine_tools"
5832 if test -z "$with_wine_tools"; then
5833 if test "$cross_compiling" = "yes"; then
5834 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5835 elif test -n "$with_wine64"; then
5836 wine_cv_toolsdir="$with_wine64"
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5841 $as_echo "$wine_cv_toolsdir" >&6; }
5842 if test -z "$wine_cv_toolsdir"; then
5843 wine_makedep=tools/makedep
5844 TOOLSDIR="."
5846 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5847 wine_makedep=$wine_cv_toolsdir/tools/makedep
5848 TOOLSDIR=$wine_cv_toolsdir
5850 enable_tools=${enable_tools:-no}
5851 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5852 else
5853 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5855 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5856 then
5857 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5861 for ac_prog in flex
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy $ac_prog; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_FLEX+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -n "$FLEX"; then
5871 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_FLEX="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 break 2
5884 done
5885 done
5886 IFS=$as_save_IFS
5890 FLEX=$ac_cv_prog_FLEX
5891 if test -n "$FLEX"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5893 $as_echo "$FLEX" >&6; }
5894 else
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$FLEX" && break
5901 done
5902 test -n "$FLEX" || FLEX="none"
5904 if test "$FLEX" = "none"
5905 then
5906 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5909 $as_echo_n "checking whether flex is recent enough... " >&6; }
5910 if ${wine_cv_recent_flex+:} false; then :
5911 $as_echo_n "(cached) " >&6
5912 else
5913 cat >conftest.l <<EOF
5914 %top{
5915 #include "prediluvian.h"
5919 if $FLEX -t conftest.l >/dev/null 2>&5
5920 then
5921 wine_cv_recent_flex=yes
5922 else
5923 wine_cv_recent_flex=no
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5927 $as_echo "$wine_cv_recent_flex" >&6; }
5928 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
5930 for ac_prog in bison
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy $ac_prog; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_BISON+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 if test -n "$BISON"; then
5940 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_BISON="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5955 IFS=$as_save_IFS
5959 BISON=$ac_cv_prog_BISON
5960 if test -n "$BISON"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5962 $as_echo "$BISON" >&6; }
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$BISON" && break
5970 done
5971 test -n "$BISON" || BISON="none"
5973 if test "$BISON" = "none"
5974 then
5975 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5978 $as_echo_n "checking whether bison is recent enough... " >&6; }
5979 if ${wine_cv_recent_bison+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 cat >conftest.y <<EOF
5983 %define parse.error verbose
5985 empty: ;
5987 if $BISON conftest.y >/dev/null 2>&5
5988 then
5989 wine_cv_recent_bison=yes
5990 else
5991 wine_cv_recent_bison=no
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5995 $as_echo "$wine_cv_recent_bison" >&6; }
5996 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
5998 if test -n "$ac_tool_prefix"; then
5999 for ac_prog in ar gar
6001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_AR+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$AR"; then
6009 ac_cv_prog_AR="$AR" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 AR=$ac_cv_prog_AR
6029 if test -n "$AR"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6031 $as_echo "$AR" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$AR" && break
6039 done
6041 if test -z "$AR"; then
6042 ac_ct_AR=$AR
6043 for ac_prog in ar gar
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 if test -n "$ac_ct_AR"; then
6053 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_ac_ct_AR="$ac_prog"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6073 if test -n "$ac_ct_AR"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6075 $as_echo "$ac_ct_AR" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6082 test -n "$ac_ct_AR" && break
6083 done
6085 if test "x$ac_ct_AR" = x; then
6086 AR="ar"
6087 else
6088 case $cross_compiling:$ac_tool_warned in
6089 yes:)
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092 ac_tool_warned=yes ;;
6093 esac
6094 AR=$ac_ct_AR
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}strip; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_STRIP+:} false; then :
6104 $as_echo_n "(cached) " >&6
6105 else
6106 if test -n "$STRIP"; then
6107 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6112 IFS=$as_save_IFS
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 break 2
6120 done
6121 done
6122 IFS=$as_save_IFS
6126 STRIP=$ac_cv_prog_STRIP
6127 if test -n "$STRIP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6129 $as_echo "$STRIP" >&6; }
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6137 if test -z "$ac_cv_prog_STRIP"; then
6138 ac_ct_STRIP=$STRIP
6139 # Extract the first word of "strip", so it can be a program name with args.
6140 set dummy strip; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6144 $as_echo_n "(cached) " >&6
6145 else
6146 if test -n "$ac_ct_STRIP"; then
6147 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6152 IFS=$as_save_IFS
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_ac_ct_STRIP="strip"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 break 2
6160 done
6161 done
6162 IFS=$as_save_IFS
6166 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6167 if test -n "$ac_ct_STRIP"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6169 $as_echo "$ac_ct_STRIP" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6175 if test "x$ac_ct_STRIP" = x; then
6176 STRIP="strip"
6177 else
6178 case $cross_compiling:$ac_tool_warned in
6179 yes:)
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6183 esac
6184 STRIP=$ac_ct_STRIP
6186 else
6187 STRIP="$ac_cv_prog_STRIP"
6190 if test -n "$ac_tool_prefix"; then
6191 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6192 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_RANLIB+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$RANLIB"; then
6199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 RANLIB=$ac_cv_prog_RANLIB
6219 if test -n "$RANLIB"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6221 $as_echo "$RANLIB" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6229 if test -z "$ac_cv_prog_RANLIB"; then
6230 ac_ct_RANLIB=$RANLIB
6231 # Extract the first word of "ranlib", so it can be a program name with args.
6232 set dummy ranlib; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 if test -n "$ac_ct_RANLIB"; then
6239 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6240 else
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 for as_dir in $PATH
6244 IFS=$as_save_IFS
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_ac_ct_RANLIB="ranlib"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 break 2
6252 done
6253 done
6254 IFS=$as_save_IFS
6258 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6259 if test -n "$ac_ct_RANLIB"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6261 $as_echo "$ac_ct_RANLIB" >&6; }
6262 else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6267 if test "x$ac_ct_RANLIB" = x; then
6268 RANLIB=":"
6269 else
6270 case $cross_compiling:$ac_tool_warned in
6271 yes:)
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6274 ac_tool_warned=yes ;;
6275 esac
6276 RANLIB=$ac_ct_RANLIB
6278 else
6279 RANLIB="$ac_cv_prog_RANLIB"
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6283 $as_echo_n "checking whether ln -s works... " >&6; }
6284 LN_S=$as_ln_s
6285 if test "$LN_S" = "ln -s"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6287 $as_echo "yes" >&6; }
6288 else
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6290 $as_echo "no, using $LN_S" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6294 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6295 if ${ac_cv_path_GREP+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 if test -z "$GREP"; then
6299 ac_path_GREP_found=false
6300 # Loop through the user's path and test for each of PROGNAME-LIST
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6304 IFS=$as_save_IFS
6305 test -z "$as_dir" && as_dir=.
6306 for ac_prog in grep ggrep; do
6307 for ac_exec_ext in '' $ac_executable_extensions; do
6308 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6309 as_fn_executable_p "$ac_path_GREP" || continue
6310 # Check for GNU ac_path_GREP and select it if it is found.
6311 # Check for GNU $ac_path_GREP
6312 case `"$ac_path_GREP" --version 2>&1` in
6313 *GNU*)
6314 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6316 ac_count=0
6317 $as_echo_n 0123456789 >"conftest.in"
6318 while :
6320 cat "conftest.in" "conftest.in" >"conftest.tmp"
6321 mv "conftest.tmp" "conftest.in"
6322 cp "conftest.in" "conftest.nl"
6323 $as_echo 'GREP' >> "conftest.nl"
6324 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6326 as_fn_arith $ac_count + 1 && ac_count=$as_val
6327 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6328 # Best one so far, save it but keep looking for a better one
6329 ac_cv_path_GREP="$ac_path_GREP"
6330 ac_path_GREP_max=$ac_count
6332 # 10*(2^10) chars as input seems more than enough
6333 test $ac_count -gt 10 && break
6334 done
6335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6336 esac
6338 $ac_path_GREP_found && break 3
6339 done
6340 done
6341 done
6342 IFS=$as_save_IFS
6343 if test -z "$ac_cv_path_GREP"; then
6344 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6346 else
6347 ac_cv_path_GREP=$GREP
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6352 $as_echo "$ac_cv_path_GREP" >&6; }
6353 GREP="$ac_cv_path_GREP"
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6357 $as_echo_n "checking for egrep... " >&6; }
6358 if ${ac_cv_path_EGREP+:} false; then :
6359 $as_echo_n "(cached) " >&6
6360 else
6361 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6362 then ac_cv_path_EGREP="$GREP -E"
6363 else
6364 if test -z "$EGREP"; then
6365 ac_path_EGREP_found=false
6366 # Loop through the user's path and test for each of PROGNAME-LIST
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6370 IFS=$as_save_IFS
6371 test -z "$as_dir" && as_dir=.
6372 for ac_prog in egrep; do
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6375 as_fn_executable_p "$ac_path_EGREP" || continue
6376 # Check for GNU ac_path_EGREP and select it if it is found.
6377 # Check for GNU $ac_path_EGREP
6378 case `"$ac_path_EGREP" --version 2>&1` in
6379 *GNU*)
6380 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6382 ac_count=0
6383 $as_echo_n 0123456789 >"conftest.in"
6384 while :
6386 cat "conftest.in" "conftest.in" >"conftest.tmp"
6387 mv "conftest.tmp" "conftest.in"
6388 cp "conftest.in" "conftest.nl"
6389 $as_echo 'EGREP' >> "conftest.nl"
6390 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6391 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6392 as_fn_arith $ac_count + 1 && ac_count=$as_val
6393 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6394 # Best one so far, save it but keep looking for a better one
6395 ac_cv_path_EGREP="$ac_path_EGREP"
6396 ac_path_EGREP_max=$ac_count
6398 # 10*(2^10) chars as input seems more than enough
6399 test $ac_count -gt 10 && break
6400 done
6401 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6402 esac
6404 $ac_path_EGREP_found && break 3
6405 done
6406 done
6407 done
6408 IFS=$as_save_IFS
6409 if test -z "$ac_cv_path_EGREP"; then
6410 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6412 else
6413 ac_cv_path_EGREP=$EGREP
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6419 $as_echo "$ac_cv_path_EGREP" >&6; }
6420 EGREP="$ac_cv_path_EGREP"
6423 # Extract the first word of "ldconfig", so it can be a program name with args.
6424 set dummy ldconfig; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_path_LDCONFIG+:} false; then :
6428 $as_echo_n "(cached) " >&6
6429 else
6430 case $LDCONFIG in
6431 [\\/]* | ?:[\\/]*)
6432 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in /sbin /usr/sbin $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6450 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6452 esac
6454 LDCONFIG=$ac_cv_path_LDCONFIG
6455 if test -n "$LDCONFIG"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6457 $as_echo "$LDCONFIG" >&6; }
6458 else
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6464 for ac_prog in msgfmt
6466 # Extract the first word of "$ac_prog", so it can be a program name with args.
6467 set dummy $ac_prog; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_MSGFMT+:} false; then :
6471 $as_echo_n "(cached) " >&6
6472 else
6473 if test -n "$MSGFMT"; then
6474 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6475 else
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 for as_dir in $PATH
6479 IFS=$as_save_IFS
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_MSGFMT="$ac_prog"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 break 2
6487 done
6488 done
6489 IFS=$as_save_IFS
6493 MSGFMT=$ac_cv_prog_MSGFMT
6494 if test -n "$MSGFMT"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6496 $as_echo "$MSGFMT" >&6; }
6497 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6503 test -n "$MSGFMT" && break
6504 done
6505 test -n "$MSGFMT" || MSGFMT="false"
6507 if ${ac_tool_prefix+:} false; then :
6508 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6509 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 if test -n "$PKG_CONFIG"; then
6516 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6535 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6536 if test -n "$PKG_CONFIG"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6538 $as_echo "$PKG_CONFIG" >&6; }
6539 else
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6546 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6547 if test "x$cross_compiling" = xyes; then :
6549 else
6550 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6551 # Extract the first word of "pkg-config", so it can be a program name with args.
6552 set dummy pkg-config; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 if test -n "$PKG_CONFIG"; then
6559 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_PKG_CONFIG="pkg-config"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 break 2
6572 done
6573 done
6574 IFS=$as_save_IFS
6578 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6579 if test -n "$PKG_CONFIG"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6581 $as_echo "$PKG_CONFIG" >&6; }
6582 else
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6589 else
6590 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6593 if test "x$enable_maintainer_mode" != "xyes"
6594 then
6595 FONTFORGE=""
6596 RSVG=""
6597 CONVERT=""
6598 ICOTOOL=""
6599 else
6600 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6601 for ac_prog in fontforge
6603 # Extract the first word of "$ac_prog", so it can be a program name with args.
6604 set dummy $ac_prog; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_FONTFORGE+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 if test -n "$FONTFORGE"; then
6611 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6616 IFS=$as_save_IFS
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_FONTFORGE="$ac_prog"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 break 2
6624 done
6625 done
6626 IFS=$as_save_IFS
6630 FONTFORGE=$ac_cv_prog_FONTFORGE
6631 if test -n "$FONTFORGE"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6633 $as_echo "$FONTFORGE" >&6; }
6634 else
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6640 test -n "$FONTFORGE" && break
6641 done
6642 test -n "$FONTFORGE" || FONTFORGE="false"
6644 for ac_prog in rsvg-convert rsvg
6646 # Extract the first word of "$ac_prog", so it can be a program name with args.
6647 set dummy $ac_prog; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_RSVG+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 if test -n "$RSVG"; then
6654 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_RSVG="$ac_prog"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 RSVG=$ac_cv_prog_RSVG
6674 if test -n "$RSVG"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6676 $as_echo "$RSVG" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6683 test -n "$RSVG" && break
6684 done
6685 test -n "$RSVG" || RSVG="false"
6687 for ac_prog in convert
6689 # Extract the first word of "$ac_prog", so it can be a program name with args.
6690 set dummy $ac_prog; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if ${ac_cv_prog_CONVERT+:} false; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 if test -n "$CONVERT"; then
6697 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_CONVERT="$ac_prog"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 CONVERT=$ac_cv_prog_CONVERT
6717 if test -n "$CONVERT"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6719 $as_echo "$CONVERT" >&6; }
6720 else
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6726 test -n "$CONVERT" && break
6727 done
6728 test -n "$CONVERT" || CONVERT="false"
6730 for ac_prog in icotool
6732 # Extract the first word of "$ac_prog", so it can be a program name with args.
6733 set dummy $ac_prog; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 $as_echo_n "checking for $ac_word... " >&6; }
6736 if ${ac_cv_prog_ICOTOOL+:} false; then :
6737 $as_echo_n "(cached) " >&6
6738 else
6739 if test -n "$ICOTOOL"; then
6740 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6741 else
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 for as_dir in $PATH
6745 IFS=$as_save_IFS
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ICOTOOL="$ac_prog"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 break 2
6753 done
6754 done
6755 IFS=$as_save_IFS
6759 ICOTOOL=$ac_cv_prog_ICOTOOL
6760 if test -n "$ICOTOOL"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6762 $as_echo "$ICOTOOL" >&6; }
6763 else
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6769 test -n "$ICOTOOL" && break
6770 done
6771 test -n "$ICOTOOL" || ICOTOOL="false"
6773 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6774 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6776 if test "$CONVERT" = false
6777 then
6778 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6781 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6782 convert_version=`convert --version | head -n1`
6783 if test "x$convert_version" != "x"
6784 then
6785 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6786 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6787 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6788 then
6789 CONVERT=false
6792 if test "$CONVERT" = false
6793 then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6795 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6796 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6799 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6803 if test "$ICOTOOL" = false
6804 then
6805 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6806 else
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6808 $as_echo_n "checking for recent enough icotool... " >&6; }
6809 icotool_version=`icotool --version | head -n1`
6810 if test "x$icotool_version" != "x"
6811 then
6812 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6813 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6814 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6815 then
6816 ICOTOOL=false
6817 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6820 if test "$ICOTOOL" = false
6821 then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6823 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6824 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6827 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6831 with_gettext=yes
6832 with_gettextpo=yes
6834 enable_werror=yes
6837 test "x$with_gettext" != xno || MSGFMT=false
6838 if test "$MSGFMT" != "false"
6839 then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6841 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6842 if ${wine_cv_msgfmt_contexts+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 cat >conftest.po <<EOF
6846 # comment
6847 msgctxt "ctxt"
6848 msgid "id"
6849 msgstr "str"
6851 if $MSGFMT -o /dev/null conftest.po 2>&5
6852 then
6853 wine_cv_msgfmt_contexts=yes
6854 else
6855 wine_cv_msgfmt_contexts=no
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6859 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6860 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6862 if test "$MSGFMT" = false; then :
6863 case "x$with_gettext" in
6864 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6865 xno) ;;
6866 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6867 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6868 esac
6869 enable_po=${enable_po:-no}
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6874 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6875 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6876 $as_echo_n "(cached) " >&6
6877 else
6878 ac_check_lib_save_LIBS=$LIBS
6879 LIBS="-li386 $LIBS"
6880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6881 /* end confdefs.h. */
6883 /* Override any GCC internal prototype to avoid an error.
6884 Use char because int might match the return type of a GCC
6885 builtin and then its argument prototype would still apply. */
6886 #ifdef __cplusplus
6887 extern "C"
6888 #endif
6889 char i386_set_ldt ();
6891 main ()
6893 return i386_set_ldt ();
6895 return 0;
6897 _ACEOF
6898 if ac_fn_c_try_link "$LINENO"; then :
6899 ac_cv_lib_i386_i386_set_ldt=yes
6900 else
6901 ac_cv_lib_i386_i386_set_ldt=no
6903 rm -f core conftest.err conftest.$ac_objext \
6904 conftest$ac_exeext conftest.$ac_ext
6905 LIBS=$ac_check_lib_save_LIBS
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6908 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6909 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6910 I386_LIBS="-li386"
6915 OPENGL_LIBS=""
6919 # Check whether --enable-largefile was given.
6920 if test "${enable_largefile+set}" = set; then :
6921 enableval=$enable_largefile;
6924 if test "$enable_largefile" != no; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6927 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6928 if ${ac_cv_sys_largefile_CC+:} false; then :
6929 $as_echo_n "(cached) " >&6
6930 else
6931 ac_cv_sys_largefile_CC=no
6932 if test "$GCC" != yes; then
6933 ac_save_CC=$CC
6934 while :; do
6935 # IRIX 6.2 and later do not support large files by default,
6936 # so use the C compiler's -n32 option if that helps.
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <sys/types.h>
6940 /* Check that off_t can represent 2**63 - 1 correctly.
6941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6942 since some C++ compilers masquerading as C compilers
6943 incorrectly reject 9223372036854775807. */
6944 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6946 && LARGE_OFF_T % 2147483647 == 1)
6947 ? 1 : -1];
6949 main ()
6953 return 0;
6955 _ACEOF
6956 if ac_fn_c_try_compile "$LINENO"; then :
6957 break
6959 rm -f core conftest.err conftest.$ac_objext
6960 CC="$CC -n32"
6961 if ac_fn_c_try_compile "$LINENO"; then :
6962 ac_cv_sys_largefile_CC=' -n32'; break
6964 rm -f core conftest.err conftest.$ac_objext
6965 break
6966 done
6967 CC=$ac_save_CC
6968 rm -f conftest.$ac_ext
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6972 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6973 if test "$ac_cv_sys_largefile_CC" != no; then
6974 CC=$CC$ac_cv_sys_largefile_CC
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6978 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6979 if ${ac_cv_sys_file_offset_bits+:} false; then :
6980 $as_echo_n "(cached) " >&6
6981 else
6982 while :; do
6983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6985 #include <sys/types.h>
6986 /* Check that off_t can represent 2**63 - 1 correctly.
6987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6988 since some C++ compilers masquerading as C compilers
6989 incorrectly reject 9223372036854775807. */
6990 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6992 && LARGE_OFF_T % 2147483647 == 1)
6993 ? 1 : -1];
6995 main ()
6999 return 0;
7001 _ACEOF
7002 if ac_fn_c_try_compile "$LINENO"; then :
7003 ac_cv_sys_file_offset_bits=no; break
7005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #define _FILE_OFFSET_BITS 64
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_sys_file_offset_bits=64; break
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 ac_cv_sys_file_offset_bits=unknown
7031 break
7032 done
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7035 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7036 case $ac_cv_sys_file_offset_bits in #(
7037 no | unknown) ;;
7039 cat >>confdefs.h <<_ACEOF
7040 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7041 _ACEOF
7043 esac
7044 rm -rf conftest*
7045 if test $ac_cv_sys_file_offset_bits = unknown; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7047 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7048 if ${ac_cv_sys_large_files+:} false; then :
7049 $as_echo_n "(cached) " >&6
7050 else
7051 while :; do
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #include <sys/types.h>
7055 /* Check that off_t can represent 2**63 - 1 correctly.
7056 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7057 since some C++ compilers masquerading as C compilers
7058 incorrectly reject 9223372036854775807. */
7059 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7060 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7061 && LARGE_OFF_T % 2147483647 == 1)
7062 ? 1 : -1];
7064 main ()
7068 return 0;
7070 _ACEOF
7071 if ac_fn_c_try_compile "$LINENO"; then :
7072 ac_cv_sys_large_files=no; break
7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h. */
7077 #define _LARGE_FILES 1
7078 #include <sys/types.h>
7079 /* Check that off_t can represent 2**63 - 1 correctly.
7080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7081 since some C++ compilers masquerading as C compilers
7082 incorrectly reject 9223372036854775807. */
7083 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7085 && LARGE_OFF_T % 2147483647 == 1)
7086 ? 1 : -1];
7088 main ()
7092 return 0;
7094 _ACEOF
7095 if ac_fn_c_try_compile "$LINENO"; then :
7096 ac_cv_sys_large_files=1; break
7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7099 ac_cv_sys_large_files=unknown
7100 break
7101 done
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7104 $as_echo "$ac_cv_sys_large_files" >&6; }
7105 case $ac_cv_sys_large_files in #(
7106 no | unknown) ;;
7108 cat >>confdefs.h <<_ACEOF
7109 #define _LARGE_FILES $ac_cv_sys_large_files
7110 _ACEOF
7112 esac
7113 rm -rf conftest*
7120 ac_ext=c
7121 ac_cpp='$CPP $CPPFLAGS'
7122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7126 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7127 # On Suns, sometimes $CPP names a directory.
7128 if test -n "$CPP" && test -d "$CPP"; then
7129 CPP=
7131 if test -z "$CPP"; then
7132 if ${ac_cv_prog_CPP+:} false; then :
7133 $as_echo_n "(cached) " >&6
7134 else
7135 # Double quotes because CPP needs to be expanded
7136 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7138 ac_preproc_ok=false
7139 for ac_c_preproc_warn_flag in '' yes
7141 # Use a header file that comes with gcc, so configuring glibc
7142 # with a fresh cross-compiler works.
7143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7144 # <limits.h> exists even on freestanding compilers.
7145 # On the NeXT, cc -E runs the code through the compiler's parser,
7146 # not just through cpp. "Syntax error" is here to catch this case.
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h. */
7149 #ifdef __STDC__
7150 # include <limits.h>
7151 #else
7152 # include <assert.h>
7153 #endif
7154 Syntax error
7155 _ACEOF
7156 if ac_fn_c_try_cpp "$LINENO"; then :
7158 else
7159 # Broken: fails on valid input.
7160 continue
7162 rm -f conftest.err conftest.i conftest.$ac_ext
7164 # OK, works on sane cases. Now check whether nonexistent headers
7165 # can be detected and how.
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7168 #include <ac_nonexistent.h>
7169 _ACEOF
7170 if ac_fn_c_try_cpp "$LINENO"; then :
7171 # Broken: success on invalid input.
7172 continue
7173 else
7174 # Passes both tests.
7175 ac_preproc_ok=:
7176 break
7178 rm -f conftest.err conftest.i conftest.$ac_ext
7180 done
7181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7182 rm -f conftest.i conftest.err conftest.$ac_ext
7183 if $ac_preproc_ok; then :
7184 break
7187 done
7188 ac_cv_prog_CPP=$CPP
7191 CPP=$ac_cv_prog_CPP
7192 else
7193 ac_cv_prog_CPP=$CPP
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7196 $as_echo "$CPP" >&6; }
7197 ac_preproc_ok=false
7198 for ac_c_preproc_warn_flag in '' yes
7200 # Use a header file that comes with gcc, so configuring glibc
7201 # with a fresh cross-compiler works.
7202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7203 # <limits.h> exists even on freestanding compilers.
7204 # On the NeXT, cc -E runs the code through the compiler's parser,
7205 # not just through cpp. "Syntax error" is here to catch this case.
7206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7207 /* end confdefs.h. */
7208 #ifdef __STDC__
7209 # include <limits.h>
7210 #else
7211 # include <assert.h>
7212 #endif
7213 Syntax error
7214 _ACEOF
7215 if ac_fn_c_try_cpp "$LINENO"; then :
7217 else
7218 # Broken: fails on valid input.
7219 continue
7221 rm -f conftest.err conftest.i conftest.$ac_ext
7223 # OK, works on sane cases. Now check whether nonexistent headers
7224 # can be detected and how.
7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7227 #include <ac_nonexistent.h>
7228 _ACEOF
7229 if ac_fn_c_try_cpp "$LINENO"; then :
7230 # Broken: success on invalid input.
7231 continue
7232 else
7233 # Passes both tests.
7234 ac_preproc_ok=:
7235 break
7237 rm -f conftest.err conftest.i conftest.$ac_ext
7239 done
7240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7241 rm -f conftest.i conftest.err conftest.$ac_ext
7242 if $ac_preproc_ok; then :
7244 else
7245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7247 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7248 See \`config.log' for more details" "$LINENO" 5; }
7251 ac_ext=c
7252 ac_cpp='$CPP $CPPFLAGS'
7253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7259 $as_echo_n "checking for ANSI C header files... " >&6; }
7260 if ${ac_cv_header_stdc+:} false; then :
7261 $as_echo_n "(cached) " >&6
7262 else
7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */
7265 #include <stdlib.h>
7266 #include <stdarg.h>
7267 #include <string.h>
7268 #include <float.h>
7271 main ()
7275 return 0;
7277 _ACEOF
7278 if ac_fn_c_try_compile "$LINENO"; then :
7279 ac_cv_header_stdc=yes
7280 else
7281 ac_cv_header_stdc=no
7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285 if test $ac_cv_header_stdc = yes; then
7286 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7289 #include <string.h>
7291 _ACEOF
7292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7293 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7306 #include <stdlib.h>
7308 _ACEOF
7309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7310 $EGREP "free" >/dev/null 2>&1; then :
7312 else
7313 ac_cv_header_stdc=no
7315 rm -f conftest*
7319 if test $ac_cv_header_stdc = yes; then
7320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7321 if test "$cross_compiling" = yes; then :
7323 else
7324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7326 #include <ctype.h>
7327 #include <stdlib.h>
7328 #if ((' ' & 0x0FF) == 0x020)
7329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7331 #else
7332 # define ISLOWER(c) \
7333 (('a' <= (c) && (c) <= 'i') \
7334 || ('j' <= (c) && (c) <= 'r') \
7335 || ('s' <= (c) && (c) <= 'z'))
7336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7337 #endif
7339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7341 main ()
7343 int i;
7344 for (i = 0; i < 256; i++)
7345 if (XOR (islower (i), ISLOWER (i))
7346 || toupper (i) != TOUPPER (i))
7347 return 2;
7348 return 0;
7350 _ACEOF
7351 if ac_fn_c_try_run "$LINENO"; then :
7353 else
7354 ac_cv_header_stdc=no
7356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7357 conftest.$ac_objext conftest.beam conftest.$ac_ext
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7363 $as_echo "$ac_cv_header_stdc" >&6; }
7364 if test $ac_cv_header_stdc = yes; then
7366 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7370 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7371 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7372 inttypes.h stdint.h unistd.h
7373 do :
7374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7375 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7378 cat >>confdefs.h <<_ACEOF
7379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7380 _ACEOF
7384 done
7387 for ac_header in \
7388 AL/al.h \
7389 ApplicationServices/ApplicationServices.h \
7390 AudioToolbox/AudioConverter.h \
7391 AudioUnit/AudioUnit.h \
7392 AudioUnit/AudioComponent.h \
7393 CL/cl.h \
7394 Carbon/Carbon.h \
7395 CommonCrypto/CommonCryptor.h \
7396 CoreAudio/CoreAudio.h \
7397 CoreServices/CoreServices.h \
7398 DiskArbitration/DiskArbitration.h \
7399 EGL/egl.h \
7400 IOKit/IOKitLib.h \
7401 IOKit/hid/IOHIDLib.h \
7402 OpenAL/al.h \
7403 OpenCL/opencl.h \
7404 QuickTime/ImageCompression.h \
7405 Security/Security.h \
7406 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7407 SystemConfiguration/SCNetworkConfiguration.h \
7408 alias.h \
7409 arpa/inet.h \
7410 arpa/nameser.h \
7411 asm/types.h \
7412 asm/user.h \
7413 dirent.h \
7414 dlfcn.h \
7415 elf.h \
7416 float.h \
7417 fnmatch.h \
7418 getopt.h \
7419 gettext-po.h \
7420 grp.h \
7421 gsm.h \
7422 gsm/gsm.h \
7423 ieeefp.h \
7424 inet/mib2.h \
7425 kstat.h \
7426 libproc.h \
7427 link.h \
7428 linux/cdrom.h \
7429 linux/compiler.h \
7430 linux/filter.h \
7431 linux/hdreg.h \
7432 linux/hidraw.h \
7433 linux/input.h \
7434 linux/ioctl.h \
7435 linux/joystick.h \
7436 linux/major.h \
7437 linux/param.h \
7438 linux/serial.h \
7439 linux/types.h \
7440 linux/ucdrom.h \
7441 lwp.h \
7442 mach-o/nlist.h \
7443 mach-o/loader.h \
7444 mach/mach.h \
7445 mach/machine.h \
7446 machine/cpu.h \
7447 machine/sysarch.h \
7448 mntent.h \
7449 netdb.h \
7450 netinet/in.h \
7451 netinet/in_systm.h \
7452 netinet/tcp.h \
7453 netinet/tcp_fsm.h \
7454 pcap/pcap.h \
7455 poll.h \
7456 port.h \
7457 pthread.h \
7458 pwd.h \
7459 sasl/sasl.h \
7460 sched.h \
7461 scsi/scsi.h \
7462 scsi/scsi_ioctl.h \
7463 scsi/sg.h \
7464 stdbool.h \
7465 stdint.h \
7466 stropts.h \
7467 sys/attr.h \
7468 sys/auxv.h \
7469 sys/cdio.h \
7470 sys/epoll.h \
7471 sys/event.h \
7472 sys/filio.h \
7473 sys/ioctl.h \
7474 sys/ipc.h \
7475 sys/link.h \
7476 sys/mman.h \
7477 sys/modem.h \
7478 sys/msg.h \
7479 sys/mtio.h \
7480 sys/param.h \
7481 sys/poll.h \
7482 sys/prctl.h \
7483 sys/protosw.h \
7484 sys/ptrace.h \
7485 sys/queue.h \
7486 sys/random.h \
7487 sys/resource.h \
7488 sys/scsiio.h \
7489 sys/shm.h \
7490 sys/signal.h \
7491 sys/socket.h \
7492 sys/socketvar.h \
7493 sys/sockio.h \
7494 sys/statvfs.h \
7495 sys/strtio.h \
7496 sys/syscall.h \
7497 sys/sysinfo.h \
7498 sys/tihdr.h \
7499 sys/time.h \
7500 sys/timeout.h \
7501 sys/times.h \
7502 sys/uio.h \
7503 sys/user.h \
7504 sys/utsname.h \
7505 sys/vnode.h \
7506 sys/wait.h \
7507 syscall.h \
7508 termios.h \
7509 unistd.h \
7510 utime.h \
7511 valgrind/memcheck.h \
7512 valgrind/valgrind.h
7514 do :
7515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7516 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7517 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7518 cat >>confdefs.h <<_ACEOF
7519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7520 _ACEOF
7524 done
7526 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7527 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7529 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7534 if test $ac_cv_header_sys_mkdev_h = no; then
7535 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7536 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7538 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7545 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7546 if ${ac_cv_header_stat_broken+:} false; then :
7547 $as_echo_n "(cached) " >&6
7548 else
7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7550 /* end confdefs.h. */
7551 #include <sys/types.h>
7552 #include <sys/stat.h>
7554 #if defined S_ISBLK && defined S_IFDIR
7555 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7556 #endif
7558 #if defined S_ISBLK && defined S_IFCHR
7559 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7560 #endif
7562 #if defined S_ISLNK && defined S_IFREG
7563 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7564 #endif
7566 #if defined S_ISSOCK && defined S_IFREG
7567 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7568 #endif
7570 _ACEOF
7571 if ac_fn_c_try_compile "$LINENO"; then :
7572 ac_cv_header_stat_broken=no
7573 else
7574 ac_cv_header_stat_broken=yes
7576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7579 $as_echo "$ac_cv_header_stat_broken" >&6; }
7580 if test $ac_cv_header_stat_broken = yes; then
7582 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7588 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7589 do :
7590 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7591 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7592 #ifdef HAVE_SYS_PARAM_H
7593 # include <sys/param.h>
7594 #endif
7596 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7597 cat >>confdefs.h <<_ACEOF
7598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7599 _ACEOF
7603 done
7606 saved_sysctl_h_CFLAGS=$CFLAGS
7607 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7608 for ac_header in sys/sysctl.h
7609 do :
7610 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7611 #ifdef HAVE_SYS_PARAM_H
7612 # include <sys/param.h>
7613 #endif
7615 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define HAVE_SYS_SYSCTL_H 1
7618 _ACEOF
7622 done
7624 CFLAGS=$saved_sysctl_h_CFLAGS
7626 for ac_header in \
7627 netinet/ip.h \
7628 net/if.h \
7629 net/if_arp.h \
7630 net/if_dl.h \
7631 net/if_types.h \
7632 net/route.h \
7633 netinet/if_ether.h \
7634 netinet/if_inarp.h \
7635 netinet/in_pcb.h \
7636 netinet/ip_icmp.h \
7637 netinet/ip_var.h \
7638 netinet/udp.h \
7639 netipx/ipx.h \
7640 sys/un.h \
7642 do :
7643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7644 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7645 #ifdef HAVE_SYS_SOCKET_H
7646 # include <sys/socket.h>
7647 #endif
7648 #ifdef HAVE_SYS_SOCKETVAR_H
7649 # include <sys/socketvar.h>
7650 #endif
7651 #ifdef HAVE_NET_ROUTE_H
7652 # include <net/route.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IN_H
7655 # include <netinet/in.h>
7656 #endif
7657 #ifdef HAVE_NETINET_IN_SYSTM_H
7658 # include <netinet/in_systm.h>
7659 #endif
7660 #ifdef HAVE_NET_IF_H
7661 # include <net/if.h>
7662 #endif
7663 #ifdef HAVE_NETINET_IP_H
7664 # include <netinet/ip.h>
7665 #endif
7667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7668 cat >>confdefs.h <<_ACEOF
7669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 _ACEOF
7674 done
7677 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7678 do :
7679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7681 #ifdef HAVE_ALIAS_H
7682 # include <alias.h>
7683 #endif
7684 #ifdef HAVE_SYS_SOCKET_H
7685 # include <sys/socket.h>
7686 #endif
7687 #ifdef HAVE_SYS_SOCKETVAR_H
7688 # include <sys/socketvar.h>
7689 #endif
7690 #ifdef HAVE_SYS_TIMEOUT_H
7691 # include <sys/timeout.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IN_H
7694 # include <netinet/in.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IN_SYSTM_H
7697 # include <netinet/in_systm.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IP_H
7700 # include <netinet/ip.h>
7701 #endif
7702 #ifdef HAVE_NETINET_IP_VAR_H
7703 # include <netinet/ip_var.h>
7704 #endif
7705 #ifdef HAVE_NETINET_IP_ICMP_H
7706 # include <netinet/ip_icmp.h>
7707 #endif
7708 #ifdef HAVE_NETINET_UDP_H
7709 # include <netinet/udp.h>
7710 #endif
7711 #ifdef HAVE_NETINET_TCP_H
7712 # include <netinet/tcp.h>
7713 #endif
7714 #ifdef HAVE_NETINET_TCP_TIMER_H
7715 #include <netinet/tcp_timer.h>
7716 #endif
7718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7728 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7729 do :
7730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7732 #ifdef HAVE_ASM_TYPES_H
7733 # include <asm/types.h>
7734 #endif
7735 #ifdef HAVE_SYS_SOCKET_H
7736 # include <sys/socket.h>
7737 #endif
7738 #ifdef HAVE_LINUX_TYPES_H
7739 # include <linux/types.h>
7740 #endif
7742 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7743 cat >>confdefs.h <<_ACEOF
7744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7745 _ACEOF
7749 done
7752 for ac_header in resolv.h
7753 do :
7754 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7755 #ifdef HAVE_SYS_SOCKET_H
7756 # include <sys/socket.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IN_H
7759 # include <netinet/in.h>
7760 #endif
7761 #ifdef HAVE_ARPA_NAMESER_H
7762 # include <arpa/nameser.h>
7763 #endif
7765 if test "x$ac_cv_header_resolv_h" = xyes; then :
7766 cat >>confdefs.h <<_ACEOF
7767 #define HAVE_RESOLV_H 1
7768 _ACEOF
7772 done
7775 for ac_header in ifaddrs.h
7776 do :
7777 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7779 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_IFADDRS_H 1
7782 _ACEOF
7786 done
7789 for ac_header in sys/ucontext.h
7790 do :
7791 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7793 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_SYS_UCONTEXT_H 1
7796 _ACEOF
7800 done
7803 for ac_header in sys/thr.h
7804 do :
7805 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7806 #ifdef HAVE_SYS_UCONTEXT_H
7807 #include <sys/ucontext.h>
7808 #endif
7810 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_SYS_THR_H 1
7813 _ACEOF
7817 done
7820 for ac_header in pthread_np.h
7821 do :
7822 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7823 #include <pthread.h>
7824 #endif
7826 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_PTHREAD_NP_H 1
7829 _ACEOF
7833 done
7836 for ac_header in linux/videodev2.h
7837 do :
7838 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7839 #include <sys/time.h>
7840 #endif
7841 #include <sys/types.h>
7842 #ifdef HAVE_ASM_TYPES_H
7843 #include <asm/types.h>
7844 #endif
7846 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7847 cat >>confdefs.h <<_ACEOF
7848 #define HAVE_LINUX_VIDEODEV2_H 1
7849 _ACEOF
7853 done
7856 for ac_header in libprocstat.h
7857 do :
7858 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7859 #include <sys/param.h>
7860 #endif
7861 #ifdef HAVE_SYS_QUEUE_H
7862 #include <sys/queue.h>
7863 #endif
7864 #ifdef HAVE_SYS_SOCKET_H
7865 #include <sys/socket.h>
7866 #endif
7868 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7869 cat >>confdefs.h <<_ACEOF
7870 #define HAVE_LIBPROCSTAT_H 1
7871 _ACEOF
7875 done
7879 DLLFLAGS="-D_REENTRANT"
7881 LDDLLFLAGS=""
7883 LDEXECFLAGS=""
7885 TOP_INSTALL_LIB=""
7887 TOP_INSTALL_DEV=""
7889 WINELOADER_LDFLAGS=""
7891 WINEPRELOADER_LDFLAGS=""
7893 LIBEXT="so"
7894 DLLEXT=".so"
7895 # Extract the first word of "ldd", so it can be a program name with args.
7896 set dummy ldd; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_path_LDD+:} false; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 case $LDD in
7903 [\\/]* | ?:[\\/]*)
7904 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 as_dummy="/sbin:/usr/sbin:$PATH"
7909 for as_dir in $as_dummy
7911 IFS=$as_save_IFS
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 break 2
7919 done
7920 done
7921 IFS=$as_save_IFS
7923 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7925 esac
7927 LDD=$ac_cv_path_LDD
7928 if test -n "$LDD"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7930 $as_echo "$LDD" >&6; }
7931 else
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7937 if test -n "$ac_tool_prefix"; then
7938 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7939 set dummy ${ac_tool_prefix}otool; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_OTOOL+:} false; then :
7943 $as_echo_n "(cached) " >&6
7944 else
7945 if test -n "$OTOOL"; then
7946 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7947 else
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 for as_dir in $PATH
7951 IFS=$as_save_IFS
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 break 2
7959 done
7960 done
7961 IFS=$as_save_IFS
7965 OTOOL=$ac_cv_prog_OTOOL
7966 if test -n "$OTOOL"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7968 $as_echo "$OTOOL" >&6; }
7969 else
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7976 if test -z "$ac_cv_prog_OTOOL"; then
7977 ac_ct_OTOOL=$OTOOL
7978 # Extract the first word of "otool", so it can be a program name with args.
7979 set dummy otool; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 if test -n "$ac_ct_OTOOL"; then
7986 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7987 else
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 for as_dir in $PATH
7991 IFS=$as_save_IFS
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_ac_ct_OTOOL="otool"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 break 2
7999 done
8000 done
8001 IFS=$as_save_IFS
8005 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8006 if test -n "$ac_ct_OTOOL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8008 $as_echo "$ac_ct_OTOOL" >&6; }
8009 else
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8014 if test "x$ac_ct_OTOOL" = x; then
8015 OTOOL="otool"
8016 else
8017 case $cross_compiling:$ac_tool_warned in
8018 yes:)
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8021 ac_tool_warned=yes ;;
8022 esac
8023 OTOOL=$ac_ct_OTOOL
8025 else
8026 OTOOL="$ac_cv_prog_OTOOL"
8029 if test -n "$ac_tool_prefix"; then
8030 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8031 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8033 $as_echo_n "checking for $ac_word... " >&6; }
8034 if ${ac_cv_prog_READELF+:} false; then :
8035 $as_echo_n "(cached) " >&6
8036 else
8037 if test -n "$READELF"; then
8038 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8039 else
8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8041 for as_dir in $PATH
8043 IFS=$as_save_IFS
8044 test -z "$as_dir" && as_dir=.
8045 for ac_exec_ext in '' $ac_executable_extensions; do
8046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8047 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 break 2
8051 done
8052 done
8053 IFS=$as_save_IFS
8057 READELF=$ac_cv_prog_READELF
8058 if test -n "$READELF"; then
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8060 $as_echo "$READELF" >&6; }
8061 else
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8063 $as_echo "no" >&6; }
8068 if test -z "$ac_cv_prog_READELF"; then
8069 ac_ct_READELF=$READELF
8070 # Extract the first word of "readelf", so it can be a program name with args.
8071 set dummy readelf; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 $as_echo_n "checking for $ac_word... " >&6; }
8074 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
8077 if test -n "$ac_ct_READELF"; then
8078 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8079 else
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 for as_dir in $PATH
8083 IFS=$as_save_IFS
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_ac_ct_READELF="readelf"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 break 2
8091 done
8092 done
8093 IFS=$as_save_IFS
8097 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8098 if test -n "$ac_ct_READELF"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8100 $as_echo "$ac_ct_READELF" >&6; }
8101 else
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103 $as_echo "no" >&6; }
8106 if test "x$ac_ct_READELF" = x; then
8107 READELF="true"
8108 else
8109 case $cross_compiling:$ac_tool_warned in
8110 yes:)
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8113 ac_tool_warned=yes ;;
8114 esac
8115 READELF=$ac_ct_READELF
8117 else
8118 READELF="$ac_cv_prog_READELF"
8121 wine_rules_file=conf$$rules.make
8122 rm -f $wine_rules_file
8123 SUBDIRS=""
8125 DISABLED_SUBDIRS=""
8127 CONFIGURE_TARGETS=""
8130 wine_fn_append_file ()
8132 as_fn_append $1 " \\$as_nl $2"
8135 wine_fn_append_rule ()
8137 $as_echo "$1" >>$wine_rules_file
8140 wine_fn_config_makefile ()
8142 wine_fn_append_file SUBDIRS $1
8143 if eval test \"x\$"$2"\" = x"no"; then :
8144 wine_fn_append_file DISABLED_SUBDIRS $1
8148 wine_fn_config_symlink ()
8150 ac_links=$@
8151 wine_fn_append_rule \
8152 "$ac_links:
8153 @./config.status \$@"
8154 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8157 wine_binary="wine"
8158 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8159 WINELOADER_PROGRAMS="$wine_binary"
8161 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8163 case $host_os in
8164 cygwin*|mingw32*)
8165 if test -n "$ac_tool_prefix"; then
8166 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8167 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8169 $as_echo_n "checking for $ac_word... " >&6; }
8170 if ${ac_cv_prog_DLLTOOL+:} false; then :
8171 $as_echo_n "(cached) " >&6
8172 else
8173 if test -n "$DLLTOOL"; then
8174 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8175 else
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 for as_dir in $PATH
8179 IFS=$as_save_IFS
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8183 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 break 2
8187 done
8188 done
8189 IFS=$as_save_IFS
8193 DLLTOOL=$ac_cv_prog_DLLTOOL
8194 if test -n "$DLLTOOL"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8196 $as_echo "$DLLTOOL" >&6; }
8197 else
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8204 if test -z "$ac_cv_prog_DLLTOOL"; then
8205 ac_ct_DLLTOOL=$DLLTOOL
8206 # Extract the first word of "dlltool", so it can be a program name with args.
8207 set dummy dlltool; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 if test -n "$ac_ct_DLLTOOL"; then
8214 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8215 else
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 for as_dir in $PATH
8219 IFS=$as_save_IFS
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 break 2
8227 done
8228 done
8229 IFS=$as_save_IFS
8233 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8234 if test -n "$ac_ct_DLLTOOL"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8236 $as_echo "$ac_ct_DLLTOOL" >&6; }
8237 else
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8242 if test "x$ac_ct_DLLTOOL" = x; then
8243 DLLTOOL="false"
8244 else
8245 case $cross_compiling:$ac_tool_warned in
8246 yes:)
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8249 ac_tool_warned=yes ;;
8250 esac
8251 DLLTOOL=$ac_ct_DLLTOOL
8253 else
8254 DLLTOOL="$ac_cv_prog_DLLTOOL"
8257 LIBEXT="dll"
8258 DLLEXT=""
8259 case $host_cpu in
8260 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8261 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8262 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 ac_wine_try_cflags_saved=$CFLAGS
8266 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 int main(int argc, char **argv) { return 0; }
8270 _ACEOF
8271 if ac_fn_c_try_link "$LINENO"; then :
8272 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8273 else
8274 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8276 rm -f core conftest.err conftest.$ac_objext \
8277 conftest$ac_exeext conftest.$ac_ext
8278 CFLAGS=$ac_wine_try_cflags_saved
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8281 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8282 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8283 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8284 fi ;;
8285 esac
8286 enable_iphlpapi=${enable_iphlpapi:-no}
8287 enable_ws2_32=${enable_ws2_32:-no}
8288 enable_loader=${enable_loader:-no}
8289 enable_server=${enable_server:-no}
8290 with_x=${with_x:-no}
8291 with_pthread=${with_pthread:-no}
8294 darwin*|macosx*)
8295 ac_ext=m
8296 ac_cpp='$OBJCPP $CPPFLAGS'
8297 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8298 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8299 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8301 ac_ext=m
8302 ac_cpp='$OBJCPP $CPPFLAGS'
8303 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8304 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8305 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8306 if test -n "$ac_tool_prefix"; then
8307 for ac_prog in gcc objcc objc cc CC
8309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if ${ac_cv_prog_OBJC+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 if test -n "$OBJC"; then
8317 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8318 else
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320 for as_dir in $PATH
8322 IFS=$as_save_IFS
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 break 2
8330 done
8331 done
8332 IFS=$as_save_IFS
8336 OBJC=$ac_cv_prog_OBJC
8337 if test -n "$OBJC"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8339 $as_echo "$OBJC" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8346 test -n "$OBJC" && break
8347 done
8349 if test -z "$OBJC"; then
8350 ac_ct_OBJC=$OBJC
8351 for ac_prog in gcc objcc objc cc CC
8353 # Extract the first word of "$ac_prog", so it can be a program name with args.
8354 set dummy $ac_prog; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8356 $as_echo_n "checking for $ac_word... " >&6; }
8357 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 if test -n "$ac_ct_OBJC"; then
8361 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8362 else
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8364 for as_dir in $PATH
8366 IFS=$as_save_IFS
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 break 2
8374 done
8375 done
8376 IFS=$as_save_IFS
8380 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8381 if test -n "$ac_ct_OBJC"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8383 $as_echo "$ac_ct_OBJC" >&6; }
8384 else
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8390 test -n "$ac_ct_OBJC" && break
8391 done
8393 if test "x$ac_ct_OBJC" = x; then
8394 OBJC="gcc"
8395 else
8396 case $cross_compiling:$ac_tool_warned in
8397 yes:)
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8400 ac_tool_warned=yes ;;
8401 esac
8402 OBJC=$ac_ct_OBJC
8406 # Provide some information about the compiler.
8407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8408 set X $ac_compile
8409 ac_compiler=$2
8410 for ac_option in --version -v -V -qversion; do
8411 { { ac_try="$ac_compiler $ac_option >&5"
8412 case "(($ac_try" in
8413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8414 *) ac_try_echo=$ac_try;;
8415 esac
8416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8417 $as_echo "$ac_try_echo"; } >&5
8418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8419 ac_status=$?
8420 if test -s conftest.err; then
8421 sed '10a\
8422 ... rest of stderr output deleted ...
8423 10q' conftest.err >conftest.er1
8424 cat conftest.er1 >&5
8426 rm -f conftest.er1 conftest.err
8427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8428 test $ac_status = 0; }
8429 done
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8432 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8433 if ${ac_cv_objc_compiler_gnu+:} false; then :
8434 $as_echo_n "(cached) " >&6
8435 else
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8440 main ()
8442 #ifndef __GNUC__
8443 choke me
8444 #endif
8447 return 0;
8449 _ACEOF
8450 if ac_fn_objc_try_compile "$LINENO"; then :
8451 ac_compiler_gnu=yes
8452 else
8453 ac_compiler_gnu=no
8455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8456 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8460 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8461 if test $ac_compiler_gnu = yes; then
8462 GOBJC=yes
8463 else
8464 GOBJC=
8466 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8467 ac_save_OBJCFLAGS=$OBJCFLAGS
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8469 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8470 if ${ac_cv_prog_objc_g+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_save_objc_werror_flag=$ac_objc_werror_flag
8474 ac_objc_werror_flag=yes
8475 ac_cv_prog_objc_g=no
8476 OBJCFLAGS="-g"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8481 main ()
8485 return 0;
8487 _ACEOF
8488 if ac_fn_objc_try_compile "$LINENO"; then :
8489 ac_cv_prog_objc_g=yes
8490 else
8491 OBJCFLAGS=""
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8496 main ()
8500 return 0;
8502 _ACEOF
8503 if ac_fn_objc_try_compile "$LINENO"; then :
8505 else
8506 ac_objc_werror_flag=$ac_save_objc_werror_flag
8507 OBJCFLAGS="-g"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8512 main ()
8516 return 0;
8518 _ACEOF
8519 if ac_fn_objc_try_compile "$LINENO"; then :
8520 ac_cv_prog_objc_g=yes
8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8527 ac_objc_werror_flag=$ac_save_objc_werror_flag
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8530 $as_echo "$ac_cv_prog_objc_g" >&6; }
8531 if test "$ac_test_OBJCFLAGS" = set; then
8532 OBJCFLAGS=$ac_save_OBJCFLAGS
8533 elif test $ac_cv_prog_objc_g = yes; then
8534 if test "$GOBJC" = yes; then
8535 OBJCFLAGS="-g -O2"
8536 else
8537 OBJCFLAGS="-g"
8539 else
8540 if test "$GOBJC" = yes; then
8541 OBJCFLAGS="-O2"
8542 else
8543 OBJCFLAGS=
8546 ac_ext=m
8547 ac_cpp='$OBJCPP $CPPFLAGS'
8548 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8549 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8550 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8553 ac_ext=m
8554 ac_cpp='$OBJCPP $CPPFLAGS'
8555 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8556 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8557 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8559 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8560 if test -z "$OBJCPP"; then
8561 if ${ac_cv_prog_OBJCPP+:} false; then :
8562 $as_echo_n "(cached) " >&6
8563 else
8564 # Double quotes because OBJCPP needs to be expanded
8565 for OBJCPP in "$OBJC -E" "/lib/cpp"
8567 ac_preproc_ok=false
8568 for ac_objc_preproc_warn_flag in '' yes
8570 # Use a header file that comes with gcc, so configuring glibc
8571 # with a fresh cross-compiler works.
8572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8573 # <limits.h> exists even on freestanding compilers.
8574 # On the NeXT, cc -E runs the code through the compiler's parser,
8575 # not just through cpp. "Syntax error" is here to catch this case.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #ifdef __STDC__
8579 # include <limits.h>
8580 #else
8581 # include <assert.h>
8582 #endif
8583 Syntax error
8584 _ACEOF
8585 if ac_fn_objc_try_cpp "$LINENO"; then :
8587 else
8588 # Broken: fails on valid input.
8589 continue
8591 rm -f conftest.err conftest.i conftest.$ac_ext
8593 # OK, works on sane cases. Now check whether nonexistent headers
8594 # can be detected and how.
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 #include <ac_nonexistent.h>
8598 _ACEOF
8599 if ac_fn_objc_try_cpp "$LINENO"; then :
8600 # Broken: success on invalid input.
8601 continue
8602 else
8603 # Passes both tests.
8604 ac_preproc_ok=:
8605 break
8607 rm -f conftest.err conftest.i conftest.$ac_ext
8609 done
8610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8611 rm -f conftest.i conftest.err conftest.$ac_ext
8612 if $ac_preproc_ok; then :
8613 break
8616 done
8617 ac_cv_prog_OBJCPP=$OBJCPP
8620 OBJCPP=$ac_cv_prog_OBJCPP
8621 else
8622 ac_cv_prog_OBJCPP=$OBJCPP
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8625 $as_echo "$OBJCPP" >&6; }
8626 ac_preproc_ok=false
8627 for ac_objc_preproc_warn_flag in '' yes
8629 # Use a header file that comes with gcc, so configuring glibc
8630 # with a fresh cross-compiler works.
8631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8632 # <limits.h> exists even on freestanding compilers.
8633 # On the NeXT, cc -E runs the code through the compiler's parser,
8634 # not just through cpp. "Syntax error" is here to catch this case.
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 #ifdef __STDC__
8638 # include <limits.h>
8639 #else
8640 # include <assert.h>
8641 #endif
8642 Syntax error
8643 _ACEOF
8644 if ac_fn_objc_try_cpp "$LINENO"; then :
8646 else
8647 # Broken: fails on valid input.
8648 continue
8650 rm -f conftest.err conftest.i conftest.$ac_ext
8652 # OK, works on sane cases. Now check whether nonexistent headers
8653 # can be detected and how.
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 #include <ac_nonexistent.h>
8657 _ACEOF
8658 if ac_fn_objc_try_cpp "$LINENO"; then :
8659 # Broken: success on invalid input.
8660 continue
8661 else
8662 # Passes both tests.
8663 ac_preproc_ok=:
8664 break
8666 rm -f conftest.err conftest.i conftest.$ac_ext
8668 done
8669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8670 rm -f conftest.i conftest.err conftest.$ac_ext
8671 if $ac_preproc_ok; then :
8673 else
8674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8676 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8677 See \`config.log' for more details" "$LINENO" 5; }
8680 ac_ext=m
8681 ac_cpp='$OBJCPP $CPPFLAGS'
8682 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8683 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8684 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8687 for ac_header in Metal/Metal.h
8688 do :
8689 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8690 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8691 cat >>confdefs.h <<_ACEOF
8692 #define HAVE_METAL_METAL_H 1
8693 _ACEOF
8697 done
8699 ac_ext=c
8700 ac_cpp='$CPP $CPPFLAGS'
8701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8705 LIBEXT="dylib"
8706 DLLFLAGS="$DLLFLAGS -fPIC"
8707 LDDLLFLAGS="-fPIC"
8708 COREFOUNDATION_LIBS="-framework CoreFoundation"
8710 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8712 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8714 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8716 CORESERVICES_LIBS="-framework CoreServices"
8718 APPKIT_LIBS="-framework AppKit"
8720 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8723 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8725 wine_can_build_preloader=yes
8726 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8728 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8729 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8730 $as_echo_n "(cached) " >&6
8731 else
8732 ac_wine_try_cflags_saved=$CFLAGS
8733 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8736 int main(int argc, char **argv) { return 0; }
8737 _ACEOF
8738 if ac_fn_c_try_link "$LINENO"; then :
8739 ac_cv_cflags__Wl__no_new_main__e__main=yes
8740 else
8741 ac_cv_cflags__Wl__no_new_main__e__main=no
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 CFLAGS=$ac_wine_try_cflags_saved
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8748 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8749 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8750 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8752 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8753 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 int main(int argc, char **argv) { return 0; }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8764 else
8765 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8772 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8773 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8774 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8775 else
8776 { $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
8777 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8778 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 ac_wine_try_cflags_saved=$CFLAGS
8782 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 int main(int argc, char **argv) { return 0; }
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8789 else
8790 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 CFLAGS=$ac_wine_try_cflags_saved
8796 { $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
8797 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8798 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8799 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8800 else
8801 wine_can_build_preloader=no
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8806 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8807 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 int main(int argc, char **argv) { return 0; }
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8818 else
8819 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8826 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8827 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8828 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8829 else
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8831 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8832 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 ac_wine_try_cflags_saved=$CFLAGS
8836 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8839 int main(int argc, char **argv) { return 0; }
8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then :
8842 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8843 else
8844 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8846 rm -f core conftest.err conftest.$ac_objext \
8847 conftest$ac_exeext conftest.$ac_ext
8848 CFLAGS=$ac_wine_try_cflags_saved
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8851 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8852 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8853 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8854 else
8855 wine_can_build_preloader=no
8859 if test "$wine_can_build_preloader" = "yes"
8860 then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8862 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8863 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_wine_try_cflags_saved=$CFLAGS
8867 CFLAGS="$CFLAGS -Wl,-no_pie"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8870 int main(int argc, char **argv) { return 0; }
8871 _ACEOF
8872 if ac_fn_c_try_link "$LINENO"; then :
8873 ac_cv_cflags__Wl__no_pie=yes
8874 else
8875 ac_cv_cflags__Wl__no_pie=no
8877 rm -f core conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8882 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8883 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8884 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8886 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8887 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8888 else
8889 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8892 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8893 then
8894 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8897 if test "$ac_cv_header_Security_Security_h" = "yes"
8898 then
8899 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8901 ac_save_LIBS="$LIBS"
8902 LIBS="$LIBS $SECURITY_LIBS"
8903 for ac_func in SSLCopyPeerCertificates
8904 do :
8905 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8906 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8907 cat >>confdefs.h <<_ACEOF
8908 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8909 _ACEOF
8912 done
8914 LIBS="$ac_save_LIBS"
8916 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8917 then
8918 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8919 then
8920 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8922 else
8923 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8926 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8927 ac_save_LIBS="$LIBS"
8928 LIBS="$LIBS $COREAUDIO_LIBS"
8929 for ac_func in AUGraphAddNode
8930 do :
8931 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8932 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8933 cat >>confdefs.h <<_ACEOF
8934 #define HAVE_AUGRAPHADDNODE 1
8935 _ACEOF
8938 done
8940 LIBS="$ac_save_LIBS"
8942 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8943 then
8944 OPENAL_LIBS="-framework OpenAL"
8947 cat >>confdefs.h <<_ACEOF
8948 #define HAVE_OPENAL 1
8949 _ACEOF
8951 ac_cv_lib_openal=yes
8953 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8954 then
8955 OPENCL_LIBS="-framework OpenCL"
8957 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8959 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8960 then
8961 ac_save_LIBS="$LIBS"
8962 LIBS="$LIBS $IOKIT_LIBS"
8963 for ac_func in IOHIDManagerCreate
8964 do :
8965 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8966 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8967 cat >>confdefs.h <<_ACEOF
8968 #define HAVE_IOHIDMANAGERCREATE 1
8969 _ACEOF
8972 done
8974 LIBS="$ac_save_LIBS"
8977 if test "x$with_quicktime" != "xno"
8978 then
8979 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8980 then
8981 ac_save_LIBS="$LIBS"
8982 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8984 $as_echo_n "checking for the QuickTime framework... " >&6; }
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8987 #include <QuickTime/ImageCompression.h>
8989 main ()
8991 CodecManagerVersion(NULL);
8993 return 0;
8995 _ACEOF
8996 if ac_fn_c_try_link "$LINENO"; then :
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8998 $as_echo "yes" >&6; }
8999 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9001 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9002 else
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9005 ac_cv_header_QuickTime_ImageCompression_h=no
9007 rm -f core conftest.err conftest.$ac_objext \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS="$ac_save_LIBS"
9012 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9013 case "x$with_quicktime" in
9014 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9015 xno) ;;
9016 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9017 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9018 esac
9022 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9023 then
9024 CARBON_LIBS="-framework Carbon"
9027 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9028 then
9029 METAL_LIBS="-framework Metal -framework QuartzCore"
9033 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9034 then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9036 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9037 ac_ext=m
9038 ac_cpp='$OBJCPP $CPPFLAGS'
9039 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9040 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9041 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 #include <Metal/Metal.h>
9047 main ()
9049 id<MTLDevice> device; device.registryID;
9051 return 0;
9053 _ACEOF
9054 if ac_fn_objc_try_compile "$LINENO"; then :
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9056 $as_echo "yes" >&6; }
9058 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9060 else
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062 $as_echo "no" >&6; }
9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9065 ac_ext=c
9066 ac_cpp='$CPP $CPPFLAGS'
9067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9073 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9074 then
9075 ac_save_LIBS="$LIBS"
9076 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9077 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9078 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9079 enable_winemac_drv=${enable_winemac_drv:-yes}
9082 LIBS="$ac_save_LIBS"
9085 if test "x$enable_win16" = "xyes"
9086 then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9088 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9089 if test "$cross_compiling" = yes; then :
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9091 $as_echo "cross-compiling, assuming yes" >&6; }
9092 else
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 asm(".text\n"
9096 "bad:\tnop;nop\n"
9097 "good:\tnop;nop\n\t"
9098 ".globl _testfunc\n"
9099 "_testfunc:\tcallw good");
9100 extern void testfunc();
9102 main ()
9104 unsigned short *p = (unsigned short *)testfunc;
9105 return p[0] != 0xe866 || p[1] != 0xfffa
9107 return 0;
9109 _ACEOF
9110 if ac_fn_c_try_run "$LINENO"; then :
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9112 $as_echo "yes" >&6; }
9113 else
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 $as_echo "no" >&6; }
9116 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
9118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9119 conftest.$ac_objext conftest.beam conftest.$ac_ext
9124 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9126 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9128 WINELOADER_DEPENDS="wine_info.plist"
9130 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9131 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9134 linux-android*)
9135 DLLFLAGS="$DLLFLAGS -fPIC"
9136 LDDLLFLAGS="-fPIC"
9137 LDEXECFLAGS="-Wl,-pie"
9138 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9140 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9141 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 ac_wine_try_cflags_saved=$CFLAGS
9145 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9148 int main(int argc, char **argv) { return 0; }
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9152 else
9153 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 CFLAGS=$ac_wine_try_cflags_saved
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9160 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9161 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9162 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9164 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9166 LIBWINE_SHAREDLIB="libwine.so"
9168 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9170 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9173 $as_echo_n "checking for -lEGL... " >&6; }
9174 if ${ac_cv_lib_soname_EGL+:} false; then :
9175 $as_echo_n "(cached) " >&6
9176 else
9177 ac_check_soname_save_LIBS=$LIBS
9178 LIBS="-lEGL $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9185 #ifdef __cplusplus
9186 extern "C"
9187 #endif
9188 char eglGetProcAddress ();
9190 main ()
9192 return eglGetProcAddress ();
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 case "$LIBEXT" in
9199 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9200 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'` ;;
9201 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9202 if ${ac_cv_lib_soname_EGL:+false} :; then :
9203 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9204 fi ;;
9205 esac
9206 else
9207 ac_cv_lib_soname_EGL=
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 LIBS=$ac_check_soname_save_LIBS
9213 if ${ac_cv_lib_soname_EGL:+false} :; then :
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9215 $as_echo "not found" >&6; }
9217 else
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9219 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9221 cat >>confdefs.h <<_ACEOF
9222 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9223 _ACEOF
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9228 $as_echo_n "checking for -lGLESv2... " >&6; }
9229 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9230 $as_echo_n "(cached) " >&6
9231 else
9232 ac_check_soname_save_LIBS=$LIBS
9233 LIBS="-lGLESv2 $LIBS"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9240 #ifdef __cplusplus
9241 extern "C"
9242 #endif
9243 char glFlush ();
9245 main ()
9247 return glFlush ();
9249 return 0;
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253 case "$LIBEXT" in
9254 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9255 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'` ;;
9256 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9257 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9258 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9259 fi ;;
9260 esac
9261 else
9262 ac_cv_lib_soname_GLESv2=
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_soname_save_LIBS
9268 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9270 $as_echo "not found" >&6; }
9272 else
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9274 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9276 cat >>confdefs.h <<_ACEOF
9277 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9278 _ACEOF
9283 if test "x$exec_prefix" = xNONE
9284 then
9285 case $host_cpu in
9286 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9287 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9288 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9289 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9290 esac
9295 case $host_cpu in
9296 *i[3456789]86*)
9297 DLLFLAGS="$DLLFLAGS -fno-PIC"
9298 LDDLLFLAGS="-fno-PIC" ;;
9300 DLLFLAGS="$DLLFLAGS -fPIC"
9301 LDDLLFLAGS="-fPIC" ;;
9302 esac
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9304 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9305 if ${ac_cv_c_dll_gnuelf+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 ac_wine_try_cflags_saved=$CFLAGS
9309 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9312 void myfunc() {}
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9316 else
9317 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 CFLAGS=$ac_wine_try_cflags_saved
9322 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9323 ac_cv_c_dll_gnuelf="yes"
9324 else
9325 ac_cv_c_dll_gnuelf="no"
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9329 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9330 if test "$ac_cv_c_dll_gnuelf" = "yes"
9331 then
9332 LIBWINE_LDFLAGS="-shared"
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9334 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9335 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9336 $as_echo_n "(cached) " >&6
9337 else
9338 ac_wine_try_cflags_saved=$CFLAGS
9339 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341 /* end confdefs.h. */
9342 int main(int argc, char **argv) { return 0; }
9343 _ACEOF
9344 if ac_fn_c_try_link "$LINENO"; then :
9345 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9346 else
9347 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 CFLAGS=$ac_wine_try_cflags_saved
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9354 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9355 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9356 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9357 else
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9359 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9360 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9361 $as_echo_n "(cached) " >&6
9362 else
9363 ac_wine_try_cflags_saved=$CFLAGS
9364 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9367 int main(int argc, char **argv) { return 0; }
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9371 else
9372 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 CFLAGS=$ac_wine_try_cflags_saved
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9379 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9380 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9381 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9385 echo '{ global: *; };' >conftest.map
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9387 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9388 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_wine_try_cflags_saved=$CFLAGS
9392 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9395 int main(int argc, char **argv) { return 0; }
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9399 else
9400 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 CFLAGS=$ac_wine_try_cflags_saved
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9407 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9408 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9409 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9411 rm -f conftest.map
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9414 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9415 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_wine_try_cflags_saved=$CFLAGS
9419 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9422 int main(int argc, char **argv) { return 0; }
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_cflags__Wl___export_dynamic=yes
9426 else
9427 ac_cv_cflags__Wl___export_dynamic=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 CFLAGS=$ac_wine_try_cflags_saved
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9434 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9435 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9436 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9438 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9440 case $host_cpu in
9441 *i[3456789]86* | x86_64 | *aarch64*)
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9443 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9444 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9455 else
9456 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9463 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9464 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9465 case $host_os in
9466 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9467 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9468 esac
9469 else
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9471 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9472 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 ac_wine_try_cflags_saved=$CFLAGS
9476 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9479 int main(int argc, char **argv) { return 0; }
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9483 else
9484 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 CFLAGS=$ac_wine_try_cflags_saved
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9491 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9492 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9493 case $host_os in
9494 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9495 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9496 esac
9498 # Extract the first word of "prelink", so it can be a program name with args.
9499 set dummy prelink; ac_word=$2
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9501 $as_echo_n "checking for $ac_word... " >&6; }
9502 if ${ac_cv_path_PRELINK+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 case $PRELINK in
9506 [\\/]* | ?:[\\/]*)
9507 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9511 for as_dir in /sbin /usr/sbin $PATH
9513 IFS=$as_save_IFS
9514 test -z "$as_dir" && as_dir=.
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9517 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 break 2
9521 done
9522 done
9523 IFS=$as_save_IFS
9525 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9527 esac
9529 PRELINK=$ac_cv_path_PRELINK
9530 if test -n "$PRELINK"; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9532 $as_echo "$PRELINK" >&6; }
9533 else
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9535 $as_echo "no" >&6; }
9539 if test "x$PRELINK" = xfalse
9540 then
9541 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9545 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9546 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_wine_try_cflags_saved=$CFLAGS
9550 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9553 int main(int argc, char **argv) { return 0; }
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9557 else
9558 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 CFLAGS=$ac_wine_try_cflags_saved
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9565 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9566 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9567 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9570 esac
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9574 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9575 if ${ac_cv_c_dll_unixware+:} false; then :
9576 $as_echo_n "(cached) " >&6
9577 else
9578 ac_wine_try_cflags_saved=$CFLAGS
9579 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9581 /* end confdefs.h. */
9582 void myfunc() {}
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9586 else
9587 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 CFLAGS=$ac_wine_try_cflags_saved
9592 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9593 ac_cv_c_dll_unixware="yes"
9594 else
9595 ac_cv_c_dll_unixware="no"
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9599 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9600 if test "$ac_cv_c_dll_unixware" = "yes"
9601 then
9602 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9605 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9607 LIBWINE_DEPENDS="wine.map"
9609 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9610 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9612 esac
9614 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9615 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9616 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9617 enable_winemac_drv=${enable_winemac_drv:-no}
9618 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9621 if test "x$with_mingw" != xno
9622 then
9623 case "x$with_mingw" in
9624 x|xyes) case "$host_cpu" in
9625 aarch64*)
9626 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9627 arm*)
9628 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9629 i[3456789]86*)
9630 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
9631 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9632 mingw32-gcc" ;;
9633 x86_64)
9634 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
9635 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9637 ac_prefix_list="" ;;
9638 esac
9639 for ac_prog in $ac_prefix_list
9641 # Extract the first word of "$ac_prog", so it can be a program name with args.
9642 set dummy $ac_prog; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if ${ac_cv_prog_CROSSCC+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 if test -n "$CROSSCC"; then
9649 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9650 else
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9652 for as_dir in $PATH
9654 IFS=$as_save_IFS
9655 test -z "$as_dir" && as_dir=.
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9658 ac_cv_prog_CROSSCC="$ac_prog"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9660 break 2
9662 done
9663 done
9664 IFS=$as_save_IFS
9668 CROSSCC=$ac_cv_prog_CROSSCC
9669 if test -n "$CROSSCC"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9671 $as_echo "$CROSSCC" >&6; }
9672 else
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 $as_echo "no" >&6; }
9678 test -n "$CROSSCC" && break
9679 done
9680 test -n "$CROSSCC" || CROSSCC="false"
9682 *) CROSSCC=$with_mingw ;;
9683 esac
9684 if test "$CROSSCC" != "false"
9685 then
9686 ac_save_CC="$CC"
9687 saved_CFLAGS=$CFLAGS
9688 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9690 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9694 CC="$CROSSCC"
9695 CFLAGS=$CROSSCFLAGS
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9697 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9698 if ${wine_cv_crosscc+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9705 main ()
9709 return 0;
9711 _ACEOF
9712 if ac_fn_c_try_compile "$LINENO"; then :
9713 wine_cv_crosscc=yes
9714 else
9715 wine_cv_crosscc=no
9717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9720 $as_echo "$wine_cv_crosscc" >&6; }
9721 if test $wine_cv_crosscc = yes
9722 then
9723 set x $CROSSCC
9724 shift
9725 while test $# -ge 1
9727 case "$1" in
9728 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9729 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9730 esac
9731 shift
9732 done
9734 llvm_target=$CROSSTARGET
9735 llvm_cflags="-fuse-ld=lld"
9736 if test -z "$llvm_target"
9737 then
9738 case $host_cpu in
9739 *i[3456789]86*) llvm_target=i686-windows ;;
9740 *) llvm_target=$host_cpu-windows ;;
9741 esac
9743 case $llvm_target in
9744 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9745 esac
9746 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9748 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9749 if eval \${$as_ac_var+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 ac_wine_try_cflags_saved=$CFLAGS
9753 ac_wine_try_cflags_saved_cc=$CC
9754 ac_wine_try_cflags_saved_exeext=$ac_exeext
9755 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9756 CC="$CROSSCC"
9757 ac_exeext=".exe"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760 int __cdecl mainCRTStartup(void) { return 0; }
9761 _ACEOF
9762 if ac_fn_c_try_link "$LINENO"; then :
9763 eval "$as_ac_var=yes"
9764 else
9765 eval "$as_ac_var=no"
9767 rm -f core conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 CFLAGS=$ac_wine_try_cflags_saved
9770 CC=$ac_wine_try_cflags_saved_cc
9771 ac_exeext=$ac_wine_try_cflags_saved_exeext
9773 eval ac_res=\$$as_ac_var
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9775 $as_echo "$ac_res" >&6; }
9776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9777 CROSSTARGET=$llvm_target
9778 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9779 DELAYLOADFLAG="-Wl,-delayload,"
9781 CFLAGS="$CFLAGS $llvm_cflags"
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9785 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9786 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9787 $as_echo_n "(cached) " >&6
9788 else
9789 ac_wine_try_cflags_saved=$CFLAGS
9790 ac_wine_try_cflags_saved_cc=$CC
9791 ac_wine_try_cflags_saved_exeext=$ac_exeext
9792 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9793 CC="$CROSSCC"
9794 ac_exeext=".exe"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9797 int __cdecl mainCRTStartup(void) { return 0; }
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 ac_cv_crosscflags__fno_strict_aliasing=yes
9801 else
9802 ac_cv_crosscflags__fno_strict_aliasing=no
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 CFLAGS=$ac_wine_try_cflags_saved
9807 CC=$ac_wine_try_cflags_saved_cc
9808 ac_exeext=$ac_wine_try_cflags_saved_exeext
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9811 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9812 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9813 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9816 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9817 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9818 $as_echo_n "(cached) " >&6
9819 else
9820 ac_wine_try_cflags_saved=$CFLAGS
9821 ac_wine_try_cflags_saved_cc=$CC
9822 ac_wine_try_cflags_saved_exeext=$ac_exeext
9823 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9824 CC="$CROSSCC"
9825 ac_exeext=".exe"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9828 int __cdecl mainCRTStartup(void) { return 0; }
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9832 else
9833 ac_cv_crosscflags__Werror_unknown_warning_option=no
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 CFLAGS=$ac_wine_try_cflags_saved
9838 CC=$ac_wine_try_cflags_saved_cc
9839 ac_exeext=$ac_wine_try_cflags_saved_exeext
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9842 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9843 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9844 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9847 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9848 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
9851 ac_wine_try_cflags_saved=$CFLAGS
9852 ac_wine_try_cflags_saved_cc=$CC
9853 ac_wine_try_cflags_saved_exeext=$ac_exeext
9854 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9855 CC="$CROSSCC"
9856 ac_exeext=".exe"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9859 int __cdecl mainCRTStartup(void) { return 0; }
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9863 else
9864 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 CFLAGS=$ac_wine_try_cflags_saved
9869 CC=$ac_wine_try_cflags_saved_cc
9870 ac_exeext=$ac_wine_try_cflags_saved_exeext
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9873 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9874 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9875 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9878 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9879 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9880 $as_echo_n "(cached) " >&6
9881 else
9882 ac_wine_try_cflags_saved=$CFLAGS
9883 ac_wine_try_cflags_saved_cc=$CC
9884 ac_wine_try_cflags_saved_exeext=$ac_exeext
9885 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9886 CC="$CROSSCC"
9887 ac_exeext=".exe"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int __cdecl mainCRTStartup(void) { return 0; }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9894 else
9895 ac_cv_crosscflags__Wdeclaration_after_statement=no
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 CFLAGS=$ac_wine_try_cflags_saved
9900 CC=$ac_wine_try_cflags_saved_cc
9901 ac_exeext=$ac_wine_try_cflags_saved_exeext
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9904 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9905 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9906 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9909 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9910 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 ac_wine_try_cflags_saved_cc=$CC
9915 ac_wine_try_cflags_saved_exeext=$ac_exeext
9916 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9917 CC="$CROSSCC"
9918 ac_exeext=".exe"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 int __cdecl mainCRTStartup(void) { return 0; }
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"; then :
9924 ac_cv_crosscflags__Wempty_body=yes
9925 else
9926 ac_cv_crosscflags__Wempty_body=no
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 CFLAGS=$ac_wine_try_cflags_saved
9931 CC=$ac_wine_try_cflags_saved_cc
9932 ac_exeext=$ac_wine_try_cflags_saved_exeext
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9935 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9936 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9937 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9940 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9941 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 ac_wine_try_cflags_saved=$CFLAGS
9945 ac_wine_try_cflags_saved_cc=$CC
9946 ac_wine_try_cflags_saved_exeext=$ac_exeext
9947 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9948 CC="$CROSSCC"
9949 ac_exeext=".exe"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int __cdecl mainCRTStartup(void) { return 0; }
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 ac_cv_crosscflags__Wignored_qualifiers=yes
9956 else
9957 ac_cv_crosscflags__Wignored_qualifiers=no
9959 rm -f core conftest.err conftest.$ac_objext \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9962 CC=$ac_wine_try_cflags_saved_cc
9963 ac_exeext=$ac_wine_try_cflags_saved_exeext
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9966 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9967 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9968 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9971 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9972 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 ac_wine_try_cflags_saved_cc=$CC
9977 ac_wine_try_cflags_saved_exeext=$ac_exeext
9978 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9979 CC="$CROSSCC"
9980 ac_exeext=".exe"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9983 int __cdecl mainCRTStartup(void) { return 0; }
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"; then :
9986 ac_cv_crosscflags__Wpacked_not_aligned=yes
9987 else
9988 ac_cv_crosscflags__Wpacked_not_aligned=no
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 CFLAGS=$ac_wine_try_cflags_saved
9993 CC=$ac_wine_try_cflags_saved_cc
9994 ac_exeext=$ac_wine_try_cflags_saved_exeext
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9997 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9998 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9999 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10002 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10003 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_wine_try_cflags_saved=$CFLAGS
10007 ac_wine_try_cflags_saved_cc=$CC
10008 ac_wine_try_cflags_saved_exeext=$ac_exeext
10009 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10010 CC="$CROSSCC"
10011 ac_exeext=".exe"
10012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10014 int __cdecl mainCRTStartup(void) { return 0; }
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"; then :
10017 ac_cv_crosscflags__Wpragma_pack=yes
10018 else
10019 ac_cv_crosscflags__Wpragma_pack=no
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10023 CFLAGS=$ac_wine_try_cflags_saved
10024 CC=$ac_wine_try_cflags_saved_cc
10025 ac_exeext=$ac_wine_try_cflags_saved_exeext
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10028 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10029 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10030 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10033 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10034 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_wine_try_cflags_saved=$CFLAGS
10038 ac_wine_try_cflags_saved_cc=$CC
10039 ac_wine_try_cflags_saved_exeext=$ac_exeext
10040 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10041 CC="$CROSSCC"
10042 ac_exeext=".exe"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10045 int __cdecl mainCRTStartup(void) { return 0; }
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_crosscflags__Wshift_overflow_2=yes
10049 else
10050 ac_cv_crosscflags__Wshift_overflow_2=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 CFLAGS=$ac_wine_try_cflags_saved
10055 CC=$ac_wine_try_cflags_saved_cc
10056 ac_exeext=$ac_wine_try_cflags_saved_exeext
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10059 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10060 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10061 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10064 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10065 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_wine_try_cflags_saved=$CFLAGS
10069 ac_wine_try_cflags_saved_cc=$CC
10070 ac_wine_try_cflags_saved_exeext=$ac_exeext
10071 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10072 CC="$CROSSCC"
10073 ac_exeext=".exe"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 int __cdecl mainCRTStartup(void) { return 0; }
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_crosscflags__Wstrict_prototypes=yes
10080 else
10081 ac_cv_crosscflags__Wstrict_prototypes=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 CFLAGS=$ac_wine_try_cflags_saved
10086 CC=$ac_wine_try_cflags_saved_cc
10087 ac_exeext=$ac_wine_try_cflags_saved_exeext
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10090 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10091 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10092 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10095 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10096 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10097 $as_echo_n "(cached) " >&6
10098 else
10099 ac_wine_try_cflags_saved=$CFLAGS
10100 ac_wine_try_cflags_saved_cc=$CC
10101 ac_wine_try_cflags_saved_exeext=$ac_exeext
10102 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10103 CC="$CROSSCC"
10104 ac_exeext=".exe"
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10107 int __cdecl mainCRTStartup(void) { return 0; }
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 ac_cv_crosscflags__Wtype_limits=yes
10111 else
10112 ac_cv_crosscflags__Wtype_limits=no
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 CFLAGS=$ac_wine_try_cflags_saved
10117 CC=$ac_wine_try_cflags_saved_cc
10118 ac_exeext=$ac_wine_try_cflags_saved_exeext
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10121 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10122 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10123 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10126 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10127 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10128 $as_echo_n "(cached) " >&6
10129 else
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 ac_wine_try_cflags_saved_cc=$CC
10132 ac_wine_try_cflags_saved_exeext=$ac_exeext
10133 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10134 CC="$CROSSCC"
10135 ac_exeext=".exe"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 int __cdecl mainCRTStartup(void) { return 0; }
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"; then :
10141 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10142 else
10143 ac_cv_crosscflags__Wunused_but_set_parameter=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 CFLAGS=$ac_wine_try_cflags_saved
10148 CC=$ac_wine_try_cflags_saved_cc
10149 ac_exeext=$ac_wine_try_cflags_saved_exeext
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10152 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10153 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10154 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10157 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10158 if ${ac_cv_crosscflags__Wvla+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_wine_try_cflags_saved=$CFLAGS
10162 ac_wine_try_cflags_saved_cc=$CC
10163 ac_wine_try_cflags_saved_exeext=$ac_exeext
10164 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10165 CC="$CROSSCC"
10166 ac_exeext=".exe"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10169 int __cdecl mainCRTStartup(void) { return 0; }
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 ac_cv_crosscflags__Wvla=yes
10173 else
10174 ac_cv_crosscflags__Wvla=no
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10179 CC=$ac_wine_try_cflags_saved_cc
10180 ac_exeext=$ac_wine_try_cflags_saved_exeext
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10183 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10184 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10185 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10188 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10189 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 ac_wine_try_cflags_saved=$CFLAGS
10193 ac_wine_try_cflags_saved_cc=$CC
10194 ac_wine_try_cflags_saved_exeext=$ac_exeext
10195 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10196 CC="$CROSSCC"
10197 ac_exeext=".exe"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10200 int __cdecl mainCRTStartup(void) { return 0; }
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"; then :
10203 ac_cv_crosscflags__Wwrite_strings=yes
10204 else
10205 ac_cv_crosscflags__Wwrite_strings=no
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 CFLAGS=$ac_wine_try_cflags_saved
10210 CC=$ac_wine_try_cflags_saved_cc
10211 ac_exeext=$ac_wine_try_cflags_saved_exeext
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10214 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10215 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10216 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10219 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10220 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10221 $as_echo_n "(cached) " >&6
10222 else
10223 ac_wine_try_cflags_saved=$CFLAGS
10224 ac_wine_try_cflags_saved_cc=$CC
10225 ac_wine_try_cflags_saved_exeext=$ac_exeext
10226 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10227 CC="$CROSSCC"
10228 ac_exeext=".exe"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10231 int __cdecl mainCRTStartup(void) { return 0; }
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 ac_cv_crosscflags__Wpointer_arith=yes
10235 else
10236 ac_cv_crosscflags__Wpointer_arith=no
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10241 CC=$ac_wine_try_cflags_saved_cc
10242 ac_exeext=$ac_wine_try_cflags_saved_exeext
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10245 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10246 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10247 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10250 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10251 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10252 $as_echo_n "(cached) " >&6
10253 else
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 ac_wine_try_cflags_saved_cc=$CC
10256 ac_wine_try_cflags_saved_exeext=$ac_exeext
10257 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10258 CC="$CROSSCC"
10259 ac_exeext=".exe"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10262 int __cdecl mainCRTStartup(void) { return 0; }
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_crosscflags__Wlogical_op=yes
10266 else
10267 ac_cv_crosscflags__Wlogical_op=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 CFLAGS=$ac_wine_try_cflags_saved
10272 CC=$ac_wine_try_cflags_saved_cc
10273 ac_exeext=$ac_wine_try_cflags_saved_exeext
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10276 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10277 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10278 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10281 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10282 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10283 $as_echo_n "(cached) " >&6
10284 else
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 ac_wine_try_cflags_saved_cc=$CC
10287 ac_wine_try_cflags_saved_exeext=$ac_exeext
10288 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10289 CC="$CROSSCC"
10290 ac_exeext=".exe"
10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10293 int __cdecl mainCRTStartup(void) { return 0; }
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 ac_cv_crosscflags__Wabsolute_value=yes
10297 else
10298 ac_cv_crosscflags__Wabsolute_value=no
10300 rm -f core conftest.err conftest.$ac_objext \
10301 conftest$ac_exeext conftest.$ac_ext
10302 CFLAGS=$ac_wine_try_cflags_saved
10303 CC=$ac_wine_try_cflags_saved_cc
10304 ac_exeext=$ac_wine_try_cflags_saved_exeext
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10307 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10308 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10309 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10312 case $host_cpu in
10313 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10314 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10315 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10316 $as_echo_n "(cached) " >&6
10317 else
10318 ac_wine_try_cflags_saved=$CFLAGS
10319 ac_wine_try_cflags_saved_cc=$CC
10320 ac_wine_try_cflags_saved_exeext=$ac_exeext
10321 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10322 CC="$CROSSCC"
10323 ac_exeext=".exe"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 int __cdecl mainCRTStartup(void) { return 0; }
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10330 else
10331 ac_cv_crosscflags__fno_omit_frame_pointer=no
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10336 CC=$ac_wine_try_cflags_saved_cc
10337 ac_exeext=$ac_wine_try_cflags_saved_exeext
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10340 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10341 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10342 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10343 fi ;;
10344 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10345 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10346 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_wine_try_cflags_saved=$CFLAGS
10350 ac_wine_try_cflags_saved_cc=$CC
10351 ac_wine_try_cflags_saved_exeext=$ac_exeext
10352 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10353 CC="$CROSSCC"
10354 ac_exeext=".exe"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int __cdecl mainCRTStartup(void) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 ac_cv_crosscflags__Wno_format=yes
10361 else
10362 ac_cv_crosscflags__Wno_format=no
10364 rm -f core conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10367 CC=$ac_wine_try_cflags_saved_cc
10368 ac_exeext=$ac_wine_try_cflags_saved_exeext
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10371 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10372 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10373 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10376 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10377 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10378 $as_echo_n "(cached) " >&6
10379 else
10380 ac_wine_try_cflags_saved=$CFLAGS
10381 ac_wine_try_cflags_saved_cc=$CC
10382 ac_wine_try_cflags_saved_exeext=$ac_exeext
10383 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10384 CC="$CROSSCC"
10385 ac_exeext=".exe"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 int __cdecl mainCRTStartup(void) { return 0; }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 ac_cv_crosscflags__Wformat_overflow=yes
10392 else
10393 ac_cv_crosscflags__Wformat_overflow=no
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 CFLAGS=$ac_wine_try_cflags_saved
10398 CC=$ac_wine_try_cflags_saved_cc
10399 ac_exeext=$ac_wine_try_cflags_saved_exeext
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10402 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10403 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10404 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10407 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10408 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10409 $as_echo_n "(cached) " >&6
10410 else
10411 ac_wine_try_cflags_saved=$CFLAGS
10412 ac_wine_try_cflags_saved_cc=$CC
10413 ac_wine_try_cflags_saved_exeext=$ac_exeext
10414 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10415 CC="$CROSSCC"
10416 ac_exeext=".exe"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 int __cdecl mainCRTStartup(void) { return 0; }
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 ac_cv_crosscflags__Wnonnull=yes
10423 else
10424 ac_cv_crosscflags__Wnonnull=no
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 CFLAGS=$ac_wine_try_cflags_saved
10429 CC=$ac_wine_try_cflags_saved_cc
10430 ac_exeext=$ac_wine_try_cflags_saved_exeext
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10433 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10434 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10435 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10438 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10439 if ${ac_cv_crosscflags__mcx16+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_wine_try_cflags_saved=$CFLAGS
10443 ac_wine_try_cflags_saved_cc=$CC
10444 ac_wine_try_cflags_saved_exeext=$ac_exeext
10445 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10446 CC="$CROSSCC"
10447 ac_exeext=".exe"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10450 int __cdecl mainCRTStartup(void) { return 0; }
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 ac_cv_crosscflags__mcx16=yes
10454 else
10455 ac_cv_crosscflags__mcx16=no
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10460 CC=$ac_wine_try_cflags_saved_cc
10461 ac_exeext=$ac_wine_try_cflags_saved_exeext
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10464 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10465 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10466 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10467 fi ;;
10468 esac
10471 if test -z "$CROSSDEBUG"
10472 then
10473 for ac_flag in $CROSSCFLAGS; do
10474 case $ac_flag in
10475 -gdwarf*) CROSSDEBUG=dwarf ;;
10476 -gcodeview) CROSSDEBUG=pdb ;;
10477 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10478 esac
10479 done
10481 case $CROSSDEBUG in
10482 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10483 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10484 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10485 $as_echo_n "(cached) " >&6
10486 else
10487 ac_wine_try_cflags_saved=$CFLAGS
10488 ac_wine_try_cflags_saved_cc=$CC
10489 ac_wine_try_cflags_saved_exeext=$ac_exeext
10490 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10491 CC="$CROSSCC"
10492 ac_exeext=".exe"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10495 int __cdecl mainCRTStartup(void) { return 0; }
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_crosscflags__gdwarf_2=yes
10499 else
10500 ac_cv_crosscflags__gdwarf_2=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 CFLAGS=$ac_wine_try_cflags_saved
10505 CC=$ac_wine_try_cflags_saved_cc
10506 ac_exeext=$ac_wine_try_cflags_saved_exeext
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10509 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10510 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10511 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10514 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10515 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_wine_try_cflags_saved=$CFLAGS
10519 ac_wine_try_cflags_saved_cc=$CC
10520 ac_wine_try_cflags_saved_exeext=$ac_exeext
10521 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10522 CC="$CROSSCC"
10523 ac_exeext=".exe"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10526 int __cdecl mainCRTStartup(void) { return 0; }
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_crosscflags__gstrict_dwarf=yes
10530 else
10531 ac_cv_crosscflags__gstrict_dwarf=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 CFLAGS=$ac_wine_try_cflags_saved
10536 CC=$ac_wine_try_cflags_saved_cc
10537 ac_exeext=$ac_wine_try_cflags_saved_exeext
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10540 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10541 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10542 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10543 fi ;;
10544 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10545 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10546 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10547 $as_echo_n "(cached) " >&6
10548 else
10549 ac_wine_try_cflags_saved=$CFLAGS
10550 ac_wine_try_cflags_saved_cc=$CC
10551 ac_wine_try_cflags_saved_exeext=$ac_exeext
10552 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10553 CC="$CROSSCC"
10554 ac_exeext=".exe"
10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10557 int __cdecl mainCRTStartup(void) { return 0; }
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 ac_cv_crosscflags__gcodeview=yes
10561 else
10562 ac_cv_crosscflags__gcodeview=no
10564 rm -f core conftest.err conftest.$ac_objext \
10565 conftest$ac_exeext conftest.$ac_ext
10566 CFLAGS=$ac_wine_try_cflags_saved
10567 CC=$ac_wine_try_cflags_saved_cc
10568 ac_exeext=$ac_wine_try_cflags_saved_exeext
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10571 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10572 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10573 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10574 fi ;;
10575 esac
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10578 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10579 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10580 $as_echo_n "(cached) " >&6
10581 else
10582 ac_wine_try_cflags_saved=$CFLAGS
10583 ac_wine_try_cflags_saved_cc=$CC
10584 ac_wine_try_cflags_saved_exeext=$ac_exeext
10585 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10586 CC="$CROSSCC"
10587 ac_exeext=".exe"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10590 int __cdecl mainCRTStartup(void) { return 0; }
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 ac_cv_crosscflags__fexcess_precision_standard=yes
10594 else
10595 ac_cv_crosscflags__fexcess_precision_standard=no
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 CFLAGS=$ac_wine_try_cflags_saved
10600 CC=$ac_wine_try_cflags_saved_cc
10601 ac_exeext=$ac_wine_try_cflags_saved_exeext
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10604 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10605 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10606 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10610 if test "x$enable_werror" = "xyes"
10611 then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10613 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10614 if ${ac_cv_crosscflags__Werror+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_wine_try_cflags_saved=$CFLAGS
10618 ac_wine_try_cflags_saved_cc=$CC
10619 ac_wine_try_cflags_saved_exeext=$ac_exeext
10620 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10621 CC="$CROSSCC"
10622 ac_exeext=".exe"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10625 int __cdecl mainCRTStartup(void) { return 0; }
10626 _ACEOF
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 ac_cv_crosscflags__Werror=yes
10629 else
10630 ac_cv_crosscflags__Werror=no
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 CFLAGS=$ac_wine_try_cflags_saved
10635 CC=$ac_wine_try_cflags_saved_cc
10636 ac_exeext=$ac_wine_try_cflags_saved_exeext
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10639 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10640 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10641 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10645 CFLAGS=$saved_CFLAGS
10646 CC="$ac_save_CC"
10649 if test "x$CROSSTARGET" = "x"; then :
10650 case "x$with_mingw" in
10651 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10652 xno) ;;
10653 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10654 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10655 esac
10660 if test "$ac_cv_header_pthread_h" = "yes"
10661 then
10662 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10663 if test "x$ac_cv_func_pthread_create" = xyes; then :
10665 else
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10667 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10668 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10669 $as_echo_n "(cached) " >&6
10670 else
10671 ac_check_lib_save_LIBS=$LIBS
10672 LIBS="-lpthread $LIBS"
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10676 /* Override any GCC internal prototype to avoid an error.
10677 Use char because int might match the return type of a GCC
10678 builtin and then its argument prototype would still apply. */
10679 #ifdef __cplusplus
10680 extern "C"
10681 #endif
10682 char pthread_create ();
10684 main ()
10686 return pthread_create ();
10688 return 0;
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"; then :
10692 ac_cv_lib_pthread_pthread_create=yes
10693 else
10694 ac_cv_lib_pthread_pthread_create=no
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10701 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10702 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10703 PTHREAD_LIBS="-lpthread"
10710 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10711 case "x$with_pthread" in
10712 xno) ;;
10713 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10714 Wine cannot support threads without libpthread.
10715 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10716 esac
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10722 $as_echo_n "checking for X... " >&6; }
10725 # Check whether --with-x was given.
10726 if test "${with_x+set}" = set; then :
10727 withval=$with_x;
10730 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10731 if test "x$with_x" = xno; then
10732 # The user explicitly disabled X.
10733 have_x=disabled
10734 else
10735 case $x_includes,$x_libraries in #(
10736 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10737 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10738 $as_echo_n "(cached) " >&6
10739 else
10740 # One or both of the vars are not set, and there is no cached value.
10741 ac_x_includes=no ac_x_libraries=no
10742 rm -f -r conftest.dir
10743 if mkdir conftest.dir; then
10744 cd conftest.dir
10745 cat >Imakefile <<'_ACEOF'
10746 incroot:
10747 @echo incroot='${INCROOT}'
10748 usrlibdir:
10749 @echo usrlibdir='${USRLIBDIR}'
10750 libdir:
10751 @echo libdir='${LIBDIR}'
10752 _ACEOF
10753 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10754 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10755 for ac_var in incroot usrlibdir libdir; do
10756 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10757 done
10758 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10759 for ac_extension in a so sl dylib la dll; do
10760 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10761 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10762 ac_im_usrlibdir=$ac_im_libdir; break
10764 done
10765 # Screen out bogus values from the imake configuration. They are
10766 # bogus both because they are the default anyway, and because
10767 # using them would break gcc on systems where it needs fixed includes.
10768 case $ac_im_incroot in
10769 /usr/include) ac_x_includes= ;;
10770 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10771 esac
10772 case $ac_im_usrlibdir in
10773 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10774 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10775 esac
10777 cd ..
10778 rm -f -r conftest.dir
10781 # Standard set of common directories for X headers.
10782 # Check X11 before X11Rn because it is often a symlink to the current release.
10783 ac_x_header_dirs='
10784 /usr/X11/include
10785 /usr/X11R7/include
10786 /usr/X11R6/include
10787 /usr/X11R5/include
10788 /usr/X11R4/include
10790 /usr/include/X11
10791 /usr/include/X11R7
10792 /usr/include/X11R6
10793 /usr/include/X11R5
10794 /usr/include/X11R4
10796 /usr/local/X11/include
10797 /usr/local/X11R7/include
10798 /usr/local/X11R6/include
10799 /usr/local/X11R5/include
10800 /usr/local/X11R4/include
10802 /usr/local/include/X11
10803 /usr/local/include/X11R7
10804 /usr/local/include/X11R6
10805 /usr/local/include/X11R5
10806 /usr/local/include/X11R4
10808 /usr/X386/include
10809 /usr/x386/include
10810 /usr/XFree86/include/X11
10812 /usr/include
10813 /usr/local/include
10814 /usr/unsupported/include
10815 /usr/athena/include
10816 /usr/local/x11r5/include
10817 /usr/lpp/Xamples/include
10819 /usr/openwin/include
10820 /usr/openwin/share/include'
10822 if test "$ac_x_includes" = no; then
10823 # Guess where to find include files, by looking for Xlib.h.
10824 # First, try using that file with no special directory specified.
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827 #include <X11/Xlib.h>
10828 _ACEOF
10829 if ac_fn_c_try_cpp "$LINENO"; then :
10830 # We can compile using X headers with no special include directory.
10831 ac_x_includes=
10832 else
10833 for ac_dir in $ac_x_header_dirs; do
10834 if test -r "$ac_dir/X11/Xlib.h"; then
10835 ac_x_includes=$ac_dir
10836 break
10838 done
10840 rm -f conftest.err conftest.i conftest.$ac_ext
10841 fi # $ac_x_includes = no
10843 if test "$ac_x_libraries" = no; then
10844 # Check for the libraries.
10845 # See if we find them without any special options.
10846 # Don't add to $LIBS permanently.
10847 ac_save_LIBS=$LIBS
10848 LIBS="-lX11 $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851 #include <X11/Xlib.h>
10853 main ()
10855 XrmInitialize ()
10857 return 0;
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 LIBS=$ac_save_LIBS
10862 # We can link X programs with no special library path.
10863 ac_x_libraries=
10864 else
10865 LIBS=$ac_save_LIBS
10866 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10868 # Don't even attempt the hair of trying to link an X program!
10869 for ac_extension in a so sl dylib la dll; do
10870 if test -r "$ac_dir/libX11.$ac_extension"; then
10871 ac_x_libraries=$ac_dir
10872 break 2
10874 done
10875 done
10877 rm -f core conftest.err conftest.$ac_objext \
10878 conftest$ac_exeext conftest.$ac_ext
10879 fi # $ac_x_libraries = no
10881 case $ac_x_includes,$ac_x_libraries in #(
10882 no,* | *,no | *\'*)
10883 # Didn't find X, or a directory has "'" in its name.
10884 ac_cv_have_x="have_x=no";; #(
10886 # Record where we found X for the cache.
10887 ac_cv_have_x="have_x=yes\
10888 ac_x_includes='$ac_x_includes'\
10889 ac_x_libraries='$ac_x_libraries'"
10890 esac
10892 ;; #(
10893 *) have_x=yes;;
10894 esac
10895 eval "$ac_cv_have_x"
10896 fi # $with_x != no
10898 if test "$have_x" != yes; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10900 $as_echo "$have_x" >&6; }
10901 no_x=yes
10902 else
10903 # If each of the values was on the command line, it overrides each guess.
10904 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10905 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10906 # Update the cache value to reflect the command line values.
10907 ac_cv_have_x="have_x=yes\
10908 ac_x_includes='$x_includes'\
10909 ac_x_libraries='$x_libraries'"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10911 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10914 if test "$no_x" = yes; then
10915 # Not all programs may use this symbol, but it does not hurt to define it.
10917 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10919 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10920 else
10921 if test -n "$x_includes"; then
10922 X_CFLAGS="$X_CFLAGS -I$x_includes"
10925 # It would also be nice to do this for all -L options, not just this one.
10926 if test -n "$x_libraries"; then
10927 X_LIBS="$X_LIBS -L$x_libraries"
10928 # For Solaris; some versions of Sun CC require a space after -R and
10929 # others require no space. Words are not sufficient . . . .
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10931 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10932 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10933 ac_xsave_c_werror_flag=$ac_c_werror_flag
10934 ac_c_werror_flag=yes
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10939 main ()
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10948 $as_echo "no" >&6; }
10949 X_LIBS="$X_LIBS -R$x_libraries"
10950 else
10951 LIBS="$ac_xsave_LIBS -R $x_libraries"
10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 /* end confdefs.h. */
10956 main ()
10960 return 0;
10962 _ACEOF
10963 if ac_fn_c_try_link "$LINENO"; then :
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10965 $as_echo "yes" >&6; }
10966 X_LIBS="$X_LIBS -R $x_libraries"
10967 else
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10969 $as_echo "neither works" >&6; }
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10974 rm -f core conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10976 ac_c_werror_flag=$ac_xsave_c_werror_flag
10977 LIBS=$ac_xsave_LIBS
10980 # Check for system-dependent libraries X programs must link with.
10981 # Do this before checking for the system-independent R6 libraries
10982 # (-lICE), since we may need -lsocket or whatever for X linking.
10984 if test "$ISC" = yes; then
10985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10986 else
10987 # Martyn Johnson says this is needed for Ultrix, if the X
10988 # libraries were built with DECnet support. And Karl Berry says
10989 # the Alpha needs dnet_stub (dnet does not exist).
10990 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char XOpenDisplay ();
11002 main ()
11004 return XOpenDisplay ();
11006 return 0;
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11011 else
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11013 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11014 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-ldnet $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char dnet_ntoa ();
11030 main ()
11032 return dnet_ntoa ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_dnet_dnet_ntoa=yes
11039 else
11040 ac_cv_lib_dnet_dnet_ntoa=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11047 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11048 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11049 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11052 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11054 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11055 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_lib_save_LIBS=$LIBS
11059 LIBS="-ldnet_stub $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char dnet_ntoa ();
11071 main ()
11073 return dnet_ntoa ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11080 else
11081 ac_cv_lib_dnet_stub_dnet_ntoa=no
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11088 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11089 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11090 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS="$ac_xsave_LIBS"
11099 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11100 # to get the SysV transport functions.
11101 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11102 # needs -lnsl.
11103 # The nsl library prevents programs from opening the X display
11104 # on Irix 5.2, according to T.E. Dickey.
11105 # The functions gethostbyname, getservbyname, and inet_addr are
11106 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11107 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11108 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11112 if test $ac_cv_func_gethostbyname = no; then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11114 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11115 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11116 $as_echo_n "(cached) " >&6
11117 else
11118 ac_check_lib_save_LIBS=$LIBS
11119 LIBS="-lnsl $LIBS"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11126 #ifdef __cplusplus
11127 extern "C"
11128 #endif
11129 char gethostbyname ();
11131 main ()
11133 return gethostbyname ();
11135 return 0;
11137 _ACEOF
11138 if ac_fn_c_try_link "$LINENO"; then :
11139 ac_cv_lib_nsl_gethostbyname=yes
11140 else
11141 ac_cv_lib_nsl_gethostbyname=no
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_lib_save_LIBS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11148 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11149 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11153 if test $ac_cv_lib_nsl_gethostbyname = no; then
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11155 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11156 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11157 $as_echo_n "(cached) " >&6
11158 else
11159 ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-lbsd $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char gethostbyname ();
11172 main ()
11174 return gethostbyname ();
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_bsd_gethostbyname=yes
11181 else
11182 ac_cv_lib_bsd_gethostbyname=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11189 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11190 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11197 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11198 # socket/setsockopt and other routines are undefined under SCO ODT
11199 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11200 # on later versions), says Simon Leinen: it contains gethostby*
11201 # variants that don't use the name server (or something). -lsocket
11202 # must be given before -lnsl if both are needed. We assume that
11203 # if connect needs -lnsl, so does gethostbyname.
11204 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11205 if test "x$ac_cv_func_connect" = xyes; then :
11209 if test $ac_cv_func_connect = no; then
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11211 $as_echo_n "checking for connect in -lsocket... " >&6; }
11212 if ${ac_cv_lib_socket_connect+:} false; then :
11213 $as_echo_n "(cached) " >&6
11214 else
11215 ac_check_lib_save_LIBS=$LIBS
11216 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11218 /* end confdefs.h. */
11220 /* Override any GCC internal prototype to avoid an error.
11221 Use char because int might match the return type of a GCC
11222 builtin and then its argument prototype would still apply. */
11223 #ifdef __cplusplus
11224 extern "C"
11225 #endif
11226 char connect ();
11228 main ()
11230 return connect ();
11232 return 0;
11234 _ACEOF
11235 if ac_fn_c_try_link "$LINENO"; then :
11236 ac_cv_lib_socket_connect=yes
11237 else
11238 ac_cv_lib_socket_connect=no
11240 rm -f core conftest.err conftest.$ac_objext \
11241 conftest$ac_exeext conftest.$ac_ext
11242 LIBS=$ac_check_lib_save_LIBS
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11245 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11246 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11247 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11252 # Guillermo Gomez says -lposix is necessary on A/UX.
11253 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11254 if test "x$ac_cv_func_remove" = xyes; then :
11258 if test $ac_cv_func_remove = no; then
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11260 $as_echo_n "checking for remove in -lposix... " >&6; }
11261 if ${ac_cv_lib_posix_remove+:} false; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-lposix $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char remove ();
11277 main ()
11279 return remove ();
11281 return 0;
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 ac_cv_lib_posix_remove=yes
11286 else
11287 ac_cv_lib_posix_remove=no
11289 rm -f core conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11294 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11295 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11296 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11301 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11302 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11303 if test "x$ac_cv_func_shmat" = xyes; then :
11307 if test $ac_cv_func_shmat = no; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11309 $as_echo_n "checking for shmat in -lipc... " >&6; }
11310 if ${ac_cv_lib_ipc_shmat+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lipc $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char shmat ();
11326 main ()
11328 return shmat ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 ac_cv_lib_ipc_shmat=yes
11335 else
11336 ac_cv_lib_ipc_shmat=no
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11343 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11344 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11351 # Check for libraries that X11R6 Xt/Xaw programs need.
11352 ac_save_LDFLAGS=$LDFLAGS
11353 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11354 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11355 # check for ICE first), but we must link in the order -lSM -lICE or
11356 # we get undefined symbols. So assume we have SM if we have ICE.
11357 # These have to be linked with before -lX11, unlike the other
11358 # libraries we check for below, so use a different variable.
11359 # John Interrante, Karl Berry
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11361 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11362 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char IceConnectionNumber ();
11378 main ()
11380 return IceConnectionNumber ();
11382 return 0;
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 ac_cv_lib_ICE_IceConnectionNumber=yes
11387 else
11388 ac_cv_lib_ICE_IceConnectionNumber=no
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_lib_save_LIBS
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11395 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11396 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11397 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11400 LDFLAGS=$ac_save_LDFLAGS
11405 if test "$have_x" = "yes"
11406 then
11407 ac_save_CPPFLAGS="$CPPFLAGS"
11408 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11411 $as_echo_n "checking for -lX11... " >&6; }
11412 if ${ac_cv_lib_soname_X11+:} false; then :
11413 $as_echo_n "(cached) " >&6
11414 else
11415 ac_check_soname_save_LIBS=$LIBS
11416 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11423 #ifdef __cplusplus
11424 extern "C"
11425 #endif
11426 char XCreateWindow ();
11428 main ()
11430 return XCreateWindow ();
11432 return 0;
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"; then :
11436 case "$LIBEXT" in
11437 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11438 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'` ;;
11439 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11440 if ${ac_cv_lib_soname_X11:+false} :; then :
11441 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11442 fi ;;
11443 esac
11444 else
11445 ac_cv_lib_soname_X11=
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_soname_save_LIBS
11451 if ${ac_cv_lib_soname_X11:+false} :; then :
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11453 $as_echo "not found" >&6; }
11455 else
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11457 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11459 cat >>confdefs.h <<_ACEOF
11460 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11461 _ACEOF
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11466 $as_echo_n "checking for -lXext... " >&6; }
11467 if ${ac_cv_lib_soname_Xext+:} false; then :
11468 $as_echo_n "(cached) " >&6
11469 else
11470 ac_check_soname_save_LIBS=$LIBS
11471 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11478 #ifdef __cplusplus
11479 extern "C"
11480 #endif
11481 char XextCreateExtension ();
11483 main ()
11485 return XextCreateExtension ();
11487 return 0;
11489 _ACEOF
11490 if ac_fn_c_try_link "$LINENO"; then :
11491 case "$LIBEXT" in
11492 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11493 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'` ;;
11494 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11495 if ${ac_cv_lib_soname_Xext:+false} :; then :
11496 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11497 fi ;;
11498 esac
11499 else
11500 ac_cv_lib_soname_Xext=
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_soname_save_LIBS
11506 if ${ac_cv_lib_soname_Xext:+false} :; then :
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11508 $as_echo "not found" >&6; }
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11512 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11514 cat >>confdefs.h <<_ACEOF
11515 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11516 _ACEOF
11518 X_LIBS="$X_LIBS -lXext"
11520 X_LIBS="$X_LIBS -lX11"
11522 for ac_header in X11/Xlib.h \
11523 X11/XKBlib.h \
11524 X11/Xutil.h \
11525 X11/Xcursor/Xcursor.h \
11526 X11/extensions/shape.h \
11527 X11/extensions/XInput.h \
11528 X11/extensions/XInput2.h \
11529 X11/extensions/XShm.h \
11530 X11/extensions/Xcomposite.h \
11531 X11/extensions/Xfixes.h \
11532 X11/extensions/Xinerama.h \
11533 X11/extensions/Xrandr.h \
11534 X11/extensions/Xrender.h \
11535 X11/extensions/xf86vmode.h \
11536 X11/extensions/xf86vmproto.h
11537 do :
11538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11539 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11540 # include <X11/Xlib.h>
11541 #endif
11542 #ifdef HAVE_X11_XUTIL_H
11543 # include <X11/Xutil.h>
11544 #endif
11546 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11547 cat >>confdefs.h <<_ACEOF
11548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11549 _ACEOF
11553 done
11556 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11557 then
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11559 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11560 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11561 $as_echo_n "(cached) " >&6
11562 else
11563 ac_check_lib_save_LIBS=$LIBS
11564 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11571 #ifdef __cplusplus
11572 extern "C"
11573 #endif
11574 char XkbQueryExtension ();
11576 main ()
11578 return XkbQueryExtension ();
11580 return 0;
11582 _ACEOF
11583 if ac_fn_c_try_link "$LINENO"; then :
11584 ac_cv_lib_X11_XkbQueryExtension=yes
11585 else
11586 ac_cv_lib_X11_XkbQueryExtension=no
11588 rm -f core conftest.err conftest.$ac_objext \
11589 conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_lib_save_LIBS
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11593 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11594 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11596 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11602 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11603 then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11605 $as_echo_n "checking for -lXcursor... " >&6; }
11606 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11607 $as_echo_n "(cached) " >&6
11608 else
11609 ac_check_soname_save_LIBS=$LIBS
11610 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char XcursorImageLoadCursor ();
11622 main ()
11624 return XcursorImageLoadCursor ();
11626 return 0;
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"; then :
11630 case "$LIBEXT" in
11631 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11632 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'` ;;
11633 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11634 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11635 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11636 fi ;;
11637 esac
11638 else
11639 ac_cv_lib_soname_Xcursor=
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_soname_save_LIBS
11645 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11647 $as_echo "not found" >&6; }
11649 else
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11651 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11653 cat >>confdefs.h <<_ACEOF
11654 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11655 _ACEOF
11660 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11661 case "x$with_xcursor" in
11662 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11663 xno) ;;
11664 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11665 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11666 esac
11670 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11673 $as_echo_n "checking for -lXi... " >&6; }
11674 if ${ac_cv_lib_soname_Xi+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_soname_save_LIBS=$LIBS
11678 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char XOpenDevice ();
11690 main ()
11692 return XOpenDevice ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 case "$LIBEXT" in
11699 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11700 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'` ;;
11701 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11702 if ${ac_cv_lib_soname_Xi:+false} :; then :
11703 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11704 fi ;;
11705 esac
11706 else
11707 ac_cv_lib_soname_Xi=
11709 rm -f core conftest.err conftest.$ac_objext \
11710 conftest$ac_exeext conftest.$ac_ext
11711 LIBS=$ac_check_soname_save_LIBS
11713 if ${ac_cv_lib_soname_Xi:+false} :; then :
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11715 $as_echo "not found" >&6; }
11717 else
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11719 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11721 cat >>confdefs.h <<_ACEOF
11722 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11723 _ACEOF
11728 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11729 case "x$with_xinput" in
11730 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11731 xno) ;;
11732 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11733 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11734 esac
11738 if test "x$ac_cv_lib_soname_Xi" != x
11739 then
11740 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11741 case "x$with_xinput2" in
11742 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11743 xno) ;;
11744 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11745 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11746 esac
11751 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11752 then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11754 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11755 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 ac_check_lib_save_LIBS=$LIBS
11759 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char XShmQueryExtension ();
11771 main ()
11773 return XShmQueryExtension ();
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 ac_cv_lib_Xext_XShmQueryExtension=yes
11780 else
11781 ac_cv_lib_Xext_XShmQueryExtension=no
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11788 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11789 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11791 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11796 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11797 case "x$with_xshm" in
11798 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11799 xno) ;;
11800 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11801 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11802 esac
11806 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11807 then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11809 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11810 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_lib_save_LIBS=$LIBS
11814 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char XShapeQueryExtension ();
11826 main ()
11828 return XShapeQueryExtension ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 ac_cv_lib_Xext_XShapeQueryExtension=yes
11835 else
11836 ac_cv_lib_Xext_XShapeQueryExtension=no
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11843 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11844 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11846 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11851 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11852 case "x$with_xshape" in
11853 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11854 xno) ;;
11855 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11856 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11857 esac
11861 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11862 then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11864 $as_echo_n "checking for -lXxf86vm... " >&6; }
11865 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11866 $as_echo_n "(cached) " >&6
11867 else
11868 ac_check_soname_save_LIBS=$LIBS
11869 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 #ifdef __cplusplus
11877 extern "C"
11878 #endif
11879 char XF86VidModeQueryExtension ();
11881 main ()
11883 return XF86VidModeQueryExtension ();
11885 return 0;
11887 _ACEOF
11888 if ac_fn_c_try_link "$LINENO"; then :
11889 case "$LIBEXT" in
11890 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11891 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'` ;;
11892 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11893 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11894 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11895 fi ;;
11896 esac
11897 else
11898 ac_cv_lib_soname_Xxf86vm=
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_soname_save_LIBS
11904 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11906 $as_echo "not found" >&6; }
11908 else
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11910 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11912 cat >>confdefs.h <<_ACEOF
11913 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11914 _ACEOF
11919 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11920 case "x$with_xxf86vm" in
11921 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11924 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11925 esac
11929 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11930 then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11932 $as_echo_n "checking for -lXrender... " >&6; }
11933 if ${ac_cv_lib_soname_Xrender+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_soname_save_LIBS=$LIBS
11937 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char XRenderQueryExtension ();
11949 main ()
11951 return XRenderQueryExtension ();
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 case "$LIBEXT" in
11958 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11959 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'` ;;
11960 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11961 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11962 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11963 fi ;;
11964 esac
11965 else
11966 ac_cv_lib_soname_Xrender=
11968 rm -f core conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11970 LIBS=$ac_check_soname_save_LIBS
11972 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11974 $as_echo "not found" >&6; }
11976 else
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11978 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11980 cat >>confdefs.h <<_ACEOF
11981 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11982 _ACEOF
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11985 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11986 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11987 $as_echo_n "(cached) " >&6
11988 else
11989 ac_check_lib_save_LIBS=$LIBS
11990 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
11997 #ifdef __cplusplus
11998 extern "C"
11999 #endif
12000 char XRenderSetPictureTransform ();
12002 main ()
12004 return XRenderSetPictureTransform ();
12006 return 0;
12008 _ACEOF
12009 if ac_fn_c_try_link "$LINENO"; then :
12010 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12011 else
12012 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12019 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12020 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12022 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12027 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12028 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_lib_save_LIBS=$LIBS
12032 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char XRenderCreateLinearGradient ();
12044 main ()
12046 return XRenderCreateLinearGradient ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12053 else
12054 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12061 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12062 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12064 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12071 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12072 case "x$with_xrender" in
12073 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12074 xno) ;;
12075 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12076 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12077 esac
12081 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12082 then
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12085 #include <X11/Xlib.h>
12086 #include <X11/extensions/Xrandr.h>
12088 main ()
12090 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12092 return 0;
12094 _ACEOF
12095 if ac_fn_c_try_compile "$LINENO"; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12097 $as_echo_n "checking for -lXrandr... " >&6; }
12098 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_soname_save_LIBS=$LIBS
12102 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char XRRQueryExtension ();
12114 main ()
12116 return XRRQueryExtension ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 case "$LIBEXT" in
12123 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12124 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'` ;;
12125 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12126 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12127 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12128 fi ;;
12129 esac
12130 else
12131 ac_cv_lib_soname_Xrandr=
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_soname_save_LIBS
12137 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12139 $as_echo "not found" >&6; }
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12143 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12145 cat >>confdefs.h <<_ACEOF
12146 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12147 _ACEOF
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12151 #include <X11/Xlib.h>
12152 #include <X11/extensions/Xrandr.h>
12154 main ()
12156 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_compile "$LINENO"; then :
12163 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12165 else
12166 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12174 case "x$with_xrandr" in
12175 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12176 xno) ;;
12177 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12178 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12179 esac
12183 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12184 then
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12187 #include <X11/Xlib.h>
12188 #include <X11/extensions/Xfixes.h>
12190 main ()
12192 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_compile "$LINENO"; then :
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12199 $as_echo_n "checking for -lXfixes... " >&6; }
12200 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12201 $as_echo_n "(cached) " >&6
12202 else
12203 ac_check_soname_save_LIBS=$LIBS
12204 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12211 #ifdef __cplusplus
12212 extern "C"
12213 #endif
12214 char XFixesQueryVersion ();
12216 main ()
12218 return XFixesQueryVersion ();
12220 return 0;
12222 _ACEOF
12223 if ac_fn_c_try_link "$LINENO"; then :
12224 case "$LIBEXT" in
12225 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12226 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'` ;;
12227 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12228 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12229 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12230 fi ;;
12231 esac
12232 else
12233 ac_cv_lib_soname_Xfixes=
12235 rm -f core conftest.err conftest.$ac_objext \
12236 conftest$ac_exeext conftest.$ac_ext
12237 LIBS=$ac_check_soname_save_LIBS
12239 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12241 $as_echo "not found" >&6; }
12243 else
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12245 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12247 cat >>confdefs.h <<_ACEOF
12248 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12249 _ACEOF
12254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12256 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12257 case "x$with_xfixes" in
12258 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12259 xno) ;;
12260 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12261 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12262 esac
12266 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12267 then
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12270 #include <X11/Xlib.h>
12271 #include <X11/extensions/Xinerama.h>
12273 main ()
12275 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_compile "$LINENO"; then :
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12282 $as_echo_n "checking for -lXinerama... " >&6; }
12283 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12284 $as_echo_n "(cached) " >&6
12285 else
12286 ac_check_soname_save_LIBS=$LIBS
12287 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12294 #ifdef __cplusplus
12295 extern "C"
12296 #endif
12297 char XineramaQueryScreens ();
12299 main ()
12301 return XineramaQueryScreens ();
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_link "$LINENO"; then :
12307 case "$LIBEXT" in
12308 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12309 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'` ;;
12310 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12311 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12312 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12313 fi ;;
12314 esac
12315 else
12316 ac_cv_lib_soname_Xinerama=
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_soname_save_LIBS
12322 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12324 $as_echo "not found" >&6; }
12326 else
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12328 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12330 cat >>confdefs.h <<_ACEOF
12331 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12332 _ACEOF
12337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12339 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12340 case "x$with_xinerama" in
12341 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12342 xno) ;;
12343 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12344 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12345 esac
12349 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12350 then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12352 $as_echo_n "checking for -lXcomposite... " >&6; }
12353 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 ac_check_soname_save_LIBS=$LIBS
12357 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 char XCompositeRedirectWindow ();
12369 main ()
12371 return XCompositeRedirectWindow ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 case "$LIBEXT" in
12378 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12379 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'` ;;
12380 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12381 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12382 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12383 fi ;;
12384 esac
12385 else
12386 ac_cv_lib_soname_Xcomposite=
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 LIBS=$ac_check_soname_save_LIBS
12392 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12394 $as_echo "not found" >&6; }
12396 else
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12398 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12400 cat >>confdefs.h <<_ACEOF
12401 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12402 _ACEOF
12407 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12408 case "x$with_xcomposite" in
12409 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12410 xno) ;;
12411 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12412 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12413 esac
12417 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12418 #include <X11/Xlib.h>
12419 #endif
12421 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12423 cat >>confdefs.h <<_ACEOF
12424 #define HAVE_XICCALLBACK_CALLBACK 1
12425 _ACEOF
12429 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12430 #include <X11/Xlib.h>
12431 #endif
12433 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12435 cat >>confdefs.h <<_ACEOF
12436 #define HAVE_XEVENT_XCOOKIE 1
12437 _ACEOF
12444 opengl_msg=""
12445 if test "x$with_opengl" != "xno"
12446 then
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12448 $as_echo_n "checking for -lGL... " >&6; }
12449 if ${ac_cv_lib_soname_GL+:} false; then :
12450 $as_echo_n "(cached) " >&6
12451 else
12452 ac_check_soname_save_LIBS=$LIBS
12453 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 /* Override any GCC internal prototype to avoid an error.
12458 Use char because int might match the return type of a GCC
12459 builtin and then its argument prototype would still apply. */
12460 #ifdef __cplusplus
12461 extern "C"
12462 #endif
12463 char glXCreateContext ();
12465 main ()
12467 return glXCreateContext ();
12469 return 0;
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 case "$LIBEXT" in
12474 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12475 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'` ;;
12476 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12477 if ${ac_cv_lib_soname_GL:+false} :; then :
12478 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12479 fi ;;
12480 esac
12481 else
12482 ac_cv_lib_soname_GL=
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_soname_save_LIBS
12488 if ${ac_cv_lib_soname_GL:+false} :; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12490 $as_echo "not found" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12492 $as_echo_n "checking for -lGL... " >&6; }
12493 if ${ac_cv_lib_soname_GL+:} false; then :
12494 $as_echo_n "(cached) " >&6
12495 else
12496 ac_check_soname_save_LIBS=$LIBS
12497 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"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 /* Override any GCC internal prototype to avoid an error.
12502 Use char because int might match the return type of a GCC
12503 builtin and then its argument prototype would still apply. */
12504 #ifdef __cplusplus
12505 extern "C"
12506 #endif
12507 char glXCreateContext ();
12509 main ()
12511 return glXCreateContext ();
12513 return 0;
12515 _ACEOF
12516 if ac_fn_c_try_link "$LINENO"; then :
12517 case "$LIBEXT" in
12518 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12519 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'` ;;
12520 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12521 if ${ac_cv_lib_soname_GL:+false} :; then :
12522 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12523 fi ;;
12524 esac
12525 else
12526 ac_cv_lib_soname_GL=
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 LIBS=$ac_check_soname_save_LIBS
12532 if ${ac_cv_lib_soname_GL:+false} :; then :
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12534 $as_echo "not found" >&6; }
12535 if test -f /usr/X11R6/lib/libGL.a
12536 then
12537 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12538 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12539 else
12540 opengl_msg="No OpenGL library found on this system."
12542 else
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12544 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12546 cat >>confdefs.h <<_ACEOF
12547 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12548 _ACEOF
12550 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"
12552 else
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12554 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12556 cat >>confdefs.h <<_ACEOF
12557 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12558 _ACEOF
12560 OPENGL_LIBS="-lGL"
12562 if test "x$with_glu" != "xno"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12565 $as_echo_n "checking for -lGLU... " >&6; }
12566 if ${ac_cv_lib_soname_GLU+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_soname_save_LIBS=$LIBS
12570 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char gluLookAt ();
12582 main ()
12584 return gluLookAt ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 case "$LIBEXT" in
12591 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12592 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'` ;;
12593 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12594 if ${ac_cv_lib_soname_GLU:+false} :; then :
12595 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12596 fi ;;
12597 esac
12598 else
12599 ac_cv_lib_soname_GLU=
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_soname_save_LIBS
12605 if ${ac_cv_lib_soname_GLU:+false} :; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12607 $as_echo "not found" >&6; }
12609 else
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12611 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12613 cat >>confdefs.h <<_ACEOF
12614 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12615 _ACEOF
12619 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12620 case "x$with_glu" in
12621 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12622 xno) ;;
12623 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12624 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12625 esac
12630 if test "x$with_osmesa" != "xno"
12631 then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12633 $as_echo_n "checking for -lOSMesa... " >&6; }
12634 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12635 $as_echo_n "(cached) " >&6
12636 else
12637 ac_check_soname_save_LIBS=$LIBS
12638 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12645 #ifdef __cplusplus
12646 extern "C"
12647 #endif
12648 char OSMesaGetProcAddress ();
12650 main ()
12652 return OSMesaGetProcAddress ();
12654 return 0;
12656 _ACEOF
12657 if ac_fn_c_try_link "$LINENO"; then :
12658 case "$LIBEXT" in
12659 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12660 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'` ;;
12661 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12662 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12663 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12664 fi ;;
12665 esac
12666 else
12667 ac_cv_lib_soname_OSMesa=
12669 rm -f core conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12671 LIBS=$ac_check_soname_save_LIBS
12673 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12675 $as_echo "not found" >&6; }
12677 else
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12679 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12681 cat >>confdefs.h <<_ACEOF
12682 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12683 _ACEOF
12687 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12688 case "x$with_osmesa" in
12689 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12690 xno) ;;
12691 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12692 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12693 esac
12698 if test -n "$opengl_msg"; then :
12699 case "x$with_opengl" in
12700 x) as_fn_append wine_warnings "|$opengl_msg
12701 OpenGL and Direct3D won't be supported." ;;
12702 xno) ;;
12703 *) as_fn_error $? "$opengl_msg
12704 OpenGL and Direct3D won't be supported.
12705 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12706 esac
12710 CPPFLAGS="$ac_save_CPPFLAGS"
12711 else
12712 X_CFLAGS=""
12713 X_LIBS=""
12716 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12717 then
12718 if test "x$X_LIBS" = "x"; then :
12719 case "x$with_x" in
12720 xno) ;;
12721 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12722 without X support, which probably isn't what you want. You will need
12723 to install ${notice_platform}development packages of Xlib at the very least.
12724 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12725 esac
12726 enable_winex11_drv=${enable_winex11_drv:-no}
12728 else
12729 if test "x$X_LIBS" = "x"; then :
12730 case "x$with_x" in
12731 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12732 xno) ;;
12733 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12734 This is an error since --with-x was requested." "$LINENO" 5 ;;
12735 esac
12736 enable_winex11_drv=${enable_winex11_drv:-no}
12740 if test "$ac_cv_header_CL_cl_h" = "yes"
12741 then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12743 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12744 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 ac_check_lib_save_LIBS=$LIBS
12748 LIBS="-lOpenCL $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
12758 char clGetPlatformInfo ();
12760 main ()
12762 return clGetPlatformInfo ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"; then :
12768 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12769 else
12770 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12772 rm -f core conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS=$ac_check_lib_save_LIBS
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12777 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12778 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12779 OPENCL_LIBS="-lOpenCL"
12784 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12785 case "x$with_opencl" in
12786 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12787 xno) ;;
12788 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12789 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12790 esac
12791 enable_opencl=${enable_opencl:-no}
12794 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12795 then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12797 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12798 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12799 $as_echo_n "(cached) " >&6
12800 else
12801 ac_check_lib_save_LIBS=$LIBS
12802 LIBS="-lpcap $LIBS"
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12806 /* Override any GCC internal prototype to avoid an error.
12807 Use char because int might match the return type of a GCC
12808 builtin and then its argument prototype would still apply. */
12809 #ifdef __cplusplus
12810 extern "C"
12811 #endif
12812 char pcap_create ();
12814 main ()
12816 return pcap_create ();
12818 return 0;
12820 _ACEOF
12821 if ac_fn_c_try_link "$LINENO"; then :
12822 ac_cv_lib_pcap_pcap_create=yes
12823 else
12824 ac_cv_lib_pcap_pcap_create=no
12826 rm -f core conftest.err conftest.$ac_objext \
12827 conftest$ac_exeext conftest.$ac_ext
12828 LIBS=$ac_check_lib_save_LIBS
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12831 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12832 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12833 PCAP_LIBS="-lpcap"
12838 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12839 case "x$with_pcap" in
12840 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12841 xno) ;;
12842 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12843 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12844 esac
12845 enable_wpcap=${enable_wpcap:-no}
12849 if test "x$with_xml" != "xno"
12850 then
12851 if ${XML2_CFLAGS:+false} :; then :
12852 if ${PKG_CONFIG+:} false; then :
12853 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12856 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12857 if ${XML2_LIBS:+false} :; then :
12858 if ${PKG_CONFIG+:} false; then :
12859 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12862 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12863 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12864 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12865 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12866 ac_save_CPPFLAGS=$CPPFLAGS
12867 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12868 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12869 do :
12870 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12871 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12873 cat >>confdefs.h <<_ACEOF
12874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12875 _ACEOF
12879 done
12881 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"
12882 then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12884 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12885 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lxml2 $XML2_LIBS $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char xmlParseMemory ();
12901 main ()
12903 return xmlParseMemory ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_xml2_xmlParseMemory=yes
12910 else
12911 ac_cv_lib_xml2_xmlParseMemory=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12918 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12919 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12921 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12923 else
12924 XML2_LIBS=""
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12928 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12929 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12930 $as_echo_n "(cached) " >&6
12931 else
12932 ac_check_lib_save_LIBS=$LIBS
12933 LIBS="-lxml2 $XML2_LIBS $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char xmlReadMemory ();
12945 main ()
12947 return xmlReadMemory ();
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_link "$LINENO"; then :
12953 ac_cv_lib_xml2_xmlReadMemory=yes
12954 else
12955 ac_cv_lib_xml2_xmlReadMemory=no
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS=$ac_check_lib_save_LIBS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12962 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12963 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12965 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12970 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12971 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12972 $as_echo_n "(cached) " >&6
12973 else
12974 ac_check_lib_save_LIBS=$LIBS
12975 LIBS="-lxml2 $XML2_LIBS $LIBS"
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 /* Override any GCC internal prototype to avoid an error.
12980 Use char because int might match the return type of a GCC
12981 builtin and then its argument prototype would still apply. */
12982 #ifdef __cplusplus
12983 extern "C"
12984 #endif
12985 char xmlNewDocPI ();
12987 main ()
12989 return xmlNewDocPI ();
12991 return 0;
12993 _ACEOF
12994 if ac_fn_c_try_link "$LINENO"; then :
12995 ac_cv_lib_xml2_xmlNewDocPI=yes
12996 else
12997 ac_cv_lib_xml2_xmlNewDocPI=no
12999 rm -f core conftest.err conftest.$ac_objext \
13000 conftest$ac_exeext conftest.$ac_ext
13001 LIBS=$ac_check_lib_save_LIBS
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13004 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13005 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13007 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13012 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13013 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13014 $as_echo_n "(cached) " >&6
13015 else
13016 ac_check_lib_save_LIBS=$LIBS
13017 LIBS="-lxml2 $XML2_LIBS $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 #ifdef __cplusplus
13025 extern "C"
13026 #endif
13027 char xmlSchemaSetParserStructuredErrors ();
13029 main ()
13031 return xmlSchemaSetParserStructuredErrors ();
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_link "$LINENO"; then :
13037 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13038 else
13039 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13041 rm -f core conftest.err conftest.$ac_objext \
13042 conftest$ac_exeext conftest.$ac_ext
13043 LIBS=$ac_check_lib_save_LIBS
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13046 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13047 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13049 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13054 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13055 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13056 $as_echo_n "(cached) " >&6
13057 else
13058 ac_check_lib_save_LIBS=$LIBS
13059 LIBS="-lxml2 $XML2_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char xmlSchemaSetValidStructuredErrors ();
13071 main ()
13073 return xmlSchemaSetValidStructuredErrors ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13080 else
13081 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13083 rm -f core conftest.err conftest.$ac_objext \
13084 conftest$ac_exeext conftest.$ac_ext
13085 LIBS=$ac_check_lib_save_LIBS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13088 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13089 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13091 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13096 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13097 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13098 $as_echo_n "(cached) " >&6
13099 else
13100 ac_check_lib_save_LIBS=$LIBS
13101 LIBS="-lxml2 $XML2_LIBS $LIBS"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 /* Override any GCC internal prototype to avoid an error.
13106 Use char because int might match the return type of a GCC
13107 builtin and then its argument prototype would still apply. */
13108 #ifdef __cplusplus
13109 extern "C"
13110 #endif
13111 char xmlFirstElementChild ();
13113 main ()
13115 return xmlFirstElementChild ();
13117 return 0;
13119 _ACEOF
13120 if ac_fn_c_try_link "$LINENO"; then :
13121 ac_cv_lib_xml2_xmlFirstElementChild=yes
13122 else
13123 ac_cv_lib_xml2_xmlFirstElementChild=no
13125 rm -f core conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13127 LIBS=$ac_check_lib_save_LIBS
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13130 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13131 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13133 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13137 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13139 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13141 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13145 else
13146 XML2_CFLAGS=""
13147 XML2_LIBS=""
13149 CPPFLAGS=$ac_save_CPPFLAGS
13152 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13153 case "x$with_xml" in
13154 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13155 xno) ;;
13156 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13157 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13158 esac
13162 if test "x$with_xslt" != "xno"
13163 then
13164 if ${XSLT_CFLAGS:+false} :; then :
13165 if ${PKG_CONFIG+:} false; then :
13166 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13169 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13170 if ${XSLT_LIBS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13175 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13176 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13177 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13178 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13179 ac_save_CPPFLAGS=$CPPFLAGS
13180 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13181 for ac_header in libxslt/pattern.h libxslt/transform.h
13182 do :
13183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13184 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13185 # include <libxslt/pattern.h>
13186 #endif
13188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13189 cat >>confdefs.h <<_ACEOF
13190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13191 _ACEOF
13195 done
13197 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13198 then
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13200 $as_echo_n "checking for -lxslt... " >&6; }
13201 if ${ac_cv_lib_soname_xslt+:} false; then :
13202 $as_echo_n "(cached) " >&6
13203 else
13204 ac_check_soname_save_LIBS=$LIBS
13205 LIBS="-lxslt $XSLT_LIBS $LIBS"
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13212 #ifdef __cplusplus
13213 extern "C"
13214 #endif
13215 char xsltCompilePattern ();
13217 main ()
13219 return xsltCompilePattern ();
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"; then :
13225 case "$LIBEXT" in
13226 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13227 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'` ;;
13228 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13229 if ${ac_cv_lib_soname_xslt:+false} :; then :
13230 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13231 fi ;;
13232 esac
13233 else
13234 ac_cv_lib_soname_xslt=
13236 rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_soname_save_LIBS
13240 if ${ac_cv_lib_soname_xslt:+false} :; then :
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13242 $as_echo "not found" >&6; }
13244 else
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13246 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13248 cat >>confdefs.h <<_ACEOF
13249 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13250 _ACEOF
13254 else
13255 XSLT_CFLAGS=""
13257 CPPFLAGS=$ac_save_CPPFLAGS
13260 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13261 case "x$with_xslt" in
13262 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13263 xno) ;;
13264 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13265 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13266 esac
13270 if test "x$with_inotify" != "xno"
13271 then
13272 if ${INOTIFY_CFLAGS:+false} :; then :
13273 if ${PKG_CONFIG+:} false; then :
13274 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13278 if ${INOTIFY_LIBS:+false} :; then :
13279 if ${PKG_CONFIG+:} false; then :
13280 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13285 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13286 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13287 ac_save_CPPFLAGS=$CPPFLAGS
13288 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13289 for ac_header in sys/inotify.h
13290 do :
13291 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13292 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13293 cat >>confdefs.h <<_ACEOF
13294 #define HAVE_SYS_INOTIFY_H 1
13295 _ACEOF
13299 done
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13302 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13303 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13304 $as_echo_n "(cached) " >&6
13305 else
13306 ac_check_lib_save_LIBS=$LIBS
13307 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 #ifdef __cplusplus
13315 extern "C"
13316 #endif
13317 char inotify_add_watch ();
13319 main ()
13321 return inotify_add_watch ();
13323 return 0;
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"; then :
13327 ac_cv_lib_inotify_inotify_add_watch=yes
13328 else
13329 ac_cv_lib_inotify_inotify_add_watch=no
13331 rm -f core conftest.err conftest.$ac_objext \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_lib_save_LIBS
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13336 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13337 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13339 else
13340 INOTIFY_LIBS=""
13343 CPPFLAGS=$ac_save_CPPFLAGS
13346 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13347 case "x$with_inotify" in
13348 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13349 xno) ;;
13350 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13351 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13352 esac
13356 if test "x$with_dbus" != "xno"
13357 then
13358 if ${DBUS_CFLAGS:+false} :; then :
13359 if ${PKG_CONFIG+:} false; then :
13360 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13364 if ${DBUS_LIBS:+false} :; then :
13365 if ${PKG_CONFIG+:} false; then :
13366 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13371 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13372 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13373 ac_save_CPPFLAGS=$CPPFLAGS
13374 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13375 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13376 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13378 $as_echo_n "checking for -ldbus-1... " >&6; }
13379 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 ac_check_soname_save_LIBS=$LIBS
13383 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 #ifdef __cplusplus
13391 extern "C"
13392 #endif
13393 char dbus_connection_close ();
13395 main ()
13397 return dbus_connection_close ();
13399 return 0;
13401 _ACEOF
13402 if ac_fn_c_try_link "$LINENO"; then :
13403 case "$LIBEXT" in
13404 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13405 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'` ;;
13406 *) 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'`
13407 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13408 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13409 fi ;;
13410 esac
13411 else
13412 ac_cv_lib_soname_dbus_1=
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13421 DBUS_CFLAGS=""
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13424 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13428 _ACEOF
13432 else
13433 DBUS_CFLAGS=""
13437 CPPFLAGS=$ac_save_CPPFLAGS
13440 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13441 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13442 case "x$with_dbus" in
13443 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13444 xno) ;;
13445 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13446 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13447 esac
13451 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13452 then
13453 if ${HAL_CFLAGS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13459 if ${HAL_LIBS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13465 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13466 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13467 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13468 ac_save_CPPFLAGS=$CPPFLAGS
13469 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13470 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13471 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13473 $as_echo_n "checking for -lhal... " >&6; }
13474 if ${ac_cv_lib_soname_hal+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_check_soname_save_LIBS=$LIBS
13478 LIBS="-lhal $HAL_LIBS $LIBS"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13485 #ifdef __cplusplus
13486 extern "C"
13487 #endif
13488 char libhal_ctx_new ();
13490 main ()
13492 return libhal_ctx_new ();
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 case "$LIBEXT" in
13499 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13500 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'` ;;
13501 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13502 if ${ac_cv_lib_soname_hal:+false} :; then :
13503 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13504 fi ;;
13505 esac
13506 else
13507 ac_cv_lib_soname_hal=
13509 rm -f core conftest.err conftest.$ac_objext \
13510 conftest$ac_exeext conftest.$ac_ext
13511 LIBS=$ac_check_soname_save_LIBS
13513 if ${ac_cv_lib_soname_hal:+false} :; then :
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13515 $as_echo "not found" >&6; }
13516 HAL_CFLAGS=""
13517 else
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13519 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13521 cat >>confdefs.h <<_ACEOF
13522 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13523 _ACEOF
13527 else
13528 HAL_CFLAGS=""
13532 CPPFLAGS=$ac_save_CPPFLAGS
13534 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13535 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13536 case "x$with_hal" in
13537 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13538 xno) ;;
13539 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13540 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13541 esac
13546 if test "x$with_gnutls" != "xno"
13547 then
13548 if ${GNUTLS_CFLAGS:+false} :; then :
13549 if ${PKG_CONFIG+:} false; then :
13550 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13554 if ${GNUTLS_LIBS:+false} :; then :
13555 if ${PKG_CONFIG+:} false; then :
13556 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13560 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13561 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13562 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13563 ac_save_CPPFLAGS=$CPPFLAGS
13564 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13565 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13566 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13569 #include <gnutls/gnutls.h>
13570 #include <gnutls/crypto.h>
13572 main ()
13574 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13576 return 0;
13578 _ACEOF
13579 if ac_fn_c_try_compile "$LINENO"; then :
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13581 $as_echo_n "checking for -lgnutls... " >&6; }
13582 if ${ac_cv_lib_soname_gnutls+:} false; then :
13583 $as_echo_n "(cached) " >&6
13584 else
13585 ac_check_soname_save_LIBS=$LIBS
13586 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13590 /* Override any GCC internal prototype to avoid an error.
13591 Use char because int might match the return type of a GCC
13592 builtin and then its argument prototype would still apply. */
13593 #ifdef __cplusplus
13594 extern "C"
13595 #endif
13596 char gnutls_global_init ();
13598 main ()
13600 return gnutls_global_init ();
13602 return 0;
13604 _ACEOF
13605 if ac_fn_c_try_link "$LINENO"; then :
13606 case "$LIBEXT" in
13607 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13608 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'` ;;
13609 *) 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'`
13610 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13611 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'`
13612 fi ;;
13613 esac
13614 else
13615 ac_cv_lib_soname_gnutls=
13617 rm -f core conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_soname_save_LIBS
13621 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13623 $as_echo "not found" >&6; }
13624 GNUTLS_CFLAGS=""
13625 else
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13627 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13629 cat >>confdefs.h <<_ACEOF
13630 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13631 _ACEOF
13635 ac_wine_check_funcs_save_LIBS="$LIBS"
13636 LIBS="$LIBS $GNUTLS_LIBS"
13637 for ac_func in gnutls_cipher_init
13638 do :
13639 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13640 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13641 cat >>confdefs.h <<_ACEOF
13642 #define HAVE_GNUTLS_CIPHER_INIT 1
13643 _ACEOF
13645 else
13646 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13648 done
13650 LIBS="$ac_wine_check_funcs_save_LIBS"
13652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 else
13654 GNUTLS_CFLAGS=""
13658 CPPFLAGS=$ac_save_CPPFLAGS
13661 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13662 case "x$with_gnutls" in
13663 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13664 xno) ;;
13665 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13666 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13667 esac
13671 if test "x$with_sane" != "xno"
13672 then
13673 if ${SANE_CFLAGS:+false} :; then :
13674 if ${PKG_CONFIG+:} false; then :
13675 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13678 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13679 if ${SANE_LIBS:+false} :; then :
13680 if ${PKG_CONFIG+:} false; then :
13681 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13684 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13688 ac_save_CPPFLAGS=$CPPFLAGS
13689 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13690 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13691 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13693 $as_echo_n "checking for -lsane... " >&6; }
13694 if ${ac_cv_lib_soname_sane+:} false; then :
13695 $as_echo_n "(cached) " >&6
13696 else
13697 ac_check_soname_save_LIBS=$LIBS
13698 LIBS="-lsane $SANE_LIBS $LIBS"
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 /* Override any GCC internal prototype to avoid an error.
13703 Use char because int might match the return type of a GCC
13704 builtin and then its argument prototype would still apply. */
13705 #ifdef __cplusplus
13706 extern "C"
13707 #endif
13708 char sane_init ();
13710 main ()
13712 return sane_init ();
13714 return 0;
13716 _ACEOF
13717 if ac_fn_c_try_link "$LINENO"; then :
13718 case "$LIBEXT" in
13719 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13720 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'` ;;
13721 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13722 if ${ac_cv_lib_soname_sane:+false} :; then :
13723 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13724 fi ;;
13725 esac
13726 else
13727 ac_cv_lib_soname_sane=
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 LIBS=$ac_check_soname_save_LIBS
13733 if ${ac_cv_lib_soname_sane:+false} :; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13735 $as_echo "not found" >&6; }
13736 SANE_CFLAGS=""
13737 else
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13739 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13741 cat >>confdefs.h <<_ACEOF
13742 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13743 _ACEOF
13747 else
13748 SANE_CFLAGS=""
13752 CPPFLAGS=$ac_save_CPPFLAGS
13755 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13756 case "x$with_sane" in
13757 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13758 xno) ;;
13759 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13760 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13761 esac
13765 if test "x$with_usb" != "xno"
13766 then
13767 if ${USB_CFLAGS:+false} :; then :
13768 if ${PKG_CONFIG+:} false; then :
13769 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13773 if ${USB_LIBS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13779 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13780 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13781 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13782 ac_save_CPPFLAGS=$CPPFLAGS
13783 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13784 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13785 if test "x$ac_cv_header_libusb_h" = xyes; then :
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13787 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13788 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13789 $as_echo_n "(cached) " >&6
13790 else
13791 ac_check_lib_save_LIBS=$LIBS
13792 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 char libusb_interrupt_event_handler ();
13804 main ()
13806 return libusb_interrupt_event_handler ();
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"; then :
13812 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13813 else
13814 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13816 rm -f core conftest.err conftest.$ac_objext \
13817 conftest$ac_exeext conftest.$ac_ext
13818 LIBS=$ac_check_lib_save_LIBS
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13821 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13822 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13824 else
13825 USB_LIBS=""
13828 else
13829 USB_LIBS=""
13833 CPPFLAGS=$ac_save_CPPFLAGS
13836 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13837 case "x$with_usb" in
13838 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13839 xno) ;;
13840 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13841 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13842 esac
13843 enable_wineusb_sys=${enable_wineusb_sys:-no}
13846 if test "x$with_v4l2" != "xno"
13847 then
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13849 $as_echo_n "checking for -lv4l2... " >&6; }
13850 if ${ac_cv_lib_soname_v4l2+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_check_soname_save_LIBS=$LIBS
13854 LIBS="-lv4l2 $LIBS"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13858 /* Override any GCC internal prototype to avoid an error.
13859 Use char because int might match the return type of a GCC
13860 builtin and then its argument prototype would still apply. */
13861 #ifdef __cplusplus
13862 extern "C"
13863 #endif
13864 char v4l2_open ();
13866 main ()
13868 return v4l2_open ();
13870 return 0;
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"; then :
13874 case "$LIBEXT" in
13875 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13876 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'` ;;
13877 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13878 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13879 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13880 fi ;;
13881 esac
13882 else
13883 ac_cv_lib_soname_v4l2=
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_soname_save_LIBS
13889 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13891 $as_echo "not found" >&6; }
13893 else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13895 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13897 cat >>confdefs.h <<_ACEOF
13898 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13899 _ACEOF
13904 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13905 case "x$with_v4l2" in
13906 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13907 xno) ;;
13908 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13909 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13910 esac
13914 if test "x$with_gphoto" != "xno"
13915 then
13916 if ${GPHOTO2_CFLAGS:+false} :; then :
13917 if ${PKG_CONFIG+:} false; then :
13918 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13921 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13922 if ${GPHOTO2_LIBS:+false} :; then :
13923 if ${PKG_CONFIG+:} false; then :
13924 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13927 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13928 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13929 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13930 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13931 ac_save_CPPFLAGS=$CPPFLAGS
13932 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13933 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13934 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13936 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13937 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13938 $as_echo_n "(cached) " >&6
13939 else
13940 ac_check_lib_save_LIBS=$LIBS
13941 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13948 #ifdef __cplusplus
13949 extern "C"
13950 #endif
13951 char gp_camera_new ();
13953 main ()
13955 return gp_camera_new ();
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"; then :
13961 ac_cv_lib_gphoto2_gp_camera_new=yes
13962 else
13963 ac_cv_lib_gphoto2_gp_camera_new=no
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13967 LIBS=$ac_check_lib_save_LIBS
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13970 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13971 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13973 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13975 else
13976 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13979 else
13980 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13984 CPPFLAGS=$ac_save_CPPFLAGS
13986 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13987 if ${PKG_CONFIG+:} false; then :
13988 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13991 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13992 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13993 if ${PKG_CONFIG+:} false; then :
13994 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13997 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13998 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14000 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14001 ac_save_CPPFLAGS=$CPPFLAGS
14002 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14003 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14004 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14006 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14007 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_check_lib_save_LIBS=$LIBS
14011 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14015 /* Override any GCC internal prototype to avoid an error.
14016 Use char because int might match the return type of a GCC
14017 builtin and then its argument prototype would still apply. */
14018 #ifdef __cplusplus
14019 extern "C"
14020 #endif
14021 char gp_port_info_list_new ();
14023 main ()
14025 return gp_port_info_list_new ();
14027 return 0;
14029 _ACEOF
14030 if ac_fn_c_try_link "$LINENO"; then :
14031 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14032 else
14033 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 LIBS=$ac_check_lib_save_LIBS
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14040 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14041 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14043 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14045 else
14046 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14049 else
14050 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14054 CPPFLAGS=$ac_save_CPPFLAGS
14057 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14058 case "x$with_gphoto" in
14059 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14060 xno) ;;
14061 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14062 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14063 esac
14066 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14067 case "x$with_gphoto" in
14068 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14069 xno) ;;
14070 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14071 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14072 esac
14077 if test "$ac_cv_header_resolv_h" = "yes"
14078 then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14080 $as_echo_n "checking for resolver library... " >&6; }
14081 if ${ac_cv_have_resolv+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_save_LIBS="$LIBS"
14085 for lib in '' -lresolv
14087 LIBS="$lib $ac_save_LIBS"
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090 #ifdef HAVE_NETINET_IN_H
14091 #include <netinet/in.h>
14092 #endif
14093 #include <resolv.h>
14095 main ()
14097 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14099 return 0;
14101 _ACEOF
14102 if ac_fn_c_try_link "$LINENO"; then :
14103 ac_cv_have_resolv=${lib:-"none required"}
14104 else
14105 ac_cv_have_resolv="not found"
14107 rm -f core conftest.err conftest.$ac_objext \
14108 conftest$ac_exeext conftest.$ac_ext
14109 test "x$ac_cv_have_resolv" = "xnot found" || break
14110 done
14111 LIBS="$ac_save_LIBS"
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14114 $as_echo "$ac_cv_have_resolv" >&6; }
14116 case "$ac_cv_have_resolv" in
14117 "not found") ;;
14118 "none required")
14120 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14123 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14125 RESOLV_LIBS=$ac_cv_have_resolv
14127 esac
14129 if test "x$ac_cv_have_resolv" != "xnot found"
14130 then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14132 $as_echo_n "checking for res_getservers... " >&6; }
14133 if ${ac_cv_have_res_getservers+:} false; then :
14134 $as_echo_n "(cached) " >&6
14135 else
14136 ac_save_LIBS="$LIBS"
14137 LIBS="$RESOLV_LIBS $LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 #include <resolv.h>
14142 main ()
14144 res_getservers(NULL, NULL, 0);
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_have_res_getservers=yes
14151 else
14152 ac_cv_have_res_getservers=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS="$ac_save_LIBS"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14159 $as_echo "$ac_cv_have_res_getservers" >&6; }
14160 if test "$ac_cv_have_res_getservers" = "yes"
14161 then
14163 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14169 if test "x$with_cms" != "xno"
14170 then
14171 if ${LCMS2_CFLAGS:+false} :; then :
14172 if ${PKG_CONFIG+:} false; then :
14173 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14177 if ${LCMS2_LIBS:+false} :; then :
14178 if ${PKG_CONFIG+:} false; then :
14179 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14183 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14184 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14185 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14186 ac_save_CPPFLAGS=$CPPFLAGS
14187 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14188 for ac_header in lcms2.h
14189 do :
14190 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14191 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14192 cat >>confdefs.h <<_ACEOF
14193 #define HAVE_LCMS2_H 1
14194 _ACEOF
14198 done
14200 if test "$ac_cv_header_lcms2_h" = "yes"
14201 then
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14203 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14204 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 ac_check_lib_save_LIBS=$LIBS
14208 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 /* Override any GCC internal prototype to avoid an error.
14213 Use char because int might match the return type of a GCC
14214 builtin and then its argument prototype would still apply. */
14215 #ifdef __cplusplus
14216 extern "C"
14217 #endif
14218 char cmsOpenProfileFromFile ();
14220 main ()
14222 return cmsOpenProfileFromFile ();
14224 return 0;
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14228 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14229 else
14230 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14232 rm -f core conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 LIBS=$ac_check_lib_save_LIBS
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14237 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14238 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14240 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14242 else
14243 LCMS2_LIBS=""
14246 else
14247 LCMS2_CFLAGS=""
14248 LCMS2_LIBS=""
14250 CPPFLAGS=$ac_save_CPPFLAGS
14253 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14254 case "x$with_cms" in
14255 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14256 xno) ;;
14257 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14258 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14259 esac
14263 if test "x$with_freetype" != "xno"
14264 then
14265 if ${FREETYPE_CFLAGS:+false} :; then :
14266 if ${PKG_CONFIG+:} false; then :
14267 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14270 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14271 if ${FREETYPE_LIBS:+false} :; then :
14272 if ${PKG_CONFIG+:} false; then :
14273 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14276 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14277 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14278 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14279 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14280 ac_save_CPPFLAGS=$CPPFLAGS
14281 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14282 for ac_header in ft2build.h
14283 do :
14284 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14285 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14286 cat >>confdefs.h <<_ACEOF
14287 #define HAVE_FT2BUILD_H 1
14288 _ACEOF
14292 done
14294 if test "$ac_cv_header_ft2build_h" = "yes"
14295 then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14297 $as_echo_n "checking for -lfreetype... " >&6; }
14298 if ${ac_cv_lib_soname_freetype+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_check_soname_save_LIBS=$LIBS
14302 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 /* Override any GCC internal prototype to avoid an error.
14307 Use char because int might match the return type of a GCC
14308 builtin and then its argument prototype would still apply. */
14309 #ifdef __cplusplus
14310 extern "C"
14311 #endif
14312 char FT_Init_FreeType ();
14314 main ()
14316 return FT_Init_FreeType ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 case "$LIBEXT" in
14323 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14324 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'` ;;
14325 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14326 if ${ac_cv_lib_soname_freetype:+false} :; then :
14327 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14328 fi ;;
14329 esac
14330 else
14331 ac_cv_lib_soname_freetype=
14333 rm -f core conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14335 LIBS=$ac_check_soname_save_LIBS
14337 if ${ac_cv_lib_soname_freetype:+false} :; then :
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14339 $as_echo "not found" >&6; }
14340 FREETYPE_LIBS=""
14341 else
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14343 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14345 cat >>confdefs.h <<_ACEOF
14346 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14347 _ACEOF
14350 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14352 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14353 #include FT_MODULE_H
14355 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define HAVE_FT_TRUETYPEENGINETYPE 1
14359 _ACEOF
14365 else
14366 FREETYPE_CFLAGS=""
14367 FREETYPE_LIBS=""
14369 CPPFLAGS=$ac_save_CPPFLAGS
14372 if test "x$ac_cv_lib_soname_freetype" = x; then :
14373 case "x$with_freetype" in
14374 xno) ;;
14375 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14376 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14377 esac
14378 enable_fonts=${enable_fonts:-no}
14381 ac_wine_check_funcs_save_LIBS="$LIBS"
14382 LIBS="$LIBS $PTHREAD_LIBS"
14383 for ac_func in \
14384 pthread_getthreadid_np
14385 do :
14386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14389 cat >>confdefs.h <<_ACEOF
14390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14391 _ACEOF
14394 done
14396 LIBS="$ac_wine_check_funcs_save_LIBS"
14398 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14399 then
14400 if test "$ac_cv_header_gettext_po_h" = "yes"
14401 then
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14403 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14404 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 ac_check_lib_save_LIBS=$LIBS
14408 LIBS="-lgettextpo $LIBS"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 /* Override any GCC internal prototype to avoid an error.
14413 Use char because int might match the return type of a GCC
14414 builtin and then its argument prototype would still apply. */
14415 #ifdef __cplusplus
14416 extern "C"
14417 #endif
14418 char po_message_msgctxt ();
14420 main ()
14422 return po_message_msgctxt ();
14424 return 0;
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14429 else
14430 ac_cv_lib_gettextpo_po_message_msgctxt=no
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 LIBS=$ac_check_lib_save_LIBS
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14437 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14438 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14440 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14442 GETTEXTPO_LIBS="-lgettextpo"
14447 if test "x$GETTEXTPO_LIBS" = "x"; then :
14448 case "x$with_gettextpo" in
14449 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14450 xno) ;;
14451 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14452 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14453 esac
14456 if test "$srcdir" != .; then :
14457 case "x$with_gettextpo" in
14458 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14459 xno) ;;
14460 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14461 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14462 esac
14467 if test "x$with_pulse" != "xno";
14468 then
14469 if ${PULSE_CFLAGS:+false} :; then :
14470 if ${PKG_CONFIG+:} false; then :
14471 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14475 if ${PULSE_LIBS:+false} :; then :
14476 if ${PKG_CONFIG+:} false; then :
14477 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14482 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14483 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14484 ac_save_CPPFLAGS=$CPPFLAGS
14485 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14486 for ac_header in pulse/pulseaudio.h
14487 do :
14488 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14489 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14490 cat >>confdefs.h <<_ACEOF
14491 #define HAVE_PULSE_PULSEAUDIO_H 1
14492 _ACEOF
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14494 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14495 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14496 $as_echo_n "(cached) " >&6
14497 else
14498 ac_check_lib_save_LIBS=$LIBS
14499 LIBS="-lpulse $PULSE_LIBS $LIBS"
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14503 /* Override any GCC internal prototype to avoid an error.
14504 Use char because int might match the return type of a GCC
14505 builtin and then its argument prototype would still apply. */
14506 #ifdef __cplusplus
14507 extern "C"
14508 #endif
14509 char pa_stream_is_corked ();
14511 main ()
14513 return pa_stream_is_corked ();
14515 return 0;
14517 _ACEOF
14518 if ac_fn_c_try_link "$LINENO"; then :
14519 ac_cv_lib_pulse_pa_stream_is_corked=yes
14520 else
14521 ac_cv_lib_pulse_pa_stream_is_corked=no
14523 rm -f core conftest.err conftest.$ac_objext \
14524 conftest$ac_exeext conftest.$ac_ext
14525 LIBS=$ac_check_lib_save_LIBS
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14528 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14529 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14531 else
14532 PULSE_LIBS=""
14535 else
14536 PULSE_LIBS=""
14539 done
14541 CPPFLAGS=$ac_save_CPPFLAGS
14544 if test -z "$PULSE_LIBS"; then :
14545 case "x$with_pulse" in
14546 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14547 xno) ;;
14548 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14549 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14550 esac
14551 enable_winepulse_drv=${enable_winepulse_drv:-no}
14554 if test "x$with_gstreamer" != "xno"
14555 then
14556 if ${GSTREAMER_CFLAGS:+false} :; then :
14557 if ${PKG_CONFIG+:} false; then :
14558 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14562 if ${GSTREAMER_LIBS:+false} :; then :
14563 if ${PKG_CONFIG+:} false; then :
14564 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14569 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14570 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14571 ac_save_CPPFLAGS=$CPPFLAGS
14572 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14573 ac_gst_incl=""
14574 for i in $GSTREAMER_CFLAGS
14576 case "$i" in
14577 -I*) ac_gst_incl="$ac_gst_incl $i";;
14578 esac
14579 done
14580 GSTREAMER_CFLAGS=$ac_gst_incl
14581 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14582 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14583 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14585 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 #include <gst/gst.h>
14590 main ()
14592 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14594 return 0;
14596 _ACEOF
14597 if ac_fn_c_try_compile "$LINENO"; then :
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14599 $as_echo "yes" >&6; }
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14601 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14602 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 ac_check_lib_save_LIBS=$LIBS
14606 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14610 /* Override any GCC internal prototype to avoid an error.
14611 Use char because int might match the return type of a GCC
14612 builtin and then its argument prototype would still apply. */
14613 #ifdef __cplusplus
14614 extern "C"
14615 #endif
14616 char gst_pad_new ();
14618 main ()
14620 return gst_pad_new ();
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14627 else
14628 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 LIBS=$ac_check_lib_save_LIBS
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14635 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14636 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14640 else
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14642 $as_echo "no" >&6; }
14643 ac_glib2_broken=yes
14644 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 CPPFLAGS=$ac_save_CPPFLAGS
14653 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 :
14654 case "x$with_gstreamer" in
14655 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14656 xno) ;;
14657 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14658 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14659 esac
14662 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14664 ALSA_LIBS=""
14666 if test "x$with_alsa" != "xno"
14667 then
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14669 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14670 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14671 $as_echo_n "(cached) " >&6
14672 else
14673 ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-lasound $LIBS"
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14678 /* Override any GCC internal prototype to avoid an error.
14679 Use char because int might match the return type of a GCC
14680 builtin and then its argument prototype would still apply. */
14681 #ifdef __cplusplus
14682 extern "C"
14683 #endif
14684 char snd_pcm_hw_params_get_access_mask ();
14686 main ()
14688 return snd_pcm_hw_params_get_access_mask ();
14690 return 0;
14692 _ACEOF
14693 if ac_fn_c_try_link "$LINENO"; then :
14694 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14695 else
14696 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14698 rm -f core conftest.err conftest.$ac_objext \
14699 conftest$ac_exeext conftest.$ac_ext
14700 LIBS=$ac_check_lib_save_LIBS
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14703 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14704 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 #include <alsa/asoundlib.h>
14709 main ()
14711 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14713 return 0;
14715 _ACEOF
14716 if ac_fn_c_try_compile "$LINENO"; then :
14717 ALSA_LIBS="-lasound"
14719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14723 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14725 if test "x$with_oss" != xno
14726 then
14727 ac_save_CPPFLAGS="$CPPFLAGS"
14728 if test -f /etc/oss.conf
14729 then
14730 . /etc/oss.conf
14732 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14733 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14734 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14735 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14736 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14738 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14740 cat >>confdefs.h <<_ACEOF
14741 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14742 _ACEOF
14744 OSS4_CFLAGS="$ac_oss_incl"
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14747 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14748 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 ac_check_lib_save_LIBS=$LIBS
14752 LIBS="-lossaudio $LIBS"
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14756 /* Override any GCC internal prototype to avoid an error.
14757 Use char because int might match the return type of a GCC
14758 builtin and then its argument prototype would still apply. */
14759 #ifdef __cplusplus
14760 extern "C"
14761 #endif
14762 char _oss_ioctl ();
14764 main ()
14766 return _oss_ioctl ();
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 ac_cv_lib_ossaudio__oss_ioctl=yes
14773 else
14774 ac_cv_lib_ossaudio__oss_ioctl=no
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_check_lib_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14781 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14782 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14783 OSS4_LIBS="-lossaudio"
14792 CPPFLAGS="$ac_save_CPPFLAGS"
14794 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14795 case "x$with_oss" in
14796 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14797 xno) ;;
14798 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14799 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14800 esac
14801 enable_wineoss_drv=${enable_wineoss_drv:-no}
14804 if test "x$with_udev" != "xno"
14805 then
14806 if ${UDEV_CFLAGS:+false} :; then :
14807 if ${PKG_CONFIG+:} false; then :
14808 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14812 if ${UDEV_LIBS:+false} :; then :
14813 if ${PKG_CONFIG+:} false; then :
14814 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14818 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14819 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14820 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14821 ac_save_CPPFLAGS=$CPPFLAGS
14822 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14823 for ac_header in libudev.h
14824 do :
14825 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14826 if test "x$ac_cv_header_libudev_h" = xyes; then :
14827 cat >>confdefs.h <<_ACEOF
14828 #define HAVE_LIBUDEV_H 1
14829 _ACEOF
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14831 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14832 if ${ac_cv_lib_udev_udev_new+:} false; then :
14833 $as_echo_n "(cached) " >&6
14834 else
14835 ac_check_lib_save_LIBS=$LIBS
14836 LIBS="-ludev $UDEV_LIBS $LIBS"
14837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14840 /* Override any GCC internal prototype to avoid an error.
14841 Use char because int might match the return type of a GCC
14842 builtin and then its argument prototype would still apply. */
14843 #ifdef __cplusplus
14844 extern "C"
14845 #endif
14846 char udev_new ();
14848 main ()
14850 return udev_new ();
14852 return 0;
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 ac_cv_lib_udev_udev_new=yes
14857 else
14858 ac_cv_lib_udev_udev_new=no
14860 rm -f core conftest.err conftest.$ac_objext \
14861 conftest$ac_exeext conftest.$ac_ext
14862 LIBS=$ac_check_lib_save_LIBS
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14865 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14866 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14868 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14870 else
14871 UDEV_LIBS=""
14874 else
14875 UDEV_LIBS=""
14878 done
14880 CPPFLAGS=$ac_save_CPPFLAGS
14883 if test "x$UDEV_LIBS" = "x"; then :
14884 case "x$with_udev" in
14885 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14886 xno) ;;
14887 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14888 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14889 esac
14893 if test "x$with_unwind" != xno
14894 then
14895 if ${UNWIND_CFLAGS:+false} :; then :
14896 if ${PKG_CONFIG+:} false; then :
14897 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14901 if ${UNWIND_LIBS:+false} :; then :
14902 if ${PKG_CONFIG+:} false; then :
14903 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14907 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14908 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14909 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14910 ac_save_CPPFLAGS=$CPPFLAGS
14911 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14913 $as_echo_n "checking for unw_step... " >&6; }
14914 if ${wine_cv_have_unw_step+:} false; then :
14915 $as_echo_n "(cached) " >&6
14916 else
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 #define UNW_LOCAL_ONLY
14920 #include <libunwind.h>
14922 main ()
14924 unw_cursor_t cursor; unw_step( &cursor );
14926 return 0;
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 wine_cv_have_unw_step="yes"
14931 else
14932 wine_cv_have_unw_step="no"
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14938 $as_echo "$wine_cv_have_unw_step" >&6; }
14939 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14940 then
14941 save_libs=$LIBS
14942 LIBS="$UNWIND_LIBS $LIBS"
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14944 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14945 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 #define UNW_LOCAL_ONLY
14951 #include <libunwind.h>
14953 main ()
14955 unw_cursor_t cursor; unw_step( &cursor );
14957 return 0;
14959 _ACEOF
14960 if ac_fn_c_try_link "$LINENO"; then :
14961 wine_cv_have_libunwind_unw_step="yes"
14962 else
14963 wine_cv_have_libunwind_unw_step="no"
14965 rm -f core conftest.err conftest.$ac_objext \
14966 conftest$ac_exeext conftest.$ac_ext
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14969 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14970 LIBS=$save_libs
14972 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14973 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14974 then
14976 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14979 CPPFLAGS=$ac_save_CPPFLAGS
14982 case $host in
14983 aarch64*|*-darwin*)
14984 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14985 case "x$with_unwind" in
14986 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14987 xno) ;;
14988 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14989 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14990 esac
14992 fi ;;
14993 esac
14995 if test "x$with_sdl" != "xno"
14996 then
14997 if ${SDL2_CFLAGS:+false} :; then :
14998 if ${PKG_CONFIG+:} false; then :
14999 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15003 if ${SDL2_LIBS:+false} :; then :
15004 if ${PKG_CONFIG+:} false; then :
15005 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15009 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15010 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15011 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15012 ac_save_CPPFLAGS=$CPPFLAGS
15013 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15014 for ac_header in SDL2/SDL.h
15015 do :
15016 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15017 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15018 cat >>confdefs.h <<_ACEOF
15019 #define HAVE_SDL2_SDL_H 1
15020 _ACEOF
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15022 $as_echo_n "checking for -lSDL2... " >&6; }
15023 if ${ac_cv_lib_soname_SDL2+:} false; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 ac_check_soname_save_LIBS=$LIBS
15027 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15034 #ifdef __cplusplus
15035 extern "C"
15036 #endif
15037 char SDL_Init ();
15039 main ()
15041 return SDL_Init ();
15043 return 0;
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 case "$LIBEXT" in
15048 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15049 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'` ;;
15050 *) 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'`
15051 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15052 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15053 fi ;;
15054 esac
15055 else
15056 ac_cv_lib_soname_SDL2=
15058 rm -f core conftest.err conftest.$ac_objext \
15059 conftest$ac_exeext conftest.$ac_ext
15060 LIBS=$ac_check_soname_save_LIBS
15062 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15064 $as_echo "not found" >&6; }
15066 else
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15068 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15070 cat >>confdefs.h <<_ACEOF
15071 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15072 _ACEOF
15078 done
15080 CPPFLAGS=$ac_save_CPPFLAGS
15083 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15084 case "x$with_sdl" in
15085 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15086 xno) ;;
15087 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15088 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15089 esac
15093 if test "x$with_faudio" != "xno"
15094 then
15095 if ${FAUDIO_CFLAGS:+false} :; then :
15096 if ${PKG_CONFIG+:} false; then :
15097 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15101 if ${FAUDIO_LIBS:+false} :; then :
15102 if ${PKG_CONFIG+:} false; then :
15103 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15107 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15108 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15109 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15110 ac_save_CPPFLAGS=$CPPFLAGS
15111 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15112 for ac_header in FAudio.h
15113 do :
15114 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15115 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15116 cat >>confdefs.h <<_ACEOF
15117 #define HAVE_FAUDIO_H 1
15118 _ACEOF
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15120 $as_echo_n "checking for -lFAudio... " >&6; }
15121 if ${ac_cv_lib_soname_FAudio+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 ac_check_soname_save_LIBS=$LIBS
15125 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 #ifdef __cplusplus
15133 extern "C"
15134 #endif
15135 char FAudioCreate ();
15137 main ()
15139 return FAudioCreate ();
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_link "$LINENO"; then :
15145 case "$LIBEXT" in
15146 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15147 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'` ;;
15148 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15149 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15150 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15151 fi ;;
15152 esac
15153 else
15154 ac_cv_lib_soname_FAudio=
15156 rm -f core conftest.err conftest.$ac_objext \
15157 conftest$ac_exeext conftest.$ac_ext
15158 LIBS=$ac_check_soname_save_LIBS
15160 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15162 $as_echo "not found" >&6; }
15164 else
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15166 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15168 cat >>confdefs.h <<_ACEOF
15169 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15170 _ACEOF
15176 done
15178 ac_wine_check_funcs_save_LIBS="$LIBS"
15179 LIBS="$LIBS $FAUDIO_LIBS"
15180 for ac_func in FAudio_CommitOperationSet \
15181 F3DAudioInitialize8 \
15182 FAudioLinkedVersion \
15183 FAudioCreateReverb9WithCustomAllocatorEXT
15184 do :
15185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15187 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15188 cat >>confdefs.h <<_ACEOF
15189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15190 _ACEOF
15193 done
15195 LIBS="$ac_wine_check_funcs_save_LIBS"
15197 CPPFLAGS=$ac_save_CPPFLAGS
15200 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15201 case "x$with_faudio" in
15202 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15203 xno) ;;
15204 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15205 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15206 esac
15210 if test "x$with_capi" != "xno"
15211 then
15212 if ${CAPI20_CFLAGS:+false} :; then :
15213 if ${PKG_CONFIG+:} false; then :
15214 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15218 if ${CAPI20_LIBS:+false} :; then :
15219 if ${PKG_CONFIG+:} false; then :
15220 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15225 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15226 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15227 ac_save_CPPFLAGS=$CPPFLAGS
15228 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15229 for ac_header in capi20.h linux/capi.h
15230 do :
15231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15235 cat >>confdefs.h <<_ACEOF
15236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15237 _ACEOF
15241 done
15243 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15244 then
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15246 $as_echo_n "checking for -lcapi20... " >&6; }
15247 if ${ac_cv_lib_soname_capi20+:} false; then :
15248 $as_echo_n "(cached) " >&6
15249 else
15250 ac_check_soname_save_LIBS=$LIBS
15251 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15255 /* Override any GCC internal prototype to avoid an error.
15256 Use char because int might match the return type of a GCC
15257 builtin and then its argument prototype would still apply. */
15258 #ifdef __cplusplus
15259 extern "C"
15260 #endif
15261 char capi20_register ();
15263 main ()
15265 return capi20_register ();
15267 return 0;
15269 _ACEOF
15270 if ac_fn_c_try_link "$LINENO"; then :
15271 case "$LIBEXT" in
15272 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15273 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'` ;;
15274 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15275 if ${ac_cv_lib_soname_capi20:+false} :; then :
15276 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15277 fi ;;
15278 esac
15279 else
15280 ac_cv_lib_soname_capi20=
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15284 LIBS=$ac_check_soname_save_LIBS
15286 if ${ac_cv_lib_soname_capi20:+false} :; then :
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15288 $as_echo "not found" >&6; }
15290 else
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15292 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15294 cat >>confdefs.h <<_ACEOF
15295 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15296 _ACEOF
15301 CPPFLAGS=$ac_save_CPPFLAGS
15304 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15305 case "x$with_capi" in
15306 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15307 xno) ;;
15308 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15309 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15310 esac
15314 if test "x$with_cups" != "xno"
15315 then
15316 if ${CUPS_CFLAGS:+false} :; then :
15317 if ${PKG_CONFIG+:} false; then :
15318 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15321 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15322 if ${CUPS_LIBS:+false} :; then :
15323 if ${PKG_CONFIG+:} false; then :
15324 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15327 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15328 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15329 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15330 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15331 ac_save_CPPFLAGS=$CPPFLAGS
15332 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15333 for ac_header in cups/cups.h cups/ppd.h
15334 do :
15335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15336 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15338 cat >>confdefs.h <<_ACEOF
15339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15340 _ACEOF
15344 done
15346 if test "$ac_cv_header_cups_cups_h" = "yes"
15347 then
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15349 $as_echo_n "checking for -lcups... " >&6; }
15350 if ${ac_cv_lib_soname_cups+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 ac_check_soname_save_LIBS=$LIBS
15354 LIBS="-lcups $CUPS_LIBS $LIBS"
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15358 /* Override any GCC internal prototype to avoid an error.
15359 Use char because int might match the return type of a GCC
15360 builtin and then its argument prototype would still apply. */
15361 #ifdef __cplusplus
15362 extern "C"
15363 #endif
15364 char cupsGetDefault ();
15366 main ()
15368 return cupsGetDefault ();
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_link "$LINENO"; then :
15374 case "$LIBEXT" in
15375 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15376 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'` ;;
15377 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15378 if ${ac_cv_lib_soname_cups:+false} :; then :
15379 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15380 fi ;;
15381 esac
15382 else
15383 ac_cv_lib_soname_cups=
15385 rm -f core conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15387 LIBS=$ac_check_soname_save_LIBS
15389 if ${ac_cv_lib_soname_cups:+false} :; then :
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15391 $as_echo "not found" >&6; }
15392 CUPS_LIBS=""
15393 else
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15395 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15397 cat >>confdefs.h <<_ACEOF
15398 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15399 _ACEOF
15403 else
15404 CUPS_CFLAGS=""
15405 CUPS_LIBS=""
15407 CPPFLAGS=$ac_save_CPPFLAGS
15410 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15411 case "x$with_cups" in
15412 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15413 xno) ;;
15414 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15415 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15416 esac
15420 if test "x$with_fontconfig" != "xno"
15421 then
15422 if ${FONTCONFIG_CFLAGS:+false} :; then :
15423 if ${PKG_CONFIG+:} false; then :
15424 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15427 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15428 if ${FONTCONFIG_LIBS:+false} :; then :
15429 if ${PKG_CONFIG+:} false; then :
15430 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15433 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15435 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15436 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15437 ac_save_CPPFLAGS=$CPPFLAGS
15438 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15439 for ac_header in fontconfig/fontconfig.h
15440 do :
15441 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15442 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15445 _ACEOF
15449 done
15451 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15452 then
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15454 $as_echo_n "checking for -lfontconfig... " >&6; }
15455 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15456 $as_echo_n "(cached) " >&6
15457 else
15458 ac_check_soname_save_LIBS=$LIBS
15459 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15463 /* Override any GCC internal prototype to avoid an error.
15464 Use char because int might match the return type of a GCC
15465 builtin and then its argument prototype would still apply. */
15466 #ifdef __cplusplus
15467 extern "C"
15468 #endif
15469 char FcInit ();
15471 main ()
15473 return FcInit ();
15475 return 0;
15477 _ACEOF
15478 if ac_fn_c_try_link "$LINENO"; then :
15479 case "$LIBEXT" in
15480 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15481 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'` ;;
15482 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15483 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15484 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15485 fi ;;
15486 esac
15487 else
15488 ac_cv_lib_soname_fontconfig=
15490 rm -f core conftest.err conftest.$ac_objext \
15491 conftest$ac_exeext conftest.$ac_ext
15492 LIBS=$ac_check_soname_save_LIBS
15494 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15496 $as_echo "not found" >&6; }
15497 FONTCONFIG_CFLAGS=""
15498 else
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15500 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15502 cat >>confdefs.h <<_ACEOF
15503 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15504 _ACEOF
15508 else
15509 FONTCONFIG_CFLAGS=""
15511 CPPFLAGS=$ac_save_CPPFLAGS
15514 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15515 case "x$with_fontconfig" in
15516 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15517 xno) ;;
15518 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15519 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15520 esac
15524 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15525 then
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15527 $as_echo_n "checking for -lgsm... " >&6; }
15528 if ${ac_cv_lib_soname_gsm+:} false; then :
15529 $as_echo_n "(cached) " >&6
15530 else
15531 ac_check_soname_save_LIBS=$LIBS
15532 LIBS="-lgsm $LIBS"
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 /* Override any GCC internal prototype to avoid an error.
15537 Use char because int might match the return type of a GCC
15538 builtin and then its argument prototype would still apply. */
15539 #ifdef __cplusplus
15540 extern "C"
15541 #endif
15542 char gsm_create ();
15544 main ()
15546 return gsm_create ();
15548 return 0;
15550 _ACEOF
15551 if ac_fn_c_try_link "$LINENO"; then :
15552 case "$LIBEXT" in
15553 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15554 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'` ;;
15555 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15556 if ${ac_cv_lib_soname_gsm:+false} :; then :
15557 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15558 fi ;;
15559 esac
15560 else
15561 ac_cv_lib_soname_gsm=
15563 rm -f core conftest.err conftest.$ac_objext \
15564 conftest$ac_exeext conftest.$ac_ext
15565 LIBS=$ac_check_soname_save_LIBS
15567 if ${ac_cv_lib_soname_gsm:+false} :; then :
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15569 $as_echo "not found" >&6; }
15571 else
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15573 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15575 cat >>confdefs.h <<_ACEOF
15576 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15577 _ACEOF
15582 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15583 case "x$with_gsm" in
15584 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15585 xno) ;;
15586 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15587 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15588 esac
15592 if test "x$with_krb5" != "xno"
15593 then
15594 if ${KRB5_CFLAGS:+false} :; then :
15595 if ${PKG_CONFIG+:} false; then :
15596 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15599 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15600 if ${KRB5_LIBS:+false} :; then :
15601 if ${PKG_CONFIG+:} false; then :
15602 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15605 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15607 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15608 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15609 ac_save_CPPFLAGS=$CPPFLAGS
15610 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15611 for ac_header in krb5/krb5.h
15612 do :
15613 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15614 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15615 cat >>confdefs.h <<_ACEOF
15616 #define HAVE_KRB5_KRB5_H 1
15617 _ACEOF
15621 done
15623 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15624 then
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15626 $as_echo_n "checking for -lkrb5... " >&6; }
15627 if ${ac_cv_lib_soname_krb5+:} false; then :
15628 $as_echo_n "(cached) " >&6
15629 else
15630 ac_check_soname_save_LIBS=$LIBS
15631 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15635 /* Override any GCC internal prototype to avoid an error.
15636 Use char because int might match the return type of a GCC
15637 builtin and then its argument prototype would still apply. */
15638 #ifdef __cplusplus
15639 extern "C"
15640 #endif
15641 char krb5_is_config_principal ();
15643 main ()
15645 return krb5_is_config_principal ();
15647 return 0;
15649 _ACEOF
15650 if ac_fn_c_try_link "$LINENO"; then :
15651 case "$LIBEXT" in
15652 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15653 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'` ;;
15654 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15655 if ${ac_cv_lib_soname_krb5:+false} :; then :
15656 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15657 fi ;;
15658 esac
15659 else
15660 ac_cv_lib_soname_krb5=
15662 rm -f core conftest.err conftest.$ac_objext \
15663 conftest$ac_exeext conftest.$ac_ext
15664 LIBS=$ac_check_soname_save_LIBS
15666 if ${ac_cv_lib_soname_krb5:+false} :; then :
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15668 $as_echo "not found" >&6; }
15669 KRB5_CFLAGS=""
15670 else
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15672 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15674 cat >>confdefs.h <<_ACEOF
15675 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15676 _ACEOF
15680 else
15681 KRB5_CFLAGS=""
15683 CPPFLAGS=$ac_save_CPPFLAGS
15686 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15687 case "x$with_krb5" in
15688 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15689 xno) ;;
15690 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15691 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15692 esac
15695 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15697 if test "x$with_gssapi" != "xno"
15698 then
15699 if ${GSSAPI_CFLAGS:+false} :; then :
15700 if ${PKG_CONFIG+:} false; then :
15701 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15704 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15705 if ${GSSAPI_LIBS:+false} :; then :
15706 if ${PKG_CONFIG+:} false; then :
15707 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15710 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15712 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15713 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15714 ac_save_CPPFLAGS=$CPPFLAGS
15715 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15716 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15717 do :
15718 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15719 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15720 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15723 _ACEOF
15727 done
15729 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15730 then
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15732 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15733 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15734 $as_echo_n "(cached) " >&6
15735 else
15736 ac_check_soname_save_LIBS=$LIBS
15737 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15741 /* Override any GCC internal prototype to avoid an error.
15742 Use char because int might match the return type of a GCC
15743 builtin and then its argument prototype would still apply. */
15744 #ifdef __cplusplus
15745 extern "C"
15746 #endif
15747 char gss_init_sec_context ();
15749 main ()
15751 return gss_init_sec_context ();
15753 return 0;
15755 _ACEOF
15756 if ac_fn_c_try_link "$LINENO"; then :
15757 case "$LIBEXT" in
15758 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15759 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'` ;;
15760 *) 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'`
15761 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15762 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15763 fi ;;
15764 esac
15765 else
15766 ac_cv_lib_soname_gssapi_krb5=
15768 rm -f core conftest.err conftest.$ac_objext \
15769 conftest$ac_exeext conftest.$ac_ext
15770 LIBS=$ac_check_soname_save_LIBS
15772 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15774 $as_echo "not found" >&6; }
15775 GSSAPI_CFLAGS=""
15776 else
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15778 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15780 cat >>confdefs.h <<_ACEOF
15781 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15782 _ACEOF
15786 else
15787 GSSAPI_CFLAGS=""
15789 CPPFLAGS=$ac_save_CPPFLAGS
15792 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15793 case "x$with_gssapi" in
15794 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15795 xno) ;;
15796 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15797 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15798 esac
15802 if test "x$with_jpeg" != "xno"
15803 then
15804 if ${JPEG_CFLAGS:+false} :; then :
15805 if ${PKG_CONFIG+:} false; then :
15806 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15810 if ${JPEG_LIBS:+false} :; then :
15811 if ${PKG_CONFIG+:} false; then :
15812 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15817 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15818 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15819 ac_save_CPPFLAGS=$CPPFLAGS
15820 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15821 for ac_header in jpeglib.h
15822 do :
15823 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15824 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define HAVE_JPEGLIB_H 1
15827 _ACEOF
15831 done
15833 if test "$ac_cv_header_jpeglib_h" = "yes"
15834 then
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15836 $as_echo_n "checking for -ljpeg... " >&6; }
15837 if ${ac_cv_lib_soname_jpeg+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 ac_check_soname_save_LIBS=$LIBS
15841 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15845 /* Override any GCC internal prototype to avoid an error.
15846 Use char because int might match the return type of a GCC
15847 builtin and then its argument prototype would still apply. */
15848 #ifdef __cplusplus
15849 extern "C"
15850 #endif
15851 char jpeg_start_decompress ();
15853 main ()
15855 return jpeg_start_decompress ();
15857 return 0;
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"; then :
15861 case "$LIBEXT" in
15862 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15863 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'` ;;
15864 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15865 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15866 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15867 fi ;;
15868 esac
15869 else
15870 ac_cv_lib_soname_jpeg=
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15874 LIBS=$ac_check_soname_save_LIBS
15876 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15878 $as_echo "not found" >&6; }
15879 JPEG_CFLAGS=""
15880 else
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15882 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15884 cat >>confdefs.h <<_ACEOF
15885 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15886 _ACEOF
15890 else
15891 JPEG_CFLAGS=""
15893 CPPFLAGS=$ac_save_CPPFLAGS
15896 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15897 case "x$with_jpeg" in
15898 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15899 xno) ;;
15900 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15901 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15902 esac
15906 if test "x$with_png" != "xno"
15907 then
15908 if ${PNG_CFLAGS:+false} :; then :
15909 if ${PKG_CONFIG+:} false; then :
15910 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15913 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15914 if ${PNG_LIBS:+false} :; then :
15915 if ${PKG_CONFIG+:} false; then :
15916 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15919 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15921 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15922 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15923 ac_save_CPPFLAGS=$CPPFLAGS
15924 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15925 for ac_header in png.h
15926 do :
15927 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15928 if test "x$ac_cv_header_png_h" = xyes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_PNG_H 1
15931 _ACEOF
15935 done
15937 if test "$ac_cv_header_png_h" = "yes"
15938 then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15940 $as_echo_n "checking for -lpng... " >&6; }
15941 if ${ac_cv_lib_soname_png+:} false; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 ac_check_soname_save_LIBS=$LIBS
15945 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15952 #ifdef __cplusplus
15953 extern "C"
15954 #endif
15955 char png_create_read_struct ();
15957 main ()
15959 return png_create_read_struct ();
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_link "$LINENO"; then :
15965 case "$LIBEXT" in
15966 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15967 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'` ;;
15968 *) 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'`
15969 if ${ac_cv_lib_soname_png:+false} :; then :
15970 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15971 fi ;;
15972 esac
15973 else
15974 ac_cv_lib_soname_png=
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext conftest.$ac_ext
15978 LIBS=$ac_check_soname_save_LIBS
15980 if ${ac_cv_lib_soname_png:+false} :; then :
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15982 $as_echo "not found" >&6; }
15983 PNG_CFLAGS=""
15984 else
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15986 $as_echo "$ac_cv_lib_soname_png" >&6; }
15988 cat >>confdefs.h <<_ACEOF
15989 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15990 _ACEOF
15994 else
15995 PNG_CFLAGS=""
15997 CPPFLAGS=$ac_save_CPPFLAGS
16000 if test "x$ac_cv_lib_soname_png" = "x"; then :
16001 case "x$with_png" in
16002 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16003 xno) ;;
16004 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16005 This is an error since --with-png was requested." "$LINENO" 5 ;;
16006 esac
16010 if test "x$with_tiff" != "xno"
16011 then
16012 if ${TIFF_CFLAGS:+false} :; then :
16013 if ${PKG_CONFIG+:} false; then :
16014 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16018 if ${TIFF_LIBS:+false} :; then :
16019 if ${PKG_CONFIG+:} false; then :
16020 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16025 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16026 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16027 ac_save_CPPFLAGS=$CPPFLAGS
16028 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16029 for ac_header in tiffio.h
16030 do :
16031 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16032 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_TIFFIO_H 1
16035 _ACEOF
16039 done
16041 if test "$ac_cv_header_tiffio_h" = "yes"
16042 then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16044 $as_echo_n "checking for -ltiff... " >&6; }
16045 if ${ac_cv_lib_soname_tiff+:} false; then :
16046 $as_echo_n "(cached) " >&6
16047 else
16048 ac_check_soname_save_LIBS=$LIBS
16049 LIBS="-ltiff $TIFF_LIBS $LIBS"
16050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16051 /* end confdefs.h. */
16053 /* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
16056 #ifdef __cplusplus
16057 extern "C"
16058 #endif
16059 char TIFFClientOpen ();
16061 main ()
16063 return TIFFClientOpen ();
16065 return 0;
16067 _ACEOF
16068 if ac_fn_c_try_link "$LINENO"; then :
16069 case "$LIBEXT" in
16070 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16071 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'` ;;
16072 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16073 if ${ac_cv_lib_soname_tiff:+false} :; then :
16074 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16075 fi ;;
16076 esac
16077 else
16078 ac_cv_lib_soname_tiff=
16080 rm -f core conftest.err conftest.$ac_objext \
16081 conftest$ac_exeext conftest.$ac_ext
16082 LIBS=$ac_check_soname_save_LIBS
16084 if ${ac_cv_lib_soname_tiff:+false} :; then :
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16086 $as_echo "not found" >&6; }
16088 else
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16090 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16092 cat >>confdefs.h <<_ACEOF
16093 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16094 _ACEOF
16099 CPPFLAGS=$ac_save_CPPFLAGS
16102 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16103 case "x$with_tiff" in
16104 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16105 xno) ;;
16106 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16107 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16108 esac
16112 if test "x$with_mpg123" != "xno"
16113 then
16114 if ${MPG123_CFLAGS:+false} :; then :
16115 if ${PKG_CONFIG+:} false; then :
16116 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16120 if ${MPG123_LIBS:+false} :; then :
16121 if ${PKG_CONFIG+:} false; then :
16122 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16126 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16127 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16128 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16129 ac_save_CPPFLAGS=$CPPFLAGS
16130 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16131 for ac_header in mpg123.h
16132 do :
16133 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16134 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_MPG123_H 1
16137 _ACEOF
16141 done
16143 if test "$ac_cv_header_mpg123_h" = "yes"
16144 then
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16146 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16147 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 ac_check_lib_save_LIBS=$LIBS
16151 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 #ifdef __cplusplus
16159 extern "C"
16160 #endif
16161 char mpg123_feed ();
16163 main ()
16165 return mpg123_feed ();
16167 return 0;
16169 _ACEOF
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 ac_cv_lib_mpg123_mpg123_feed=yes
16172 else
16173 ac_cv_lib_mpg123_mpg123_feed=no
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext conftest.$ac_ext
16177 LIBS=$ac_check_lib_save_LIBS
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16180 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16181 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16183 else
16184 MPG123_LIBS=""
16187 else
16188 MPG123_CFLAGS=""
16189 MPG123_LIBS=""
16191 CPPFLAGS=$ac_save_CPPFLAGS
16194 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16195 case "x$with_mpg123" in
16196 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16197 xno) ;;
16198 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16199 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16200 esac
16201 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16203 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16205 if test "$ac_cv_header_AL_al_h" = "yes"
16206 then
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16208 $as_echo_n "checking for -lopenal... " >&6; }
16209 if ${ac_cv_lib_soname_openal+:} false; then :
16210 $as_echo_n "(cached) " >&6
16211 else
16212 ac_check_soname_save_LIBS=$LIBS
16213 LIBS="-lopenal $LIBS"
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16220 #ifdef __cplusplus
16221 extern "C"
16222 #endif
16223 char alGetSource3i ();
16225 main ()
16227 return alGetSource3i ();
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"; then :
16233 case "$LIBEXT" in
16234 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16235 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'` ;;
16236 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16237 if ${ac_cv_lib_soname_openal:+false} :; then :
16238 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16239 fi ;;
16240 esac
16241 else
16242 ac_cv_lib_soname_openal=
16244 rm -f core conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16246 LIBS=$ac_check_soname_save_LIBS
16248 if ${ac_cv_lib_soname_openal:+false} :; then :
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16250 $as_echo "not found" >&6; }
16252 else
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16254 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16256 cat >>confdefs.h <<_ACEOF
16257 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16258 _ACEOF
16260 OPENAL_LIBS="-lopenal"
16262 ac_cv_lib_openal=yes
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_OPENAL 1
16266 _ACEOF
16270 if test "x$ac_cv_lib_openal" != xyes; then :
16271 case "x$with_openal" in
16272 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16273 xno) ;;
16274 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16275 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16276 esac
16277 enable_openal32=${enable_openal32:-no}
16280 if test "x$ac_cv_lib_soname_FAudio" = "x"
16281 then
16282 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16283 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16284 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16285 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16286 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16287 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16288 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16289 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16290 enable_xactengine3_0=${enable_xactengine3_0:-no}
16291 enable_xactengine3_1=${enable_xactengine3_1:-no}
16292 enable_xactengine3_2=${enable_xactengine3_2:-no}
16293 enable_xactengine3_3=${enable_xactengine3_3:-no}
16294 enable_xactengine3_4=${enable_xactengine3_4:-no}
16295 enable_xactengine3_5=${enable_xactengine3_5:-no}
16296 enable_xactengine3_6=${enable_xactengine3_6:-no}
16297 enable_xactengine3_7=${enable_xactengine3_7:-no}
16298 enable_xapofx1_1=${enable_xapofx1_1:-no}
16299 enable_xapofx1_2=${enable_xapofx1_2:-no}
16300 enable_xapofx1_3=${enable_xapofx1_3:-no}
16301 enable_xapofx1_4=${enable_xapofx1_4:-no}
16302 enable_xapofx1_5=${enable_xapofx1_5:-no}
16303 enable_xaudio2_0=${enable_xaudio2_0:-no}
16304 enable_xaudio2_1=${enable_xaudio2_1:-no}
16305 enable_xaudio2_2=${enable_xaudio2_2:-no}
16306 enable_xaudio2_3=${enable_xaudio2_3:-no}
16307 enable_xaudio2_4=${enable_xaudio2_4:-no}
16308 enable_xaudio2_5=${enable_xaudio2_5:-no}
16309 enable_xaudio2_6=${enable_xaudio2_6:-no}
16310 enable_xaudio2_7=${enable_xaudio2_7:-no}
16311 enable_xaudio2_8=${enable_xaudio2_8:-no}
16312 enable_xaudio2_9=${enable_xaudio2_9:-no}
16315 if test "$ac_cv_header_kstat_h" = "yes"
16316 then
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16318 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16319 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16320 $as_echo_n "(cached) " >&6
16321 else
16322 ac_check_lib_save_LIBS=$LIBS
16323 LIBS="-lkstat $LIBS"
16324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16327 /* Override any GCC internal prototype to avoid an error.
16328 Use char because int might match the return type of a GCC
16329 builtin and then its argument prototype would still apply. */
16330 #ifdef __cplusplus
16331 extern "C"
16332 #endif
16333 char kstat_open ();
16335 main ()
16337 return kstat_open ();
16339 return 0;
16341 _ACEOF
16342 if ac_fn_c_try_link "$LINENO"; then :
16343 ac_cv_lib_kstat_kstat_open=yes
16344 else
16345 ac_cv_lib_kstat_kstat_open=no
16347 rm -f core conftest.err conftest.$ac_objext \
16348 conftest$ac_exeext conftest.$ac_ext
16349 LIBS=$ac_check_lib_save_LIBS
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16352 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16353 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16355 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16357 KSTAT_LIBS="-lkstat"
16363 if test "$ac_cv_header_libprocstat_h" = "yes"
16364 then
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16366 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16367 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 ac_check_lib_save_LIBS=$LIBS
16371 LIBS="-lprocstat $LIBS"
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char procstat_open_sysctl ();
16383 main ()
16385 return procstat_open_sysctl ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 ac_cv_lib_procstat_procstat_open_sysctl=yes
16392 else
16393 ac_cv_lib_procstat_procstat_open_sysctl=no
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16397 LIBS=$ac_check_lib_save_LIBS
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16400 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16401 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16403 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16405 PROCSTAT_LIBS="-lprocstat"
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16412 $as_echo_n "checking for -lodbc... " >&6; }
16413 if ${ac_cv_lib_soname_odbc+:} false; then :
16414 $as_echo_n "(cached) " >&6
16415 else
16416 ac_check_soname_save_LIBS=$LIBS
16417 LIBS="-lodbc $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 #ifdef __cplusplus
16425 extern "C"
16426 #endif
16427 char SQLConnect ();
16429 main ()
16431 return SQLConnect ();
16433 return 0;
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 case "$LIBEXT" in
16438 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16439 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'` ;;
16440 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16441 if ${ac_cv_lib_soname_odbc:+false} :; then :
16442 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16443 fi ;;
16444 esac
16445 else
16446 ac_cv_lib_soname_odbc=
16448 rm -f core conftest.err conftest.$ac_objext \
16449 conftest$ac_exeext conftest.$ac_ext
16450 LIBS=$ac_check_soname_save_LIBS
16452 if ${ac_cv_lib_soname_odbc:+false} :; then :
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16454 $as_echo "not found" >&6; }
16455 cat >>confdefs.h <<_ACEOF
16456 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16457 _ACEOF
16459 else
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16461 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16463 cat >>confdefs.h <<_ACEOF
16464 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16465 _ACEOF
16470 if test "x$with_netapi" != "xno"
16471 then
16472 if ${NETAPI_CFLAGS:+false} :; then :
16473 if ${PKG_CONFIG+:} false; then :
16474 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16478 if ${NETAPI_LIBS:+false} :; then :
16479 if ${PKG_CONFIG+:} false; then :
16480 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16485 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16486 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16487 ac_save_CPPFLAGS=$CPPFLAGS
16488 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16490 $as_echo_n "checking for -lnetapi... " >&6; }
16491 if ${ac_cv_lib_soname_netapi+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 ac_check_soname_save_LIBS=$LIBS
16495 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16499 /* Override any GCC internal prototype to avoid an error.
16500 Use char because int might match the return type of a GCC
16501 builtin and then its argument prototype would still apply. */
16502 #ifdef __cplusplus
16503 extern "C"
16504 #endif
16505 char libnetapi_init ();
16507 main ()
16509 return libnetapi_init ();
16511 return 0;
16513 _ACEOF
16514 if ac_fn_c_try_link "$LINENO"; then :
16515 case "$LIBEXT" in
16516 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16517 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'` ;;
16518 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16519 if ${ac_cv_lib_soname_netapi:+false} :; then :
16520 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16521 fi ;;
16522 esac
16523 else
16524 ac_cv_lib_soname_netapi=
16526 rm -f core conftest.err conftest.$ac_objext \
16527 conftest$ac_exeext conftest.$ac_ext
16528 LIBS=$ac_check_soname_save_LIBS
16530 if ${ac_cv_lib_soname_netapi:+false} :; then :
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16532 $as_echo "not found" >&6; }
16533 cat >>confdefs.h <<_ACEOF
16534 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16535 _ACEOF
16537 else
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16539 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16541 cat >>confdefs.h <<_ACEOF
16542 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16543 _ACEOF
16547 CPPFLAGS=$ac_save_CPPFLAGS
16551 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16552 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16553 then
16554 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16557 if test "x$with_vulkan" != "xno"
16558 then
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16560 $as_echo_n "checking for -lvulkan... " >&6; }
16561 if ${ac_cv_lib_soname_vulkan+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 ac_check_soname_save_LIBS=$LIBS
16565 LIBS="-lvulkan $LIBS"
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16569 /* Override any GCC internal prototype to avoid an error.
16570 Use char because int might match the return type of a GCC
16571 builtin and then its argument prototype would still apply. */
16572 #ifdef __cplusplus
16573 extern "C"
16574 #endif
16575 char vkGetInstanceProcAddr ();
16577 main ()
16579 return vkGetInstanceProcAddr ();
16581 return 0;
16583 _ACEOF
16584 if ac_fn_c_try_link "$LINENO"; then :
16585 case "$LIBEXT" in
16586 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16587 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'` ;;
16588 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16589 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16590 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16591 fi ;;
16592 esac
16593 else
16594 ac_cv_lib_soname_vulkan=
16596 rm -f core conftest.err conftest.$ac_objext \
16597 conftest$ac_exeext conftest.$ac_ext
16598 LIBS=$ac_check_soname_save_LIBS
16600 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16602 $as_echo "not found" >&6; }
16604 else
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16606 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16608 cat >>confdefs.h <<_ACEOF
16609 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16610 _ACEOF
16614 if test "x$ac_cv_lib_soname_vulkan" = "x"
16615 then
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16617 $as_echo_n "checking for -lMoltenVK... " >&6; }
16618 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16619 $as_echo_n "(cached) " >&6
16620 else
16621 ac_check_soname_save_LIBS=$LIBS
16622 LIBS="-lMoltenVK $LIBS"
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16626 /* Override any GCC internal prototype to avoid an error.
16627 Use char because int might match the return type of a GCC
16628 builtin and then its argument prototype would still apply. */
16629 #ifdef __cplusplus
16630 extern "C"
16631 #endif
16632 char vkGetInstanceProcAddr ();
16634 main ()
16636 return vkGetInstanceProcAddr ();
16638 return 0;
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"; then :
16642 case "$LIBEXT" in
16643 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16644 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'` ;;
16645 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16646 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16647 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16648 fi ;;
16649 esac
16650 else
16651 ac_cv_lib_soname_MoltenVK=
16653 rm -f core conftest.err conftest.$ac_objext \
16654 conftest$ac_exeext conftest.$ac_ext
16655 LIBS=$ac_check_soname_save_LIBS
16657 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16659 $as_echo "not found" >&6; }
16661 else
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16663 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16665 cat >>confdefs.h <<_ACEOF
16666 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16667 _ACEOF
16673 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16674 case "x$with_vulkan" in
16675 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16676 xno) ;;
16677 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16678 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16679 esac
16683 if test "x$with_vkd3d" != "xno"
16684 then
16685 if ${VKD3D_CFLAGS:+false} :; then :
16686 if ${PKG_CONFIG+:} false; then :
16687 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16691 if ${VKD3D_LIBS:+false} :; then :
16692 if ${PKG_CONFIG+:} false; then :
16693 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16698 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16699 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16700 ac_save_CPPFLAGS=$CPPFLAGS
16701 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16703 $as_echo_n "checking for -lvkd3d... " >&6; }
16704 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 ac_check_soname_save_LIBS=$LIBS
16708 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h. */
16712 /* Override any GCC internal prototype to avoid an error.
16713 Use char because int might match the return type of a GCC
16714 builtin and then its argument prototype would still apply. */
16715 #ifdef __cplusplus
16716 extern "C"
16717 #endif
16718 char vkd3d_get_dxgi_format ();
16720 main ()
16722 return vkd3d_get_dxgi_format ();
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"; then :
16728 case "$LIBEXT" in
16729 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16730 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'` ;;
16731 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16732 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16733 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16734 fi ;;
16735 esac
16736 else
16737 ac_cv_lib_soname_vkd3d=
16739 rm -f core conftest.err conftest.$ac_objext \
16740 conftest$ac_exeext conftest.$ac_ext
16741 LIBS=$ac_check_soname_save_LIBS
16743 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16745 $as_echo "not found" >&6; }
16747 else
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16749 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16751 cat >>confdefs.h <<_ACEOF
16752 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16753 _ACEOF
16757 CPPFLAGS=$ac_save_CPPFLAGS
16759 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16760 if ${PKG_CONFIG+:} false; then :
16761 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16765 if ${VKD3D_SHADER_LIBS:+false} :; then :
16766 if ${PKG_CONFIG+:} false; then :
16767 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16772 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16773 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16774 ac_save_CPPFLAGS=$CPPFLAGS
16775 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16777 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16778 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 ac_check_soname_save_LIBS=$LIBS
16782 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 /* Override any GCC internal prototype to avoid an error.
16787 Use char because int might match the return type of a GCC
16788 builtin and then its argument prototype would still apply. */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
16792 char vkd3d_shader_compile ();
16794 main ()
16796 return vkd3d_shader_compile ();
16798 return 0;
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 case "$LIBEXT" in
16803 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16804 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16805 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16806 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16807 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16808 fi ;;
16809 esac
16810 else
16811 ac_cv_lib_soname_vkd3d_shader=
16813 rm -f core conftest.err conftest.$ac_objext \
16814 conftest$ac_exeext conftest.$ac_ext
16815 LIBS=$ac_check_soname_save_LIBS
16817 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16819 $as_echo "not found" >&6; }
16821 else
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16823 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16825 cat >>confdefs.h <<_ACEOF
16826 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16827 _ACEOF
16831 CPPFLAGS=$ac_save_CPPFLAGS
16834 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16835 case "x$with_vkd3d" in
16836 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16837 xno) ;;
16838 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16839 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16840 esac
16843 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16846 EXTRACFLAGS=""
16848 if test "x${GCC}" = "xyes"
16849 then
16850 EXTRACFLAGS="-Wall -pipe"
16852 saved_CFLAGS=$CFLAGS
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16854 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16855 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858 ac_wine_try_cflags_saved=$CFLAGS
16859 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16862 int main(int argc, char **argv) { return 0; }
16863 _ACEOF
16864 if ac_fn_c_try_link "$LINENO"; then :
16865 ac_cv_cflags__Werror_unknown_warning_option=yes
16866 else
16867 ac_cv_cflags__Werror_unknown_warning_option=no
16869 rm -f core conftest.err conftest.$ac_objext \
16870 conftest$ac_exeext conftest.$ac_ext
16871 CFLAGS=$ac_wine_try_cflags_saved
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16874 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16875 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16876 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16879 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16880 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16881 $as_echo_n "(cached) " >&6
16882 else
16883 ac_wine_try_cflags_saved=$CFLAGS
16884 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 int main(int argc, char **argv) { return 0; }
16888 _ACEOF
16889 if ac_fn_c_try_link "$LINENO"; then :
16890 ac_cv_cflags__Werror_unused_command_line_argument=yes
16891 else
16892 ac_cv_cflags__Werror_unused_command_line_argument=no
16894 rm -f core conftest.err conftest.$ac_objext \
16895 conftest$ac_exeext conftest.$ac_ext
16896 CFLAGS=$ac_wine_try_cflags_saved
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16899 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16900 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16901 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16904 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16905 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16906 $as_echo_n "(cached) " >&6
16907 else
16908 ac_wine_try_cflags_saved=$CFLAGS
16909 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16912 int main(int argc, char **argv) { return 0; }
16913 _ACEOF
16914 if ac_fn_c_try_link "$LINENO"; then :
16915 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16916 else
16917 ac_cv_cflags__Werror_ignored_optimization_argument=no
16919 rm -f core conftest.err conftest.$ac_objext \
16920 conftest$ac_exeext conftest.$ac_ext
16921 CFLAGS=$ac_wine_try_cflags_saved
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16924 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16925 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16926 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16929 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16930 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 ac_wine_try_cflags_saved=$CFLAGS
16934 CFLAGS="$CFLAGS -fcf-protection=none"
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 int main(int argc, char **argv) { return 0; }
16938 _ACEOF
16939 if ac_fn_c_try_link "$LINENO"; then :
16940 ac_cv_cflags__fcf_protection_none=yes
16941 else
16942 ac_cv_cflags__fcf_protection_none=no
16944 rm -f core conftest.err conftest.$ac_objext \
16945 conftest$ac_exeext conftest.$ac_ext
16946 CFLAGS=$ac_wine_try_cflags_saved
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16949 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16950 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16951 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16954 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16955 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 ac_wine_try_cflags_saved=$CFLAGS
16959 CFLAGS="$CFLAGS -fno-stack-protector"
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 int main(int argc, char **argv) { return 0; }
16963 _ACEOF
16964 if ac_fn_c_try_link "$LINENO"; then :
16965 ac_cv_cflags__fno_stack_protector=yes
16966 else
16967 ac_cv_cflags__fno_stack_protector=no
16969 rm -f core conftest.err conftest.$ac_objext \
16970 conftest$ac_exeext conftest.$ac_ext
16971 CFLAGS=$ac_wine_try_cflags_saved
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16974 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16975 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16976 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16979 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16980 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 ac_wine_try_cflags_saved=$CFLAGS
16984 CFLAGS="$CFLAGS -fno-strict-aliasing"
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 int main(int argc, char **argv) { return 0; }
16988 _ACEOF
16989 if ac_fn_c_try_link "$LINENO"; then :
16990 ac_cv_cflags__fno_strict_aliasing=yes
16991 else
16992 ac_cv_cflags__fno_strict_aliasing=no
16994 rm -f core conftest.err conftest.$ac_objext \
16995 conftest$ac_exeext conftest.$ac_ext
16996 CFLAGS=$ac_wine_try_cflags_saved
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16999 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17000 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17001 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17004 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17005 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 ac_wine_try_cflags_saved=$CFLAGS
17009 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 int main(int argc, char **argv) { return 0; }
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_cflags__Wdeclaration_after_statement=yes
17016 else
17017 ac_cv_cflags__Wdeclaration_after_statement=no
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17021 CFLAGS=$ac_wine_try_cflags_saved
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17024 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17025 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17026 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17029 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17030 if ${ac_cv_cflags__Wempty_body+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 ac_wine_try_cflags_saved=$CFLAGS
17034 CFLAGS="$CFLAGS -Wempty-body"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 int main(int argc, char **argv) { return 0; }
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"; then :
17040 ac_cv_cflags__Wempty_body=yes
17041 else
17042 ac_cv_cflags__Wempty_body=no
17044 rm -f core conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17046 CFLAGS=$ac_wine_try_cflags_saved
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17049 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17050 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17051 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17054 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17055 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 ac_wine_try_cflags_saved=$CFLAGS
17059 CFLAGS="$CFLAGS -Wignored-qualifiers"
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 int main(int argc, char **argv) { return 0; }
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_cflags__Wignored_qualifiers=yes
17066 else
17067 ac_cv_cflags__Wignored_qualifiers=no
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17074 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17075 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17076 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17079 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17080 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 ac_wine_try_cflags_saved=$CFLAGS
17084 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 int main(int argc, char **argv) { return 0; }
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_cflags__Wpacked_not_aligned=yes
17091 else
17092 ac_cv_cflags__Wpacked_not_aligned=no
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 CFLAGS=$ac_wine_try_cflags_saved
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17099 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17100 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17101 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17104 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17105 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 ac_wine_try_cflags_saved=$CFLAGS
17109 CFLAGS="$CFLAGS -Wpragma-pack"
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__Wpragma_pack=yes
17116 else
17117 ac_cv_cflags__Wpragma_pack=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__Wpragma_pack" >&5
17124 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17125 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17126 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17129 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17130 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 ac_wine_try_cflags_saved=$CFLAGS
17134 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
17141 else
17142 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
17149 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17150 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17151 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17154 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17155 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
17166 else
17167 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
17174 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17175 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17176 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17179 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17180 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
17191 else
17192 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
17199 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17200 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17204 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17205 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
17216 else
17217 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
17224 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17225 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17226 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17229 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17230 if ${ac_cv_cflags__Wvla+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_wine_try_cflags_saved=$CFLAGS
17234 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
17241 else
17242 ac_cv_cflags__Wvla=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__Wvla" >&5
17249 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17250 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17251 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17254 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17255 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 ac_wine_try_cflags_saved=$CFLAGS
17259 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
17266 else
17267 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
17274 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17275 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17276 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17279 if test -z "$CROSSTARGET"
17280 then
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17282 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17283 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17284 $as_echo_n "(cached) " >&6
17285 else
17286 ac_wine_try_cflags_saved=$CFLAGS
17287 CFLAGS="$CFLAGS -fexcess-precision=standard"
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17290 int main(int argc, char **argv) { return 0; }
17291 _ACEOF
17292 if ac_fn_c_try_link "$LINENO"; then :
17293 ac_cv_cflags__fexcess_precision_standard=yes
17294 else
17295 ac_cv_cflags__fexcess_precision_standard=no
17297 rm -f core conftest.err conftest.$ac_objext \
17298 conftest$ac_exeext conftest.$ac_ext
17299 CFLAGS=$ac_wine_try_cflags_saved
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17302 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17303 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17304 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17310 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17311 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 ac_wine_try_cflags_saved=$CFLAGS
17315 CFLAGS="$CFLAGS -Wpointer-arith"
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318 int main(int argc, char **argv) { return 0; }
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"; then :
17321 ac_cv_cflags__Wpointer_arith=yes
17322 else
17323 ac_cv_cflags__Wpointer_arith=no
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17327 CFLAGS=$ac_wine_try_cflags_saved
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17330 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17331 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17332 saved_string_h_CFLAGS=$CFLAGS
17333 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17335 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17336 if ${ac_cv_c_string_h_warnings+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #include <string.h>
17343 main ()
17347 return 0;
17349 _ACEOF
17350 if ac_fn_c_try_compile "$LINENO"; then :
17351 ac_cv_c_string_h_warnings=no
17352 else
17353 ac_cv_c_string_h_warnings=yes
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17358 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17359 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17360 CFLAGS=$saved_string_h_CFLAGS
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17364 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17365 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17366 $as_echo_n "(cached) " >&6
17367 else
17368 ac_wine_try_cflags_saved=$CFLAGS
17369 CFLAGS="$CFLAGS -Wlogical-op"
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17372 int main(int argc, char **argv) { return 0; }
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"; then :
17375 ac_cv_cflags__Wlogical_op=yes
17376 else
17377 ac_cv_cflags__Wlogical_op=no
17379 rm -f core conftest.err conftest.$ac_objext \
17380 conftest$ac_exeext conftest.$ac_ext
17381 CFLAGS=$ac_wine_try_cflags_saved
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17384 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17385 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17386 saved_string_h_CFLAGS=$CFLAGS
17387 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17389 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17390 if ${ac_cv_c_logicalop_noisy+:} false; then :
17391 $as_echo_n "(cached) " >&6
17392 else
17393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17394 /* end confdefs.h. */
17395 #include <string.h>
17396 char*f(const char *h,char n) {return strchr(h,n);}
17398 main ()
17402 return 0;
17404 _ACEOF
17405 if ac_fn_c_try_compile "$LINENO"; then :
17406 ac_cv_c_logicalop_noisy=no
17407 else
17408 ac_cv_c_logicalop_noisy=yes
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17413 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17414 CFLAGS=$saved_string_h_CFLAGS
17415 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17419 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17420 if ${wine_cv_64bit_compare_swap+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17426 #error no
17427 #endif
17429 main ()
17433 return 0;
17435 _ACEOF
17436 if ac_fn_c_try_compile "$LINENO"; then :
17437 wine_cv_64bit_compare_swap="none needed"
17438 else
17439 case $host_cpu in
17440 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17441 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17442 *) wine_cv_64bit_compare_swap="unknown" ;;
17443 esac
17444 if test "x$wine_cv_64bit_compare_swap" != xunknown
17445 then
17446 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17450 #error no
17451 #endif
17453 main ()
17457 return 0;
17459 _ACEOF
17460 if ac_fn_c_try_compile "$LINENO"; then :
17462 else
17463 wine_cv_64bit_compare_swap="unknown"
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466 CFLAGS=$saved_CFLAGS
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17472 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17473 case "$wine_cv_64bit_compare_swap" in
17474 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17475 "none needed") ;;
17476 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17477 esac
17479 for ac_flag in $CFLAGS; do
17480 case $ac_flag in
17481 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17482 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17483 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17486 ac_wine_try_cflags_saved=$CFLAGS
17487 CFLAGS="$CFLAGS -gdwarf-2"
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 int main(int argc, char **argv) { return 0; }
17491 _ACEOF
17492 if ac_fn_c_try_link "$LINENO"; then :
17493 ac_cv_cflags__gdwarf_2=yes
17494 else
17495 ac_cv_cflags__gdwarf_2=no
17497 rm -f core conftest.err conftest.$ac_objext \
17498 conftest$ac_exeext conftest.$ac_ext
17499 CFLAGS=$ac_wine_try_cflags_saved
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17502 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17503 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17504 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17507 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17508 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 ac_wine_try_cflags_saved=$CFLAGS
17512 CFLAGS="$CFLAGS -gstrict-dwarf"
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 int main(int argc, char **argv) { return 0; }
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 ac_cv_cflags__gstrict_dwarf=yes
17519 else
17520 ac_cv_cflags__gstrict_dwarf=no
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17524 CFLAGS=$ac_wine_try_cflags_saved
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17527 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17528 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17529 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17530 fi ;;
17531 esac
17532 done
17534 MSVCRTFLAGS=""
17536 case $host_os in
17537 mingw32*) ;;
17538 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17539 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17540 if ${ac_cv_cflags__fno_builtin+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_wine_try_cflags_saved=$CFLAGS
17544 CFLAGS="$CFLAGS -fno-builtin"
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 int main(int argc, char **argv) { return 0; }
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_cflags__fno_builtin=yes
17551 else
17552 ac_cv_cflags__fno_builtin=no
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 CFLAGS=$ac_wine_try_cflags_saved
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17559 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17560 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17561 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17564 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17565 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 ac_wine_try_cflags_saved=$CFLAGS
17569 CFLAGS="$CFLAGS -fshort-wchar"
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 int main(int argc, char **argv) { return 0; }
17573 _ACEOF
17574 if ac_fn_c_try_link "$LINENO"; then :
17575 ac_cv_cflags__fshort_wchar=yes
17576 else
17577 ac_cv_cflags__fshort_wchar=no
17579 rm -f core conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17581 CFLAGS=$ac_wine_try_cflags_saved
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17584 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17585 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17586 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17587 fi ;;
17588 esac
17590 case $host_cpu in
17591 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17592 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17593 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17596 ac_wine_try_cflags_saved=$CFLAGS
17597 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 int main(int argc, char **argv) { return 0; }
17601 _ACEOF
17602 if ac_fn_c_try_link "$LINENO"; then :
17603 ac_cv_cflags__fno_omit_frame_pointer=yes
17604 else
17605 ac_cv_cflags__fno_omit_frame_pointer=no
17607 rm -f core conftest.err conftest.$ac_objext \
17608 conftest$ac_exeext conftest.$ac_ext
17609 CFLAGS=$ac_wine_try_cflags_saved
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17612 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17613 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17614 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17615 fi ;;
17616 *x86_64*)
17617 case $host_os in
17618 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17619 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17620 if ${ac_cv_cflags__Wno_format+:} false; then :
17621 $as_echo_n "(cached) " >&6
17622 else
17623 ac_wine_try_cflags_saved=$CFLAGS
17624 CFLAGS="$CFLAGS -Wno-format"
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 int main(int argc, char **argv) { return 0; }
17628 _ACEOF
17629 if ac_fn_c_try_link "$LINENO"; then :
17630 ac_cv_cflags__Wno_format=yes
17631 else
17632 ac_cv_cflags__Wno_format=no
17634 rm -f core conftest.err conftest.$ac_objext \
17635 conftest$ac_exeext conftest.$ac_ext
17636 CFLAGS=$ac_wine_try_cflags_saved
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17639 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17640 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17641 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17642 fi ;;
17643 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17644 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17645 if ${ac_cv_cflags__mabi_ms+:} false; then :
17646 $as_echo_n "(cached) " >&6
17647 else
17648 ac_wine_try_cflags_saved=$CFLAGS
17649 CFLAGS="$CFLAGS -mabi=ms"
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 int main(int argc, char **argv) { return 0; }
17653 _ACEOF
17654 if ac_fn_c_try_link "$LINENO"; then :
17655 ac_cv_cflags__mabi_ms=yes
17656 else
17657 ac_cv_cflags__mabi_ms=no
17659 rm -f core conftest.err conftest.$ac_objext \
17660 conftest$ac_exeext conftest.$ac_ext
17661 CFLAGS=$ac_wine_try_cflags_saved
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17664 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17665 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17666 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17667 fi ;;
17668 esac ;;
17669 esac
17671 CFLAGS=$saved_CFLAGS
17673 if test "x$enable_werror" = "xyes"
17674 then
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17676 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17677 if ${ac_cv_cflags__Werror+:} false; then :
17678 $as_echo_n "(cached) " >&6
17679 else
17680 ac_wine_try_cflags_saved=$CFLAGS
17681 CFLAGS="$CFLAGS -Werror"
17682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 int main(int argc, char **argv) { return 0; }
17685 _ACEOF
17686 if ac_fn_c_try_link "$LINENO"; then :
17687 ac_cv_cflags__Werror=yes
17688 else
17689 ac_cv_cflags__Werror=no
17691 rm -f core conftest.err conftest.$ac_objext \
17692 conftest$ac_exeext conftest.$ac_ext
17693 CFLAGS=$ac_wine_try_cflags_saved
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17696 $as_echo "$ac_cv_cflags__Werror" >&6; }
17697 if test "x$ac_cv_cflags__Werror" = xyes; then :
17698 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17705 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17706 if ${ac_cv_c_fortify_enabled+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 #include <string.h>
17713 main ()
17715 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17716 #error Fortify enabled
17717 #endif
17719 return 0;
17721 _ACEOF
17722 if ac_fn_c_try_compile "$LINENO"; then :
17723 ac_cv_c_fortify_enabled=no
17724 else
17725 ac_cv_c_fortify_enabled=yes
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17730 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17731 if test "$ac_cv_c_fortify_enabled" = yes
17732 then
17733 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17738 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17739 if ${ac_cv_c_cfi_support+:} false; then :
17740 $as_echo_n "(cached) " >&6
17741 else
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17746 main ()
17750 return 0;
17752 _ACEOF
17753 if ac_fn_c_try_compile "$LINENO"; then :
17754 ac_cv_c_cfi_support="yes"
17755 else
17756 ac_cv_c_cfi_support="no"
17758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17761 $as_echo "$ac_cv_c_cfi_support" >&6; }
17762 if test "$ac_cv_c_cfi_support" = "yes"
17763 then
17764 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17765 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17766 else
17767 if test "x$enable_win64" = "xyes"
17768 then
17769 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17774 case $build_os in
17775 cygwin*|mingw32*) TOOLSEXT=".exe"
17777 esac
17779 case $host_os in
17780 linux*)
17781 case $host_cpu in
17782 *i[3456789]86*|x86_64*|*aarch64*)
17783 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17784 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17786 esac
17788 esac
17791 ac_save_CFLAGS="$CFLAGS"
17792 CFLAGS="$CFLAGS $BUILTINFLAG"
17793 for ac_func in \
17794 __res_get_state \
17795 __res_getservers \
17796 _spawnvp \
17797 epoll_create \
17798 ffs \
17799 finite \
17800 finitef \
17801 fnmatch \
17802 fork \
17803 fpclass \
17804 fstatfs \
17805 fstatvfs \
17806 futimens \
17807 futimes \
17808 futimesat \
17809 getattrlist \
17810 getauxval \
17811 getifaddrs \
17812 getopt_long_only \
17813 getrandom \
17814 kqueue \
17815 lstat \
17816 mach_continuous_time \
17817 pipe2 \
17818 poll \
17819 port_create \
17820 prctl \
17821 pread \
17822 proc_pidinfo \
17823 pwrite \
17824 readdir \
17825 readlink \
17826 sched_yield \
17827 select \
17828 setproctitle \
17829 setprogname \
17830 settimeofday \
17831 sigprocmask \
17832 statfs \
17833 statvfs \
17834 strnlen \
17835 strtold \
17836 symlink \
17837 sysinfo \
17838 tcdrain \
17839 thr_kill2 \
17840 usleep
17842 do :
17843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17845 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17846 cat >>confdefs.h <<_ACEOF
17847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17848 _ACEOF
17851 done
17853 CFLAGS="$ac_save_CFLAGS"
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17856 $as_echo_n "checking for library containing dlopen... " >&6; }
17857 if ${ac_cv_search_dlopen+:} false; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17860 ac_func_search_save_LIBS=$LIBS
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 #ifdef __cplusplus
17868 extern "C"
17869 #endif
17870 char dlopen ();
17872 main ()
17874 return dlopen ();
17876 return 0;
17878 _ACEOF
17879 for ac_lib in '' dl; do
17880 if test -z "$ac_lib"; then
17881 ac_res="none required"
17882 else
17883 ac_res=-l$ac_lib
17884 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17886 if ac_fn_c_try_link "$LINENO"; then :
17887 ac_cv_search_dlopen=$ac_res
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext
17891 if ${ac_cv_search_dlopen+:} false; then :
17892 break
17894 done
17895 if ${ac_cv_search_dlopen+:} false; then :
17897 else
17898 ac_cv_search_dlopen=no
17900 rm conftest.$ac_ext
17901 LIBS=$ac_func_search_save_LIBS
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17904 $as_echo "$ac_cv_search_dlopen" >&6; }
17905 ac_res=$ac_cv_search_dlopen
17906 if test "$ac_res" != no; then :
17907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17911 ac_wine_check_funcs_save_LIBS="$LIBS"
17912 LIBS="$LIBS $DL_LIBS"
17913 for ac_func in dladdr dlinfo
17914 do :
17915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17918 cat >>confdefs.h <<_ACEOF
17919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17920 _ACEOF
17923 done
17925 LIBS="$ac_wine_check_funcs_save_LIBS"
17927 if test "$ac_cv_func_poll" = no
17928 then
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17930 $as_echo_n "checking for poll in -lpoll... " >&6; }
17931 if ${ac_cv_lib_poll_poll+:} false; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17934 ac_check_lib_save_LIBS=$LIBS
17935 LIBS="-lpoll $LIBS"
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17939 /* Override any GCC internal prototype to avoid an error.
17940 Use char because int might match the return type of a GCC
17941 builtin and then its argument prototype would still apply. */
17942 #ifdef __cplusplus
17943 extern "C"
17944 #endif
17945 char poll ();
17947 main ()
17949 return poll ();
17951 return 0;
17953 _ACEOF
17954 if ac_fn_c_try_link "$LINENO"; then :
17955 ac_cv_lib_poll_poll=yes
17956 else
17957 ac_cv_lib_poll_poll=no
17959 rm -f core conftest.err conftest.$ac_objext \
17960 conftest$ac_exeext conftest.$ac_ext
17961 LIBS=$ac_check_lib_save_LIBS
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17964 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17965 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17966 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17967 POLL_LIBS="-lpoll"
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17974 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17975 if ${ac_cv_search_gethostbyname+:} false; then :
17976 $as_echo_n "(cached) " >&6
17977 else
17978 ac_func_search_save_LIBS=$LIBS
17979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17980 /* end confdefs.h. */
17982 /* Override any GCC internal prototype to avoid an error.
17983 Use char because int might match the return type of a GCC
17984 builtin and then its argument prototype would still apply. */
17985 #ifdef __cplusplus
17986 extern "C"
17987 #endif
17988 char gethostbyname ();
17990 main ()
17992 return gethostbyname ();
17994 return 0;
17996 _ACEOF
17997 for ac_lib in '' nsl; do
17998 if test -z "$ac_lib"; then
17999 ac_res="none required"
18000 else
18001 ac_res=-l$ac_lib
18002 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18004 if ac_fn_c_try_link "$LINENO"; then :
18005 ac_cv_search_gethostbyname=$ac_res
18007 rm -f core conftest.err conftest.$ac_objext \
18008 conftest$ac_exeext
18009 if ${ac_cv_search_gethostbyname+:} false; then :
18010 break
18012 done
18013 if ${ac_cv_search_gethostbyname+:} false; then :
18015 else
18016 ac_cv_search_gethostbyname=no
18018 rm conftest.$ac_ext
18019 LIBS=$ac_func_search_save_LIBS
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18022 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18023 ac_res=$ac_cv_search_gethostbyname
18024 if test "$ac_res" != no; then :
18025 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18031 $as_echo_n "checking for library containing connect... " >&6; }
18032 if ${ac_cv_search_connect+:} false; then :
18033 $as_echo_n "(cached) " >&6
18034 else
18035 ac_func_search_save_LIBS=$LIBS
18036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h. */
18039 /* Override any GCC internal prototype to avoid an error.
18040 Use char because int might match the return type of a GCC
18041 builtin and then its argument prototype would still apply. */
18042 #ifdef __cplusplus
18043 extern "C"
18044 #endif
18045 char connect ();
18047 main ()
18049 return connect ();
18051 return 0;
18053 _ACEOF
18054 for ac_lib in '' socket; do
18055 if test -z "$ac_lib"; then
18056 ac_res="none required"
18057 else
18058 ac_res=-l$ac_lib
18059 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18061 if ac_fn_c_try_link "$LINENO"; then :
18062 ac_cv_search_connect=$ac_res
18064 rm -f core conftest.err conftest.$ac_objext \
18065 conftest$ac_exeext
18066 if ${ac_cv_search_connect+:} false; then :
18067 break
18069 done
18070 if ${ac_cv_search_connect+:} false; then :
18072 else
18073 ac_cv_search_connect=no
18075 rm conftest.$ac_ext
18076 LIBS=$ac_func_search_save_LIBS
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18079 $as_echo "$ac_cv_search_connect" >&6; }
18080 ac_res=$ac_cv_search_connect
18081 if test "$ac_res" != no; then :
18082 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18088 $as_echo_n "checking for library containing inet_aton... " >&6; }
18089 if ${ac_cv_search_inet_aton+:} false; then :
18090 $as_echo_n "(cached) " >&6
18091 else
18092 ac_func_search_save_LIBS=$LIBS
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18096 /* Override any GCC internal prototype to avoid an error.
18097 Use char because int might match the return type of a GCC
18098 builtin and then its argument prototype would still apply. */
18099 #ifdef __cplusplus
18100 extern "C"
18101 #endif
18102 char inet_aton ();
18104 main ()
18106 return inet_aton ();
18108 return 0;
18110 _ACEOF
18111 for ac_lib in '' resolv; do
18112 if test -z "$ac_lib"; then
18113 ac_res="none required"
18114 else
18115 ac_res=-l$ac_lib
18116 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18118 if ac_fn_c_try_link "$LINENO"; then :
18119 ac_cv_search_inet_aton=$ac_res
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext
18123 if ${ac_cv_search_inet_aton+:} false; then :
18124 break
18126 done
18127 if ${ac_cv_search_inet_aton+:} false; then :
18129 else
18130 ac_cv_search_inet_aton=no
18132 rm conftest.$ac_ext
18133 LIBS=$ac_func_search_save_LIBS
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18136 $as_echo "$ac_cv_search_inet_aton" >&6; }
18137 ac_res=$ac_cv_search_inet_aton
18138 if test "$ac_res" != no; then :
18139 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18144 for ac_func in \
18145 getaddrinfo \
18146 getnameinfo \
18147 getnetbyname \
18148 getservbyport \
18150 do :
18151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18153 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18154 cat >>confdefs.h <<_ACEOF
18155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18156 _ACEOF
18159 done
18162 case $host_os in
18163 darwin*|macosx*) ;;
18164 *) ac_save_LIBS=$LIBS
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18166 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18167 if ${ac_cv_search_clock_gettime+:} false; then :
18168 $as_echo_n "(cached) " >&6
18169 else
18170 ac_func_search_save_LIBS=$LIBS
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 #ifdef __cplusplus
18178 extern "C"
18179 #endif
18180 char clock_gettime ();
18182 main ()
18184 return clock_gettime ();
18186 return 0;
18188 _ACEOF
18189 for ac_lib in '' rt; do
18190 if test -z "$ac_lib"; then
18191 ac_res="none required"
18192 else
18193 ac_res=-l$ac_lib
18194 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18196 if ac_fn_c_try_link "$LINENO"; then :
18197 ac_cv_search_clock_gettime=$ac_res
18199 rm -f core conftest.err conftest.$ac_objext \
18200 conftest$ac_exeext
18201 if ${ac_cv_search_clock_gettime+:} false; then :
18202 break
18204 done
18205 if ${ac_cv_search_clock_gettime+:} false; then :
18207 else
18208 ac_cv_search_clock_gettime=no
18210 rm conftest.$ac_ext
18211 LIBS=$ac_func_search_save_LIBS
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18214 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18215 ac_res=$ac_cv_search_clock_gettime
18216 if test "$ac_res" != no; then :
18217 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18219 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18221 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18225 LIBS=$ac_save_LIBS
18227 esac
18229 if test "x$with_ldap" != "xno"
18230 then
18231 if ${LDAP_CFLAGS:+false} :; then :
18232 if ${PKG_CONFIG+:} false; then :
18233 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18237 if ${LDAP_LIBS:+false} :; then :
18238 if ${PKG_CONFIG+:} false; then :
18239 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18243 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18244 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18245 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18246 ac_save_CPPFLAGS=$CPPFLAGS
18247 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18248 for ac_header in ldap.h lber.h
18249 do :
18250 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18251 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18252 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18253 cat >>confdefs.h <<_ACEOF
18254 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18255 _ACEOF
18259 done
18261 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18262 then
18263 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18265 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18267 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18268 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18269 $as_echo_n "(cached) " >&6
18270 else
18271 ac_check_lib_save_LIBS=$LIBS
18272 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18276 /* Override any GCC internal prototype to avoid an error.
18277 Use char because int might match the return type of a GCC
18278 builtin and then its argument prototype would still apply. */
18279 #ifdef __cplusplus
18280 extern "C"
18281 #endif
18282 char ldap_initialize ();
18284 main ()
18286 return ldap_initialize ();
18288 return 0;
18290 _ACEOF
18291 if ac_fn_c_try_link "$LINENO"; then :
18292 ac_cv_lib_ldap_r_ldap_initialize=yes
18293 else
18294 ac_cv_lib_ldap_r_ldap_initialize=no
18296 rm -f core conftest.err conftest.$ac_objext \
18297 conftest$ac_exeext conftest.$ac_ext
18298 LIBS=$ac_check_lib_save_LIBS
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18301 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18302 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18304 $as_echo_n "checking for ber_init in -llber... " >&6; }
18305 if ${ac_cv_lib_lber_ber_init+:} false; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18308 ac_check_lib_save_LIBS=$LIBS
18309 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18311 /* end confdefs.h. */
18313 /* Override any GCC internal prototype to avoid an error.
18314 Use char because int might match the return type of a GCC
18315 builtin and then its argument prototype would still apply. */
18316 #ifdef __cplusplus
18317 extern "C"
18318 #endif
18319 char ber_init ();
18321 main ()
18323 return ber_init ();
18325 return 0;
18327 _ACEOF
18328 if ac_fn_c_try_link "$LINENO"; then :
18329 ac_cv_lib_lber_ber_init=yes
18330 else
18331 ac_cv_lib_lber_ber_init=no
18333 rm -f core conftest.err conftest.$ac_objext \
18334 conftest$ac_exeext conftest.$ac_ext
18335 LIBS=$ac_check_lib_save_LIBS
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18338 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18339 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18341 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18343 else
18344 LDAP_LIBS=""
18347 else
18348 LDAP_LIBS=""
18351 else
18352 LDAP_LIBS=""
18355 ac_wine_check_funcs_save_LIBS="$LIBS"
18356 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18357 for ac_func in \
18358 ldap_count_references \
18359 ldap_first_reference \
18360 ldap_next_reference \
18361 ldap_parse_reference \
18362 ldap_parse_sort_control \
18363 ldap_parse_sortresponse_control \
18364 ldap_parse_vlv_control \
18365 ldap_parse_vlvresponse_control
18366 do :
18367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18370 cat >>confdefs.h <<_ACEOF
18371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18372 _ACEOF
18375 done
18377 LIBS="$ac_wine_check_funcs_save_LIBS"
18378 else
18379 LDAP_LIBS=""
18381 CPPFLAGS=$ac_save_CPPFLAGS
18384 if test "x$LDAP_LIBS" = "x"; then :
18385 case "x$with_ldap" in
18386 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18387 xno) ;;
18388 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18389 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18390 esac
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18395 $as_echo_n "checking for sched_setaffinity... " >&6; }
18396 if ${wine_cv_have_sched_setaffinity+:} false; then :
18397 $as_echo_n "(cached) " >&6
18398 else
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18401 #define _GNU_SOURCE
18402 #include <sched.h>
18404 main ()
18406 sched_setaffinity(0, 0, 0);
18408 return 0;
18410 _ACEOF
18411 if ac_fn_c_try_link "$LINENO"; then :
18412 wine_cv_have_sched_setaffinity=yes
18413 else
18414 wine_cv_have_sched_setaffinity=no
18416 rm -f core conftest.err conftest.$ac_objext \
18417 conftest$ac_exeext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18420 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18421 if test "$wine_cv_have_sched_setaffinity" = "yes"
18422 then
18424 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18429 $as_echo_n "checking for fallocate... " >&6; }
18430 if ${wine_cv_have_fallocate+:} false; then :
18431 $as_echo_n "(cached) " >&6
18432 else
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #define _GNU_SOURCE
18436 #include <fcntl.h>
18438 main ()
18440 fallocate(-1, 0, 0, 0);
18442 return 0;
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 wine_cv_have_fallocate=yes
18447 else
18448 wine_cv_have_fallocate=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18454 $as_echo "$wine_cv_have_fallocate" >&6; }
18455 if test "$wine_cv_have_fallocate" = "yes"
18456 then
18458 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18464 $as_echo_n "checking for inline... " >&6; }
18465 if ${ac_cv_c_inline+:} false; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468 ac_cv_c_inline=no
18469 for ac_kw in inline __inline__ __inline; do
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18472 #ifndef __cplusplus
18473 typedef int foo_t;
18474 static $ac_kw foo_t static_foo () {return 0; }
18475 $ac_kw foo_t foo () {return 0; }
18476 #endif
18478 _ACEOF
18479 if ac_fn_c_try_compile "$LINENO"; then :
18480 ac_cv_c_inline=$ac_kw
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 test "$ac_cv_c_inline" != no && break
18484 done
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18488 $as_echo "$ac_cv_c_inline" >&6; }
18490 case $ac_cv_c_inline in
18491 inline | yes) ;;
18493 case $ac_cv_c_inline in
18494 no) ac_val=;;
18495 *) ac_val=$ac_cv_c_inline;;
18496 esac
18497 cat >>confdefs.h <<_ACEOF
18498 #ifndef __cplusplus
18499 #define inline $ac_val
18500 #endif
18501 _ACEOF
18503 esac
18505 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18506 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_FSBLKCNT_T 1
18510 _ACEOF
18514 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18515 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define HAVE_FSFILCNT_T 1
18519 _ACEOF
18524 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18525 #include <signal.h>
18527 if test "x$ac_cv_type_sigset_t" = xyes; then :
18529 cat >>confdefs.h <<_ACEOF
18530 #define HAVE_SIGSET_T 1
18531 _ACEOF
18536 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18538 if test "x$ac_cv_type_request_sense" = xyes; then :
18540 cat >>confdefs.h <<_ACEOF
18541 #define HAVE_REQUEST_SENSE 1
18542 _ACEOF
18548 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18549 #ifdef HAVE_SYS_SOCKET_H
18550 #include <sys/socket.h>
18551 #endif
18552 #ifdef HAVE_SYS_SOCKETVAR_H
18553 #include <sys/socketvar.h>
18554 #endif
18555 #ifdef HAVE_NET_ROUTE_H
18556 #include <net/route.h>
18557 #endif
18558 #ifdef HAVE_NETINET_IN_H
18559 #include <netinet/in.h>
18560 #endif
18561 #ifdef HAVE_NETINET_IN_SYSTM_H
18562 #include <netinet/in_systm.h>
18563 #endif
18564 #ifdef HAVE_NETINET_IP_H
18565 #include <netinet/ip.h>
18566 #endif
18567 #ifdef HAVE_NETINET_IN_PCB_H
18568 #include <netinet/in_pcb.h>
18569 #endif
18571 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18573 cat >>confdefs.h <<_ACEOF
18574 #define HAVE_STRUCT_XINPGEN 1
18575 _ACEOF
18581 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18582 #include <linux/input.h>
18583 #endif
18585 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18587 cat >>confdefs.h <<_ACEOF
18588 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18589 _ACEOF
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18596 $as_echo_n "checking for if_nameindex... " >&6; }
18597 if ${wine_cv_have_if_nameindex+:} false; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18602 #ifdef HAVE_SYS_TYPES_H
18603 #include <sys/types.h>
18604 #endif
18605 #ifdef HAVE_SYS_SOCKET_H
18606 #include <sys/socket.h>
18607 #endif
18608 #ifdef HAVE_NET_IF_H
18609 # include <net/if.h>
18610 #endif
18612 main ()
18614 struct if_nameindex *p = if_nameindex(); return p->if_index;
18616 return 0;
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"; then :
18620 wine_cv_have_if_nameindex=yes
18621 else
18622 wine_cv_have_if_nameindex=no
18624 rm -f core conftest.err conftest.$ac_objext \
18625 conftest$ac_exeext conftest.$ac_ext
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18628 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18629 if test "$wine_cv_have_if_nameindex" = "yes"
18630 then
18632 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18637 $as_echo_n "checking for sigaddset... " >&6; }
18638 if ${wine_cv_have_sigaddset+:} false; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 #include <signal.h>
18645 main ()
18647 sigset_t set; sigaddset(&set,SIGTERM);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_c_try_link "$LINENO"; then :
18653 wine_cv_have_sigaddset=yes
18654 else
18655 wine_cv_have_sigaddset=no
18657 rm -f core conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18661 $as_echo "$wine_cv_have_sigaddset" >&6; }
18662 if test "$wine_cv_have_sigaddset" = "yes"
18663 then
18665 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18671 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18672 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <netdb.h>
18679 main ()
18682 char *name=0;
18683 struct hostent he;
18684 struct hostent *result;
18685 char *buf=0;
18686 int bufsize=0;
18687 int errnr;
18688 char *addr=0;
18689 int addrlen=0;
18690 int addrtype=0;
18691 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18692 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18695 return 0;
18697 _ACEOF
18698 if ac_fn_c_try_link "$LINENO"; then :
18699 wine_cv_linux_gethostbyname_r_6=yes
18700 else
18701 wine_cv_linux_gethostbyname_r_6=no
18704 rm -f core conftest.err conftest.$ac_objext \
18705 conftest$ac_exeext conftest.$ac_ext
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18709 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18710 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18711 then
18713 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18717 if test "$ac_cv_header_linux_joystick_h" = "yes"
18718 then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18720 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18721 if ${wine_cv_linux_joystick_22_api+:} false; then :
18722 $as_echo_n "(cached) " >&6
18723 else
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18727 #include <sys/ioctl.h>
18728 #include <sys/types.h>
18729 #include <linux/joystick.h>
18731 struct js_event blub;
18732 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18733 #error "no 2.2 header"
18734 #endif
18737 main ()
18739 /*empty*/
18741 return 0;
18743 _ACEOF
18744 if ac_fn_c_try_compile "$LINENO"; then :
18745 wine_cv_linux_joystick_22_api=yes
18746 else
18747 wine_cv_linux_joystick_22_api=no
18749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18753 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18754 if test "$wine_cv_linux_joystick_22_api" = "yes"
18755 then
18757 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18763 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18764 #ifdef HAVE_SYS_PARAM_H
18765 # include <sys/param.h>
18766 #endif
18767 #ifdef HAVE_SYS_MOUNT_H
18768 # include <sys/mount.h>
18769 #endif
18770 #ifdef HAVE_SYS_VFS_H
18771 # include <sys/vfs.h>
18772 #endif
18773 #ifdef HAVE_SYS_STATFS_H
18774 # include <sys/statfs.h>
18775 #endif
18777 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_STRUCT_STATFS_F_BFREE 1
18781 _ACEOF
18785 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18786 #ifdef HAVE_SYS_PARAM_H
18787 # include <sys/param.h>
18788 #endif
18789 #ifdef HAVE_SYS_MOUNT_H
18790 # include <sys/mount.h>
18791 #endif
18792 #ifdef HAVE_SYS_VFS_H
18793 # include <sys/vfs.h>
18794 #endif
18795 #ifdef HAVE_SYS_STATFS_H
18796 # include <sys/statfs.h>
18797 #endif
18799 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18803 _ACEOF
18807 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18808 #ifdef HAVE_SYS_PARAM_H
18809 # include <sys/param.h>
18810 #endif
18811 #ifdef HAVE_SYS_MOUNT_H
18812 # include <sys/mount.h>
18813 #endif
18814 #ifdef HAVE_SYS_VFS_H
18815 # include <sys/vfs.h>
18816 #endif
18817 #ifdef HAVE_SYS_STATFS_H
18818 # include <sys/statfs.h>
18819 #endif
18821 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18825 _ACEOF
18829 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18830 #ifdef HAVE_SYS_PARAM_H
18831 # include <sys/param.h>
18832 #endif
18833 #ifdef HAVE_SYS_MOUNT_H
18834 # include <sys/mount.h>
18835 #endif
18836 #ifdef HAVE_SYS_VFS_H
18837 # include <sys/vfs.h>
18838 #endif
18839 #ifdef HAVE_SYS_STATFS_H
18840 # include <sys/statfs.h>
18841 #endif
18843 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_STATFS_F_FFREE 1
18847 _ACEOF
18851 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18852 #ifdef HAVE_SYS_PARAM_H
18853 # include <sys/param.h>
18854 #endif
18855 #ifdef HAVE_SYS_MOUNT_H
18856 # include <sys/mount.h>
18857 #endif
18858 #ifdef HAVE_SYS_VFS_H
18859 # include <sys/vfs.h>
18860 #endif
18861 #ifdef HAVE_SYS_STATFS_H
18862 # include <sys/statfs.h>
18863 #endif
18865 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18867 cat >>confdefs.h <<_ACEOF
18868 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18869 _ACEOF
18873 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18874 #ifdef HAVE_SYS_PARAM_H
18875 # include <sys/param.h>
18876 #endif
18877 #ifdef HAVE_SYS_MOUNT_H
18878 # include <sys/mount.h>
18879 #endif
18880 #ifdef HAVE_SYS_VFS_H
18881 # include <sys/vfs.h>
18882 #endif
18883 #ifdef HAVE_SYS_STATFS_H
18884 # include <sys/statfs.h>
18885 #endif
18887 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18891 _ACEOF
18897 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18898 #include <sys/statvfs.h>
18899 #endif
18901 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18905 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18912 #include <dirent.h>
18913 #endif
18915 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18919 _ACEOF
18925 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18926 #ifdef HAVE_SYS_SOCKET_H
18927 # include <sys/socket.h>
18928 #endif
18929 #ifdef HAVE_SYS_UN_H
18930 # include <sys/un.h>
18931 #endif
18933 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18937 _ACEOF
18941 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18942 #ifdef HAVE_SYS_SOCKET_H
18943 # include <sys/socket.h>
18944 #endif
18945 #ifdef HAVE_SYS_UN_H
18946 # include <sys/un.h>
18947 #endif
18949 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18953 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18958 #ifdef HAVE_SYS_SOCKET_H
18959 # include <sys/socket.h>
18960 #endif
18961 #ifdef HAVE_SYS_UN_H
18962 # include <sys/un.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18969 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18976 #ifdef HAVE_SCSI_SG_H
18977 #include <scsi/sg.h>
18978 #endif
18980 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_SCSIREQ_T_CMD 1
18984 _ACEOF
18988 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>
18989 #ifdef HAVE_SCSI_SG_H
18990 #include <scsi/sg.h>
18991 #endif
18993 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18997 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19005 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_SIGINFO_T_SI_FD 1
19009 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19016 #ifdef HAVE_SYS_MTIO_H
19017 #include <sys/mtio.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19029 #ifdef HAVE_SYS_MTIO_H
19030 #include <sys/mtio.h>
19031 #endif
19033 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19037 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19042 #ifdef HAVE_SYS_MTIO_H
19043 #include <sys/mtio.h>
19044 #endif
19046 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19050 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19057 #include <getopt.h>
19058 #endif
19060 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_OPTION_NAME 1
19064 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19071 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19080 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_STAT_ST_MTIM 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19089 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19093 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19098 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_STAT_ST_CTIM 1
19102 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19107 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_ATIM 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19174 _ACEOF
19180 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
19181 #include <sys/types.h>
19182 #endif
19183 #ifdef HAVE_NETINET_IN_H
19184 #include <netinet/in.h>
19185 #endif
19187 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19191 _ACEOF
19197 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19198 #include <sys/types.h>
19199 #endif
19200 #ifdef HAVE_NETINET_IN_H
19201 #include <netinet/in.h>
19202 #endif
19203 #ifdef HAVE_RESOLV_H
19204 #include <resolv.h>
19205 #endif
19207 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT___RES_STATE 1
19211 _ACEOF
19217 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
19218 #include <resolv.h>
19219 #endif
19221 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19225 _ACEOF
19231 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19232 #include <sys/types.h>
19233 #endif
19234 #ifdef HAVE_NETINET_IN_H
19235 # include <netinet/in.h>
19236 #endif
19237 #ifdef HAVE_ARPA_NAMESER_H
19238 # include <arpa/nameser.h>
19239 #endif
19241 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_NS_MSG__MSG_PTR 1
19245 _ACEOF
19251 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19252 #include <sys/types.h>
19253 #endif
19254 #ifdef HAVE_NETINET_IN_H
19255 #include <netinet/in.h>
19256 #endif
19257 #ifdef HAVE_NETINET_IP_H
19258 #include <netinet/ip.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IP_ICMP_H
19261 #include <netinet/ip_icmp.h>
19262 #endif
19263 #ifdef HAVE_NETINET_ICMP_VAR_H
19264 #include <netinet/icmp_var.h>
19265 #endif
19267 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19271 _ACEOF
19277 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19278 #include <sys/types.h>
19279 #endif
19280 #ifdef HAVE_ALIAS_H
19281 #include <alias.h>
19282 #endif
19283 #ifdef HAVE_SYS_SOCKET_H
19284 #include <sys/socket.h>
19285 #endif
19286 #ifdef HAVE_SYS_SOCKETVAR_H
19287 #include <sys/socketvar.h>
19288 #endif
19289 #ifdef HAVE_SYS_TIMEOUT_H
19290 #include <sys/timeout.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IN_H
19293 #include <netinet/in.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IN_SYSTM_H
19296 #include <netinet/in_systm.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IP_H
19299 #include <netinet/ip.h>
19300 #endif
19301 #ifdef HAVE_NETINET_IP_VAR_H
19302 #include <netinet/ip_var.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IP_ICMP_H
19305 #include <netinet/ip_icmp.h>
19306 #endif
19307 #ifdef HAVE_NETINET_ICMP_VAR_H
19308 #include <netinet/icmp_var.h>
19309 #endif
19311 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19313 cat >>confdefs.h <<_ACEOF
19314 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19315 _ACEOF
19321 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19322 #include <sys/types.h>
19323 #endif
19324 #ifdef HAVE_SYS_SOCKETVAR_H
19325 #include <sys/socketvar.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IN_H
19328 #include <netinet/in.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_VAR_H
19331 #include <netinet/ip_var.h>
19332 #endif
19334 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19336 cat >>confdefs.h <<_ACEOF
19337 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19338 _ACEOF
19344 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
19345 #include <netinet/ip_var.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19352 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19359 #include <sys/types.h>
19360 #endif
19361 #ifdef HAVE_SYS_SOCKETVAR_H
19362 #include <sys/socketvar.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IN_H
19365 #include <netinet/in.h>
19366 #endif
19367 #ifdef HAVE_NETINET_TCP_H
19368 #include <netinet/tcp.h>
19369 #endif
19370 #ifdef HAVE_NETINET_TCP_VAR_H
19371 #include <netinet/tcp_var.h>
19372 #endif
19374 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19376 cat >>confdefs.h <<_ACEOF
19377 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19378 _ACEOF
19384 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
19385 #include <netinet/tcp_var.h>
19386 #endif
19388 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19390 cat >>confdefs.h <<_ACEOF
19391 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19392 _ACEOF
19398 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19399 #include <sys/types.h>
19400 #endif
19401 #ifdef HAVE_NETINET_IN_H
19402 #include <netinet/in.h>
19403 #endif
19404 #ifdef HAVE_NETINET_IP_VAR_H
19405 #include <netinet/ip_var.h>
19406 #endif
19407 #ifdef HAVE_NETINET_UDP_H
19408 #include <netinet/udp.h>
19409 #endif
19410 #ifdef HAVE_NETINET_UDP_VAR_H
19411 #include <netinet/udp_var.h>
19412 #endif
19414 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19416 cat >>confdefs.h <<_ACEOF
19417 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19418 _ACEOF
19424 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19425 #include <sys/types.h>
19426 #endif
19427 #ifdef HAVE_NET_IF_H
19428 # include <net/if.h>
19429 #endif
19431 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19433 cat >>confdefs.h <<_ACEOF
19434 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19435 _ACEOF
19441 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19442 # include <sys/sysinfo.h>
19443 #endif
19445 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19447 cat >>confdefs.h <<_ACEOF
19448 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19449 _ACEOF
19453 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19454 # include <sys/sysinfo.h>
19455 #endif
19457 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19459 cat >>confdefs.h <<_ACEOF
19460 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19461 _ACEOF
19467 ac_save_LIBS="$LIBS"
19468 LIBS="$LIBS -lm"
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19470 $as_echo_n "checking for isfinite... " >&6; }
19471 if ${ac_cv_have_isfinite+:} false; then :
19472 $as_echo_n "(cached) " >&6
19473 else
19474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h. */
19476 #define _GNU_SOURCE
19477 #include <math.h>
19479 main ()
19481 float f = 0.0; return isfinite(f)
19483 return 0;
19485 _ACEOF
19486 if ac_fn_c_try_link "$LINENO"; then :
19487 ac_cv_have_isfinite="yes"
19488 else
19489 ac_cv_have_isfinite="no"
19491 rm -f core conftest.err conftest.$ac_objext \
19492 conftest$ac_exeext conftest.$ac_ext
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19495 $as_echo "$ac_cv_have_isfinite" >&6; }
19496 if test "$ac_cv_have_isfinite" = "yes"
19497 then
19499 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19504 $as_echo_n "checking for isinf... " >&6; }
19505 if ${ac_cv_have_isinf+:} false; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 #include <math.h>
19512 main ()
19514 float f = 0.0; return isinf(f)
19516 return 0;
19518 _ACEOF
19519 if ac_fn_c_try_link "$LINENO"; then :
19520 ac_cv_have_isinf="yes"
19521 else
19522 ac_cv_have_isinf="no"
19524 rm -f core conftest.err conftest.$ac_objext \
19525 conftest$ac_exeext conftest.$ac_ext
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19528 $as_echo "$ac_cv_have_isinf" >&6; }
19529 if test "$ac_cv_have_isinf" = "yes"
19530 then
19532 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19537 $as_echo_n "checking for isnan... " >&6; }
19538 if ${ac_cv_have_isnan+:} false; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 #include <math.h>
19545 main ()
19547 float f = 0.0; return isnan(f)
19549 return 0;
19551 _ACEOF
19552 if ac_fn_c_try_link "$LINENO"; then :
19553 ac_cv_have_isnan="yes"
19554 else
19555 ac_cv_have_isnan="no"
19557 rm -f core conftest.err conftest.$ac_objext \
19558 conftest$ac_exeext conftest.$ac_ext
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19561 $as_echo "$ac_cv_have_isnan" >&6; }
19562 if test "$ac_cv_have_isnan" = "yes"
19563 then
19565 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19569 for ac_func in \
19570 acosh \
19571 acoshf \
19572 asinh \
19573 asinhf \
19574 atanh \
19575 atanhf \
19576 cbrt \
19577 cbrtf \
19578 erf \
19579 erfc \
19580 erfcf \
19581 erff \
19582 exp2 \
19583 exp2f \
19584 expm1 \
19585 expm1f \
19586 fma \
19587 fmaf \
19588 ilogb \
19589 ilogbf \
19590 j0 \
19591 j1 \
19592 jn \
19593 lgamma \
19594 lgammaf \
19595 llrint \
19596 llrintf \
19597 llround \
19598 llroundf \
19599 log1p \
19600 log1pf \
19601 log2 \
19602 log2f \
19603 lrint \
19604 lrintf \
19605 lround \
19606 lroundf \
19607 nearbyint \
19608 nearbyintf \
19609 nexttoward \
19610 nexttowardf \
19611 remainder \
19612 remainderf \
19613 remquo \
19614 remquof \
19615 rint \
19616 rintf \
19617 round \
19618 roundf \
19619 tgamma \
19620 tgammaf \
19621 trunc \
19622 truncf \
19623 y0 \
19624 y1 \
19627 do :
19628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19630 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19631 cat >>confdefs.h <<_ACEOF
19632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19633 _ACEOF
19636 done
19638 LIBS="$ac_save_LIBS"
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19641 $as_echo_n "checking for __builtin_popcount... " >&6; }
19642 if ${ac_cv_have___builtin_popcount+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19649 main ()
19651 return __builtin_popcount(1)
19653 return 0;
19655 _ACEOF
19656 if ac_fn_c_try_link "$LINENO"; then :
19657 ac_cv_have___builtin_popcount="yes"
19658 else
19659 ac_cv_have___builtin_popcount="no"
19661 rm -f core conftest.err conftest.$ac_objext \
19662 conftest$ac_exeext conftest.$ac_ext
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19665 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19666 if test "$ac_cv_have___builtin_popcount" = "yes"
19667 then
19669 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19674 $as_echo_n "checking for __clear_cache... " >&6; }
19675 if ${ac_cv_have___clear_cache+:} false; then :
19676 $as_echo_n "(cached) " >&6
19677 else
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19682 main ()
19684 __clear_cache((void*)0, (void*)0); return 0;
19686 return 0;
19688 _ACEOF
19689 if ac_fn_c_try_link "$LINENO"; then :
19690 ac_cv_have___clear_cache="yes"
19691 else
19692 ac_cv_have___clear_cache="no"
19694 rm -f core conftest.err conftest.$ac_objext \
19695 conftest$ac_exeext conftest.$ac_ext
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19698 $as_echo "$ac_cv_have___clear_cache" >&6; }
19699 if test "$ac_cv_have___clear_cache" = "yes"
19700 then
19702 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19707 case $host_cpu in
19708 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19709 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19710 if ${ac_cv_cpp_def___i386__+:} false; then :
19711 $as_echo_n "(cached) " >&6
19712 else
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #ifndef __i386__
19717 #endif
19718 _ACEOF
19719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19720 $EGREP "yes" >/dev/null 2>&1; then :
19721 ac_cv_cpp_def___i386__=yes
19722 else
19723 ac_cv_cpp_def___i386__=no
19725 rm -f conftest*
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19729 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19730 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19731 CFLAGS="$CFLAGS -D__i386__"
19732 LINTFLAGS="$LINTFLAGS -D__i386__"
19733 fi ;;
19734 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19735 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19736 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19737 $as_echo_n "(cached) " >&6
19738 else
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19741 #ifndef __x86_64__
19743 #endif
19744 _ACEOF
19745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19746 $EGREP "yes" >/dev/null 2>&1; then :
19747 ac_cv_cpp_def___x86_64__=yes
19748 else
19749 ac_cv_cpp_def___x86_64__=no
19751 rm -f conftest*
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19755 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19756 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19757 CFLAGS="$CFLAGS -D__x86_64__"
19758 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19759 fi ;;
19760 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19761 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19762 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19763 $as_echo_n "(cached) " >&6
19764 else
19765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19767 #ifndef __sparc64__
19769 #endif
19770 _ACEOF
19771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19772 $EGREP "yes" >/dev/null 2>&1; then :
19773 ac_cv_cpp_def___sparc64__=yes
19774 else
19775 ac_cv_cpp_def___sparc64__=no
19777 rm -f conftest*
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19781 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19782 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19783 CFLAGS="$CFLAGS -D__sparc64__"
19784 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19785 fi ;;
19786 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19787 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19788 if ${ac_cv_cpp_def___sparc__+:} false; then :
19789 $as_echo_n "(cached) " >&6
19790 else
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19793 #ifndef __sparc__
19795 #endif
19796 _ACEOF
19797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19798 $EGREP "yes" >/dev/null 2>&1; then :
19799 ac_cv_cpp_def___sparc__=yes
19800 else
19801 ac_cv_cpp_def___sparc__=no
19803 rm -f conftest*
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19807 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19808 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19809 CFLAGS="$CFLAGS -D__sparc__"
19810 LINTFLAGS="$LINTFLAGS -D__sparc__"
19811 fi ;;
19812 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19813 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19814 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #ifndef __powerpc64__
19821 #endif
19822 _ACEOF
19823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19824 $EGREP "yes" >/dev/null 2>&1; then :
19825 ac_cv_cpp_def___powerpc64__=yes
19826 else
19827 ac_cv_cpp_def___powerpc64__=no
19829 rm -f conftest*
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19833 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19834 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19835 CFLAGS="$CFLAGS -D__powerpc64__"
19836 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19837 fi ;;
19838 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19839 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19840 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19841 $as_echo_n "(cached) " >&6
19842 else
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #ifndef __powerpc__
19847 #endif
19848 _ACEOF
19849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19850 $EGREP "yes" >/dev/null 2>&1; then :
19851 ac_cv_cpp_def___powerpc__=yes
19852 else
19853 ac_cv_cpp_def___powerpc__=no
19855 rm -f conftest*
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19859 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19860 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19861 CFLAGS="$CFLAGS -D__powerpc__"
19862 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19863 fi ;;
19864 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19865 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19866 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19867 $as_echo_n "(cached) " >&6
19868 else
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19871 #ifndef __aarch64__
19873 #endif
19874 _ACEOF
19875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19876 $EGREP "yes" >/dev/null 2>&1; then :
19877 ac_cv_cpp_def___aarch64__=yes
19878 else
19879 ac_cv_cpp_def___aarch64__=no
19881 rm -f conftest*
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19885 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19886 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19887 CFLAGS="$CFLAGS -D__aarch64__"
19888 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19889 fi ;;
19890 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19891 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19892 if ${ac_cv_cpp_def___arm__+:} false; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19897 #ifndef __arm__
19899 #endif
19900 _ACEOF
19901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19902 $EGREP "yes" >/dev/null 2>&1; then :
19903 ac_cv_cpp_def___arm__=yes
19904 else
19905 ac_cv_cpp_def___arm__=no
19907 rm -f conftest*
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19911 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19912 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19913 CFLAGS="$CFLAGS -D__arm__"
19914 LINTFLAGS="$LINTFLAGS -D__arm__"
19915 fi ;;
19916 esac
19918 case $host_vendor in
19919 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19920 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19921 if ${ac_cv_cpp_def___sun__+:} false; then :
19922 $as_echo_n "(cached) " >&6
19923 else
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #ifndef __sun__
19928 #endif
19929 _ACEOF
19930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19931 $EGREP "yes" >/dev/null 2>&1; then :
19932 ac_cv_cpp_def___sun__=yes
19933 else
19934 ac_cv_cpp_def___sun__=no
19936 rm -f conftest*
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19940 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19941 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19942 CFLAGS="$CFLAGS -D__sun__"
19943 LINTFLAGS="$LINTFLAGS -D__sun__"
19944 fi ;;
19945 esac
19951 ac_config_commands="$ac_config_commands include/stamp-h"
19953 $as_echo_n "creating Makefile rules..." >&6
19955 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19956 OPENGL_LIBS = $OPENGL_LIBS
19957 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19958 IOKIT_LIBS = $IOKIT_LIBS
19959 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19960 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19961 CORESERVICES_LIBS = $CORESERVICES_LIBS
19962 APPKIT_LIBS = $APPKIT_LIBS
19963 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19964 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19965 SECURITY_LIBS = $SECURITY_LIBS
19966 COREAUDIO_LIBS = $COREAUDIO_LIBS
19967 OPENAL_LIBS = $OPENAL_LIBS
19968 OPENCL_LIBS = $OPENCL_LIBS
19969 QUICKTIME_LIBS = $QUICKTIME_LIBS
19970 CARBON_LIBS = $CARBON_LIBS
19971 METAL_LIBS = $METAL_LIBS
19972 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19973 PTHREAD_LIBS = $PTHREAD_LIBS
19974 X_CFLAGS = $X_CFLAGS
19975 X_PRE_LIBS = $X_PRE_LIBS
19976 X_LIBS = $X_LIBS
19977 X_EXTRA_LIBS = $X_EXTRA_LIBS
19978 PCAP_LIBS = $PCAP_LIBS
19979 XML2_CFLAGS = $XML2_CFLAGS
19980 XML2_LIBS = $XML2_LIBS
19981 XSLT_CFLAGS = $XSLT_CFLAGS
19982 XSLT_LIBS = $XSLT_LIBS
19983 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19984 INOTIFY_LIBS = $INOTIFY_LIBS
19985 DBUS_CFLAGS = $DBUS_CFLAGS
19986 DBUS_LIBS = $DBUS_LIBS
19987 HAL_CFLAGS = $HAL_CFLAGS
19988 HAL_LIBS = $HAL_LIBS
19989 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19990 GNUTLS_LIBS = $GNUTLS_LIBS
19991 SANE_CFLAGS = $SANE_CFLAGS
19992 SANE_LIBS = $SANE_LIBS
19993 USB_CFLAGS = $USB_CFLAGS
19994 USB_LIBS = $USB_LIBS
19995 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19996 GPHOTO2_LIBS = $GPHOTO2_LIBS
19997 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19998 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19999 RESOLV_LIBS = $RESOLV_LIBS
20000 LCMS2_CFLAGS = $LCMS2_CFLAGS
20001 LCMS2_LIBS = $LCMS2_LIBS
20002 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20003 FREETYPE_LIBS = $FREETYPE_LIBS
20004 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20005 PULSE_CFLAGS = $PULSE_CFLAGS
20006 PULSE_LIBS = $PULSE_LIBS
20007 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20008 GSTREAMER_LIBS = $GSTREAMER_LIBS
20009 ALSA_LIBS = $ALSA_LIBS
20010 OSS4_CFLAGS = $OSS4_CFLAGS
20011 OSS4_LIBS = $OSS4_LIBS
20012 UDEV_CFLAGS = $UDEV_CFLAGS
20013 UDEV_LIBS = $UDEV_LIBS
20014 UNWIND_CFLAGS = $UNWIND_CFLAGS
20015 UNWIND_LIBS = $UNWIND_LIBS
20016 SDL2_CFLAGS = $SDL2_CFLAGS
20017 SDL2_LIBS = $SDL2_LIBS
20018 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20019 FAUDIO_LIBS = $FAUDIO_LIBS
20020 CAPI20_CFLAGS = $CAPI20_CFLAGS
20021 CAPI20_LIBS = $CAPI20_LIBS
20022 CUPS_CFLAGS = $CUPS_CFLAGS
20023 CUPS_LIBS = $CUPS_LIBS
20024 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20025 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20026 KRB5_CFLAGS = $KRB5_CFLAGS
20027 KRB5_LIBS = $KRB5_LIBS
20028 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20029 GSSAPI_LIBS = $GSSAPI_LIBS
20030 JPEG_CFLAGS = $JPEG_CFLAGS
20031 JPEG_LIBS = $JPEG_LIBS
20032 PNG_CFLAGS = $PNG_CFLAGS
20033 PNG_LIBS = $PNG_LIBS
20034 TIFF_CFLAGS = $TIFF_CFLAGS
20035 TIFF_LIBS = $TIFF_LIBS
20036 MPG123_CFLAGS = $MPG123_CFLAGS
20037 MPG123_LIBS = $MPG123_LIBS
20038 KSTAT_LIBS = $KSTAT_LIBS
20039 PROCSTAT_LIBS = $PROCSTAT_LIBS
20040 NETAPI_CFLAGS = $NETAPI_CFLAGS
20041 NETAPI_LIBS = $NETAPI_LIBS
20042 VKD3D_CFLAGS = $VKD3D_CFLAGS
20043 VKD3D_LIBS = $VKD3D_LIBS
20044 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20045 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20046 POLL_LIBS = $POLL_LIBS
20047 RT_LIBS = $RT_LIBS
20048 LDAP_CFLAGS = $LDAP_CFLAGS
20049 LDAP_LIBS = $LDAP_LIBS
20054 wine_fn_append_rule "
20055 # Rules automatically generated by configure
20057 .INIT: Makefile
20058 .MAKEFILEDEPS:
20059 all: Makefile
20060 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20061 @./config.status Make.tmp Makefile
20062 depend: \$(MAKEDEP)
20063 \$(MAKEDEP)
20064 dummy:
20065 .PHONY: depend dummy"
20067 ac_config_links="$ac_config_links wine:tools/winewrapper"
20068 wine_fn_config_symlink wine
20069 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20070 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20071 wine_fn_config_symlink wine64
20074 wine_fn_config_makefile dlls/acledit enable_acledit
20075 wine_fn_config_makefile dlls/aclui enable_aclui
20076 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20077 wine_fn_config_makefile dlls/activeds enable_activeds
20078 wine_fn_config_makefile dlls/activeds/tests enable_tests
20079 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20080 wine_fn_config_makefile dlls/adsiid enable_adsiid
20081 wine_fn_config_makefile dlls/adsldp enable_adsldp
20082 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20083 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20084 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20085 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20086 wine_fn_config_makefile dlls/advpack enable_advpack
20087 wine_fn_config_makefile dlls/advpack/tests enable_tests
20088 wine_fn_config_makefile dlls/amsi enable_amsi
20089 wine_fn_config_makefile dlls/amstream enable_amstream
20090 wine_fn_config_makefile dlls/amstream/tests enable_tests
20091 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20094 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20116 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20117 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20128 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20148 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20153 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20162 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20163 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20164 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20172 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20177 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20178 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20219 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20224 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20225 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20251 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20283 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20287 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20291 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20308 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20310 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20316 wine_fn_config_makefile dlls/apphelp enable_apphelp
20317 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20318 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20319 wine_fn_config_makefile dlls/atl enable_atl
20320 wine_fn_config_makefile dlls/atl/tests enable_tests
20321 wine_fn_config_makefile dlls/atl100 enable_atl100
20322 wine_fn_config_makefile dlls/atl100/tests enable_tests
20323 wine_fn_config_makefile dlls/atl110 enable_atl110
20324 wine_fn_config_makefile dlls/atl80 enable_atl80
20325 wine_fn_config_makefile dlls/atl80/tests enable_tests
20326 wine_fn_config_makefile dlls/atl90 enable_atl90
20327 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20328 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20329 wine_fn_config_makefile dlls/atmlib enable_atmlib
20330 wine_fn_config_makefile dlls/authz enable_authz
20331 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20332 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20333 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20334 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20335 wine_fn_config_makefile dlls/avrt enable_avrt
20336 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20337 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20338 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20339 wine_fn_config_makefile dlls/browseui enable_browseui
20340 wine_fn_config_makefile dlls/browseui/tests enable_tests
20341 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20342 wine_fn_config_makefile dlls/cabinet enable_cabinet
20343 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20344 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20345 wine_fn_config_makefile dlls/cards enable_cards
20346 wine_fn_config_makefile dlls/cdosys enable_cdosys
20347 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20348 wine_fn_config_makefile dlls/clusapi enable_clusapi
20349 wine_fn_config_makefile dlls/combase enable_combase
20350 wine_fn_config_makefile dlls/combase/tests enable_tests
20351 wine_fn_config_makefile dlls/comcat enable_comcat
20352 wine_fn_config_makefile dlls/comcat/tests enable_tests
20353 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20354 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20355 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20356 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20357 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20358 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20359 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20360 wine_fn_config_makefile dlls/compstui enable_compstui
20361 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20362 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20363 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20364 wine_fn_config_makefile dlls/connect enable_connect
20365 wine_fn_config_makefile dlls/credui enable_credui
20366 wine_fn_config_makefile dlls/credui/tests enable_tests
20367 wine_fn_config_makefile dlls/crtdll enable_crtdll
20368 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20369 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20370 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20371 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20372 wine_fn_config_makefile dlls/cryptext enable_cryptext
20373 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20374 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20375 wine_fn_config_makefile dlls/cryptui enable_cryptui
20376 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20377 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20378 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20379 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20380 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20381 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20382 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20383 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20384 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20385 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20386 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20387 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20388 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20389 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20390 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20391 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20392 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20394 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20395 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20396 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20397 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20398 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20399 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20400 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20401 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20402 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20403 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20404 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20405 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20406 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20407 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20408 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20409 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20410 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20411 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20412 wine_fn_config_makefile dlls/d3dim enable_d3dim
20413 wine_fn_config_makefile dlls/d3drm enable_d3drm
20414 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20415 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20416 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20417 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20418 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20419 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20420 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20421 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20422 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20423 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20424 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20425 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20426 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20427 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20428 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20429 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20430 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20431 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20432 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20433 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20434 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20435 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20436 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20437 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20438 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20439 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20440 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20441 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20442 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20443 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20444 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20445 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20446 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20447 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20448 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20449 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20450 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20451 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20452 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20453 wine_fn_config_makefile dlls/davclnt enable_davclnt
20454 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20455 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20456 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20457 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20458 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20459 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20460 wine_fn_config_makefile dlls/ddraw enable_ddraw
20461 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20462 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20463 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20464 wine_fn_config_makefile dlls/devenum enable_devenum
20465 wine_fn_config_makefile dlls/devenum/tests enable_tests
20466 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20467 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20468 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20469 wine_fn_config_makefile dlls/difxapi enable_difxapi
20470 wine_fn_config_makefile dlls/dinput enable_dinput
20471 wine_fn_config_makefile dlls/dinput/tests enable_tests
20472 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20473 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20474 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20475 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20476 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20477 wine_fn_config_makefile dlls/dispex enable_dispex
20478 wine_fn_config_makefile dlls/dispex/tests enable_tests
20479 wine_fn_config_makefile dlls/display.drv16 enable_win16
20480 wine_fn_config_makefile dlls/dmband enable_dmband
20481 wine_fn_config_makefile dlls/dmband/tests enable_tests
20482 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20483 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20484 wine_fn_config_makefile dlls/dmime enable_dmime
20485 wine_fn_config_makefile dlls/dmime/tests enable_tests
20486 wine_fn_config_makefile dlls/dmloader enable_dmloader
20487 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20488 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20489 wine_fn_config_makefile dlls/dmscript enable_dmscript
20490 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20491 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20492 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20493 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20494 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20495 wine_fn_config_makefile dlls/dmusic enable_dmusic
20496 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20497 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20498 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20499 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20500 wine_fn_config_makefile dlls/dplay enable_dplay
20501 wine_fn_config_makefile dlls/dplayx enable_dplayx
20502 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20503 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20504 wine_fn_config_makefile dlls/dpnet enable_dpnet
20505 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20506 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20507 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20508 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20509 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20510 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20511 wine_fn_config_makefile dlls/drmclien enable_drmclien
20512 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20513 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20514 wine_fn_config_makefile dlls/dsound enable_dsound
20515 wine_fn_config_makefile dlls/dsound/tests enable_tests
20516 wine_fn_config_makefile dlls/dsquery enable_dsquery
20517 wine_fn_config_makefile dlls/dssenh enable_dssenh
20518 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20519 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20520 wine_fn_config_makefile dlls/dswave enable_dswave
20521 wine_fn_config_makefile dlls/dswave/tests enable_tests
20522 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20523 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20524 wine_fn_config_makefile dlls/dwrite enable_dwrite
20525 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20526 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20527 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20528 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20529 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20530 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20531 wine_fn_config_makefile dlls/dxgi enable_dxgi
20532 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20533 wine_fn_config_makefile dlls/dxguid enable_dxguid
20534 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20535 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20536 wine_fn_config_makefile dlls/esent enable_esent
20537 wine_fn_config_makefile dlls/evr enable_evr
20538 wine_fn_config_makefile dlls/evr/tests enable_tests
20539 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20540 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20541 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20575 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20581 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
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20592 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20593 wine_fn_config_makefile dlls/faultrep enable_faultrep
20594 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20595 wine_fn_config_makefile dlls/feclient enable_feclient
20596 wine_fn_config_makefile dlls/fltlib enable_fltlib
20597 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20598 wine_fn_config_makefile dlls/fntcache enable_fntcache
20599 wine_fn_config_makefile dlls/fontsub enable_fontsub
20600 wine_fn_config_makefile dlls/fusion enable_fusion
20601 wine_fn_config_makefile dlls/fusion/tests enable_tests
20602 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20603 wine_fn_config_makefile dlls/gameux enable_gameux
20604 wine_fn_config_makefile dlls/gameux/tests enable_tests
20605 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20606 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20607 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20608 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20609 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20610 wine_fn_config_makefile dlls/glu32 enable_glu32
20611 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20612 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20613 wine_fn_config_makefile dlls/hal enable_hal
20614 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20615 wine_fn_config_makefile dlls/hid enable_hid
20616 wine_fn_config_makefile dlls/hid/tests enable_tests
20617 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20618 wine_fn_config_makefile dlls/hlink enable_hlink
20619 wine_fn_config_makefile dlls/hlink/tests enable_tests
20620 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20621 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20622 wine_fn_config_makefile dlls/http.sys enable_http_sys
20623 wine_fn_config_makefile dlls/httpapi enable_httpapi
20624 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20625 wine_fn_config_makefile dlls/iccvid enable_iccvid
20626 wine_fn_config_makefile dlls/icmp enable_icmp
20627 wine_fn_config_makefile dlls/ieframe enable_ieframe
20628 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20629 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20630 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20631 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20632 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20633 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20634 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20635 wine_fn_config_makefile dlls/imm32 enable_imm32
20636 wine_fn_config_makefile dlls/imm32/tests enable_tests
20637 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20638 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20639 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20640 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20641 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20642 wine_fn_config_makefile dlls/infosoft enable_infosoft
20643 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20644 wine_fn_config_makefile dlls/initpki enable_initpki
20645 wine_fn_config_makefile dlls/inkobj enable_inkobj
20646 wine_fn_config_makefile dlls/inseng enable_inseng
20647 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20648 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20649 wine_fn_config_makefile dlls/iprop enable_iprop
20650 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20651 wine_fn_config_makefile dlls/itircl enable_itircl
20652 wine_fn_config_makefile dlls/itss enable_itss
20653 wine_fn_config_makefile dlls/itss/tests enable_tests
20654 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20655 wine_fn_config_makefile dlls/jscript enable_jscript
20656 wine_fn_config_makefile dlls/jscript/tests enable_tests
20657 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20658 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20659 wine_fn_config_makefile dlls/kerberos enable_kerberos
20660 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20661 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20662 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20663 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20664 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20665 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20666 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20667 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20668 wine_fn_config_makefile dlls/ksuser enable_ksuser
20669 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20670 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20671 wine_fn_config_makefile dlls/loadperf enable_loadperf
20672 wine_fn_config_makefile dlls/localspl enable_localspl
20673 wine_fn_config_makefile dlls/localspl/tests enable_tests
20674 wine_fn_config_makefile dlls/localui enable_localui
20675 wine_fn_config_makefile dlls/localui/tests enable_tests
20676 wine_fn_config_makefile dlls/lz32 enable_lz32
20677 wine_fn_config_makefile dlls/lz32/tests enable_tests
20678 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20679 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20680 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20681 wine_fn_config_makefile dlls/mapistub enable_mapistub
20682 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20683 wine_fn_config_makefile dlls/mcicda enable_mcicda
20684 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20685 wine_fn_config_makefile dlls/mciseq enable_mciseq
20686 wine_fn_config_makefile dlls/mciwave enable_mciwave
20687 wine_fn_config_makefile dlls/mf enable_mf
20688 wine_fn_config_makefile dlls/mf/tests enable_tests
20689 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20690 wine_fn_config_makefile dlls/mferror enable_mferror
20691 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20692 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20693 wine_fn_config_makefile dlls/mfplat enable_mfplat
20694 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20695 wine_fn_config_makefile dlls/mfplay enable_mfplay
20696 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20697 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20698 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20699 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20700 wine_fn_config_makefile dlls/midimap enable_midimap
20701 wine_fn_config_makefile dlls/mlang enable_mlang
20702 wine_fn_config_makefile dlls/mlang/tests enable_tests
20703 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20704 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20705 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20706 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20707 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20708 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20709 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20710 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20711 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20712 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20713 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20714 wine_fn_config_makefile dlls/mpr enable_mpr
20715 wine_fn_config_makefile dlls/mpr/tests enable_tests
20716 wine_fn_config_makefile dlls/mprapi enable_mprapi
20717 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20718 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20719 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20720 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20721 wine_fn_config_makefile dlls/msado15 enable_msado15
20722 wine_fn_config_makefile dlls/msado15/tests enable_tests
20723 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20724 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20725 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20726 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20727 wine_fn_config_makefile dlls/mscms enable_mscms
20728 wine_fn_config_makefile dlls/mscms/tests enable_tests
20729 wine_fn_config_makefile dlls/mscoree enable_mscoree
20730 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20731 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20732 wine_fn_config_makefile dlls/msctf enable_msctf
20733 wine_fn_config_makefile dlls/msctf/tests enable_tests
20734 wine_fn_config_makefile dlls/msctfp enable_msctfp
20735 wine_fn_config_makefile dlls/msdaps enable_msdaps
20736 wine_fn_config_makefile dlls/msdelta enable_msdelta
20737 wine_fn_config_makefile dlls/msdmo enable_msdmo
20738 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20739 wine_fn_config_makefile dlls/msdrm enable_msdrm
20740 wine_fn_config_makefile dlls/msftedit enable_msftedit
20741 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20742 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20743 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20744 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20745 wine_fn_config_makefile dlls/mshtml enable_mshtml
20746 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20747 wine_fn_config_makefile dlls/msi enable_msi
20748 wine_fn_config_makefile dlls/msi/tests enable_tests
20749 wine_fn_config_makefile dlls/msident enable_msident
20750 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20751 wine_fn_config_makefile dlls/msimsg enable_msimsg
20752 wine_fn_config_makefile dlls/msimtf enable_msimtf
20753 wine_fn_config_makefile dlls/msisip enable_msisip
20754 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20755 wine_fn_config_makefile dlls/msls31 enable_msls31
20756 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20757 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20758 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20759 wine_fn_config_makefile dlls/msports enable_msports
20760 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20761 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20762 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20763 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20764 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20765 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20766 wine_fn_config_makefile dlls/mstask enable_mstask
20767 wine_fn_config_makefile dlls/mstask/tests enable_tests
20768 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20769 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20771 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20772 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20773 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20775 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20777 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20779 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20780 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20782 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20783 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20785 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20786 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20787 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20788 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20790 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20791 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20792 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20794 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20796 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20797 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20798 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20799 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20800 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20802 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20803 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20804 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20805 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20806 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20807 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20808 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20809 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20810 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20811 wine_fn_config_makefile dlls/mswsock enable_mswsock
20812 wine_fn_config_makefile dlls/msxml enable_msxml
20813 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20814 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20815 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20816 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20817 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20818 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20819 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20820 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20821 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20822 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20823 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20824 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20825 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20826 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20827 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20828 wine_fn_config_makefile dlls/netprofm enable_netprofm
20829 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20830 wine_fn_config_makefile dlls/newdev enable_newdev
20831 wine_fn_config_makefile dlls/ninput enable_ninput
20832 wine_fn_config_makefile dlls/ninput/tests enable_tests
20833 wine_fn_config_makefile dlls/normaliz enable_normaliz
20834 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20835 wine_fn_config_makefile dlls/npptools enable_npptools
20836 wine_fn_config_makefile dlls/ntdll enable_ntdll
20837 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20838 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20839 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20840 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20841 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20842 wine_fn_config_makefile dlls/ntprint enable_ntprint
20843 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20844 wine_fn_config_makefile dlls/objsel enable_objsel
20845 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20846 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20847 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20848 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20849 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20850 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20851 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20852 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20853 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20854 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20855 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20856 wine_fn_config_makefile dlls/ole32 enable_ole32
20857 wine_fn_config_makefile dlls/ole32/tests enable_tests
20858 wine_fn_config_makefile dlls/oleacc enable_oleacc
20859 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20860 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20861 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20862 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20863 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20864 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20865 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20866 wine_fn_config_makefile dlls/oledlg enable_oledlg
20867 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20868 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20869 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20870 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20871 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20872 wine_fn_config_makefile dlls/opcservices enable_opcservices
20873 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20874 wine_fn_config_makefile dlls/openal32 enable_openal32
20875 wine_fn_config_makefile dlls/opencl enable_opencl
20876 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20877 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20878 wine_fn_config_makefile dlls/packager enable_packager
20879 wine_fn_config_makefile dlls/packager/tests enable_tests
20880 wine_fn_config_makefile dlls/pdh enable_pdh
20881 wine_fn_config_makefile dlls/pdh/tests enable_tests
20882 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20883 wine_fn_config_makefile dlls/pidgen enable_pidgen
20884 wine_fn_config_makefile dlls/powrprof enable_powrprof
20885 wine_fn_config_makefile dlls/printui enable_printui
20886 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20887 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20888 wine_fn_config_makefile dlls/propsys enable_propsys
20889 wine_fn_config_makefile dlls/propsys/tests enable_tests
20890 wine_fn_config_makefile dlls/psapi enable_psapi
20891 wine_fn_config_makefile dlls/psapi/tests enable_tests
20892 wine_fn_config_makefile dlls/pstorec enable_pstorec
20893 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20894 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20895 wine_fn_config_makefile dlls/qasf enable_qasf
20896 wine_fn_config_makefile dlls/qasf/tests enable_tests
20897 wine_fn_config_makefile dlls/qcap enable_qcap
20898 wine_fn_config_makefile dlls/qcap/tests enable_tests
20899 wine_fn_config_makefile dlls/qdvd enable_qdvd
20900 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20901 wine_fn_config_makefile dlls/qedit enable_qedit
20902 wine_fn_config_makefile dlls/qedit/tests enable_tests
20903 wine_fn_config_makefile dlls/qmgr enable_qmgr
20904 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20905 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20906 wine_fn_config_makefile dlls/quartz enable_quartz
20907 wine_fn_config_makefile dlls/quartz/tests enable_tests
20908 wine_fn_config_makefile dlls/query enable_query
20909 wine_fn_config_makefile dlls/qwave enable_qwave
20910 wine_fn_config_makefile dlls/qwave/tests enable_tests
20911 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20912 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20913 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20914 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20915 wine_fn_config_makefile dlls/regapi enable_regapi
20916 wine_fn_config_makefile dlls/resutils enable_resutils
20917 wine_fn_config_makefile dlls/riched20 enable_riched20
20918 wine_fn_config_makefile dlls/riched20/tests enable_tests
20919 wine_fn_config_makefile dlls/riched32 enable_riched32
20920 wine_fn_config_makefile dlls/riched32/tests enable_tests
20921 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20922 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20923 wine_fn_config_makefile dlls/rsabase enable_rsabase
20924 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20925 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20926 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20927 wine_fn_config_makefile dlls/rtutils enable_rtutils
20928 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20929 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20930 wine_fn_config_makefile dlls/samlib enable_samlib
20931 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20932 wine_fn_config_makefile dlls/sapi enable_sapi
20933 wine_fn_config_makefile dlls/sapi/tests enable_tests
20934 wine_fn_config_makefile dlls/sas enable_sas
20935 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20936 wine_fn_config_makefile dlls/sccbase enable_sccbase
20937 wine_fn_config_makefile dlls/schannel enable_schannel
20938 wine_fn_config_makefile dlls/schannel/tests enable_tests
20939 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20940 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20941 wine_fn_config_makefile dlls/scrobj enable_scrobj
20942 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20943 wine_fn_config_makefile dlls/scrrun enable_scrrun
20944 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20945 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20946 wine_fn_config_makefile dlls/sechost enable_sechost
20947 wine_fn_config_makefile dlls/secur32 enable_secur32
20948 wine_fn_config_makefile dlls/secur32/tests enable_tests
20949 wine_fn_config_makefile dlls/security enable_security
20950 wine_fn_config_makefile dlls/sensapi enable_sensapi
20951 wine_fn_config_makefile dlls/serialui enable_serialui
20952 wine_fn_config_makefile dlls/serialui/tests enable_tests
20953 wine_fn_config_makefile dlls/setupapi enable_setupapi
20954 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20955 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20956 wine_fn_config_makefile dlls/sfc enable_sfc
20957 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20958 wine_fn_config_makefile dlls/shcore enable_shcore
20959 wine_fn_config_makefile dlls/shcore/tests enable_tests
20960 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20961 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20962 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20963 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20964 wine_fn_config_makefile dlls/shell32 enable_shell32
20965 wine_fn_config_makefile dlls/shell32/tests enable_tests
20966 wine_fn_config_makefile dlls/shfolder enable_shfolder
20967 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20968 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20969 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20970 wine_fn_config_makefile dlls/slc enable_slc
20971 wine_fn_config_makefile dlls/slc/tests enable_tests
20972 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20973 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20974 wine_fn_config_makefile dlls/softpub enable_softpub
20975 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20976 wine_fn_config_makefile dlls/spoolss enable_spoolss
20977 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20978 wine_fn_config_makefile dlls/srclient enable_srclient
20979 wine_fn_config_makefile dlls/sspicli enable_sspicli
20980 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20981 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20982 wine_fn_config_makefile dlls/sti enable_sti
20983 wine_fn_config_makefile dlls/sti/tests enable_tests
20984 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20985 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20986 wine_fn_config_makefile dlls/strmbase enable_strmbase
20987 wine_fn_config_makefile dlls/strmdll enable_strmdll
20988 wine_fn_config_makefile dlls/strmiids enable_strmiids
20989 wine_fn_config_makefile dlls/svrapi enable_svrapi
20990 wine_fn_config_makefile dlls/sxs enable_sxs
20991 wine_fn_config_makefile dlls/sxs/tests enable_tests
20992 wine_fn_config_makefile dlls/system.drv16 enable_win16
20993 wine_fn_config_makefile dlls/t2embed enable_t2embed
20994 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20995 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20996 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20997 wine_fn_config_makefile dlls/taskschd enable_taskschd
20998 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20999 wine_fn_config_makefile dlls/tdh enable_tdh
21000 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21001 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21002 wine_fn_config_makefile dlls/traffic enable_traffic
21003 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21004 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21005 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21006 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21007 wine_fn_config_makefile dlls/tzres enable_tzres
21008 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21009 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21010 wine_fn_config_makefile dlls/uianimation enable_uianimation
21011 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21012 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21013 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21014 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21015 wine_fn_config_makefile dlls/unicows enable_unicows
21016 wine_fn_config_makefile dlls/updspapi enable_updspapi
21017 wine_fn_config_makefile dlls/url enable_url
21018 wine_fn_config_makefile dlls/urlmon enable_urlmon
21019 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21020 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21021 wine_fn_config_makefile dlls/user.exe16 enable_win16
21022 wine_fn_config_makefile dlls/user32 enable_user32
21023 wine_fn_config_makefile dlls/user32/tests enable_tests
21024 wine_fn_config_makefile dlls/userenv enable_userenv
21025 wine_fn_config_makefile dlls/userenv/tests enable_tests
21026 wine_fn_config_makefile dlls/usp10 enable_usp10
21027 wine_fn_config_makefile dlls/usp10/tests enable_tests
21028 wine_fn_config_makefile dlls/utildll enable_utildll
21029 wine_fn_config_makefile dlls/uuid enable_uuid
21030 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21031 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21032 wine_fn_config_makefile dlls/vbscript enable_vbscript
21033 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21034 wine_fn_config_makefile dlls/vcomp enable_vcomp
21035 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21036 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21037 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21038 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21039 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21040 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21041 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21042 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21043 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21044 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21045 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21046 wine_fn_config_makefile dlls/version enable_version
21047 wine_fn_config_makefile dlls/version/tests enable_tests
21048 wine_fn_config_makefile dlls/vga enable_vga
21049 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21050 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21051 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21052 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21053 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21054 wine_fn_config_makefile dlls/vssapi enable_vssapi
21055 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21056 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21057 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21058 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21059 wine_fn_config_makefile dlls/w32skrnl enable_win16
21060 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21061 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21062 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21063 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21064 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21065 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21066 wine_fn_config_makefile dlls/wdscore enable_wdscore
21067 wine_fn_config_makefile dlls/webservices enable_webservices
21068 wine_fn_config_makefile dlls/webservices/tests enable_tests
21069 wine_fn_config_makefile dlls/wer enable_wer
21070 wine_fn_config_makefile dlls/wer/tests enable_tests
21071 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21072 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21073 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21074 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21075 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21076 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21077 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21078 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21079 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21080 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21081 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21082 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21083 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21084 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21085 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21086 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21087 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21088 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21089 wine_fn_config_makefile dlls/wined3d enable_wined3d
21090 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21091 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21092 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21093 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21094 wine_fn_config_makefile dlls/winemapi enable_winemapi
21095 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21096 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21097 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21098 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21099 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21100 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21101 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21102 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21103 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21104 wine_fn_config_makefile dlls/wing32 enable_wing32
21105 wine_fn_config_makefile dlls/winhttp enable_winhttp
21106 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21107 wine_fn_config_makefile dlls/wininet enable_wininet
21108 wine_fn_config_makefile dlls/wininet/tests enable_tests
21109 wine_fn_config_makefile dlls/winmm enable_winmm
21110 wine_fn_config_makefile dlls/winmm/tests enable_tests
21111 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21112 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21113 wine_fn_config_makefile dlls/winscard enable_winscard
21114 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21115 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21116 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21117 wine_fn_config_makefile dlls/winsta enable_winsta
21118 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21119 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21120 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21121 wine_fn_config_makefile dlls/wintrust enable_wintrust
21122 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21123 wine_fn_config_makefile dlls/winusb enable_winusb
21124 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21125 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21126 wine_fn_config_makefile dlls/wlanui enable_wlanui
21127 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21128 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21129 wine_fn_config_makefile dlls/wmasf enable_wmasf
21130 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21131 wine_fn_config_makefile dlls/wmi enable_wmi
21132 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21133 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21134 wine_fn_config_makefile dlls/wmp enable_wmp
21135 wine_fn_config_makefile dlls/wmp/tests enable_tests
21136 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21137 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21138 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21139 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21140 wine_fn_config_makefile dlls/wow32 enable_win16
21141 wine_fn_config_makefile dlls/wpc enable_wpc
21142 wine_fn_config_makefile dlls/wpc/tests enable_tests
21143 wine_fn_config_makefile dlls/wpcap enable_wpcap
21144 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21145 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21146 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21147 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21148 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21149 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21150 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21151 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21152 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21153 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21154 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21155 wine_fn_config_makefile dlls/wuapi enable_wuapi
21156 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21157 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21158 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21159 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21160 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21161 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21162 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21163 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21164 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21165 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21166 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21167 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21168 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21169 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21170 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21171 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21172 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21173 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21174 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21175 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21176 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21177 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21178 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21179 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21180 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21181 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21182 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21183 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21184 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21185 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21186 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21187 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21188 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21189 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21190 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21191 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21192 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21193 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21194 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21195 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21196 wine_fn_config_makefile dlls/xmllite enable_xmllite
21197 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21198 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21199 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21200 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21201 wine_fn_config_makefile fonts enable_fonts
21202 wine_fn_config_makefile include enable_include
21203 wine_fn_config_makefile libs/port enable_port
21204 wine_fn_config_makefile libs/wine enable_wine
21205 wine_fn_config_makefile libs/wpp enable_wpp
21206 wine_fn_config_makefile loader enable_loader
21207 wine_fn_config_makefile nls enable_nls
21208 wine_fn_config_makefile po enable_po
21209 wine_fn_config_makefile programs/arp enable_arp
21210 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21211 wine_fn_config_makefile programs/attrib enable_attrib
21212 wine_fn_config_makefile programs/cabarc enable_cabarc
21213 wine_fn_config_makefile programs/cacls enable_cacls
21214 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21215 wine_fn_config_makefile programs/clock enable_clock
21216 wine_fn_config_makefile programs/cmd enable_cmd
21217 wine_fn_config_makefile programs/cmd/tests enable_tests
21218 wine_fn_config_makefile programs/conhost enable_conhost
21219 wine_fn_config_makefile programs/conhost/tests enable_tests
21220 wine_fn_config_makefile programs/control enable_control
21221 wine_fn_config_makefile programs/cscript enable_cscript
21222 wine_fn_config_makefile programs/dism enable_dism
21223 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21224 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21225 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21226 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21227 wine_fn_config_makefile programs/eject enable_eject
21228 wine_fn_config_makefile programs/expand enable_expand
21229 wine_fn_config_makefile programs/explorer enable_explorer
21230 wine_fn_config_makefile programs/extrac32 enable_extrac32
21231 wine_fn_config_makefile programs/fc enable_fc
21232 wine_fn_config_makefile programs/find enable_find
21233 wine_fn_config_makefile programs/find/tests enable_tests
21234 wine_fn_config_makefile programs/findstr enable_findstr
21235 wine_fn_config_makefile programs/fsutil enable_fsutil
21236 wine_fn_config_makefile programs/fsutil/tests enable_tests
21237 wine_fn_config_makefile programs/hh enable_hh
21238 wine_fn_config_makefile programs/hostname enable_hostname
21239 wine_fn_config_makefile programs/icacls enable_icacls
21240 wine_fn_config_makefile programs/icinfo enable_icinfo
21241 wine_fn_config_makefile programs/iexplore enable_iexplore
21242 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21243 wine_fn_config_makefile programs/lodctr enable_lodctr
21244 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21245 wine_fn_config_makefile programs/mshta enable_mshta
21246 wine_fn_config_makefile programs/msidb enable_msidb
21247 wine_fn_config_makefile programs/msiexec enable_msiexec
21248 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21249 wine_fn_config_makefile programs/net enable_net
21250 wine_fn_config_makefile programs/netsh enable_netsh
21251 wine_fn_config_makefile programs/netstat enable_netstat
21252 wine_fn_config_makefile programs/ngen enable_ngen
21253 wine_fn_config_makefile programs/notepad enable_notepad
21254 wine_fn_config_makefile programs/oleview enable_oleview
21255 wine_fn_config_makefile programs/ping enable_ping
21256 wine_fn_config_makefile programs/plugplay enable_plugplay
21257 wine_fn_config_makefile programs/powershell enable_powershell
21258 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21259 wine_fn_config_makefile programs/progman enable_progman
21260 wine_fn_config_makefile programs/reg enable_reg
21261 wine_fn_config_makefile programs/reg/tests enable_tests
21262 wine_fn_config_makefile programs/regasm enable_regasm
21263 wine_fn_config_makefile programs/regedit enable_regedit
21264 wine_fn_config_makefile programs/regedit/tests enable_tests
21265 wine_fn_config_makefile programs/regini enable_regini
21266 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21267 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21268 wine_fn_config_makefile programs/rpcss enable_rpcss
21269 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21270 wine_fn_config_makefile programs/rundll32 enable_rundll32
21271 wine_fn_config_makefile programs/sc enable_sc
21272 wine_fn_config_makefile programs/schtasks enable_schtasks
21273 wine_fn_config_makefile programs/schtasks/tests enable_tests
21274 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21275 wine_fn_config_makefile programs/secedit enable_secedit
21276 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21277 wine_fn_config_makefile programs/services enable_services
21278 wine_fn_config_makefile programs/services/tests enable_tests
21279 wine_fn_config_makefile programs/shutdown enable_shutdown
21280 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21281 wine_fn_config_makefile programs/start enable_start
21282 wine_fn_config_makefile programs/subst enable_subst
21283 wine_fn_config_makefile programs/svchost enable_svchost
21284 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21285 wine_fn_config_makefile programs/taskkill enable_taskkill
21286 wine_fn_config_makefile programs/tasklist enable_tasklist
21287 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21288 wine_fn_config_makefile programs/termsv enable_termsv
21289 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21290 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21291 wine_fn_config_makefile programs/view enable_view
21292 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21293 wine_fn_config_makefile programs/where enable_where
21294 wine_fn_config_makefile programs/whoami enable_whoami
21295 wine_fn_config_makefile programs/wineboot enable_wineboot
21296 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21297 wine_fn_config_makefile programs/winecfg enable_winecfg
21298 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21299 wine_fn_config_makefile programs/winedbg enable_winedbg
21300 wine_fn_config_makefile programs/winedevice enable_winedevice
21301 wine_fn_config_makefile programs/winefile enable_winefile
21302 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21303 wine_fn_config_makefile programs/winemine enable_winemine
21304 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21305 wine_fn_config_makefile programs/winepath enable_winepath
21306 wine_fn_config_makefile programs/winetest enable_winetest
21307 wine_fn_config_makefile programs/winevdm enable_win16
21308 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21309 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21310 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21311 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21312 wine_fn_config_makefile programs/winver enable_winver
21313 wine_fn_config_makefile programs/wmic enable_wmic
21314 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21315 wine_fn_config_makefile programs/wordpad enable_wordpad
21316 wine_fn_config_makefile programs/write enable_write
21317 wine_fn_config_makefile programs/wscript enable_wscript
21318 wine_fn_config_makefile programs/wscript/tests enable_tests
21319 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21320 wine_fn_config_makefile programs/wusa enable_wusa
21321 wine_fn_config_makefile programs/xcopy enable_xcopy
21322 wine_fn_config_makefile programs/xcopy/tests enable_tests
21323 wine_fn_config_makefile server enable_server
21324 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21325 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21326 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21327 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21328 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21329 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21335 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21336 wine_fn_append_file CONFIGURE_TARGETS "tags"
21337 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21338 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21339 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21340 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21341 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21342 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21344 if test "x$enable_tools" != xno
21345 then
21346 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21347 ac_config_commands="$ac_config_commands tools/makedep"
21351 ac_config_commands="$ac_config_commands Makefile"
21354 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21358 if test "x$enable_maintainer_mode" = xyes
21359 then
21360 wine_fn_append_rule "configure: configure.ac aclocal.m4
21361 autoconf --warnings=all
21362 include/config.h.in: include/stamp-h.in
21363 include/stamp-h.in: configure.ac aclocal.m4
21364 autoheader --warnings=all
21365 @echo timestamp > \$@"
21368 if test "x$enable_tools" != xno
21369 then
21370 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21371 @./config.status tools/makedep
21372 Makefile: tools/makedep$ac_exeext"
21373 else
21374 wine_fn_append_rule "\$(MAKEDEP):
21375 @echo \"You need to run make in $TOOLSDIR first\" && false"
21378 if test -n "$with_wine64"
21379 then
21380 case "$with_wine64" in
21381 /*) reldir="" ;;
21382 *) reldir="../" ;;
21383 esac
21384 rm -f fonts server 2>/dev/null
21385 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21386 loader/wine64 loader/wine64-preloader:
21387 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21388 $with_wine64/loader/wine:
21389 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21390 $with_wine64/loader/wine-preloader:
21391 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21392 clean::
21393 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21394 else
21395 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21396 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21397 fonts \
21398 loader/wine.inf \
21399 loader/winebus.inf \
21400 loader/winehid.inf \
21401 loader/wineusb.inf \
21402 nls \
21403 programs/msidb/msidb \
21404 programs/msiexec/msiexec \
21405 programs/notepad/notepad \
21406 programs/regedit/regedit \
21407 programs/regsvr32/regsvr32 \
21408 programs/wineboot/wineboot \
21409 programs/winecfg/winecfg \
21410 programs/wineconsole/wineconsole \
21411 programs/winedbg/winedbg \
21412 programs/winefile/winefile \
21413 programs/winemine/winemine \
21414 programs/winepath/winepath \
21415 server/wineserver"
21417 case $host_os in
21418 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21419 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21420 esac
21423 $as_echo " done" >&6
21424 cat >confcache <<\_ACEOF
21425 # This file is a shell script that caches the results of configure
21426 # tests run on this system so they can be shared between configure
21427 # scripts and configure runs, see configure's option --config-cache.
21428 # It is not useful on other systems. If it contains results you don't
21429 # want to keep, you may remove or edit it.
21431 # config.status only pays attention to the cache file if you give it
21432 # the --recheck option to rerun configure.
21434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21436 # following values.
21438 _ACEOF
21440 # The following way of writing the cache mishandles newlines in values,
21441 # but we know of no workaround that is simple, portable, and efficient.
21442 # So, we kill variables containing newlines.
21443 # Ultrix sh set writes to stderr and can't be redirected directly,
21444 # and sets the high bit in the cache file unless we assign to the vars.
21446 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21447 eval ac_val=\$$ac_var
21448 case $ac_val in #(
21449 *${as_nl}*)
21450 case $ac_var in #(
21451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21453 esac
21454 case $ac_var in #(
21455 _ | IFS | as_nl) ;; #(
21456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21457 *) { eval $ac_var=; unset $ac_var;} ;;
21458 esac ;;
21459 esac
21460 done
21462 (set) 2>&1 |
21463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21464 *${as_nl}ac_space=\ *)
21465 # `set' does not quote correctly, so add quotes: double-quote
21466 # substitution turns \\\\ into \\, and sed turns \\ into \.
21467 sed -n \
21468 "s/'/'\\\\''/g;
21469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21470 ;; #(
21472 # `set' quotes correctly as required by POSIX, so do not add quotes.
21473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21475 esac |
21476 sort
21478 sed '
21479 /^ac_cv_env_/b end
21480 t clear
21481 :clear
21482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21483 t end
21484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21485 :end' >>confcache
21486 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21487 if test -w "$cache_file"; then
21488 if test "x$cache_file" != "x/dev/null"; then
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21490 $as_echo "$as_me: updating cache $cache_file" >&6;}
21491 if test ! -f "$cache_file" || test -h "$cache_file"; then
21492 cat confcache >"$cache_file"
21493 else
21494 case $cache_file in #(
21495 */* | ?:*)
21496 mv -f confcache "$cache_file"$$ &&
21497 mv -f "$cache_file"$$ "$cache_file" ;; #(
21499 mv -f confcache "$cache_file" ;;
21500 esac
21503 else
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21508 rm -f confcache
21510 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21511 # Let make expand exec_prefix.
21512 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21514 DEFS=-DHAVE_CONFIG_H
21516 ac_libobjs=
21517 ac_ltlibobjs=
21519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21520 # 1. Remove the extension, and $U if already installed.
21521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21524 # will be set to the directory where LIBOBJS objects are built.
21525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21527 done
21528 LIBOBJS=$ac_libobjs
21530 LTLIBOBJS=$ac_ltlibobjs
21534 : "${CONFIG_STATUS=./config.status}"
21535 ac_write_fail=0
21536 ac_clean_files_save=$ac_clean_files
21537 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21539 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21540 as_write_fail=0
21541 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21542 #! $SHELL
21543 # Generated by $as_me.
21544 # Run this file to recreate the current configuration.
21545 # Compiler output produced by configure, useful for debugging
21546 # configure, is in config.log if it exists.
21548 debug=false
21549 ac_cs_recheck=false
21550 ac_cs_silent=false
21552 SHELL=\${CONFIG_SHELL-$SHELL}
21553 export SHELL
21554 _ASEOF
21555 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21556 ## -------------------- ##
21557 ## M4sh Initialization. ##
21558 ## -------------------- ##
21560 # Be more Bourne compatible
21561 DUALCASE=1; export DUALCASE # for MKS sh
21562 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21563 emulate sh
21564 NULLCMD=:
21565 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21566 # is contrary to our usage. Disable this feature.
21567 alias -g '${1+"$@"}'='"$@"'
21568 setopt NO_GLOB_SUBST
21569 else
21570 case `(set -o) 2>/dev/null` in #(
21571 *posix*) :
21572 set -o posix ;; #(
21573 *) :
21575 esac
21579 as_nl='
21581 export as_nl
21582 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21583 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21584 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21585 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21586 # Prefer a ksh shell builtin over an external printf program on Solaris,
21587 # but without wasting forks for bash or zsh.
21588 if test -z "$BASH_VERSION$ZSH_VERSION" \
21589 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21590 as_echo='print -r --'
21591 as_echo_n='print -rn --'
21592 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21593 as_echo='printf %s\n'
21594 as_echo_n='printf %s'
21595 else
21596 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21597 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21598 as_echo_n='/usr/ucb/echo -n'
21599 else
21600 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21601 as_echo_n_body='eval
21602 arg=$1;
21603 case $arg in #(
21604 *"$as_nl"*)
21605 expr "X$arg" : "X\\(.*\\)$as_nl";
21606 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21607 esac;
21608 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21610 export as_echo_n_body
21611 as_echo_n='sh -c $as_echo_n_body as_echo'
21613 export as_echo_body
21614 as_echo='sh -c $as_echo_body as_echo'
21617 # The user is always right.
21618 if test "${PATH_SEPARATOR+set}" != set; then
21619 PATH_SEPARATOR=:
21620 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21621 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21622 PATH_SEPARATOR=';'
21627 # IFS
21628 # We need space, tab and new line, in precisely that order. Quoting is
21629 # there to prevent editors from complaining about space-tab.
21630 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21631 # splitting by setting IFS to empty value.)
21632 IFS=" "" $as_nl"
21634 # Find who we are. Look in the path if we contain no directory separator.
21635 as_myself=
21636 case $0 in #((
21637 *[\\/]* ) as_myself=$0 ;;
21638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21639 for as_dir in $PATH
21641 IFS=$as_save_IFS
21642 test -z "$as_dir" && as_dir=.
21643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21644 done
21645 IFS=$as_save_IFS
21648 esac
21649 # We did not find ourselves, most probably we were run as `sh COMMAND'
21650 # in which case we are not to be found in the path.
21651 if test "x$as_myself" = x; then
21652 as_myself=$0
21654 if test ! -f "$as_myself"; then
21655 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21656 exit 1
21659 # Unset variables that we do not need and which cause bugs (e.g. in
21660 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21661 # suppresses any "Segmentation fault" message there. '((' could
21662 # trigger a bug in pdksh 5.2.14.
21663 for as_var in BASH_ENV ENV MAIL MAILPATH
21664 do eval test x\${$as_var+set} = xset \
21665 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21666 done
21667 PS1='$ '
21668 PS2='> '
21669 PS4='+ '
21671 # NLS nuisances.
21672 LC_ALL=C
21673 export LC_ALL
21674 LANGUAGE=C
21675 export LANGUAGE
21677 # CDPATH.
21678 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21681 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21682 # ----------------------------------------
21683 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21684 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21685 # script with STATUS, using 1 if that was 0.
21686 as_fn_error ()
21688 as_status=$1; test $as_status -eq 0 && as_status=1
21689 if test "$4"; then
21690 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21691 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21693 $as_echo "$as_me: error: $2" >&2
21694 as_fn_exit $as_status
21695 } # as_fn_error
21698 # as_fn_set_status STATUS
21699 # -----------------------
21700 # Set $? to STATUS, without forking.
21701 as_fn_set_status ()
21703 return $1
21704 } # as_fn_set_status
21706 # as_fn_exit STATUS
21707 # -----------------
21708 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21709 as_fn_exit ()
21711 set +e
21712 as_fn_set_status $1
21713 exit $1
21714 } # as_fn_exit
21716 # as_fn_unset VAR
21717 # ---------------
21718 # Portably unset VAR.
21719 as_fn_unset ()
21721 { eval $1=; unset $1;}
21723 as_unset=as_fn_unset
21724 # as_fn_append VAR VALUE
21725 # ----------------------
21726 # Append the text in VALUE to the end of the definition contained in VAR. Take
21727 # advantage of any shell optimizations that allow amortized linear growth over
21728 # repeated appends, instead of the typical quadratic growth present in naive
21729 # implementations.
21730 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21731 eval 'as_fn_append ()
21733 eval $1+=\$2
21735 else
21736 as_fn_append ()
21738 eval $1=\$$1\$2
21740 fi # as_fn_append
21742 # as_fn_arith ARG...
21743 # ------------------
21744 # Perform arithmetic evaluation on the ARGs, and store the result in the
21745 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21746 # must be portable across $(()) and expr.
21747 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21748 eval 'as_fn_arith ()
21750 as_val=$(( $* ))
21752 else
21753 as_fn_arith ()
21755 as_val=`expr "$@" || test $? -eq 1`
21757 fi # as_fn_arith
21760 if expr a : '\(a\)' >/dev/null 2>&1 &&
21761 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21762 as_expr=expr
21763 else
21764 as_expr=false
21767 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21768 as_basename=basename
21769 else
21770 as_basename=false
21773 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21774 as_dirname=dirname
21775 else
21776 as_dirname=false
21779 as_me=`$as_basename -- "$0" ||
21780 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21781 X"$0" : 'X\(//\)$' \| \
21782 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21783 $as_echo X/"$0" |
21784 sed '/^.*\/\([^/][^/]*\)\/*$/{
21785 s//\1/
21788 /^X\/\(\/\/\)$/{
21789 s//\1/
21792 /^X\/\(\/\).*/{
21793 s//\1/
21796 s/.*/./; q'`
21798 # Avoid depending upon Character Ranges.
21799 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21800 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21801 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21802 as_cr_digits='0123456789'
21803 as_cr_alnum=$as_cr_Letters$as_cr_digits
21805 ECHO_C= ECHO_N= ECHO_T=
21806 case `echo -n x` in #(((((
21807 -n*)
21808 case `echo 'xy\c'` in
21809 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21810 xy) ECHO_C='\c';;
21811 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21812 ECHO_T=' ';;
21813 esac;;
21815 ECHO_N='-n';;
21816 esac
21818 rm -f conf$$ conf$$.exe conf$$.file
21819 if test -d conf$$.dir; then
21820 rm -f conf$$.dir/conf$$.file
21821 else
21822 rm -f conf$$.dir
21823 mkdir conf$$.dir 2>/dev/null
21825 if (echo >conf$$.file) 2>/dev/null; then
21826 if ln -s conf$$.file conf$$ 2>/dev/null; then
21827 as_ln_s='ln -s'
21828 # ... but there are two gotchas:
21829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21831 # In both cases, we have to default to `cp -pR'.
21832 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21833 as_ln_s='cp -pR'
21834 elif ln conf$$.file conf$$ 2>/dev/null; then
21835 as_ln_s=ln
21836 else
21837 as_ln_s='cp -pR'
21839 else
21840 as_ln_s='cp -pR'
21842 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21843 rmdir conf$$.dir 2>/dev/null
21846 # as_fn_mkdir_p
21847 # -------------
21848 # Create "$as_dir" as a directory, including parents if necessary.
21849 as_fn_mkdir_p ()
21852 case $as_dir in #(
21853 -*) as_dir=./$as_dir;;
21854 esac
21855 test -d "$as_dir" || eval $as_mkdir_p || {
21856 as_dirs=
21857 while :; do
21858 case $as_dir in #(
21859 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21860 *) as_qdir=$as_dir;;
21861 esac
21862 as_dirs="'$as_qdir' $as_dirs"
21863 as_dir=`$as_dirname -- "$as_dir" ||
21864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21865 X"$as_dir" : 'X\(//\)[^/]' \| \
21866 X"$as_dir" : 'X\(//\)$' \| \
21867 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21868 $as_echo X"$as_dir" |
21869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21870 s//\1/
21873 /^X\(\/\/\)[^/].*/{
21874 s//\1/
21877 /^X\(\/\/\)$/{
21878 s//\1/
21881 /^X\(\/\).*/{
21882 s//\1/
21885 s/.*/./; q'`
21886 test -d "$as_dir" && break
21887 done
21888 test -z "$as_dirs" || eval "mkdir $as_dirs"
21889 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21892 } # as_fn_mkdir_p
21893 if mkdir -p . 2>/dev/null; then
21894 as_mkdir_p='mkdir -p "$as_dir"'
21895 else
21896 test -d ./-p && rmdir ./-p
21897 as_mkdir_p=false
21901 # as_fn_executable_p FILE
21902 # -----------------------
21903 # Test if FILE is an executable regular file.
21904 as_fn_executable_p ()
21906 test -f "$1" && test -x "$1"
21907 } # as_fn_executable_p
21908 as_test_x='test -x'
21909 as_executable_p=as_fn_executable_p
21911 # Sed expression to map a string onto a valid CPP name.
21912 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21914 # Sed expression to map a string onto a valid variable name.
21915 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21918 exec 6>&1
21919 ## ----------------------------------- ##
21920 ## Main body of $CONFIG_STATUS script. ##
21921 ## ----------------------------------- ##
21922 _ASEOF
21923 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21926 # Save the log message, to keep $0 and so on meaningful, and to
21927 # report actual input values of CONFIG_FILES etc. instead of their
21928 # values after options handling.
21929 ac_log="
21930 This file was extended by Wine $as_me 5.20, which was
21931 generated by GNU Autoconf 2.69. Invocation command line was
21933 CONFIG_FILES = $CONFIG_FILES
21934 CONFIG_HEADERS = $CONFIG_HEADERS
21935 CONFIG_LINKS = $CONFIG_LINKS
21936 CONFIG_COMMANDS = $CONFIG_COMMANDS
21937 $ $0 $@
21939 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21942 _ACEOF
21944 case $ac_config_files in *"
21945 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21946 esac
21948 case $ac_config_headers in *"
21949 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21950 esac
21953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21954 # Files that config.status was made for.
21955 config_files="$ac_config_files"
21956 config_headers="$ac_config_headers"
21957 config_links="$ac_config_links"
21958 config_commands="$ac_config_commands"
21960 _ACEOF
21962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963 ac_cs_usage="\
21964 \`$as_me' instantiates files and other configuration actions
21965 from templates according to the current configuration. Unless the files
21966 and actions are specified as TAGs, all are instantiated by default.
21968 Usage: $0 [OPTION]... [TAG]...
21970 -h, --help print this help, then exit
21971 -V, --version print version number and configuration settings, then exit
21972 --config print configuration, then exit
21973 -q, --quiet, --silent
21974 do not print progress messages
21975 -d, --debug don't remove temporary files
21976 --recheck update $as_me by reconfiguring in the same conditions
21977 --file=FILE[:TEMPLATE]
21978 instantiate the configuration file FILE
21979 --header=FILE[:TEMPLATE]
21980 instantiate the configuration header FILE
21982 Configuration files:
21983 $config_files
21985 Configuration headers:
21986 $config_headers
21988 Configuration links:
21989 $config_links
21991 Configuration commands:
21992 $config_commands
21994 Report bugs to <wine-devel@winehq.org>.
21995 Wine home page: <https://www.winehq.org>."
21997 _ACEOF
21998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21999 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22000 ac_cs_version="\\
22001 Wine config.status 5.20
22002 configured by $0, generated by GNU Autoconf 2.69,
22003 with options \\"\$ac_cs_config\\"
22005 Copyright (C) 2012 Free Software Foundation, Inc.
22006 This config.status script is free software; the Free Software Foundation
22007 gives unlimited permission to copy, distribute and modify it."
22009 ac_pwd='$ac_pwd'
22010 srcdir='$srcdir'
22011 test -n "\$AWK" || AWK=awk
22012 _ACEOF
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22015 # The default lists apply if the user does not specify any file.
22016 ac_need_defaults=:
22017 while test $# != 0
22019 case $1 in
22020 --*=?*)
22021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22023 ac_shift=:
22025 --*=)
22026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22027 ac_optarg=
22028 ac_shift=:
22031 ac_option=$1
22032 ac_optarg=$2
22033 ac_shift=shift
22035 esac
22037 case $ac_option in
22038 # Handling of the options.
22039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22040 ac_cs_recheck=: ;;
22041 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22042 $as_echo "$ac_cs_version"; exit ;;
22043 --config | --confi | --conf | --con | --co | --c )
22044 $as_echo "$ac_cs_config"; exit ;;
22045 --debug | --debu | --deb | --de | --d | -d )
22046 debug=: ;;
22047 --file | --fil | --fi | --f )
22048 $ac_shift
22049 case $ac_optarg in
22050 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22051 '') as_fn_error $? "missing file argument" ;;
22052 esac
22053 as_fn_append CONFIG_FILES " '$ac_optarg'"
22054 ac_need_defaults=false;;
22055 --header | --heade | --head | --hea )
22056 $ac_shift
22057 case $ac_optarg in
22058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22059 esac
22060 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22061 ac_need_defaults=false;;
22062 --he | --h)
22063 # Conflict between --help and --header
22064 as_fn_error $? "ambiguous option: \`$1'
22065 Try \`$0 --help' for more information.";;
22066 --help | --hel | -h )
22067 $as_echo "$ac_cs_usage"; exit ;;
22068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22070 ac_cs_silent=: ;;
22072 # This is an error.
22073 -*) as_fn_error $? "unrecognized option: \`$1'
22074 Try \`$0 --help' for more information." ;;
22076 *) as_fn_append ac_config_targets " $1"
22077 ac_need_defaults=false ;;
22079 esac
22080 shift
22081 done
22083 ac_configure_extra_args=
22085 if $ac_cs_silent; then
22086 exec 6>/dev/null
22087 ac_configure_extra_args="$ac_configure_extra_args --silent"
22090 _ACEOF
22091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22092 if \$ac_cs_recheck; then
22093 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22094 shift
22095 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22096 CONFIG_SHELL='$SHELL'
22097 export CONFIG_SHELL
22098 exec "\$@"
22101 _ACEOF
22102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22103 exec 5>>config.log
22105 echo
22106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22107 ## Running $as_me. ##
22108 _ASBOX
22109 $as_echo "$ac_log"
22110 } >&5
22112 _ACEOF
22113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22115 # INIT-COMMANDS
22117 wine_fn_output_makedep ()
22119 as_dir=tools; as_fn_mkdir_p
22120 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22122 wine_fn_output_makefile ()
22124 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22125 `cat $wine_rules_file`
22126 _WINE_EOF
22127 as_fn_error $? "could not create Makefile" "$LINENO" 5
22130 _ACEOF
22132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22134 # Handling of arguments.
22135 for ac_config_target in $ac_config_targets
22137 case $ac_config_target in
22138 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22139 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22140 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22141 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22142 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22143 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22144 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22146 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22147 esac
22148 done
22151 # If the user did not use the arguments to specify the items to instantiate,
22152 # then the envvar interface is used. Set only those that are not.
22153 # We use the long form for the default assignment because of an extremely
22154 # bizarre bug on SunOS 4.1.3.
22155 if $ac_need_defaults; then
22156 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22157 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22158 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22162 # Have a temporary directory for convenience. Make it in the build tree
22163 # simply because there is no reason against having it here, and in addition,
22164 # creating and moving files from /tmp can sometimes cause problems.
22165 # Hook for its removal unless debugging.
22166 # Note that there is a small window in which the directory will not be cleaned:
22167 # after its creation but before its name has been assigned to `$tmp'.
22168 $debug ||
22170 tmp= ac_tmp=
22171 trap 'exit_status=$?
22172 : "${ac_tmp:=$tmp}"
22173 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22175 trap 'as_fn_exit 1' 1 2 13 15
22177 # Create a (secure) tmp directory for tmp files.
22180 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22181 test -d "$tmp"
22182 } ||
22184 tmp=./conf$$-$RANDOM
22185 (umask 077 && mkdir "$tmp")
22186 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22187 ac_tmp=$tmp
22189 # Set up the scripts for CONFIG_FILES section.
22190 # No need to generate them if there are no CONFIG_FILES.
22191 # This happens for instance with `./config.status config.h'.
22192 if test -n "$CONFIG_FILES"; then
22195 ac_cr=`echo X | tr X '\015'`
22196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22197 # But we know of no other shell where ac_cr would be empty at this
22198 # point, so we can use a bashism as a fallback.
22199 if test "x$ac_cr" = x; then
22200 eval ac_cr=\$\'\\r\'
22202 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22204 ac_cs_awk_cr='\\r'
22205 else
22206 ac_cs_awk_cr=$ac_cr
22209 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22210 _ACEOF
22214 echo "cat >conf$$subs.awk <<_ACEOF" &&
22215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22216 echo "_ACEOF"
22217 } >conf$$subs.sh ||
22218 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22220 ac_delim='%!_!# '
22221 for ac_last_try in false false false false false :; do
22222 . ./conf$$subs.sh ||
22223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22225 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22226 if test $ac_delim_n = $ac_delim_num; then
22227 break
22228 elif $ac_last_try; then
22229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22230 else
22231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22233 done
22234 rm -f conf$$subs.sh
22236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22237 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22238 _ACEOF
22239 sed -n '
22241 s/^/S["/; s/!.*/"]=/
22244 s/^[^!]*!//
22245 :repl
22246 t repl
22247 s/'"$ac_delim"'$//
22248 t delim
22251 s/\(.\{148\}\)..*/\1/
22252 t more1
22253 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22256 b repl
22257 :more1
22258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22261 s/.\{148\}//
22262 t nl
22263 :delim
22265 s/\(.\{148\}\)..*/\1/
22266 t more2
22267 s/["\\]/\\&/g; s/^/"/; s/$/"/
22270 :more2
22271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22274 s/.\{148\}//
22275 t delim
22276 ' <conf$$subs.awk | sed '
22277 /^[^""]/{
22279 s/\n//
22281 ' >>$CONFIG_STATUS || ac_write_fail=1
22282 rm -f conf$$subs.awk
22283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22284 _ACAWK
22285 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22286 for (key in S) S_is_set[key] = 1
22287 FS = "\a"
22291 line = $ 0
22292 nfields = split(line, field, "@")
22293 substed = 0
22294 len = length(field[1])
22295 for (i = 2; i < nfields; i++) {
22296 key = field[i]
22297 keylen = length(key)
22298 if (S_is_set[key]) {
22299 value = S[key]
22300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22301 len += length(value) + length(field[++i])
22302 substed = 1
22303 } else
22304 len += 1 + keylen
22307 print line
22310 _ACAWK
22311 _ACEOF
22312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22313 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22314 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22315 else
22317 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22318 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22319 _ACEOF
22321 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22322 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22323 # trailing colons and then remove the whole line if VPATH becomes empty
22324 # (actually we leave an empty line to preserve line numbers).
22325 if test "x$srcdir" = x.; then
22326 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22328 s///
22329 s/^/:/
22330 s/[ ]*$/:/
22331 s/:\$(srcdir):/:/g
22332 s/:\${srcdir}:/:/g
22333 s/:@srcdir@:/:/g
22334 s/^:*//
22335 s/:*$//
22337 s/\(=[ ]*\).*/\1/
22339 s/\n//
22340 s/^[^=]*=[ ]*$//
22344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22345 fi # test -n "$CONFIG_FILES"
22347 # Set up the scripts for CONFIG_HEADERS section.
22348 # No need to generate them if there are no CONFIG_HEADERS.
22349 # This happens for instance with `./config.status Makefile'.
22350 if test -n "$CONFIG_HEADERS"; then
22351 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22352 BEGIN {
22353 _ACEOF
22355 # Transform confdefs.h into an awk script `defines.awk', embedded as
22356 # here-document in config.status, that substitutes the proper values into
22357 # config.h.in to produce config.h.
22359 # Create a delimiter string that does not exist in confdefs.h, to ease
22360 # handling of long lines.
22361 ac_delim='%!_!# '
22362 for ac_last_try in false false :; do
22363 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22364 if test -z "$ac_tt"; then
22365 break
22366 elif $ac_last_try; then
22367 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22368 else
22369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22371 done
22373 # For the awk script, D is an array of macro values keyed by name,
22374 # likewise P contains macro parameters if any. Preserve backslash
22375 # newline sequences.
22377 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22378 sed -n '
22379 s/.\{148\}/&'"$ac_delim"'/g
22380 t rset
22381 :rset
22382 s/^[ ]*#[ ]*define[ ][ ]*/ /
22383 t def
22385 :def
22386 s/\\$//
22387 t bsnl
22388 s/["\\]/\\&/g
22389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22390 D["\1"]=" \3"/p
22391 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22393 :bsnl
22394 s/["\\]/\\&/g
22395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22396 D["\1"]=" \3\\\\\\n"\\/p
22397 t cont
22398 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22399 t cont
22401 :cont
22403 s/.\{148\}/&'"$ac_delim"'/g
22404 t clear
22405 :clear
22406 s/\\$//
22407 t bsnlc
22408 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22410 :bsnlc
22411 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22412 b cont
22413 ' <confdefs.h | sed '
22414 s/'"$ac_delim"'/"\\\
22415 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22418 for (key in D) D_is_set[key] = 1
22419 FS = "\a"
22421 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22422 line = \$ 0
22423 split(line, arg, " ")
22424 if (arg[1] == "#") {
22425 defundef = arg[2]
22426 mac1 = arg[3]
22427 } else {
22428 defundef = substr(arg[1], 2)
22429 mac1 = arg[2]
22431 split(mac1, mac2, "(") #)
22432 macro = mac2[1]
22433 prefix = substr(line, 1, index(line, defundef) - 1)
22434 if (D_is_set[macro]) {
22435 # Preserve the white space surrounding the "#".
22436 print prefix "define", macro P[macro] D[macro]
22437 next
22438 } else {
22439 # Replace #undef with comments. This is necessary, for example,
22440 # in the case of _POSIX_SOURCE, which is predefined and required
22441 # on some systems where configure will not decide to define it.
22442 if (defundef == "undef") {
22443 print "/*", prefix defundef, macro, "*/"
22444 next
22448 { print }
22449 _ACAWK
22450 _ACEOF
22451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22452 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22453 fi # test -n "$CONFIG_HEADERS"
22456 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22457 shift
22458 for ac_tag
22460 case $ac_tag in
22461 :[FHLC]) ac_mode=$ac_tag; continue;;
22462 esac
22463 case $ac_mode$ac_tag in
22464 :[FHL]*:*);;
22465 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22466 :[FH]-) ac_tag=-:-;;
22467 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22468 esac
22469 ac_save_IFS=$IFS
22470 IFS=:
22471 set x $ac_tag
22472 IFS=$ac_save_IFS
22473 shift
22474 ac_file=$1
22475 shift
22477 case $ac_mode in
22478 :L) ac_source=$1;;
22479 :[FH])
22480 ac_file_inputs=
22481 for ac_f
22483 case $ac_f in
22484 -) ac_f="$ac_tmp/stdin";;
22485 *) # Look for the file first in the build tree, then in the source tree
22486 # (if the path is not absolute). The absolute path cannot be DOS-style,
22487 # because $ac_f cannot contain `:'.
22488 test -f "$ac_f" ||
22489 case $ac_f in
22490 [\\/$]*) false;;
22491 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22492 esac ||
22493 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22494 esac
22495 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22496 as_fn_append ac_file_inputs " '$ac_f'"
22497 done
22499 # Let's still pretend it is `configure' which instantiates (i.e., don't
22500 # use $as_me), people would be surprised to read:
22501 # /* config.h. Generated by config.status. */
22502 configure_input='Generated from '`
22503 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22504 `' by configure.'
22505 if test x"$ac_file" != x-; then
22506 configure_input="$ac_file. $configure_input"
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22508 $as_echo "$as_me: creating $ac_file" >&6;}
22510 # Neutralize special characters interpreted by sed in replacement strings.
22511 case $configure_input in #(
22512 *\&* | *\|* | *\\* )
22513 ac_sed_conf_input=`$as_echo "$configure_input" |
22514 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22515 *) ac_sed_conf_input=$configure_input;;
22516 esac
22518 case $ac_tag in
22519 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22521 esac
22523 esac
22525 ac_dir=`$as_dirname -- "$ac_file" ||
22526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22527 X"$ac_file" : 'X\(//\)[^/]' \| \
22528 X"$ac_file" : 'X\(//\)$' \| \
22529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22530 $as_echo X"$ac_file" |
22531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22532 s//\1/
22535 /^X\(\/\/\)[^/].*/{
22536 s//\1/
22539 /^X\(\/\/\)$/{
22540 s//\1/
22543 /^X\(\/\).*/{
22544 s//\1/
22547 s/.*/./; q'`
22548 as_dir="$ac_dir"; as_fn_mkdir_p
22549 ac_builddir=.
22551 case "$ac_dir" in
22552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22555 # A ".." for each directory in $ac_dir_suffix.
22556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22557 case $ac_top_builddir_sub in
22558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22560 esac ;;
22561 esac
22562 ac_abs_top_builddir=$ac_pwd
22563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22564 # for backward compatibility:
22565 ac_top_builddir=$ac_top_build_prefix
22567 case $srcdir in
22568 .) # We are building in place.
22569 ac_srcdir=.
22570 ac_top_srcdir=$ac_top_builddir_sub
22571 ac_abs_top_srcdir=$ac_pwd ;;
22572 [\\/]* | ?:[\\/]* ) # Absolute name.
22573 ac_srcdir=$srcdir$ac_dir_suffix;
22574 ac_top_srcdir=$srcdir
22575 ac_abs_top_srcdir=$srcdir ;;
22576 *) # Relative name.
22577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22578 ac_top_srcdir=$ac_top_build_prefix$srcdir
22579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22580 esac
22581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22584 case $ac_mode in
22587 # CONFIG_FILE
22590 _ACEOF
22592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22593 # If the template does not know about datarootdir, expand it.
22594 # FIXME: This hack should be removed a few years after 2.60.
22595 ac_datarootdir_hack=; ac_datarootdir_seen=
22596 ac_sed_dataroot='
22597 /datarootdir/ {
22601 /@datadir@/p
22602 /@docdir@/p
22603 /@infodir@/p
22604 /@localedir@/p
22605 /@mandir@/p'
22606 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22607 *datarootdir*) ac_datarootdir_seen=yes;;
22608 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22610 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22611 _ACEOF
22612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22613 ac_datarootdir_hack='
22614 s&@datadir@&$datadir&g
22615 s&@docdir@&$docdir&g
22616 s&@infodir@&$infodir&g
22617 s&@localedir@&$localedir&g
22618 s&@mandir@&$mandir&g
22619 s&\\\${datarootdir}&$datarootdir&g' ;;
22620 esac
22621 _ACEOF
22623 # Neutralize VPATH when `$srcdir' = `.'.
22624 # Shell code in configure.ac might set extrasub.
22625 # FIXME: do we really want to maintain this feature?
22626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22627 ac_sed_extra="$ac_vpsub
22628 $extrasub
22629 _ACEOF
22630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22632 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22633 s|@configure_input@|$ac_sed_conf_input|;t t
22634 s&@top_builddir@&$ac_top_builddir_sub&;t t
22635 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22636 s&@srcdir@&$ac_srcdir&;t t
22637 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22638 s&@top_srcdir@&$ac_top_srcdir&;t t
22639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22640 s&@builddir@&$ac_builddir&;t t
22641 s&@abs_builddir@&$ac_abs_builddir&;t t
22642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22643 $ac_datarootdir_hack
22645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22646 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22649 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22651 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22653 which seems to be undefined. Please make sure it is defined" >&5
22654 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22655 which seems to be undefined. Please make sure it is defined" >&2;}
22657 rm -f "$ac_tmp/stdin"
22658 case $ac_file in
22659 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22660 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22661 esac \
22662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22666 # CONFIG_HEADER
22668 if test x"$ac_file" != x-; then
22670 $as_echo "/* $configure_input */" \
22671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22672 } >"$ac_tmp/config.h" \
22673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22674 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22676 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22677 else
22678 rm -f "$ac_file"
22679 mv "$ac_tmp/config.h" "$ac_file" \
22680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22682 else
22683 $as_echo "/* $configure_input */" \
22684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22685 || as_fn_error $? "could not create -" "$LINENO" 5
22690 # CONFIG_LINK
22693 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22695 else
22696 # Prefer the file from the source tree if names are identical.
22697 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22698 ac_source=$srcdir/$ac_source
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22702 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22704 if test ! -r "$ac_source"; then
22705 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22707 rm -f "$ac_file"
22709 # Try a relative symlink, then a hard link, then a copy.
22710 case $ac_source in
22711 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22712 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22713 esac
22714 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22715 ln "$ac_source" "$ac_file" 2>/dev/null ||
22716 cp -p "$ac_source" "$ac_file" ||
22717 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22720 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22721 $as_echo "$as_me: executing $ac_file commands" >&6;}
22723 esac
22726 case $ac_file$ac_mode in
22727 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22728 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22729 "Makefile":C) wine_fn_output_makefile Makefile ;;
22731 esac
22732 done # for ac_tag
22735 as_fn_exit 0
22736 _ACEOF
22737 ac_clean_files=$ac_clean_files_save
22739 test $ac_write_fail = 0 ||
22740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22743 # configure is writing to config.log, and then calls config.status.
22744 # config.status does its own redirection, appending to config.log.
22745 # Unfortunately, on DOS this fails, as config.log is still kept open
22746 # by configure, so config.status won't be able to write to it; its
22747 # output is simply discarded. So we exec the FD to /dev/null,
22748 # effectively closing config.log, so it can be properly (re)opened and
22749 # appended to by config.status. When coming back to configure, we
22750 # need to make the FD available again.
22751 if test "$no_create" != yes; then
22752 ac_cs_success=:
22753 ac_config_status_args=
22754 test "$silent" = yes &&
22755 ac_config_status_args="$ac_config_status_args --quiet"
22756 exec 5>/dev/null
22757 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22758 exec 5>>config.log
22759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22760 # would make configure fail if this is the last instruction.
22761 $ac_cs_success || as_fn_exit 1
22763 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22765 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22769 if test "$no_create" = "yes"
22770 then
22771 exit 0
22774 ac_save_IFS="$IFS"
22775 if test "x$wine_notices" != x; then
22776 echo >&6
22777 IFS="|"
22778 for msg in $wine_notices; do
22779 IFS="$ac_save_IFS"
22780 if ${msg:+false} :; then :
22782 else
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22784 $as_echo "$as_me: $msg" >&6;}
22786 done
22788 IFS="|"
22789 for msg in $wine_warnings; do
22790 IFS="$ac_save_IFS"
22791 if ${msg:+false} :; then :
22793 else
22794 echo >&2
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22796 $as_echo "$as_me: WARNING: $msg" >&2;}
22798 done
22799 IFS="$ac_save_IFS"
22801 $as_echo "
22802 $as_me: Finished. Do '${ac_make}' to compile Wine.
22803 " >&6