winhttp/tests: Add redirect tests.
[wine.git] / configure
blobbd1ad263433fe15cdffe2d84393c0d03eb681eaf
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.17.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.17'
584 PACKAGE_STRING='Wine 6.17'
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 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JXRLIB_LIBS
649 JXRLIB_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UNWIND_LIBS
667 UNWIND_CFLAGS
668 UDEV_LIBS
669 UDEV_CFLAGS
670 OSS4_LIBS
671 OSS4_CFLAGS
672 ALSA_LIBS
673 GSTREAMER_LIBS
674 GSTREAMER_CFLAGS
675 PULSE_LIBS
676 PULSE_CFLAGS
677 GETTEXTPO_LIBS
678 FREETYPE_LIBS
679 FREETYPE_CFLAGS
680 LCMS2_LIBS
681 LCMS2_CFLAGS
682 RESOLV_LIBS
683 GPHOTO2_PORT_LIBS
684 GPHOTO2_PORT_CFLAGS
685 GPHOTO2_LIBS
686 GPHOTO2_CFLAGS
687 USB_LIBS
688 USB_CFLAGS
689 SANE_LIBS
690 SANE_CFLAGS
691 GNUTLS_LIBS
692 GNUTLS_CFLAGS
693 HAL_LIBS
694 HAL_CFLAGS
695 DBUS_LIBS
696 DBUS_CFLAGS
697 INOTIFY_LIBS
698 INOTIFY_CFLAGS
699 XSLT_LIBS
700 XSLT_CFLAGS
701 XML2_LIBS
702 XML2_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
708 XMKMF
709 PTHREAD_LIBS
710 EXCESS_PRECISION_CFLAGS
711 CROSSDEBUG
712 DELAYLOADFLAG
713 CROSSLDFLAGS
714 EXTRACROSSCFLAGS
715 CROSSCFLAGS
716 CROSSCC
717 CROSSTARGET
718 LIBWINE_DEPENDS
719 PRELINK
720 WINELOADER_DEPENDS
721 LIBWINE_LDFLAGS
722 LIBWINE_SHAREDLIB
723 METAL_LIBS
724 CARBON_LIBS
725 QUICKTIME_LIBS
726 OPENCL_LIBS
727 OPENAL_LIBS
728 COREAUDIO_LIBS
729 SECURITY_LIBS
730 DISKARBITRATION_LIBS
731 SYSTEMCONFIGURATION_LIBS
732 APPKIT_LIBS
733 CORESERVICES_LIBS
734 APPLICATIONSERVICES_LIBS
735 FORCEFEEDBACK_LIBS
736 IOKIT_LIBS
737 COREFOUNDATION_LIBS
738 OBJCPP
739 ac_ct_OBJC
740 OBJCFLAGS
741 OBJC
742 DLLTOOL
743 WINELOADER_PROGRAMS
744 CONFIGURE_TARGETS
745 DISABLED_SUBDIRS
746 SUBDIRS
747 READELF
748 OTOOL
750 WINEPRELOADER_LDFLAGS
751 WINELOADER_LDFLAGS
752 TOP_INSTALL_DEV
753 TOP_INSTALL_LIB
754 UNIXLDFLAGS
755 UNIXDLLFLAGS
756 LDEXECFLAGS
757 LDDLLFLAGS
758 DLLFLAGS
760 OPENGL_LIBS
761 I386_LIBS
762 ICOTOOL
763 CONVERT
764 RSVG
765 FONTFORGE
766 PKG_CONFIG
767 MSGFMT
768 LDCONFIG
769 EGREP
770 GREP
771 LN_S
772 RANLIB
773 STRIP
774 ac_ct_AR
776 BISON
777 FLEX
778 TOOLSDIR
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_console_l3_2_0
940 enable_api_ms_win_core_crt_l1_1_0
941 enable_api_ms_win_core_crt_l2_1_0
942 enable_api_ms_win_core_datetime_l1_1_0
943 enable_api_ms_win_core_datetime_l1_1_1
944 enable_api_ms_win_core_debug_l1_1_0
945 enable_api_ms_win_core_debug_l1_1_1
946 enable_api_ms_win_core_delayload_l1_1_0
947 enable_api_ms_win_core_delayload_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_0
949 enable_api_ms_win_core_errorhandling_l1_1_1
950 enable_api_ms_win_core_errorhandling_l1_1_2
951 enable_api_ms_win_core_errorhandling_l1_1_3
952 enable_api_ms_win_core_featurestaging_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_0
954 enable_api_ms_win_core_fibers_l1_1_1
955 enable_api_ms_win_core_file_ansi_l2_1_0
956 enable_api_ms_win_core_file_fromapp_l1_1_0
957 enable_api_ms_win_core_file_l1_1_0
958 enable_api_ms_win_core_file_l1_2_0
959 enable_api_ms_win_core_file_l1_2_1
960 enable_api_ms_win_core_file_l1_2_2
961 enable_api_ms_win_core_file_l2_1_0
962 enable_api_ms_win_core_file_l2_1_1
963 enable_api_ms_win_core_file_l2_1_2
964 enable_api_ms_win_core_handle_l1_1_0
965 enable_api_ms_win_core_heap_l1_1_0
966 enable_api_ms_win_core_heap_l1_2_0
967 enable_api_ms_win_core_heap_l2_1_0
968 enable_api_ms_win_core_heap_obsolete_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_1_0
970 enable_api_ms_win_core_interlocked_l1_2_0
971 enable_api_ms_win_core_io_l1_1_0
972 enable_api_ms_win_core_io_l1_1_1
973 enable_api_ms_win_core_job_l1_1_0
974 enable_api_ms_win_core_job_l2_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_0
976 enable_api_ms_win_core_kernel32_legacy_l1_1_1
977 enable_api_ms_win_core_kernel32_legacy_l1_1_2
978 enable_api_ms_win_core_kernel32_legacy_l1_1_5
979 enable_api_ms_win_core_kernel32_private_l1_1_1
980 enable_api_ms_win_core_largeinteger_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_0
982 enable_api_ms_win_core_libraryloader_l1_1_1
983 enable_api_ms_win_core_libraryloader_l1_2_0
984 enable_api_ms_win_core_libraryloader_l1_2_1
985 enable_api_ms_win_core_libraryloader_l1_2_2
986 enable_api_ms_win_core_libraryloader_l2_1_0
987 enable_api_ms_win_core_localization_l1_1_0
988 enable_api_ms_win_core_localization_l1_2_0
989 enable_api_ms_win_core_localization_l1_2_1
990 enable_api_ms_win_core_localization_l1_2_2
991 enable_api_ms_win_core_localization_l2_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_1_0
993 enable_api_ms_win_core_localization_obsolete_l1_2_0
994 enable_api_ms_win_core_localization_obsolete_l1_3_0
995 enable_api_ms_win_core_localization_private_l1_1_0
996 enable_api_ms_win_core_localregistry_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_0
998 enable_api_ms_win_core_memory_l1_1_1
999 enable_api_ms_win_core_memory_l1_1_2
1000 enable_api_ms_win_core_memory_l1_1_3
1001 enable_api_ms_win_core_memory_l1_1_4
1002 enable_api_ms_win_core_misc_l1_1_0
1003 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_1_0
1005 enable_api_ms_win_core_namedpipe_l1_2_0
1006 enable_api_ms_win_core_namespace_l1_1_0
1007 enable_api_ms_win_core_normalization_l1_1_0
1008 enable_api_ms_win_core_path_l1_1_0
1009 enable_api_ms_win_core_privateprofile_l1_1_1
1010 enable_api_ms_win_core_processenvironment_l1_1_0
1011 enable_api_ms_win_core_processenvironment_l1_2_0
1012 enable_api_ms_win_core_processthreads_l1_1_0
1013 enable_api_ms_win_core_processthreads_l1_1_1
1014 enable_api_ms_win_core_processthreads_l1_1_2
1015 enable_api_ms_win_core_processthreads_l1_1_3
1016 enable_api_ms_win_core_processtopology_l1_1_0
1017 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1018 enable_api_ms_win_core_profile_l1_1_0
1019 enable_api_ms_win_core_psapi_ansi_l1_1_0
1020 enable_api_ms_win_core_psapi_l1_1_0
1021 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1022 enable_api_ms_win_core_psm_appnotify_l1_1_0
1023 enable_api_ms_win_core_quirks_l1_1_0
1024 enable_api_ms_win_core_realtime_l1_1_0
1025 enable_api_ms_win_core_registry_l1_1_0
1026 enable_api_ms_win_core_registry_l2_1_0
1027 enable_api_ms_win_core_registry_l2_2_0
1028 enable_api_ms_win_core_registryuserspecific_l1_1_0
1029 enable_api_ms_win_core_rtlsupport_l1_1_0
1030 enable_api_ms_win_core_rtlsupport_l1_2_0
1031 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1032 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1033 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1034 enable_api_ms_win_core_shutdown_l1_1_0
1035 enable_api_ms_win_core_sidebyside_l1_1_0
1036 enable_api_ms_win_core_string_l1_1_0
1037 enable_api_ms_win_core_string_l2_1_0
1038 enable_api_ms_win_core_string_obsolete_l1_1_0
1039 enable_api_ms_win_core_stringansi_l1_1_0
1040 enable_api_ms_win_core_stringloader_l1_1_1
1041 enable_api_ms_win_core_synch_ansi_l1_1_0
1042 enable_api_ms_win_core_synch_l1_1_0
1043 enable_api_ms_win_core_synch_l1_2_0
1044 enable_api_ms_win_core_synch_l1_2_1
1045 enable_api_ms_win_core_sysinfo_l1_1_0
1046 enable_api_ms_win_core_sysinfo_l1_2_0
1047 enable_api_ms_win_core_sysinfo_l1_2_1
1048 enable_api_ms_win_core_systemtopology_l1_1_0
1049 enable_api_ms_win_core_threadpool_l1_1_0
1050 enable_api_ms_win_core_threadpool_l1_2_0
1051 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1052 enable_api_ms_win_core_threadpool_private_l1_1_0
1053 enable_api_ms_win_core_timezone_l1_1_0
1054 enable_api_ms_win_core_toolhelp_l1_1_0
1055 enable_api_ms_win_core_url_l1_1_0
1056 enable_api_ms_win_core_util_l1_1_0
1057 enable_api_ms_win_core_version_l1_1_0
1058 enable_api_ms_win_core_version_l1_1_1
1059 enable_api_ms_win_core_version_private_l1_1_0
1060 enable_api_ms_win_core_versionansi_l1_1_0
1061 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1062 enable_api_ms_win_core_winrt_error_l1_1_0
1063 enable_api_ms_win_core_winrt_error_l1_1_1
1064 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1065 enable_api_ms_win_core_winrt_l1_1_0
1066 enable_api_ms_win_core_winrt_registration_l1_1_0
1067 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1068 enable_api_ms_win_core_winrt_string_l1_1_0
1069 enable_api_ms_win_core_winrt_string_l1_1_1
1070 enable_api_ms_win_core_wow64_l1_1_0
1071 enable_api_ms_win_core_wow64_l1_1_1
1072 enable_api_ms_win_core_xstate_l1_1_0
1073 enable_api_ms_win_core_xstate_l2_1_0
1074 enable_api_ms_win_crt_conio_l1_1_0
1075 enable_api_ms_win_crt_convert_l1_1_0
1076 enable_api_ms_win_crt_environment_l1_1_0
1077 enable_api_ms_win_crt_filesystem_l1_1_0
1078 enable_api_ms_win_crt_heap_l1_1_0
1079 enable_api_ms_win_crt_locale_l1_1_0
1080 enable_api_ms_win_crt_math_l1_1_0
1081 enable_api_ms_win_crt_multibyte_l1_1_0
1082 enable_api_ms_win_crt_private_l1_1_0
1083 enable_api_ms_win_crt_process_l1_1_0
1084 enable_api_ms_win_crt_runtime_l1_1_0
1085 enable_api_ms_win_crt_stdio_l1_1_0
1086 enable_api_ms_win_crt_string_l1_1_0
1087 enable_api_ms_win_crt_time_l1_1_0
1088 enable_api_ms_win_crt_utility_l1_1_0
1089 enable_api_ms_win_devices_config_l1_1_0
1090 enable_api_ms_win_devices_config_l1_1_1
1091 enable_api_ms_win_devices_query_l1_1_1
1092 enable_api_ms_win_downlevel_advapi32_l1_1_0
1093 enable_api_ms_win_downlevel_advapi32_l2_1_0
1094 enable_api_ms_win_downlevel_kernel32_l2_1_0
1095 enable_api_ms_win_downlevel_normaliz_l1_1_0
1096 enable_api_ms_win_downlevel_ole32_l1_1_0
1097 enable_api_ms_win_downlevel_shell32_l1_1_0
1098 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1099 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1100 enable_api_ms_win_downlevel_user32_l1_1_0
1101 enable_api_ms_win_downlevel_version_l1_1_0
1102 enable_api_ms_win_dx_d3dkmt_l1_1_0
1103 enable_api_ms_win_eventing_classicprovider_l1_1_0
1104 enable_api_ms_win_eventing_consumer_l1_1_0
1105 enable_api_ms_win_eventing_controller_l1_1_0
1106 enable_api_ms_win_eventing_legacy_l1_1_0
1107 enable_api_ms_win_eventing_provider_l1_1_0
1108 enable_api_ms_win_eventlog_legacy_l1_1_0
1109 enable_api_ms_win_gaming_tcui_l1_1_0
1110 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1111 enable_api_ms_win_mm_joystick_l1_1_0
1112 enable_api_ms_win_mm_misc_l1_1_1
1113 enable_api_ms_win_mm_mme_l1_1_0
1114 enable_api_ms_win_mm_time_l1_1_0
1115 enable_api_ms_win_ntuser_dc_access_l1_1_0
1116 enable_api_ms_win_ntuser_rectangle_l1_1_0
1117 enable_api_ms_win_ntuser_sysparams_l1_1_0
1118 enable_api_ms_win_perf_legacy_l1_1_0
1119 enable_api_ms_win_power_base_l1_1_0
1120 enable_api_ms_win_power_setting_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1123 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1124 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1125 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1126 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1127 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1128 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1129 enable_api_ms_win_security_audit_l1_1_1
1130 enable_api_ms_win_security_base_l1_1_0
1131 enable_api_ms_win_security_base_l1_2_0
1132 enable_api_ms_win_security_base_private_l1_1_1
1133 enable_api_ms_win_security_credentials_l1_1_0
1134 enable_api_ms_win_security_cryptoapi_l1_1_0
1135 enable_api_ms_win_security_grouppolicy_l1_1_0
1136 enable_api_ms_win_security_lsalookup_l1_1_0
1137 enable_api_ms_win_security_lsalookup_l1_1_1
1138 enable_api_ms_win_security_lsalookup_l2_1_0
1139 enable_api_ms_win_security_lsalookup_l2_1_1
1140 enable_api_ms_win_security_lsapolicy_l1_1_0
1141 enable_api_ms_win_security_provider_l1_1_0
1142 enable_api_ms_win_security_sddl_l1_1_0
1143 enable_api_ms_win_security_systemfunctions_l1_1_0
1144 enable_api_ms_win_service_core_l1_1_0
1145 enable_api_ms_win_service_core_l1_1_1
1146 enable_api_ms_win_service_management_l1_1_0
1147 enable_api_ms_win_service_management_l2_1_0
1148 enable_api_ms_win_service_private_l1_1_1
1149 enable_api_ms_win_service_winsvc_l1_1_0
1150 enable_api_ms_win_service_winsvc_l1_2_0
1151 enable_api_ms_win_shcore_obsolete_l1_1_0
1152 enable_api_ms_win_shcore_scaling_l1_1_0
1153 enable_api_ms_win_shcore_scaling_l1_1_1
1154 enable_api_ms_win_shcore_stream_l1_1_0
1155 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1156 enable_api_ms_win_shcore_thread_l1_1_0
1157 enable_api_ms_win_shell_shellcom_l1_1_0
1158 enable_api_ms_win_shell_shellfolders_l1_1_0
1159 enable_apphelp
1160 enable_appwiz_cpl
1161 enable_atl
1162 enable_atl100
1163 enable_atl110
1164 enable_atl80
1165 enable_atl90
1166 enable_atlthunk
1167 enable_atmlib
1168 enable_authz
1169 enable_avicap32
1170 enable_avifil32
1171 enable_avrt
1172 enable_bcrypt
1173 enable_bluetoothapis
1174 enable_browseui
1175 enable_bthprops_cpl
1176 enable_cabinet
1177 enable_capi2032
1178 enable_cards
1179 enable_cdosys
1180 enable_cfgmgr32
1181 enable_clusapi
1182 enable_combase
1183 enable_comcat
1184 enable_comctl32
1185 enable_comdlg32
1186 enable_compstui
1187 enable_comsvcs
1188 enable_concrt140
1189 enable_connect
1190 enable_credui
1191 enable_crtdll
1192 enable_crypt32
1193 enable_cryptdlg
1194 enable_cryptdll
1195 enable_cryptext
1196 enable_cryptnet
1197 enable_cryptsp
1198 enable_cryptui
1199 enable_ctapi32
1200 enable_ctl3d32
1201 enable_d2d1
1202 enable_d3d10
1203 enable_d3d10_1
1204 enable_d3d10core
1205 enable_d3d11
1206 enable_d3d12
1207 enable_d3d8
1208 enable_d3d8thk
1209 enable_d3d9
1210 enable_d3dcompiler_33
1211 enable_d3dcompiler_34
1212 enable_d3dcompiler_35
1213 enable_d3dcompiler_36
1214 enable_d3dcompiler_37
1215 enable_d3dcompiler_38
1216 enable_d3dcompiler_39
1217 enable_d3dcompiler_40
1218 enable_d3dcompiler_41
1219 enable_d3dcompiler_42
1220 enable_d3dcompiler_43
1221 enable_d3dcompiler_46
1222 enable_d3dcompiler_47
1223 enable_d3dim
1224 enable_d3dim700
1225 enable_d3drm
1226 enable_d3dx10_33
1227 enable_d3dx10_34
1228 enable_d3dx10_35
1229 enable_d3dx10_36
1230 enable_d3dx10_37
1231 enable_d3dx10_38
1232 enable_d3dx10_39
1233 enable_d3dx10_40
1234 enable_d3dx10_41
1235 enable_d3dx10_42
1236 enable_d3dx10_43
1237 enable_d3dx11_42
1238 enable_d3dx11_43
1239 enable_d3dx9_24
1240 enable_d3dx9_25
1241 enable_d3dx9_26
1242 enable_d3dx9_27
1243 enable_d3dx9_28
1244 enable_d3dx9_29
1245 enable_d3dx9_30
1246 enable_d3dx9_31
1247 enable_d3dx9_32
1248 enable_d3dx9_33
1249 enable_d3dx9_34
1250 enable_d3dx9_35
1251 enable_d3dx9_36
1252 enable_d3dx9_37
1253 enable_d3dx9_38
1254 enable_d3dx9_39
1255 enable_d3dx9_40
1256 enable_d3dx9_41
1257 enable_d3dx9_42
1258 enable_d3dx9_43
1259 enable_d3dxof
1260 enable_davclnt
1261 enable_dbgeng
1262 enable_dbghelp
1263 enable_dciman32
1264 enable_dcomp
1265 enable_ddraw
1266 enable_ddrawex
1267 enable_devenum
1268 enable_dhcpcsvc
1269 enable_dhtmled_ocx
1270 enable_difxapi
1271 enable_dinput
1272 enable_dinput8
1273 enable_directmanipulation
1274 enable_dispex
1275 enable_dmband
1276 enable_dmcompos
1277 enable_dmime
1278 enable_dmloader
1279 enable_dmoguids
1280 enable_dmscript
1281 enable_dmstyle
1282 enable_dmsynth
1283 enable_dmusic
1284 enable_dmusic32
1285 enable_dnsapi
1286 enable_dplay
1287 enable_dplayx
1288 enable_dpnaddr
1289 enable_dpnet
1290 enable_dpnhpast
1291 enable_dpnhupnp
1292 enable_dpnlobby
1293 enable_dpvoice
1294 enable_dpwsockx
1295 enable_drmclien
1296 enable_dsdmo
1297 enable_dsound
1298 enable_dsquery
1299 enable_dssenh
1300 enable_dsuiext
1301 enable_dswave
1302 enable_dwmapi
1303 enable_dwrite
1304 enable_dx8vb
1305 enable_dxdiagn
1306 enable_dxerr8
1307 enable_dxerr9
1308 enable_dxgi
1309 enable_dxguid
1310 enable_dxtrans
1311 enable_dxva2
1312 enable_esent
1313 enable_evr
1314 enable_explorerframe
1315 enable_ext_ms_win_authz_context_l1_1_0
1316 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1317 enable_ext_ms_win_dwmapi_ext_l1_1_0
1318 enable_ext_ms_win_gdi_dc_create_l1_1_0
1319 enable_ext_ms_win_gdi_dc_create_l1_1_1
1320 enable_ext_ms_win_gdi_dc_l1_2_0
1321 enable_ext_ms_win_gdi_devcaps_l1_1_0
1322 enable_ext_ms_win_gdi_draw_l1_1_0
1323 enable_ext_ms_win_gdi_draw_l1_1_1
1324 enable_ext_ms_win_gdi_font_l1_1_0
1325 enable_ext_ms_win_gdi_font_l1_1_1
1326 enable_ext_ms_win_gdi_render_l1_1_0
1327 enable_ext_ms_win_kernel32_package_current_l1_1_0
1328 enable_ext_ms_win_kernel32_package_l1_1_1
1329 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1330 enable_ext_ms_win_ntuser_draw_l1_1_0
1331 enable_ext_ms_win_ntuser_gui_l1_1_0
1332 enable_ext_ms_win_ntuser_gui_l1_3_0
1333 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1334 enable_ext_ms_win_ntuser_message_l1_1_0
1335 enable_ext_ms_win_ntuser_message_l1_1_1
1336 enable_ext_ms_win_ntuser_misc_l1_1_0
1337 enable_ext_ms_win_ntuser_misc_l1_2_0
1338 enable_ext_ms_win_ntuser_misc_l1_5_1
1339 enable_ext_ms_win_ntuser_mouse_l1_1_0
1340 enable_ext_ms_win_ntuser_private_l1_1_1
1341 enable_ext_ms_win_ntuser_private_l1_3_1
1342 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1343 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1344 enable_ext_ms_win_ntuser_window_l1_1_0
1345 enable_ext_ms_win_ntuser_window_l1_1_1
1346 enable_ext_ms_win_ntuser_window_l1_1_4
1347 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1348 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1349 enable_ext_ms_win_oleacc_l1_1_0
1350 enable_ext_ms_win_ras_rasapi32_l1_1_0
1351 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1352 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1353 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1356 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1357 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1358 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1359 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1360 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1361 enable_ext_ms_win_security_credui_l1_1_0
1362 enable_ext_ms_win_security_cryptui_l1_1_0
1363 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1364 enable_ext_ms_win_shell_comdlg32_l1_1_0
1365 enable_ext_ms_win_shell_shell32_l1_2_0
1366 enable_ext_ms_win_uxtheme_themes_l1_1_0
1367 enable_faultrep
1368 enable_feclient
1369 enable_fltlib
1370 enable_fltmgr_sys
1371 enable_fntcache
1372 enable_fontsub
1373 enable_fusion
1374 enable_fwpuclnt
1375 enable_gameux
1376 enable_gamingtcui
1377 enable_gdi32
1378 enable_gdiplus
1379 enable_glu32
1380 enable_gphoto2_ds
1381 enable_gpkcsp
1382 enable_hal
1383 enable_hhctrl_ocx
1384 enable_hid
1385 enable_hidclass_sys
1386 enable_hidparse_sys
1387 enable_hlink
1388 enable_hnetcfg
1389 enable_http_sys
1390 enable_httpapi
1391 enable_iccvid
1392 enable_icmp
1393 enable_ieframe
1394 enable_ieproxy
1395 enable_imaadp32_acm
1396 enable_imagehlp
1397 enable_imm32
1398 enable_inetcomm
1399 enable_inetcpl_cpl
1400 enable_inetmib1
1401 enable_infosoft
1402 enable_initpki
1403 enable_inkobj
1404 enable_inseng
1405 enable_iphlpapi
1406 enable_iprop
1407 enable_irprops_cpl
1408 enable_itircl
1409 enable_itss
1410 enable_joy_cpl
1411 enable_jscript
1412 enable_jsproxy
1413 enable_kerberos
1414 enable_kernel32
1415 enable_kernelbase
1416 enable_ksecdd_sys
1417 enable_ksproxy_ax
1418 enable_ksuser
1419 enable_ktmw32
1420 enable_l3codeca_acm
1421 enable_light_msstyles
1422 enable_loadperf
1423 enable_localspl
1424 enable_localui
1425 enable_lz32
1426 enable_mapi32
1427 enable_mapistub
1428 enable_mciavi32
1429 enable_mcicda
1430 enable_mciqtz32
1431 enable_mciseq
1432 enable_mciwave
1433 enable_mf
1434 enable_mf3216
1435 enable_mferror
1436 enable_mfmediaengine
1437 enable_mfplat
1438 enable_mfplay
1439 enable_mfreadwrite
1440 enable_mfuuid
1441 enable_mgmtapi
1442 enable_midimap
1443 enable_mlang
1444 enable_mmcndmgr
1445 enable_mmdevapi
1446 enable_mountmgr_sys
1447 enable_mp3dmod
1448 enable_mpr
1449 enable_mprapi
1450 enable_msacm32_drv
1451 enable_msacm32
1452 enable_msado15
1453 enable_msadp32_acm
1454 enable_msasn1
1455 enable_mscat32
1456 enable_mscms
1457 enable_mscoree
1458 enable_mscorwks
1459 enable_msctf
1460 enable_msctfp
1461 enable_msdaps
1462 enable_msdelta
1463 enable_msdmo
1464 enable_msdrm
1465 enable_msftedit
1466 enable_msg711_acm
1467 enable_msgsm32_acm
1468 enable_mshtml_tlb
1469 enable_mshtml
1470 enable_msi
1471 enable_msident
1472 enable_msimg32
1473 enable_msimsg
1474 enable_msimtf
1475 enable_msisip
1476 enable_msisys_ocx
1477 enable_msls31
1478 enable_msnet32
1479 enable_mspatcha
1480 enable_msports
1481 enable_msrle32
1482 enable_msscript_ocx
1483 enable_mssign32
1484 enable_mssip32
1485 enable_mstask
1486 enable_msv1_0
1487 enable_msvcirt
1488 enable_msvcm80
1489 enable_msvcm90
1490 enable_msvcp100
1491 enable_msvcp110
1492 enable_msvcp120
1493 enable_msvcp120_app
1494 enable_msvcp140
1495 enable_msvcp140_1
1496 enable_msvcp60
1497 enable_msvcp70
1498 enable_msvcp71
1499 enable_msvcp80
1500 enable_msvcp90
1501 enable_msvcr100
1502 enable_msvcr110
1503 enable_msvcr120
1504 enable_msvcr120_app
1505 enable_msvcr70
1506 enable_msvcr71
1507 enable_msvcr80
1508 enable_msvcr90
1509 enable_msvcrt
1510 enable_msvcrt20
1511 enable_msvcrt40
1512 enable_msvcrtd
1513 enable_msvfw32
1514 enable_msvidc32
1515 enable_mswsock
1516 enable_msxml
1517 enable_msxml2
1518 enable_msxml3
1519 enable_msxml4
1520 enable_msxml6
1521 enable_mtxdm
1522 enable_ncrypt
1523 enable_nddeapi
1524 enable_ndis_sys
1525 enable_netapi32
1526 enable_netcfgx
1527 enable_netio_sys
1528 enable_netprofm
1529 enable_netutils
1530 enable_newdev
1531 enable_ninput
1532 enable_normaliz
1533 enable_npmshtml
1534 enable_npptools
1535 enable_nsi
1536 enable_nsiproxy_sys
1537 enable_ntdll
1538 enable_ntdsapi
1539 enable_ntoskrnl_exe
1540 enable_ntprint
1541 enable_objsel
1542 enable_odbc32
1543 enable_odbcbcp
1544 enable_odbccp32
1545 enable_odbccu32
1546 enable_ole32
1547 enable_oleacc
1548 enable_oleaut32
1549 enable_olecli32
1550 enable_oledb32
1551 enable_oledlg
1552 enable_olepro32
1553 enable_olesvr32
1554 enable_olethk32
1555 enable_opcservices
1556 enable_openal32
1557 enable_opencl
1558 enable_opengl32
1559 enable_packager
1560 enable_pdh
1561 enable_photometadatahandler
1562 enable_pidgen
1563 enable_powrprof
1564 enable_printui
1565 enable_prntvpt
1566 enable_propsys
1567 enable_psapi
1568 enable_pstorec
1569 enable_pwrshplugin
1570 enable_qasf
1571 enable_qcap
1572 enable_qdvd
1573 enable_qedit
1574 enable_qmgr
1575 enable_qmgrprxy
1576 enable_quartz
1577 enable_query
1578 enable_qwave
1579 enable_rasapi32
1580 enable_rasdlg
1581 enable_regapi
1582 enable_resutils
1583 enable_riched20
1584 enable_riched32
1585 enable_rpcrt4
1586 enable_rsabase
1587 enable_rsaenh
1588 enable_rstrtmgr
1589 enable_rtutils
1590 enable_rtworkq
1591 enable_samlib
1592 enable_sane_ds
1593 enable_sapi
1594 enable_sas
1595 enable_scarddlg
1596 enable_sccbase
1597 enable_schannel
1598 enable_schedsvc
1599 enable_scrobj
1600 enable_scrrun
1601 enable_scsiport_sys
1602 enable_sechost
1603 enable_secur32
1604 enable_security
1605 enable_sensapi
1606 enable_serialui
1607 enable_setupapi
1608 enable_sfc
1609 enable_sfc_os
1610 enable_shcore
1611 enable_shdoclc
1612 enable_shdocvw
1613 enable_shell32
1614 enable_shfolder
1615 enable_shlwapi
1616 enable_slbcsp
1617 enable_slc
1618 enable_snmpapi
1619 enable_softpub
1620 enable_spoolss
1621 enable_sppc
1622 enable_srclient
1623 enable_srvcli
1624 enable_sspicli
1625 enable_stdole2_tlb
1626 enable_stdole32_tlb
1627 enable_sti
1628 enable_strmbase
1629 enable_strmdll
1630 enable_strmiids
1631 enable_svrapi
1632 enable_sxs
1633 enable_t2embed
1634 enable_tapi32
1635 enable_taskschd
1636 enable_tbs
1637 enable_tdh
1638 enable_tdi_sys
1639 enable_traffic
1640 enable_twain_32
1641 enable_tzres
1642 enable_ucrtbase
1643 enable_uianimation
1644 enable_uiautomationcore
1645 enable_uiribbon
1646 enable_unicows
1647 enable_updspapi
1648 enable_url
1649 enable_urlmon
1650 enable_usbd_sys
1651 enable_user32
1652 enable_userenv
1653 enable_usp10
1654 enable_utildll
1655 enable_uuid
1656 enable_uxtheme
1657 enable_vbscript
1658 enable_vcomp
1659 enable_vcomp100
1660 enable_vcomp110
1661 enable_vcomp120
1662 enable_vcomp140
1663 enable_vcomp90
1664 enable_vcruntime140
1665 enable_vcruntime140_1
1666 enable_vdmdbg
1667 enable_version
1668 enable_vga
1669 enable_virtdisk
1670 enable_vssapi
1671 enable_vulkan_1
1672 enable_wbemdisp
1673 enable_wbemprox
1674 enable_wbemuuid
1675 enable_wdscore
1676 enable_webservices
1677 enable_websocket
1678 enable_wer
1679 enable_wevtapi
1680 enable_wevtsvc
1681 enable_wiaservc
1682 enable_wimgapi
1683 enable_win32u
1684 enable_windows_gaming_input
1685 enable_windows_globalization
1686 enable_windows_media_devices
1687 enable_windows_media_speech
1688 enable_windowscodecs
1689 enable_windowscodecsext
1690 enable_winealsa_drv
1691 enable_wineandroid_drv
1692 enable_winebus_sys
1693 enable_winecoreaudio_drv
1694 enable_winecrt0
1695 enable_wined3d
1696 enable_winegstreamer
1697 enable_winehid_sys
1698 enable_winejoystick_drv
1699 enable_winemac_drv
1700 enable_winemapi
1701 enable_wineoss_drv
1702 enable_wineps_drv
1703 enable_winepulse_drv
1704 enable_wineqtdecoder
1705 enable_wineusb_sys
1706 enable_winevulkan
1707 enable_winex11_drv
1708 enable_winexinput_sys
1709 enable_wing32
1710 enable_winhttp
1711 enable_wininet
1712 enable_winmm
1713 enable_winnls32
1714 enable_winscard
1715 enable_winspool_drv
1716 enable_winsta
1717 enable_wintab32
1718 enable_wintrust
1719 enable_winusb
1720 enable_wlanapi
1721 enable_wlanui
1722 enable_wldap32
1723 enable_wmasf
1724 enable_wmcodecdspuuid
1725 enable_wmi
1726 enable_wmiutils
1727 enable_wmp
1728 enable_wmphoto
1729 enable_wmvcore
1730 enable_wnaspi32
1731 enable_wow64
1732 enable_wow64cpu
1733 enable_wow64win
1734 enable_wpc
1735 enable_wpcap
1736 enable_ws2_32
1737 enable_wsdapi
1738 enable_wshom_ocx
1739 enable_wsnmp32
1740 enable_wsock32
1741 enable_wtsapi32
1742 enable_wuapi
1743 enable_wuaueng
1744 enable_x3daudio1_0
1745 enable_x3daudio1_1
1746 enable_x3daudio1_2
1747 enable_x3daudio1_3
1748 enable_x3daudio1_4
1749 enable_x3daudio1_5
1750 enable_x3daudio1_6
1751 enable_x3daudio1_7
1752 enable_xactengine2_0
1753 enable_xactengine2_4
1754 enable_xactengine2_7
1755 enable_xactengine2_9
1756 enable_xactengine3_0
1757 enable_xactengine3_1
1758 enable_xactengine3_2
1759 enable_xactengine3_3
1760 enable_xactengine3_4
1761 enable_xactengine3_5
1762 enable_xactengine3_6
1763 enable_xactengine3_7
1764 enable_xapofx1_1
1765 enable_xapofx1_2
1766 enable_xapofx1_3
1767 enable_xapofx1_4
1768 enable_xapofx1_5
1769 enable_xaudio2_0
1770 enable_xaudio2_1
1771 enable_xaudio2_2
1772 enable_xaudio2_3
1773 enable_xaudio2_4
1774 enable_xaudio2_5
1775 enable_xaudio2_6
1776 enable_xaudio2_7
1777 enable_xaudio2_8
1778 enable_xaudio2_9
1779 enable_xinput1_1
1780 enable_xinput1_2
1781 enable_xinput1_3
1782 enable_xinput1_4
1783 enable_xinput9_1_0
1784 enable_xmllite
1785 enable_xolehlp
1786 enable_xpsprint
1787 enable_xpssvcs
1788 enable_fonts
1789 enable_include
1790 enable_port
1791 enable_wine
1792 enable_wpp
1793 enable_loader
1794 enable_nls
1795 enable_po
1796 enable_arp
1797 enable_aspnet_regiis
1798 enable_attrib
1799 enable_cabarc
1800 enable_cacls
1801 enable_chcp_com
1802 enable_clock
1803 enable_cmd
1804 enable_conhost
1805 enable_control
1806 enable_cscript
1807 enable_dism
1808 enable_dplaysvr
1809 enable_dpnsvr
1810 enable_dpvsetup
1811 enable_dxdiag
1812 enable_eject
1813 enable_expand
1814 enable_explorer
1815 enable_extrac32
1816 enable_fc
1817 enable_find
1818 enable_findstr
1819 enable_fsutil
1820 enable_hh
1821 enable_hostname
1822 enable_icacls
1823 enable_icinfo
1824 enable_iexplore
1825 enable_ipconfig
1826 enable_lodctr
1827 enable_mofcomp
1828 enable_mshta
1829 enable_msidb
1830 enable_msiexec
1831 enable_msinfo32
1832 enable_net
1833 enable_netsh
1834 enable_netstat
1835 enable_ngen
1836 enable_notepad
1837 enable_oleview
1838 enable_ping
1839 enable_plugplay
1840 enable_powershell
1841 enable_presentationfontcache
1842 enable_progman
1843 enable_reg
1844 enable_regasm
1845 enable_regedit
1846 enable_regini
1847 enable_regsvcs
1848 enable_regsvr32
1849 enable_rpcss
1850 enable_rundll32
1851 enable_sc
1852 enable_schtasks
1853 enable_sdbinst
1854 enable_secedit
1855 enable_servicemodelreg
1856 enable_services
1857 enable_shutdown
1858 enable_spoolsv
1859 enable_start
1860 enable_subst
1861 enable_svchost
1862 enable_systeminfo
1863 enable_taskkill
1864 enable_tasklist
1865 enable_taskmgr
1866 enable_termsv
1867 enable_uninstaller
1868 enable_unlodctr
1869 enable_view
1870 enable_wevtutil
1871 enable_where
1872 enable_whoami
1873 enable_wineboot
1874 enable_winebrowser
1875 enable_winecfg
1876 enable_wineconsole
1877 enable_winedbg
1878 enable_winedevice
1879 enable_winefile
1880 enable_winemenubuilder
1881 enable_winemine
1882 enable_winemsibuilder
1883 enable_winepath
1884 enable_winetest
1885 enable_winhlp32
1886 enable_winmgmt
1887 enable_winver
1888 enable_wmic
1889 enable_wmplayer
1890 enable_wordpad
1891 enable_write
1892 enable_wscript
1893 enable_wuauserv
1894 enable_wusa
1895 enable_xcopy
1896 enable_server
1897 enable_tools
1898 enable_sfnt2fon
1899 enable_widl
1900 enable_winebuild
1901 enable_winedump
1902 enable_winegcc
1903 enable_winemaker
1904 enable_wmc
1905 enable_wrc
1907 ac_precious_vars='build_alias
1908 host_alias
1909 target_alias
1911 CFLAGS
1912 LDFLAGS
1913 LIBS
1914 CPPFLAGS
1916 CXXFLAGS
1919 OBJC
1920 OBJCFLAGS
1921 OBJCPP
1922 XMKMF
1923 XML2_CFLAGS
1924 XML2_LIBS
1925 XSLT_CFLAGS
1926 XSLT_LIBS
1927 INOTIFY_CFLAGS
1928 INOTIFY_LIBS
1929 DBUS_CFLAGS
1930 DBUS_LIBS
1931 HAL_CFLAGS
1932 HAL_LIBS
1933 GNUTLS_CFLAGS
1934 GNUTLS_LIBS
1935 SANE_CFLAGS
1936 SANE_LIBS
1937 USB_CFLAGS
1938 USB_LIBS
1939 GPHOTO2_CFLAGS
1940 GPHOTO2_LIBS
1941 GPHOTO2_PORT_CFLAGS
1942 GPHOTO2_PORT_LIBS
1943 LCMS2_CFLAGS
1944 LCMS2_LIBS
1945 FREETYPE_CFLAGS
1946 FREETYPE_LIBS
1947 PULSE_CFLAGS
1948 PULSE_LIBS
1949 GSTREAMER_CFLAGS
1950 GSTREAMER_LIBS
1951 UDEV_CFLAGS
1952 UDEV_LIBS
1953 UNWIND_CFLAGS
1954 UNWIND_LIBS
1955 SDL2_CFLAGS
1956 SDL2_LIBS
1957 FAUDIO_CFLAGS
1958 FAUDIO_LIBS
1959 CAPI20_CFLAGS
1960 CAPI20_LIBS
1961 CUPS_CFLAGS
1962 CUPS_LIBS
1963 FONTCONFIG_CFLAGS
1964 FONTCONFIG_LIBS
1965 KRB5_CFLAGS
1966 KRB5_LIBS
1967 GSSAPI_CFLAGS
1968 GSSAPI_LIBS
1969 JPEG_CFLAGS
1970 JPEG_LIBS
1971 JXRLIB_CFLAGS
1972 JXRLIB_LIBS
1973 PNG_CFLAGS
1974 PNG_LIBS
1975 TIFF_CFLAGS
1976 TIFF_LIBS
1977 MPG123_CFLAGS
1978 MPG123_LIBS
1979 NETAPI_CFLAGS
1980 NETAPI_LIBS
1981 VKD3D_CFLAGS
1982 VKD3D_LIBS
1983 VKD3D_SHADER_CFLAGS
1984 VKD3D_SHADER_LIBS
1985 LDAP_CFLAGS
1986 LDAP_LIBS'
1989 # Initialize some variables set by options.
1990 ac_init_help=
1991 ac_init_version=false
1992 ac_unrecognized_opts=
1993 ac_unrecognized_sep=
1994 # The variables have the same names as the options, with
1995 # dashes changed to underlines.
1996 cache_file=/dev/null
1997 exec_prefix=NONE
1998 no_create=
1999 no_recursion=
2000 prefix=NONE
2001 program_prefix=NONE
2002 program_suffix=NONE
2003 program_transform_name=s,x,x,
2004 silent=
2005 site=
2006 srcdir=
2007 verbose=
2008 x_includes=NONE
2009 x_libraries=NONE
2011 # Installation directory options.
2012 # These are left unexpanded so users can "make install exec_prefix=/foo"
2013 # and all the variables that are supposed to be based on exec_prefix
2014 # by default will actually change.
2015 # Use braces instead of parens because sh, perl, etc. also accept them.
2016 # (The list follows the same order as the GNU Coding Standards.)
2017 bindir='${exec_prefix}/bin'
2018 sbindir='${exec_prefix}/sbin'
2019 libexecdir='${exec_prefix}/libexec'
2020 datarootdir='${prefix}/share'
2021 datadir='${datarootdir}'
2022 sysconfdir='${prefix}/etc'
2023 sharedstatedir='${prefix}/com'
2024 localstatedir='${prefix}/var'
2025 runstatedir='${localstatedir}/run'
2026 includedir='${prefix}/include'
2027 oldincludedir='/usr/include'
2028 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2029 infodir='${datarootdir}/info'
2030 htmldir='${docdir}'
2031 dvidir='${docdir}'
2032 pdfdir='${docdir}'
2033 psdir='${docdir}'
2034 libdir='${exec_prefix}/lib'
2035 localedir='${datarootdir}/locale'
2036 mandir='${datarootdir}/man'
2038 ac_prev=
2039 ac_dashdash=
2040 for ac_option
2042 # If the previous option needs an argument, assign it.
2043 if test -n "$ac_prev"; then
2044 eval $ac_prev=\$ac_option
2045 ac_prev=
2046 continue
2049 case $ac_option in
2050 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2051 *=) ac_optarg= ;;
2052 *) ac_optarg=yes ;;
2053 esac
2055 # Accept the important Cygnus configure options, so we can diagnose typos.
2057 case $ac_dashdash$ac_option in
2059 ac_dashdash=yes ;;
2061 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2062 ac_prev=bindir ;;
2063 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2064 bindir=$ac_optarg ;;
2066 -build | --build | --buil | --bui | --bu)
2067 ac_prev=build_alias ;;
2068 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2069 build_alias=$ac_optarg ;;
2071 -cache-file | --cache-file | --cache-fil | --cache-fi \
2072 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2073 ac_prev=cache_file ;;
2074 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2075 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2076 cache_file=$ac_optarg ;;
2078 --config-cache | -C)
2079 cache_file=config.cache ;;
2081 -datadir | --datadir | --datadi | --datad)
2082 ac_prev=datadir ;;
2083 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2084 datadir=$ac_optarg ;;
2086 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2087 | --dataroo | --dataro | --datar)
2088 ac_prev=datarootdir ;;
2089 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2090 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2091 datarootdir=$ac_optarg ;;
2093 -disable-* | --disable-*)
2094 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2095 # Reject names that are not valid shell variable names.
2096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2097 as_fn_error $? "invalid feature name: $ac_useropt"
2098 ac_useropt_orig=$ac_useropt
2099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2100 case $ac_user_opts in
2102 "enable_$ac_useropt"
2103 "*) ;;
2104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2105 ac_unrecognized_sep=', ';;
2106 esac
2107 eval enable_$ac_useropt=no ;;
2109 -docdir | --docdir | --docdi | --doc | --do)
2110 ac_prev=docdir ;;
2111 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2112 docdir=$ac_optarg ;;
2114 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2115 ac_prev=dvidir ;;
2116 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2117 dvidir=$ac_optarg ;;
2119 -enable-* | --enable-*)
2120 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2121 # Reject names that are not valid shell variable names.
2122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2123 as_fn_error $? "invalid feature name: $ac_useropt"
2124 ac_useropt_orig=$ac_useropt
2125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2126 case $ac_user_opts in
2128 "enable_$ac_useropt"
2129 "*) ;;
2130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2131 ac_unrecognized_sep=', ';;
2132 esac
2133 eval enable_$ac_useropt=\$ac_optarg ;;
2135 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2136 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2137 | --exec | --exe | --ex)
2138 ac_prev=exec_prefix ;;
2139 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2140 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2141 | --exec=* | --exe=* | --ex=*)
2142 exec_prefix=$ac_optarg ;;
2144 -gas | --gas | --ga | --g)
2145 # Obsolete; use --with-gas.
2146 with_gas=yes ;;
2148 -help | --help | --hel | --he | -h)
2149 ac_init_help=long ;;
2150 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2151 ac_init_help=recursive ;;
2152 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2153 ac_init_help=short ;;
2155 -host | --host | --hos | --ho)
2156 ac_prev=host_alias ;;
2157 -host=* | --host=* | --hos=* | --ho=*)
2158 host_alias=$ac_optarg ;;
2160 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2161 ac_prev=htmldir ;;
2162 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2163 | --ht=*)
2164 htmldir=$ac_optarg ;;
2166 -includedir | --includedir | --includedi | --included | --include \
2167 | --includ | --inclu | --incl | --inc)
2168 ac_prev=includedir ;;
2169 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2170 | --includ=* | --inclu=* | --incl=* | --inc=*)
2171 includedir=$ac_optarg ;;
2173 -infodir | --infodir | --infodi | --infod | --info | --inf)
2174 ac_prev=infodir ;;
2175 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2176 infodir=$ac_optarg ;;
2178 -libdir | --libdir | --libdi | --libd)
2179 ac_prev=libdir ;;
2180 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2181 libdir=$ac_optarg ;;
2183 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2184 | --libexe | --libex | --libe)
2185 ac_prev=libexecdir ;;
2186 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2187 | --libexe=* | --libex=* | --libe=*)
2188 libexecdir=$ac_optarg ;;
2190 -localedir | --localedir | --localedi | --localed | --locale)
2191 ac_prev=localedir ;;
2192 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2193 localedir=$ac_optarg ;;
2195 -localstatedir | --localstatedir | --localstatedi | --localstated \
2196 | --localstate | --localstat | --localsta | --localst | --locals)
2197 ac_prev=localstatedir ;;
2198 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2199 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2200 localstatedir=$ac_optarg ;;
2202 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2203 ac_prev=mandir ;;
2204 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2205 mandir=$ac_optarg ;;
2207 -nfp | --nfp | --nf)
2208 # Obsolete; use --without-fp.
2209 with_fp=no ;;
2211 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2212 | --no-cr | --no-c | -n)
2213 no_create=yes ;;
2215 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2216 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2217 no_recursion=yes ;;
2219 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2220 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2221 | --oldin | --oldi | --old | --ol | --o)
2222 ac_prev=oldincludedir ;;
2223 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2224 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2225 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2226 oldincludedir=$ac_optarg ;;
2228 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2229 ac_prev=prefix ;;
2230 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2231 prefix=$ac_optarg ;;
2233 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2234 | --program-pre | --program-pr | --program-p)
2235 ac_prev=program_prefix ;;
2236 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2237 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2238 program_prefix=$ac_optarg ;;
2240 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2241 | --program-suf | --program-su | --program-s)
2242 ac_prev=program_suffix ;;
2243 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2244 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2245 program_suffix=$ac_optarg ;;
2247 -program-transform-name | --program-transform-name \
2248 | --program-transform-nam | --program-transform-na \
2249 | --program-transform-n | --program-transform- \
2250 | --program-transform | --program-transfor \
2251 | --program-transfo | --program-transf \
2252 | --program-trans | --program-tran \
2253 | --progr-tra | --program-tr | --program-t)
2254 ac_prev=program_transform_name ;;
2255 -program-transform-name=* | --program-transform-name=* \
2256 | --program-transform-nam=* | --program-transform-na=* \
2257 | --program-transform-n=* | --program-transform-=* \
2258 | --program-transform=* | --program-transfor=* \
2259 | --program-transfo=* | --program-transf=* \
2260 | --program-trans=* | --program-tran=* \
2261 | --progr-tra=* | --program-tr=* | --program-t=*)
2262 program_transform_name=$ac_optarg ;;
2264 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2265 ac_prev=pdfdir ;;
2266 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2267 pdfdir=$ac_optarg ;;
2269 -psdir | --psdir | --psdi | --psd | --ps)
2270 ac_prev=psdir ;;
2271 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2272 psdir=$ac_optarg ;;
2274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2275 | -silent | --silent | --silen | --sile | --sil)
2276 silent=yes ;;
2278 -runstatedir | --runstatedir | --runstatedi | --runstated \
2279 | --runstate | --runstat | --runsta | --runst | --runs \
2280 | --run | --ru | --r)
2281 ac_prev=runstatedir ;;
2282 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2283 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2284 | --run=* | --ru=* | --r=*)
2285 runstatedir=$ac_optarg ;;
2287 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2288 ac_prev=sbindir ;;
2289 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2290 | --sbi=* | --sb=*)
2291 sbindir=$ac_optarg ;;
2293 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2294 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2295 | --sharedst | --shareds | --shared | --share | --shar \
2296 | --sha | --sh)
2297 ac_prev=sharedstatedir ;;
2298 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2299 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2300 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2301 | --sha=* | --sh=*)
2302 sharedstatedir=$ac_optarg ;;
2304 -site | --site | --sit)
2305 ac_prev=site ;;
2306 -site=* | --site=* | --sit=*)
2307 site=$ac_optarg ;;
2309 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2310 ac_prev=srcdir ;;
2311 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2312 srcdir=$ac_optarg ;;
2314 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2315 | --syscon | --sysco | --sysc | --sys | --sy)
2316 ac_prev=sysconfdir ;;
2317 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2318 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2319 sysconfdir=$ac_optarg ;;
2321 -target | --target | --targe | --targ | --tar | --ta | --t)
2322 ac_prev=target_alias ;;
2323 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2324 target_alias=$ac_optarg ;;
2326 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2327 verbose=yes ;;
2329 -version | --version | --versio | --versi | --vers | -V)
2330 ac_init_version=: ;;
2332 -with-* | --with-*)
2333 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2334 # Reject names that are not valid shell variable names.
2335 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2336 as_fn_error $? "invalid package name: $ac_useropt"
2337 ac_useropt_orig=$ac_useropt
2338 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2339 case $ac_user_opts in
2341 "with_$ac_useropt"
2342 "*) ;;
2343 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2344 ac_unrecognized_sep=', ';;
2345 esac
2346 eval with_$ac_useropt=\$ac_optarg ;;
2348 -without-* | --without-*)
2349 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2350 # Reject names that are not valid shell variable names.
2351 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2352 as_fn_error $? "invalid package name: $ac_useropt"
2353 ac_useropt_orig=$ac_useropt
2354 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2355 case $ac_user_opts in
2357 "with_$ac_useropt"
2358 "*) ;;
2359 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2360 ac_unrecognized_sep=', ';;
2361 esac
2362 eval with_$ac_useropt=no ;;
2364 --x)
2365 # Obsolete; use --with-x.
2366 with_x=yes ;;
2368 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2369 | --x-incl | --x-inc | --x-in | --x-i)
2370 ac_prev=x_includes ;;
2371 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2372 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2373 x_includes=$ac_optarg ;;
2375 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2376 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2377 ac_prev=x_libraries ;;
2378 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2379 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2380 x_libraries=$ac_optarg ;;
2382 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2383 Try \`$0 --help' for more information"
2386 *=*)
2387 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2388 # Reject names that are not valid shell variable names.
2389 case $ac_envvar in #(
2390 '' | [0-9]* | *[!_$as_cr_alnum]* )
2391 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2392 esac
2393 eval $ac_envvar=\$ac_optarg
2394 export $ac_envvar ;;
2397 # FIXME: should be removed in autoconf 3.0.
2398 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2399 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2400 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2401 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2404 esac
2405 done
2407 if test -n "$ac_prev"; then
2408 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2409 as_fn_error $? "missing argument to $ac_option"
2412 if test -n "$ac_unrecognized_opts"; then
2413 case $enable_option_checking in
2414 no) ;;
2415 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2416 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2417 esac
2420 # Check all directory arguments for consistency.
2421 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2422 datadir sysconfdir sharedstatedir localstatedir includedir \
2423 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2424 libdir localedir mandir runstatedir
2426 eval ac_val=\$$ac_var
2427 # Remove trailing slashes.
2428 case $ac_val in
2429 */ )
2430 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2431 eval $ac_var=\$ac_val;;
2432 esac
2433 # Be sure to have absolute directory names.
2434 case $ac_val in
2435 [\\/$]* | ?:[\\/]* ) continue;;
2436 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2437 esac
2438 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2439 done
2441 # There might be people who depend on the old broken behavior: `$host'
2442 # used to hold the argument of --host etc.
2443 # FIXME: To remove some day.
2444 build=$build_alias
2445 host=$host_alias
2446 target=$target_alias
2448 # FIXME: To remove some day.
2449 if test "x$host_alias" != x; then
2450 if test "x$build_alias" = x; then
2451 cross_compiling=maybe
2452 elif test "x$build_alias" != "x$host_alias"; then
2453 cross_compiling=yes
2457 ac_tool_prefix=
2458 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2460 test "$silent" = yes && exec 6>/dev/null
2463 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2464 ac_ls_di=`ls -di .` &&
2465 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2466 as_fn_error $? "working directory cannot be determined"
2467 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2468 as_fn_error $? "pwd does not report name of working directory"
2471 # Find the source files, if location was not specified.
2472 if test -z "$srcdir"; then
2473 ac_srcdir_defaulted=yes
2474 # Try the directory containing this script, then the parent directory.
2475 ac_confdir=`$as_dirname -- "$as_myself" ||
2476 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2477 X"$as_myself" : 'X\(//\)[^/]' \| \
2478 X"$as_myself" : 'X\(//\)$' \| \
2479 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2480 $as_echo X"$as_myself" |
2481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2482 s//\1/
2485 /^X\(\/\/\)[^/].*/{
2486 s//\1/
2489 /^X\(\/\/\)$/{
2490 s//\1/
2493 /^X\(\/\).*/{
2494 s//\1/
2497 s/.*/./; q'`
2498 srcdir=$ac_confdir
2499 if test ! -r "$srcdir/$ac_unique_file"; then
2500 srcdir=..
2502 else
2503 ac_srcdir_defaulted=no
2505 if test ! -r "$srcdir/$ac_unique_file"; then
2506 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2507 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2509 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2510 ac_abs_confdir=`(
2511 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2512 pwd)`
2513 # When building in place, set srcdir=.
2514 if test "$ac_abs_confdir" = "$ac_pwd"; then
2515 srcdir=.
2517 # Remove unnecessary trailing slashes from srcdir.
2518 # Double slashes in file names in object file debugging info
2519 # mess up M-x gdb in Emacs.
2520 case $srcdir in
2521 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2522 esac
2523 for ac_var in $ac_precious_vars; do
2524 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2525 eval ac_env_${ac_var}_value=\$${ac_var}
2526 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2527 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2528 done
2531 # Report the --help message.
2533 if test "$ac_init_help" = "long"; then
2534 # Omit some internal or obsolete options to make the list less imposing.
2535 # This message is too long to be a string in the A/UX 3.1 sh.
2536 cat <<_ACEOF
2537 \`configure' configures Wine 6.17 to adapt to many kinds of systems.
2539 Usage: $0 [OPTION]... [VAR=VALUE]...
2541 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2542 VAR=VALUE. See below for descriptions of some of the useful variables.
2544 Defaults for the options are specified in brackets.
2546 Configuration:
2547 -h, --help display this help and exit
2548 --help=short display options specific to this package
2549 --help=recursive display the short help of all the included packages
2550 -V, --version display version information and exit
2551 -q, --quiet, --silent do not print \`checking ...' messages
2552 --cache-file=FILE cache test results in FILE [disabled]
2553 -C, --config-cache alias for \`--cache-file=config.cache'
2554 -n, --no-create do not create output files
2555 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2557 Installation directories:
2558 --prefix=PREFIX install architecture-independent files in PREFIX
2559 [$ac_default_prefix]
2560 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2561 [PREFIX]
2563 By default, \`make install' will install all the files in
2564 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2565 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2566 for instance \`--prefix=\$HOME'.
2568 For better control, use the options below.
2570 Fine tuning of the installation directories:
2571 --bindir=DIR user executables [EPREFIX/bin]
2572 --sbindir=DIR system admin executables [EPREFIX/sbin]
2573 --libexecdir=DIR program executables [EPREFIX/libexec]
2574 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2575 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2576 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2577 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2578 --libdir=DIR object code libraries [EPREFIX/lib]
2579 --includedir=DIR C header files [PREFIX/include]
2580 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2581 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2582 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2583 --infodir=DIR info documentation [DATAROOTDIR/info]
2584 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2585 --mandir=DIR man documentation [DATAROOTDIR/man]
2586 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2587 --htmldir=DIR html documentation [DOCDIR]
2588 --dvidir=DIR dvi documentation [DOCDIR]
2589 --pdfdir=DIR pdf documentation [DOCDIR]
2590 --psdir=DIR ps documentation [DOCDIR]
2591 _ACEOF
2593 cat <<\_ACEOF
2595 X features:
2596 --x-includes=DIR X include files are in DIR
2597 --x-libraries=DIR X library files are in DIR
2599 System types:
2600 --build=BUILD configure for building on BUILD [guessed]
2601 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2602 _ACEOF
2605 if test -n "$ac_init_help"; then
2606 case $ac_init_help in
2607 short | recursive ) echo "Configuration of Wine 6.17:";;
2608 esac
2609 cat <<\_ACEOF
2611 Optional Features:
2612 --disable-option-checking ignore unrecognized --enable/--with options
2613 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2614 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2615 --disable-win16 do not include Win16 support
2616 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2617 binaries)
2618 --disable-tests do not build the regression tests
2619 --enable-build-id include .buildid section in output objects
2620 --enable-maintainer-mode
2621 enable maintainer-specific build rules
2622 --enable-silent-rules use silent build rules (override: "make V=1")
2623 --enable-werror treat compilation warnings as errors
2624 --disable-largefile omit support for large files
2626 Optional Packages:
2627 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2628 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2629 --without-alsa do not use the Alsa sound support
2630 --without-capi do not use CAPI (ISDN support)
2631 --without-cms do not use CMS (color management support)
2632 --without-coreaudio do not use the CoreAudio sound support
2633 --without-cups do not use CUPS
2634 --without-dbus do not use DBus (dynamic device support)
2635 --without-faudio do not use FAudio (XAudio2 support)
2636 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2637 --without-fontconfig do not use fontconfig
2638 --without-freetype do not use the FreeType library
2639 --without-gettext do not use gettext
2640 --with-gettextpo use the GetTextPO library to rebuild po files
2641 --without-gphoto do not use gphoto (Digital Camera support)
2642 --without-gnutls do not use GnuTLS (schannel support)
2643 --without-gsm do not use libgsm (GSM 06.10 codec support)
2644 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2645 --without-gstreamer do not use GStreamer (codecs support)
2646 --without-hal do not use HAL (dynamic device support)
2647 --without-inotify do not use inotify (filesystem change notifications)
2648 --without-jpeg do not use JPEG
2649 --without-jxrlib do not use JPEG-XR
2650 --without-krb5 do not use krb5 (Kerberos)
2651 --without-ldap do not use LDAP
2652 --without-mingw do not use the MinGW cross-compiler
2653 --without-mpg123 do not use the mpg123 library
2654 --without-netapi do not use the Samba NetAPI library
2655 --without-openal do not use OpenAL
2656 --without-opencl do not use OpenCL
2657 --without-opengl do not use OpenGL
2658 --without-osmesa do not use the OSMesa library
2659 --without-oss do not use the OSS sound support
2660 --without-pcap do not use the Packet Capture library
2661 --without-png do not use PNG
2662 --without-pthread do not use the pthread library
2663 --without-pulse do not use PulseAudio sound support
2664 --without-quicktime do not use QuickTime support
2665 --without-sane do not use SANE (scanner support)
2666 --without-sdl do not use SDL
2667 --without-tiff do not use TIFF
2668 --without-udev do not use udev (plug and play support)
2669 --without-unwind do not use the libunwind library (exception
2670 handling)
2671 --without-usb do not use the libusb library
2672 --without-v4l2 do not use v4l2 (video capture)
2673 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2674 --without-vulkan do not use Vulkan
2675 --without-xcomposite do not use the Xcomposite extension
2676 --without-xcursor do not use the Xcursor extension
2677 --without-xfixes do not use Xfixes for clipboard change notifications
2678 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2679 --without-xinput do not use the Xinput extension
2680 --without-xinput2 do not use the Xinput 2 extension
2681 --without-xml do not use XML
2682 --without-xrandr do not use Xrandr (multi-monitor support)
2683 --without-xrender do not use the Xrender extension
2684 --without-xshape do not use the Xshape extension
2685 --without-xshm do not use XShm (shared memory extension)
2686 --without-xslt do not use XSLT
2687 --without-xxf86vm do not use XFree video mode extension
2688 --with-wine-tools=DIR use Wine tools from directory DIR
2689 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2690 --with-x use the X Window System
2692 Some influential environment variables:
2693 CC C compiler command
2694 CFLAGS C compiler flags
2695 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2696 nonstandard directory <lib dir>
2697 LIBS libraries to pass to the linker, e.g. -l<library>
2698 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2699 you have headers in a nonstandard directory <include dir>
2700 CXX C++ compiler command
2701 CXXFLAGS C++ compiler flags
2702 CPP C preprocessor
2703 OBJC Objective C compiler command
2704 OBJCFLAGS Objective C compiler flags
2705 OBJCPP Objective C preprocessor
2706 XMKMF Path to xmkmf, Makefile generator for X Window System
2707 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2708 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2709 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2710 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2711 INOTIFY_CFLAGS
2712 C compiler flags for libinotify, overriding pkg-config
2713 INOTIFY_LIBS
2714 Linker flags for libinotify, overriding pkg-config
2715 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2716 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2717 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2718 HAL_LIBS Linker flags for hal, overriding pkg-config
2719 GNUTLS_CFLAGS
2720 C compiler flags for gnutls, overriding pkg-config
2721 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2722 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2723 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2724 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2725 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2726 GPHOTO2_CFLAGS
2727 C compiler flags for libgphoto2, overriding pkg-config
2728 GPHOTO2_LIBS
2729 Linker flags for libgphoto2, overriding pkg-config
2730 GPHOTO2_PORT_CFLAGS
2731 C compiler flags for libgphoto2_port, overriding pkg-config
2732 GPHOTO2_PORT_LIBS
2733 Linker flags for libgphoto2_port, overriding pkg-config
2734 LCMS2_CFLAGS
2735 C compiler flags for lcms2, overriding pkg-config
2736 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2737 FREETYPE_CFLAGS
2738 C compiler flags for freetype2, overriding pkg-config
2739 FREETYPE_LIBS
2740 Linker flags for freetype2, overriding pkg-config
2741 PULSE_CFLAGS
2742 C compiler flags for libpulse, overriding pkg-config
2743 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2744 GSTREAMER_CFLAGS
2745 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2746 gstreamer-audio-1.0, overriding pkg-config
2747 GSTREAMER_LIBS
2748 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2749 gstreamer-audio-1.0, overriding pkg-config
2750 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2751 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2752 UNWIND_CFLAGS
2753 C compiler flags for libunwind, overriding pkg-config
2754 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2755 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2756 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2757 FAUDIO_CFLAGS
2758 C compiler flags for FAudio, overriding pkg-config
2759 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2760 CAPI20_CFLAGS
2761 C compiler flags for capi20, overriding pkg-config
2762 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2763 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2764 CUPS_LIBS Linker flags for cups, overriding pkg-config
2765 FONTCONFIG_CFLAGS
2766 C compiler flags for fontconfig, overriding pkg-config
2767 FONTCONFIG_LIBS
2768 Linker flags for fontconfig, overriding pkg-config
2769 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2770 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2771 GSSAPI_CFLAGS
2772 C compiler flags for krb5-gssapi, overriding pkg-config
2773 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2774 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2775 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2776 JXRLIB_CFLAGS
2777 C compiler flags for jxrlib, overriding pkg-config
2778 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2779 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2780 PNG_LIBS Linker flags for libpng, overriding pkg-config
2781 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2782 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2783 MPG123_CFLAGS
2784 C compiler flags for libmpg123, overriding pkg-config
2785 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2786 NETAPI_CFLAGS
2787 C compiler flags for netapi, overriding pkg-config
2788 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2789 VKD3D_CFLAGS
2790 C compiler flags for libvkd3d, overriding pkg-config
2791 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2792 VKD3D_SHADER_CFLAGS
2793 C compiler flags for libvkd3d-shader, overriding pkg-config
2794 VKD3D_SHADER_LIBS
2795 Linker flags for libvkd3d-shader, overriding pkg-config
2796 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2797 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2799 Use these variables to override the choices made by `configure' or to help
2800 it to find libraries and programs with nonstandard names/locations.
2802 Report bugs to <wine-devel@winehq.org>.
2803 Wine home page: <https://www.winehq.org>.
2804 _ACEOF
2805 ac_status=$?
2808 if test "$ac_init_help" = "recursive"; then
2809 # If there are subdirs, report their specific --help.
2810 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2811 test -d "$ac_dir" ||
2812 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2813 continue
2814 ac_builddir=.
2816 case "$ac_dir" in
2817 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2819 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2820 # A ".." for each directory in $ac_dir_suffix.
2821 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2822 case $ac_top_builddir_sub in
2823 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2824 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2825 esac ;;
2826 esac
2827 ac_abs_top_builddir=$ac_pwd
2828 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2829 # for backward compatibility:
2830 ac_top_builddir=$ac_top_build_prefix
2832 case $srcdir in
2833 .) # We are building in place.
2834 ac_srcdir=.
2835 ac_top_srcdir=$ac_top_builddir_sub
2836 ac_abs_top_srcdir=$ac_pwd ;;
2837 [\\/]* | ?:[\\/]* ) # Absolute name.
2838 ac_srcdir=$srcdir$ac_dir_suffix;
2839 ac_top_srcdir=$srcdir
2840 ac_abs_top_srcdir=$srcdir ;;
2841 *) # Relative name.
2842 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2843 ac_top_srcdir=$ac_top_build_prefix$srcdir
2844 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2845 esac
2846 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2848 cd "$ac_dir" || { ac_status=$?; continue; }
2849 # Check for guested configure.
2850 if test -f "$ac_srcdir/configure.gnu"; then
2851 echo &&
2852 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2853 elif test -f "$ac_srcdir/configure"; then
2854 echo &&
2855 $SHELL "$ac_srcdir/configure" --help=recursive
2856 else
2857 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2858 fi || ac_status=$?
2859 cd "$ac_pwd" || { ac_status=$?; break; }
2860 done
2863 test -n "$ac_init_help" && exit $ac_status
2864 if $ac_init_version; then
2865 cat <<\_ACEOF
2866 Wine configure 6.17
2867 generated by GNU Autoconf 2.69
2869 Copyright (C) 2012 Free Software Foundation, Inc.
2870 This configure script is free software; the Free Software Foundation
2871 gives unlimited permission to copy, distribute and modify it.
2872 _ACEOF
2873 exit
2876 ## ------------------------ ##
2877 ## Autoconf initialization. ##
2878 ## ------------------------ ##
2880 # ac_fn_c_try_compile LINENO
2881 # --------------------------
2882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2883 ac_fn_c_try_compile ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 rm -f conftest.$ac_objext
2887 if { { ac_try="$ac_compile"
2888 case "(($ac_try" in
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2891 esac
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_compile") 2>conftest.err
2895 ac_status=$?
2896 if test -s conftest.err; then
2897 grep -v '^ *+' conftest.err >conftest.er1
2898 cat conftest.er1 >&5
2899 mv -f conftest.er1 conftest.err
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; } && {
2903 test -z "$ac_c_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.$ac_objext; then :
2906 ac_retval=0
2907 else
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2911 ac_retval=1
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 as_fn_set_status $ac_retval
2916 } # ac_fn_c_try_compile
2918 # ac_fn_cxx_try_compile LINENO
2919 # ----------------------------
2920 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2921 ac_fn_cxx_try_compile ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 rm -f conftest.$ac_objext
2925 if { { ac_try="$ac_compile"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_compile") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } && {
2941 test -z "$ac_cxx_werror_flag" ||
2942 test ! -s conftest.err
2943 } && test -s conftest.$ac_objext; then :
2944 ac_retval=0
2945 else
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 ac_retval=1
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 as_fn_set_status $ac_retval
2954 } # ac_fn_cxx_try_compile
2956 # ac_fn_c_try_link LINENO
2957 # -----------------------
2958 # Try to link conftest.$ac_ext, and return whether this succeeded.
2959 ac_fn_c_try_link ()
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 rm -f conftest.$ac_objext conftest$ac_exeext
2963 if { { ac_try="$ac_link"
2964 case "(($ac_try" in
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2967 esac
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>conftest.err
2971 ac_status=$?
2972 if test -s conftest.err; then
2973 grep -v '^ *+' conftest.err >conftest.er1
2974 cat conftest.er1 >&5
2975 mv -f conftest.er1 conftest.err
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; } && {
2979 test -z "$ac_c_werror_flag" ||
2980 test ! -s conftest.err
2981 } && test -s conftest$ac_exeext && {
2982 test "$cross_compiling" = yes ||
2983 test -x conftest$ac_exeext
2984 }; then :
2985 ac_retval=0
2986 else
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 ac_retval=1
2992 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2993 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2994 # interfere with the next link command; also delete a directory that is
2995 # left behind by Apple's compiler. We do this before executing the actions.
2996 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 as_fn_set_status $ac_retval
3000 } # ac_fn_c_try_link
3002 # ac_fn_c_try_cpp LINENO
3003 # ----------------------
3004 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3005 ac_fn_c_try_cpp ()
3007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3008 if { { ac_try="$ac_cpp conftest.$ac_ext"
3009 case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3012 esac
3013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3014 $as_echo "$ac_try_echo"; } >&5
3015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3016 ac_status=$?
3017 if test -s conftest.err; then
3018 grep -v '^ *+' conftest.err >conftest.er1
3019 cat conftest.er1 >&5
3020 mv -f conftest.er1 conftest.err
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; } > conftest.i && {
3024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3025 test ! -s conftest.err
3026 }; then :
3027 ac_retval=0
3028 else
3029 $as_echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 ac_retval=1
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 as_fn_set_status $ac_retval
3037 } # ac_fn_c_try_cpp
3039 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3040 # -------------------------------------------------------
3041 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3042 # the include files in INCLUDES and setting the cache variable VAR
3043 # accordingly.
3044 ac_fn_c_check_header_mongrel ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 if eval \${$3+:} false; then :
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3049 $as_echo_n "checking for $2... " >&6; }
3050 if eval \${$3+:} false; then :
3051 $as_echo_n "(cached) " >&6
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 else
3057 # Is the header compilable?
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3059 $as_echo_n "checking $2 usability... " >&6; }
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3063 #include <$2>
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 ac_header_compiler=yes
3067 else
3068 ac_header_compiler=no
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3072 $as_echo "$ac_header_compiler" >&6; }
3074 # Is the header present?
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3076 $as_echo_n "checking $2 presence... " >&6; }
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3079 #include <$2>
3080 _ACEOF
3081 if ac_fn_c_try_cpp "$LINENO"; then :
3082 ac_header_preproc=yes
3083 else
3084 ac_header_preproc=no
3086 rm -f conftest.err conftest.i conftest.$ac_ext
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3088 $as_echo "$ac_header_preproc" >&6; }
3090 # So? What about this header?
3091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3092 yes:no: )
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3094 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3096 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3098 no:yes:* )
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3100 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3102 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3104 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3106 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3108 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3109 ( $as_echo "## ------------------------------------ ##
3110 ## Report this to wine-devel@winehq.org ##
3111 ## ------------------------------------ ##"
3112 ) | sed "s/^/$as_me: WARNING: /" >&2
3114 esac
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \${$3+:} false; then :
3118 $as_echo_n "(cached) " >&6
3119 else
3120 eval "$3=\$ac_header_compiler"
3122 eval ac_res=\$$3
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3124 $as_echo "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_header_mongrel
3130 # ac_fn_c_try_run LINENO
3131 # ----------------------
3132 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3133 # that executables *can* be run.
3134 ac_fn_c_try_run ()
3136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3137 if { { ac_try="$ac_link"
3138 case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3141 esac
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_link") 2>&5
3145 ac_status=$?
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3148 { { case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_try") 2>&5
3155 ac_status=$?
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; }; }; then :
3158 ac_retval=0
3159 else
3160 $as_echo "$as_me: program exited with status $ac_status" >&5
3161 $as_echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3164 ac_retval=$ac_status
3166 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 as_fn_set_status $ac_retval
3170 } # ac_fn_c_try_run
3172 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3173 # -------------------------------------------------------
3174 # Tests whether HEADER exists and can be compiled using the include files in
3175 # INCLUDES, setting the cache variable VAR accordingly.
3176 ac_fn_c_check_header_compile ()
3178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3180 $as_echo_n "checking for $2... " >&6; }
3181 if eval \${$3+:} false; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3187 #include <$2>
3188 _ACEOF
3189 if ac_fn_c_try_compile "$LINENO"; then :
3190 eval "$3=yes"
3191 else
3192 eval "$3=no"
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 eval ac_res=\$$3
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3198 $as_echo "$ac_res" >&6; }
3199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3201 } # ac_fn_c_check_header_compile
3203 # ac_fn_objc_try_compile LINENO
3204 # -----------------------------
3205 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3206 ac_fn_objc_try_compile ()
3208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3209 rm -f conftest.$ac_objext
3210 if { { ac_try="$ac_compile"
3211 case "(($ac_try" in
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3214 esac
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_compile") 2>conftest.err
3218 ac_status=$?
3219 if test -s conftest.err; then
3220 grep -v '^ *+' conftest.err >conftest.er1
3221 cat conftest.er1 >&5
3222 mv -f conftest.er1 conftest.err
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; } && {
3226 test -z "$ac_objc_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest.$ac_objext; then :
3229 ac_retval=0
3230 else
3231 $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3234 ac_retval=1
3236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3237 as_fn_set_status $ac_retval
3239 } # ac_fn_objc_try_compile
3241 # ac_fn_objc_try_cpp LINENO
3242 # -------------------------
3243 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3244 ac_fn_objc_try_cpp ()
3246 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3247 if { { ac_try="$ac_cpp conftest.$ac_ext"
3248 case "(($ac_try" in
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3251 esac
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3255 ac_status=$?
3256 if test -s conftest.err; then
3257 grep -v '^ *+' conftest.err >conftest.er1
3258 cat conftest.er1 >&5
3259 mv -f conftest.er1 conftest.err
3261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262 test $ac_status = 0; } > conftest.i && {
3263 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3264 test ! -s conftest.err
3265 }; then :
3266 ac_retval=0
3267 else
3268 $as_echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.$ac_ext >&5
3271 ac_retval=1
3273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3274 as_fn_set_status $ac_retval
3276 } # ac_fn_objc_try_cpp
3278 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3279 # ----------------------------------------------------------
3280 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3281 # the include files in INCLUDES and setting the cache variable VAR
3282 # accordingly.
3283 ac_fn_objc_check_header_mongrel ()
3285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3286 if eval \${$3+:} false; then :
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3288 $as_echo_n "checking for $2... " >&6; }
3289 if eval \${$3+:} false; then :
3290 $as_echo_n "(cached) " >&6
3292 eval ac_res=\$$3
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3294 $as_echo "$ac_res" >&6; }
3295 else
3296 # Is the header compilable?
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3298 $as_echo_n "checking $2 usability... " >&6; }
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3302 #include <$2>
3303 _ACEOF
3304 if ac_fn_objc_try_compile "$LINENO"; then :
3305 ac_header_compiler=yes
3306 else
3307 ac_header_compiler=no
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3311 $as_echo "$ac_header_compiler" >&6; }
3313 # Is the header present?
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3315 $as_echo_n "checking $2 presence... " >&6; }
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3318 #include <$2>
3319 _ACEOF
3320 if ac_fn_objc_try_cpp "$LINENO"; then :
3321 ac_header_preproc=yes
3322 else
3323 ac_header_preproc=no
3325 rm -f conftest.err conftest.i conftest.$ac_ext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3327 $as_echo "$ac_header_preproc" >&6; }
3329 # So? What about this header?
3330 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3331 yes:no: )
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3333 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3335 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3337 no:yes:* )
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3339 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3341 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3343 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3345 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3347 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3348 ( $as_echo "## ------------------------------------ ##
3349 ## Report this to wine-devel@winehq.org ##
3350 ## ------------------------------------ ##"
3351 ) | sed "s/^/$as_me: WARNING: /" >&2
3353 esac
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3355 $as_echo_n "checking for $2... " >&6; }
3356 if eval \${$3+:} false; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 eval "$3=\$ac_header_compiler"
3361 eval ac_res=\$$3
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3363 $as_echo "$ac_res" >&6; }
3365 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 } # ac_fn_objc_check_header_mongrel
3369 # ac_fn_c_check_func LINENO FUNC VAR
3370 # ----------------------------------
3371 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3372 ac_fn_c_check_func ()
3374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3376 $as_echo_n "checking for $2... " >&6; }
3377 if eval \${$3+:} false; then :
3378 $as_echo_n "(cached) " >&6
3379 else
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3382 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3384 #define $2 innocuous_$2
3386 /* System header to define __stub macros and hopefully few prototypes,
3387 which can conflict with char $2 (); below.
3388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3389 <limits.h> exists even on freestanding compilers. */
3391 #ifdef __STDC__
3392 # include <limits.h>
3393 #else
3394 # include <assert.h>
3395 #endif
3397 #undef $2
3399 /* Override any GCC internal prototype to avoid an error.
3400 Use char because int might match the return type of a GCC
3401 builtin and then its argument prototype would still apply. */
3402 #ifdef __cplusplus
3403 extern "C"
3404 #endif
3405 char $2 ();
3406 /* The GNU C library defines this for functions which it implements
3407 to always fail with ENOSYS. Some functions are actually named
3408 something starting with __ and the normal name is an alias. */
3409 #if defined __stub_$2 || defined __stub___$2
3410 choke me
3411 #endif
3414 main ()
3416 return $2 ();
3418 return 0;
3420 _ACEOF
3421 if ac_fn_c_try_link "$LINENO"; then :
3422 eval "$3=yes"
3423 else
3424 eval "$3=no"
3426 rm -f core conftest.err conftest.$ac_objext \
3427 conftest$ac_exeext conftest.$ac_ext
3429 eval ac_res=\$$3
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3431 $as_echo "$ac_res" >&6; }
3432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3434 } # ac_fn_c_check_func
3436 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3437 # ----------------------------------------------------
3438 # Tries to find if the field MEMBER exists in type AGGR, after including
3439 # INCLUDES, setting cache variable VAR accordingly.
3440 ac_fn_c_check_member ()
3442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3444 $as_echo_n "checking for $2.$3... " >&6; }
3445 if eval \${$4+:} false; then :
3446 $as_echo_n "(cached) " >&6
3447 else
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3452 main ()
3454 static $2 ac_aggr;
3455 if (ac_aggr.$3)
3456 return 0;
3458 return 0;
3460 _ACEOF
3461 if ac_fn_c_try_compile "$LINENO"; then :
3462 eval "$4=yes"
3463 else
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3468 main ()
3470 static $2 ac_aggr;
3471 if (sizeof ac_aggr.$3)
3472 return 0;
3474 return 0;
3476 _ACEOF
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478 eval "$4=yes"
3479 else
3480 eval "$4=no"
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 eval ac_res=\$$4
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3488 $as_echo "$ac_res" >&6; }
3489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3491 } # ac_fn_c_check_member
3493 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3494 # -------------------------------------------
3495 # Tests whether TYPE exists after having included INCLUDES, setting cache
3496 # variable VAR accordingly.
3497 ac_fn_c_check_type ()
3499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3501 $as_echo_n "checking for $2... " >&6; }
3502 if eval \${$3+:} false; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 eval "$3=no"
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3510 main ()
3512 if (sizeof ($2))
3513 return 0;
3515 return 0;
3517 _ACEOF
3518 if ac_fn_c_try_compile "$LINENO"; then :
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3523 main ()
3525 if (sizeof (($2)))
3526 return 0;
3528 return 0;
3530 _ACEOF
3531 if ac_fn_c_try_compile "$LINENO"; then :
3533 else
3534 eval "$3=yes"
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 eval ac_res=\$$3
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3542 $as_echo "$ac_res" >&6; }
3543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3545 } # ac_fn_c_check_type
3546 cat >config.log <<_ACEOF
3547 This file contains any messages produced by compilers while
3548 running configure, to aid debugging if configure makes a mistake.
3550 It was created by Wine $as_me 6.17, which was
3551 generated by GNU Autoconf 2.69. Invocation command line was
3553 $ $0 $@
3555 _ACEOF
3556 exec 5>>config.log
3558 cat <<_ASUNAME
3559 ## --------- ##
3560 ## Platform. ##
3561 ## --------- ##
3563 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3564 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3565 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3566 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3567 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3569 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3570 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3572 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3573 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3574 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3575 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3576 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3577 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3578 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3580 _ASUNAME
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3585 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=.
3587 $as_echo "PATH: $as_dir"
3588 done
3589 IFS=$as_save_IFS
3591 } >&5
3593 cat >&5 <<_ACEOF
3596 ## ----------- ##
3597 ## Core tests. ##
3598 ## ----------- ##
3600 _ACEOF
3603 # Keep a trace of the command line.
3604 # Strip out --no-create and --no-recursion so they do not pile up.
3605 # Strip out --silent because we don't want to record it for future runs.
3606 # Also quote any args containing shell meta-characters.
3607 # Make two passes to allow for proper duplicate-argument suppression.
3608 ac_configure_args=
3609 ac_configure_args0=
3610 ac_configure_args1=
3611 ac_must_keep_next=false
3612 for ac_pass in 1 2
3614 for ac_arg
3616 case $ac_arg in
3617 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3618 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3619 | -silent | --silent | --silen | --sile | --sil)
3620 continue ;;
3621 *\'*)
3622 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3623 esac
3624 case $ac_pass in
3625 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3627 as_fn_append ac_configure_args1 " '$ac_arg'"
3628 if test $ac_must_keep_next = true; then
3629 ac_must_keep_next=false # Got value, back to normal.
3630 else
3631 case $ac_arg in
3632 *=* | --config-cache | -C | -disable-* | --disable-* \
3633 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3634 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3635 | -with-* | --with-* | -without-* | --without-* | --x)
3636 case "$ac_configure_args0 " in
3637 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3638 esac
3640 -* ) ac_must_keep_next=true ;;
3641 esac
3643 as_fn_append ac_configure_args " '$ac_arg'"
3645 esac
3646 done
3647 done
3648 { ac_configure_args0=; unset ac_configure_args0;}
3649 { ac_configure_args1=; unset ac_configure_args1;}
3651 # When interrupted or exit'd, cleanup temporary files, and complete
3652 # config.log. We remove comments because anyway the quotes in there
3653 # would cause problems or look ugly.
3654 # WARNING: Use '\'' to represent an apostrophe within the trap.
3655 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3656 trap 'exit_status=$?
3657 # Save into config.log some information that might help in debugging.
3659 echo
3661 $as_echo "## ---------------- ##
3662 ## Cache variables. ##
3663 ## ---------------- ##"
3664 echo
3665 # The following way of writing the cache mishandles newlines in values,
3667 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3668 eval ac_val=\$$ac_var
3669 case $ac_val in #(
3670 *${as_nl}*)
3671 case $ac_var in #(
3672 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3673 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3674 esac
3675 case $ac_var in #(
3676 _ | IFS | as_nl) ;; #(
3677 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3678 *) { eval $ac_var=; unset $ac_var;} ;;
3679 esac ;;
3680 esac
3681 done
3682 (set) 2>&1 |
3683 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3684 *${as_nl}ac_space=\ *)
3685 sed -n \
3686 "s/'\''/'\''\\\\'\'''\''/g;
3687 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3688 ;; #(
3690 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3692 esac |
3693 sort
3695 echo
3697 $as_echo "## ----------------- ##
3698 ## Output variables. ##
3699 ## ----------------- ##"
3700 echo
3701 for ac_var in $ac_subst_vars
3703 eval ac_val=\$$ac_var
3704 case $ac_val in
3705 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3706 esac
3707 $as_echo "$ac_var='\''$ac_val'\''"
3708 done | sort
3709 echo
3711 if test -n "$ac_subst_files"; then
3712 $as_echo "## ------------------- ##
3713 ## File substitutions. ##
3714 ## ------------------- ##"
3715 echo
3716 for ac_var in $ac_subst_files
3718 eval ac_val=\$$ac_var
3719 case $ac_val in
3720 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3721 esac
3722 $as_echo "$ac_var='\''$ac_val'\''"
3723 done | sort
3724 echo
3727 if test -s confdefs.h; then
3728 $as_echo "## ----------- ##
3729 ## confdefs.h. ##
3730 ## ----------- ##"
3731 echo
3732 cat confdefs.h
3733 echo
3735 test "$ac_signal" != 0 &&
3736 $as_echo "$as_me: caught signal $ac_signal"
3737 $as_echo "$as_me: exit $exit_status"
3738 } >&5
3739 rm -f core *.core core.conftest.* &&
3740 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3741 exit $exit_status
3743 for ac_signal in 1 2 13 15; do
3744 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3745 done
3746 ac_signal=0
3748 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3749 rm -f -r conftest* confdefs.h
3751 $as_echo "/* confdefs.h */" > confdefs.h
3753 # Predefined preprocessor variables.
3755 cat >>confdefs.h <<_ACEOF
3756 #define PACKAGE_NAME "$PACKAGE_NAME"
3757 _ACEOF
3759 cat >>confdefs.h <<_ACEOF
3760 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3761 _ACEOF
3763 cat >>confdefs.h <<_ACEOF
3764 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3765 _ACEOF
3767 cat >>confdefs.h <<_ACEOF
3768 #define PACKAGE_STRING "$PACKAGE_STRING"
3769 _ACEOF
3771 cat >>confdefs.h <<_ACEOF
3772 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3773 _ACEOF
3775 cat >>confdefs.h <<_ACEOF
3776 #define PACKAGE_URL "$PACKAGE_URL"
3777 _ACEOF
3780 # Let the site file select an alternate cache file if it wants to.
3781 # Prefer an explicitly selected file to automatically selected ones.
3782 ac_site_file1=NONE
3783 ac_site_file2=NONE
3784 if test -n "$CONFIG_SITE"; then
3785 # We do not want a PATH search for config.site.
3786 case $CONFIG_SITE in #((
3787 -*) ac_site_file1=./$CONFIG_SITE;;
3788 */*) ac_site_file1=$CONFIG_SITE;;
3789 *) ac_site_file1=./$CONFIG_SITE;;
3790 esac
3791 elif test "x$prefix" != xNONE; then
3792 ac_site_file1=$prefix/share/config.site
3793 ac_site_file2=$prefix/etc/config.site
3794 else
3795 ac_site_file1=$ac_default_prefix/share/config.site
3796 ac_site_file2=$ac_default_prefix/etc/config.site
3798 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3800 test "x$ac_site_file" = xNONE && continue
3801 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3803 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3804 sed 's/^/| /' "$ac_site_file" >&5
3805 . "$ac_site_file" \
3806 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3808 as_fn_error $? "failed to load site script $ac_site_file
3809 See \`config.log' for more details" "$LINENO" 5; }
3811 done
3813 if test -r "$cache_file"; then
3814 # Some versions of bash will fail to source /dev/null (special files
3815 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3816 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3818 $as_echo "$as_me: loading cache $cache_file" >&6;}
3819 case $cache_file in
3820 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3821 *) . "./$cache_file";;
3822 esac
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3826 $as_echo "$as_me: creating cache $cache_file" >&6;}
3827 >$cache_file
3830 # Check that the precious variables saved in the cache have kept the same
3831 # value.
3832 ac_cache_corrupted=false
3833 for ac_var in $ac_precious_vars; do
3834 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3835 eval ac_new_set=\$ac_env_${ac_var}_set
3836 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3837 eval ac_new_val=\$ac_env_${ac_var}_value
3838 case $ac_old_set,$ac_new_set in
3839 set,)
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3841 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3842 ac_cache_corrupted=: ;;
3843 ,set)
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3845 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3846 ac_cache_corrupted=: ;;
3847 ,);;
3849 if test "x$ac_old_val" != "x$ac_new_val"; then
3850 # differences in whitespace do not lead to failure.
3851 ac_old_val_w=`echo x $ac_old_val`
3852 ac_new_val_w=`echo x $ac_new_val`
3853 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3855 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3856 ac_cache_corrupted=:
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3859 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3860 eval $ac_var=\$ac_old_val
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3863 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3865 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3866 fi;;
3867 esac
3868 # Pass precious variables to config.status.
3869 if test "$ac_new_set" = set; then
3870 case $ac_new_val in
3871 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3872 *) ac_arg=$ac_var=$ac_new_val ;;
3873 esac
3874 case " $ac_configure_args " in
3875 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3876 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3877 esac
3879 done
3880 if $ac_cache_corrupted; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3884 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3885 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3887 ## -------------------- ##
3888 ## Main body of script. ##
3889 ## -------------------- ##
3891 ac_ext=c
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899 ac_config_headers="$ac_config_headers include/config.h"
3901 ac_aux_dir=
3902 for ac_dir in tools "$srcdir"/tools; do
3903 if test -f "$ac_dir/install-sh"; then
3904 ac_aux_dir=$ac_dir
3905 ac_install_sh="$ac_aux_dir/install-sh -c"
3906 break
3907 elif test -f "$ac_dir/install.sh"; then
3908 ac_aux_dir=$ac_dir
3909 ac_install_sh="$ac_aux_dir/install.sh -c"
3910 break
3911 elif test -f "$ac_dir/shtool"; then
3912 ac_aux_dir=$ac_dir
3913 ac_install_sh="$ac_aux_dir/shtool install -c"
3914 break
3916 done
3917 if test -z "$ac_aux_dir"; then
3918 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3921 # These three variables are undocumented and unsupported,
3922 # and are intended to be withdrawn in a future Autoconf release.
3923 # They can cause serious problems if a builder's source tree is in a directory
3924 # whose full name contains unusual characters.
3925 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3926 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3927 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3931 libwine_version="1.0"
3935 # Check whether --enable-win16 was given.
3936 if test "${enable_win16+set}" = set; then :
3937 enableval=$enable_win16;
3940 # Check whether --enable-win64 was given.
3941 if test "${enable_win64+set}" = set; then :
3942 enableval=$enable_win64;
3945 # Check whether --enable-tests was given.
3946 if test "${enable_tests+set}" = set; then :
3947 enableval=$enable_tests;
3950 # Check whether --enable-build-id was given.
3951 if test "${enable_build_id+set}" = set; then :
3952 enableval=$enable_build_id;
3955 # Check whether --enable-maintainer-mode was given.
3956 if test "${enable_maintainer_mode+set}" = set; then :
3957 enableval=$enable_maintainer_mode;
3960 # Check whether --enable-silent-rules was given.
3961 if test "${enable_silent_rules+set}" = set; then :
3962 enableval=$enable_silent_rules;
3965 # Check whether --enable-werror was given.
3966 if test "${enable_werror+set}" = set; then :
3967 enableval=$enable_werror;
3972 # Check whether --with-alsa was given.
3973 if test "${with_alsa+set}" = set; then :
3974 withval=$with_alsa;
3978 # Check whether --with-capi was given.
3979 if test "${with_capi+set}" = set; then :
3980 withval=$with_capi;
3984 # Check whether --with-cms was given.
3985 if test "${with_cms+set}" = set; then :
3986 withval=$with_cms;
3990 # Check whether --with-coreaudio was given.
3991 if test "${with_coreaudio+set}" = set; then :
3992 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3996 # Check whether --with-cups was given.
3997 if test "${with_cups+set}" = set; then :
3998 withval=$with_cups;
4002 # Check whether --with-dbus was given.
4003 if test "${with_dbus+set}" = set; then :
4004 withval=$with_dbus;
4008 # Check whether --with-faudio was given.
4009 if test "${with_faudio+set}" = set; then :
4010 withval=$with_faudio;
4014 # Check whether --with-float-abi was given.
4015 if test "${with_float_abi+set}" = set; then :
4016 withval=$with_float_abi;
4020 # Check whether --with-fontconfig was given.
4021 if test "${with_fontconfig+set}" = set; then :
4022 withval=$with_fontconfig;
4026 # Check whether --with-freetype was given.
4027 if test "${with_freetype+set}" = set; then :
4028 withval=$with_freetype;
4032 # Check whether --with-gettext was given.
4033 if test "${with_gettext+set}" = set; then :
4034 withval=$with_gettext;
4038 # Check whether --with-gettextpo was given.
4039 if test "${with_gettextpo+set}" = set; then :
4040 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4044 # Check whether --with-gphoto was given.
4045 if test "${with_gphoto+set}" = set; then :
4046 withval=$with_gphoto;
4050 # Check whether --with-gnutls was given.
4051 if test "${with_gnutls+set}" = set; then :
4052 withval=$with_gnutls;
4056 # Check whether --with-gsm was given.
4057 if test "${with_gsm+set}" = set; then :
4058 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4062 # Check whether --with-gssapi was given.
4063 if test "${with_gssapi+set}" = set; then :
4064 withval=$with_gssapi;
4068 # Check whether --with-gstreamer was given.
4069 if test "${with_gstreamer+set}" = set; then :
4070 withval=$with_gstreamer;
4074 # Check whether --with-hal was given.
4075 if test "${with_hal+set}" = set; then :
4076 withval=$with_hal;
4080 # Check whether --with-inotify was given.
4081 if test "${with_inotify+set}" = set; then :
4082 withval=$with_inotify;
4086 # Check whether --with-jpeg was given.
4087 if test "${with_jpeg+set}" = set; then :
4088 withval=$with_jpeg;
4092 # Check whether --with-jxrlib was given.
4093 if test "${with_jxrlib+set}" = set; then :
4094 withval=$with_jxrlib;
4098 # Check whether --with-krb5 was given.
4099 if test "${with_krb5+set}" = set; then :
4100 withval=$with_krb5;
4104 # Check whether --with-ldap was given.
4105 if test "${with_ldap+set}" = set; then :
4106 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4110 # Check whether --with-mingw was given.
4111 if test "${with_mingw+set}" = set; then :
4112 withval=$with_mingw;
4116 # Check whether --with-mpg123 was given.
4117 if test "${with_mpg123+set}" = set; then :
4118 withval=$with_mpg123;
4122 # Check whether --with-netapi was given.
4123 if test "${with_netapi+set}" = set; then :
4124 withval=$with_netapi;
4128 # Check whether --with-openal was given.
4129 if test "${with_openal+set}" = set; then :
4130 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4134 # Check whether --with-opencl was given.
4135 if test "${with_opencl+set}" = set; then :
4136 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4140 # Check whether --with-opengl was given.
4141 if test "${with_opengl+set}" = set; then :
4142 withval=$with_opengl;
4146 # Check whether --with-osmesa was given.
4147 if test "${with_osmesa+set}" = set; then :
4148 withval=$with_osmesa;
4152 # Check whether --with-oss was given.
4153 if test "${with_oss+set}" = set; then :
4154 withval=$with_oss;
4158 # Check whether --with-pcap was given.
4159 if test "${with_pcap+set}" = set; then :
4160 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4164 # Check whether --with-png was given.
4165 if test "${with_png+set}" = set; then :
4166 withval=$with_png;
4170 # Check whether --with-pthread was given.
4171 if test "${with_pthread+set}" = set; then :
4172 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4176 # Check whether --with-pulse was given.
4177 if test "${with_pulse+set}" = set; then :
4178 withval=$with_pulse;
4182 # Check whether --with-quicktime was given.
4183 if test "${with_quicktime+set}" = set; then :
4184 withval=$with_quicktime;
4188 # Check whether --with-sane was given.
4189 if test "${with_sane+set}" = set; then :
4190 withval=$with_sane;
4194 # Check whether --with-sdl was given.
4195 if test "${with_sdl+set}" = set; then :
4196 withval=$with_sdl;
4200 # Check whether --with-tiff was given.
4201 if test "${with_tiff+set}" = set; then :
4202 withval=$with_tiff;
4206 # Check whether --with-udev was given.
4207 if test "${with_udev+set}" = set; then :
4208 withval=$with_udev;
4212 # Check whether --with-unwind was given.
4213 if test "${with_unwind+set}" = set; then :
4214 withval=$with_unwind;
4218 # Check whether --with-usb was given.
4219 if test "${with_usb+set}" = set; then :
4220 withval=$with_usb;
4224 # Check whether --with-v4l2 was given.
4225 if test "${with_v4l2+set}" = set; then :
4226 withval=$with_v4l2;
4230 # Check whether --with-vkd3d was given.
4231 if test "${with_vkd3d+set}" = set; then :
4232 withval=$with_vkd3d;
4236 # Check whether --with-vulkan was given.
4237 if test "${with_vulkan+set}" = set; then :
4238 withval=$with_vulkan;
4242 # Check whether --with-xcomposite was given.
4243 if test "${with_xcomposite+set}" = set; then :
4244 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4248 # Check whether --with-xcursor was given.
4249 if test "${with_xcursor+set}" = set; then :
4250 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4254 # Check whether --with-xfixes was given.
4255 if test "${with_xfixes+set}" = set; then :
4256 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4260 # Check whether --with-xinerama was given.
4261 if test "${with_xinerama+set}" = set; then :
4262 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4266 # Check whether --with-xinput was given.
4267 if test "${with_xinput+set}" = set; then :
4268 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4272 # Check whether --with-xinput2 was given.
4273 if test "${with_xinput2+set}" = set; then :
4274 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4278 # Check whether --with-xml was given.
4279 if test "${with_xml+set}" = set; then :
4280 withval=$with_xml;
4284 # Check whether --with-xrandr was given.
4285 if test "${with_xrandr+set}" = set; then :
4286 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4290 # Check whether --with-xrender was given.
4291 if test "${with_xrender+set}" = set; then :
4292 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4296 # Check whether --with-xshape was given.
4297 if test "${with_xshape+set}" = set; then :
4298 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4302 # Check whether --with-xshm was given.
4303 if test "${with_xshm+set}" = set; then :
4304 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4308 # Check whether --with-xslt was given.
4309 if test "${with_xslt+set}" = set; then :
4310 withval=$with_xslt;
4314 # Check whether --with-xxf86vm was given.
4315 if test "${with_xxf86vm+set}" = set; then :
4316 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
4321 # Check whether --with-wine-tools was given.
4322 if test "${with_wine_tools+set}" = set; then :
4323 withval=$with_wine_tools;
4327 # Check whether --with-wine64 was given.
4328 if test "${with_wine64+set}" = set; then :
4329 withval=$with_wine64;
4333 # Make sure we can run config.sub.
4334 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4335 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4338 $as_echo_n "checking build system type... " >&6; }
4339 if ${ac_cv_build+:} false; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 ac_build_alias=$build_alias
4343 test "x$ac_build_alias" = x &&
4344 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4345 test "x$ac_build_alias" = x &&
4346 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4347 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4348 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4352 $as_echo "$ac_cv_build" >&6; }
4353 case $ac_cv_build in
4354 *-*-*) ;;
4355 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4356 esac
4357 build=$ac_cv_build
4358 ac_save_IFS=$IFS; IFS='-'
4359 set x $ac_cv_build
4360 shift
4361 build_cpu=$1
4362 build_vendor=$2
4363 shift; shift
4364 # Remember, the first character of IFS is used to create $*,
4365 # except with old shells:
4366 build_os=$*
4367 IFS=$ac_save_IFS
4368 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4372 $as_echo_n "checking host system type... " >&6; }
4373 if ${ac_cv_host+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test "x$host_alias" = x; then
4377 ac_cv_host=$ac_cv_build
4378 else
4379 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4380 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4385 $as_echo "$ac_cv_host" >&6; }
4386 case $ac_cv_host in
4387 *-*-*) ;;
4388 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4389 esac
4390 host=$ac_cv_host
4391 ac_save_IFS=$IFS; IFS='-'
4392 set x $ac_cv_host
4393 shift
4394 host_cpu=$1
4395 host_vendor=$2
4396 shift; shift
4397 # Remember, the first character of IFS is used to create $*,
4398 # except with old shells:
4399 host_os=$*
4400 IFS=$ac_save_IFS
4401 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4407 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4408 set x ${MAKE-make}
4409 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4410 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4411 $as_echo_n "(cached) " >&6
4412 else
4413 cat >conftest.make <<\_ACEOF
4414 SHELL = /bin/sh
4415 all:
4416 @echo '@@@%%%=$(MAKE)=@@@%%%'
4417 _ACEOF
4418 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4419 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4420 *@@@%%%=?*=@@@%%%*)
4421 eval ac_cv_prog_make_${ac_make}_set=yes;;
4423 eval ac_cv_prog_make_${ac_make}_set=no;;
4424 esac
4425 rm -f conftest.make
4427 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4429 $as_echo "yes" >&6; }
4430 SET_MAKE=
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4434 SET_MAKE="MAKE=${MAKE-make}"
4437 ac_ext=c
4438 ac_cpp='$CPP $CPPFLAGS'
4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4442 if test -n "$ac_tool_prefix"; then
4443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4444 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_CC+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CC"; then
4451 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CC=$ac_cv_prog_CC
4471 if test -n "$CC"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4473 $as_echo "$CC" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4481 if test -z "$ac_cv_prog_CC"; then
4482 ac_ct_CC=$CC
4483 # Extract the first word of "gcc", so it can be a program name with args.
4484 set dummy gcc; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test -n "$ac_ct_CC"; then
4491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4492 else
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494 for as_dir in $PATH
4496 IFS=$as_save_IFS
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_prog_ac_ct_CC="gcc"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 break 2
4504 done
4505 done
4506 IFS=$as_save_IFS
4510 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4511 if test -n "$ac_ct_CC"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4513 $as_echo "$ac_ct_CC" >&6; }
4514 else
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4519 if test "x$ac_ct_CC" = x; then
4520 CC=""
4521 else
4522 case $cross_compiling:$ac_tool_warned in
4523 yes:)
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526 ac_tool_warned=yes ;;
4527 esac
4528 CC=$ac_ct_CC
4530 else
4531 CC="$ac_cv_prog_CC"
4534 if test -z "$CC"; then
4535 if test -n "$ac_tool_prefix"; then
4536 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4537 set dummy ${ac_tool_prefix}cc; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_CC+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 if test -n "$CC"; then
4544 ac_cv_prog_CC="$CC" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4549 IFS=$as_save_IFS
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_CC="${ac_tool_prefix}cc"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 break 2
4557 done
4558 done
4559 IFS=$as_save_IFS
4563 CC=$ac_cv_prog_CC
4564 if test -n "$CC"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4566 $as_echo "$CC" >&6; }
4567 else
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4575 if test -z "$CC"; then
4576 # Extract the first word of "cc", so it can be a program name with args.
4577 set dummy cc; ac_word=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if ${ac_cv_prog_CC+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 if test -n "$CC"; then
4584 ac_cv_prog_CC="$CC" # Let the user override the test.
4585 else
4586 ac_prog_rejected=no
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 for as_dir in $PATH
4590 IFS=$as_save_IFS
4591 test -z "$as_dir" && as_dir=.
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4595 ac_prog_rejected=yes
4596 continue
4598 ac_cv_prog_CC="cc"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4602 done
4603 done
4604 IFS=$as_save_IFS
4606 if test $ac_prog_rejected = yes; then
4607 # We found a bogon in the path, so make sure we never use it.
4608 set dummy $ac_cv_prog_CC
4609 shift
4610 if test $# != 0; then
4611 # We chose a different compiler from the bogus one.
4612 # However, it has the same basename, so the bogon will be chosen
4613 # first if we set CC to just the basename; use the full file name.
4614 shift
4615 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4620 CC=$ac_cv_prog_CC
4621 if test -n "$CC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4623 $as_echo "$CC" >&6; }
4624 else
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4631 if test -z "$CC"; then
4632 if test -n "$ac_tool_prefix"; then
4633 for ac_prog in cl.exe
4635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if ${ac_cv_prog_CC+:} false; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 if test -n "$CC"; then
4643 ac_cv_prog_CC="$CC" # Let the user override the test.
4644 else
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH
4648 IFS=$as_save_IFS
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 break 2
4656 done
4657 done
4658 IFS=$as_save_IFS
4662 CC=$ac_cv_prog_CC
4663 if test -n "$CC"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4665 $as_echo "$CC" >&6; }
4666 else
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$CC" && break
4673 done
4675 if test -z "$CC"; then
4676 ac_ct_CC=$CC
4677 for ac_prog in cl.exe
4679 # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy $ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$ac_ct_CC"; then
4687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CC="$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4707 if test -n "$ac_ct_CC"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4709 $as_echo "$ac_ct_CC" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$ac_ct_CC" && break
4717 done
4719 if test "x$ac_ct_CC" = x; then
4720 CC=""
4721 else
4722 case $cross_compiling:$ac_tool_warned in
4723 yes:)
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4727 esac
4728 CC=$ac_ct_CC
4735 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4737 as_fn_error $? "no acceptable C compiler found in \$PATH
4738 See \`config.log' for more details" "$LINENO" 5; }
4740 # Provide some information about the compiler.
4741 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4742 set X $ac_compile
4743 ac_compiler=$2
4744 for ac_option in --version -v -V -qversion; do
4745 { { ac_try="$ac_compiler $ac_option >&5"
4746 case "(($ac_try" in
4747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748 *) ac_try_echo=$ac_try;;
4749 esac
4750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4751 $as_echo "$ac_try_echo"; } >&5
4752 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4753 ac_status=$?
4754 if test -s conftest.err; then
4755 sed '10a\
4756 ... rest of stderr output deleted ...
4757 10q' conftest.err >conftest.er1
4758 cat conftest.er1 >&5
4760 rm -f conftest.er1 conftest.err
4761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4762 test $ac_status = 0; }
4763 done
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4773 return 0;
4775 _ACEOF
4776 ac_clean_files_save=$ac_clean_files
4777 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4778 # Try to create an executable without -o first, disregard a.out.
4779 # It will help us diagnose broken compilers, and finding out an intuition
4780 # of exeext.
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4782 $as_echo_n "checking whether the C compiler works... " >&6; }
4783 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4785 # The possible output files:
4786 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4788 ac_rmfiles=
4789 for ac_file in $ac_files
4791 case $ac_file in
4792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4793 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4794 esac
4795 done
4796 rm -f $ac_rmfiles
4798 if { { ac_try="$ac_link_default"
4799 case "(($ac_try" in
4800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4801 *) ac_try_echo=$ac_try;;
4802 esac
4803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4804 $as_echo "$ac_try_echo"; } >&5
4805 (eval "$ac_link_default") 2>&5
4806 ac_status=$?
4807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4808 test $ac_status = 0; }; then :
4809 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4810 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4811 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4812 # so that the user can short-circuit this test for compilers unknown to
4813 # Autoconf.
4814 for ac_file in $ac_files ''
4816 test -f "$ac_file" || continue
4817 case $ac_file in
4818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4820 [ab].out )
4821 # We found the default executable, but exeext='' is most
4822 # certainly right.
4823 break;;
4824 *.* )
4825 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4826 then :; else
4827 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4829 # We set ac_cv_exeext here because the later test for it is not
4830 # safe: cross compilers may not add the suffix if given an `-o'
4831 # argument, so we may need to know it at that point already.
4832 # Even if this section looks crufty: it has the advantage of
4833 # actually working.
4834 break;;
4836 break;;
4837 esac
4838 done
4839 test "$ac_cv_exeext" = no && ac_cv_exeext=
4841 else
4842 ac_file=''
4844 if test -z "$ac_file"; then :
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4847 $as_echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.$ac_ext >&5
4850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error 77 "C compiler cannot create executables
4853 See \`config.log' for more details" "$LINENO" 5; }
4854 else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4856 $as_echo "yes" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4859 $as_echo_n "checking for C compiler default output file name... " >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4861 $as_echo "$ac_file" >&6; }
4862 ac_exeext=$ac_cv_exeext
4864 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4865 ac_clean_files=$ac_clean_files_save
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4867 $as_echo_n "checking for suffix of executables... " >&6; }
4868 if { { ac_try="$ac_link"
4869 case "(($ac_try" in
4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4872 esac
4873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874 $as_echo "$ac_try_echo"; } >&5
4875 (eval "$ac_link") 2>&5
4876 ac_status=$?
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }; then :
4879 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4880 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4881 # work properly (i.e., refer to `conftest.exe'), while it won't with
4882 # `rm'.
4883 for ac_file in conftest.exe conftest conftest.*; do
4884 test -f "$ac_file" || continue
4885 case $ac_file in
4886 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4887 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4888 break;;
4889 * ) break;;
4890 esac
4891 done
4892 else
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4896 See \`config.log' for more details" "$LINENO" 5; }
4898 rm -f conftest conftest$ac_cv_exeext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4900 $as_echo "$ac_cv_exeext" >&6; }
4902 rm -f conftest.$ac_ext
4903 EXEEXT=$ac_cv_exeext
4904 ac_exeext=$EXEEXT
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4907 #include <stdio.h>
4909 main ()
4911 FILE *f = fopen ("conftest.out", "w");
4912 return ferror (f) || fclose (f) != 0;
4915 return 0;
4917 _ACEOF
4918 ac_clean_files="$ac_clean_files conftest.out"
4919 # Check that the compiler produces executables we can run. If not, either
4920 # the compiler is broken, or we cross compile.
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4922 $as_echo_n "checking whether we are cross compiling... " >&6; }
4923 if test "$cross_compiling" != yes; then
4924 { { ac_try="$ac_link"
4925 case "(($ac_try" in
4926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4928 esac
4929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4930 $as_echo "$ac_try_echo"; } >&5
4931 (eval "$ac_link") 2>&5
4932 ac_status=$?
4933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4934 test $ac_status = 0; }
4935 if { ac_try='./conftest$ac_cv_exeext'
4936 { { case "(($ac_try" in
4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4939 esac
4940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4941 $as_echo "$ac_try_echo"; } >&5
4942 (eval "$ac_try") 2>&5
4943 ac_status=$?
4944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4945 test $ac_status = 0; }; }; then
4946 cross_compiling=no
4947 else
4948 if test "$cross_compiling" = maybe; then
4949 cross_compiling=yes
4950 else
4951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4953 as_fn_error $? "cannot run C compiled programs.
4954 If you meant to cross compile, use \`--host'.
4955 See \`config.log' for more details" "$LINENO" 5; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4960 $as_echo "$cross_compiling" >&6; }
4962 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4963 ac_clean_files=$ac_clean_files_save
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4965 $as_echo_n "checking for suffix of object files... " >&6; }
4966 if ${ac_cv_objext+:} false; then :
4967 $as_echo_n "(cached) " >&6
4968 else
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 rm -f conftest.o conftest.obj
4981 if { { ac_try="$ac_compile"
4982 case "(($ac_try" in
4983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4985 esac
4986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4987 $as_echo "$ac_try_echo"; } >&5
4988 (eval "$ac_compile") 2>&5
4989 ac_status=$?
4990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4991 test $ac_status = 0; }; then :
4992 for ac_file in conftest.o conftest.obj conftest.*; do
4993 test -f "$ac_file" || continue;
4994 case $ac_file in
4995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4996 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4997 break;;
4998 esac
4999 done
5000 else
5001 $as_echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.$ac_ext >&5
5004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5006 as_fn_error $? "cannot compute suffix of object files: cannot compile
5007 See \`config.log' for more details" "$LINENO" 5; }
5009 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5012 $as_echo "$ac_cv_objext" >&6; }
5013 OBJEXT=$ac_cv_objext
5014 ac_objext=$OBJEXT
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5016 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5017 if ${ac_cv_c_compiler_gnu+:} false; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5024 main ()
5026 #ifndef __GNUC__
5027 choke me
5028 #endif
5031 return 0;
5033 _ACEOF
5034 if ac_fn_c_try_compile "$LINENO"; then :
5035 ac_compiler_gnu=yes
5036 else
5037 ac_compiler_gnu=no
5039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5044 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5045 if test $ac_compiler_gnu = yes; then
5046 GCC=yes
5047 else
5048 GCC=
5050 ac_test_CFLAGS=${CFLAGS+set}
5051 ac_save_CFLAGS=$CFLAGS
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5053 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5054 if ${ac_cv_prog_cc_g+:} false; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 ac_save_c_werror_flag=$ac_c_werror_flag
5058 ac_c_werror_flag=yes
5059 ac_cv_prog_cc_g=no
5060 CFLAGS="-g"
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 main ()
5069 return 0;
5071 _ACEOF
5072 if ac_fn_c_try_compile "$LINENO"; then :
5073 ac_cv_prog_cc_g=yes
5074 else
5075 CFLAGS=""
5076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5077 /* end confdefs.h. */
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5089 else
5090 ac_c_werror_flag=$ac_save_c_werror_flag
5091 CFLAGS="-g"
5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5096 main ()
5100 return 0;
5102 _ACEOF
5103 if ac_fn_c_try_compile "$LINENO"; then :
5104 ac_cv_prog_cc_g=yes
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111 ac_c_werror_flag=$ac_save_c_werror_flag
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5114 $as_echo "$ac_cv_prog_cc_g" >&6; }
5115 if test "$ac_test_CFLAGS" = set; then
5116 CFLAGS=$ac_save_CFLAGS
5117 elif test $ac_cv_prog_cc_g = yes; then
5118 if test "$GCC" = yes; then
5119 CFLAGS="-g -O2"
5120 else
5121 CFLAGS="-g"
5123 else
5124 if test "$GCC" = yes; then
5125 CFLAGS="-O2"
5126 else
5127 CFLAGS=
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5131 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5132 if ${ac_cv_prog_cc_c89+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 ac_cv_prog_cc_c89=no
5136 ac_save_CC=$CC
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #include <stdarg.h>
5140 #include <stdio.h>
5141 struct stat;
5142 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5143 struct buf { int x; };
5144 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5145 static char *e (p, i)
5146 char **p;
5147 int i;
5149 return p[i];
5151 static char *f (char * (*g) (char **, int), char **p, ...)
5153 char *s;
5154 va_list v;
5155 va_start (v,p);
5156 s = g (p, va_arg (v,int));
5157 va_end (v);
5158 return s;
5161 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5162 function prototypes and stuff, but not '\xHH' hex character constants.
5163 These don't provoke an error unfortunately, instead are silently treated
5164 as 'x'. The following induces an error, until -std is added to get
5165 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5166 array size at least. It's necessary to write '\x00'==0 to get something
5167 that's true only with -std. */
5168 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5170 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5171 inside strings and character constants. */
5172 #define FOO(x) 'x'
5173 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5175 int test (int i, double x);
5176 struct s1 {int (*f) (int a);};
5177 struct s2 {int (*f) (double a);};
5178 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5179 int argc;
5180 char **argv;
5182 main ()
5184 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5186 return 0;
5188 _ACEOF
5189 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5190 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5192 CC="$ac_save_CC $ac_arg"
5193 if ac_fn_c_try_compile "$LINENO"; then :
5194 ac_cv_prog_cc_c89=$ac_arg
5196 rm -f core conftest.err conftest.$ac_objext
5197 test "x$ac_cv_prog_cc_c89" != "xno" && break
5198 done
5199 rm -f conftest.$ac_ext
5200 CC=$ac_save_CC
5203 # AC_CACHE_VAL
5204 case "x$ac_cv_prog_cc_c89" in
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5207 $as_echo "none needed" >&6; } ;;
5208 xno)
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5210 $as_echo "unsupported" >&6; } ;;
5212 CC="$CC $ac_cv_prog_cc_c89"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5214 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5215 esac
5216 if test "x$ac_cv_prog_cc_c89" != xno; then :
5220 ac_ext=c
5221 ac_cpp='$CPP $CPPFLAGS'
5222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5226 ac_ext=cpp
5227 ac_cpp='$CXXCPP $CPPFLAGS'
5228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5231 if test -z "$CXX"; then
5232 if test -n "$CCC"; then
5233 CXX=$CCC
5234 else
5235 if test -n "$ac_tool_prefix"; then
5236 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_CXX+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$CXX"; then
5246 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 CXX=$ac_cv_prog_CXX
5266 if test -n "$CXX"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5268 $as_echo "$CXX" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$CXX" && break
5276 done
5278 if test -z "$CXX"; then
5279 ac_ct_CXX=$CXX
5280 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy $ac_prog; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -n "$ac_ct_CXX"; then
5290 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_ac_ct_CXX="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5309 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5310 if test -n "$ac_ct_CXX"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5312 $as_echo "$ac_ct_CXX" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$ac_ct_CXX" && break
5320 done
5322 if test "x$ac_ct_CXX" = x; then
5323 CXX="g++"
5324 else
5325 case $cross_compiling:$ac_tool_warned in
5326 yes:)
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned=yes ;;
5330 esac
5331 CXX=$ac_ct_CXX
5337 # Provide some information about the compiler.
5338 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5339 set X $ac_compile
5340 ac_compiler=$2
5341 for ac_option in --version -v -V -qversion; do
5342 { { ac_try="$ac_compiler $ac_option >&5"
5343 case "(($ac_try" in
5344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345 *) ac_try_echo=$ac_try;;
5346 esac
5347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5348 $as_echo "$ac_try_echo"; } >&5
5349 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5350 ac_status=$?
5351 if test -s conftest.err; then
5352 sed '10a\
5353 ... rest of stderr output deleted ...
5354 10q' conftest.err >conftest.er1
5355 cat conftest.er1 >&5
5357 rm -f conftest.er1 conftest.err
5358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5359 test $ac_status = 0; }
5360 done
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5363 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5364 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5371 main ()
5373 #ifndef __GNUC__
5374 choke me
5375 #endif
5378 return 0;
5380 _ACEOF
5381 if ac_fn_cxx_try_compile "$LINENO"; then :
5382 ac_compiler_gnu=yes
5383 else
5384 ac_compiler_gnu=no
5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5387 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5391 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5392 if test $ac_compiler_gnu = yes; then
5393 GXX=yes
5394 else
5395 GXX=
5397 ac_test_CXXFLAGS=${CXXFLAGS+set}
5398 ac_save_CXXFLAGS=$CXXFLAGS
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5400 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5401 if ${ac_cv_prog_cxx_g+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5405 ac_cxx_werror_flag=yes
5406 ac_cv_prog_cxx_g=no
5407 CXXFLAGS="-g"
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5412 main ()
5416 return 0;
5418 _ACEOF
5419 if ac_fn_cxx_try_compile "$LINENO"; then :
5420 ac_cv_prog_cxx_g=yes
5421 else
5422 CXXFLAGS=""
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5427 main ()
5431 return 0;
5433 _ACEOF
5434 if ac_fn_cxx_try_compile "$LINENO"; then :
5436 else
5437 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5438 CXXFLAGS="-g"
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5443 main ()
5447 return 0;
5449 _ACEOF
5450 if ac_fn_cxx_try_compile "$LINENO"; then :
5451 ac_cv_prog_cxx_g=yes
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5458 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5461 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5462 if test "$ac_test_CXXFLAGS" = set; then
5463 CXXFLAGS=$ac_save_CXXFLAGS
5464 elif test $ac_cv_prog_cxx_g = yes; then
5465 if test "$GXX" = yes; then
5466 CXXFLAGS="-g -O2"
5467 else
5468 CXXFLAGS="-g"
5470 else
5471 if test "$GXX" = yes; then
5472 CXXFLAGS="-O2"
5473 else
5474 CXXFLAGS=
5477 ac_ext=c
5478 ac_cpp='$CPP $CPPFLAGS'
5479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5483 if test -n "$ac_tool_prefix"; then
5484 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5485 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_CPPBIN+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if test -n "$CPPBIN"; then
5492 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5493 else
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5497 IFS=$as_save_IFS
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 break 2
5505 done
5506 done
5507 IFS=$as_save_IFS
5511 CPPBIN=$ac_cv_prog_CPPBIN
5512 if test -n "$CPPBIN"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5514 $as_echo "$CPPBIN" >&6; }
5515 else
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5522 if test -z "$ac_cv_prog_CPPBIN"; then
5523 ac_ct_CPPBIN=$CPPBIN
5524 # Extract the first word of "cpp", so it can be a program name with args.
5525 set dummy cpp; ac_word=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5529 $as_echo_n "(cached) " >&6
5530 else
5531 if test -n "$ac_ct_CPPBIN"; then
5532 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5533 else
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 for as_dir in $PATH
5537 IFS=$as_save_IFS
5538 test -z "$as_dir" && as_dir=.
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5541 ac_cv_prog_ac_ct_CPPBIN="cpp"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 break 2
5545 done
5546 done
5547 IFS=$as_save_IFS
5551 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5552 if test -n "$ac_ct_CPPBIN"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5554 $as_echo "$ac_ct_CPPBIN" >&6; }
5555 else
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5560 if test "x$ac_ct_CPPBIN" = x; then
5561 CPPBIN="cpp"
5562 else
5563 case $cross_compiling:$ac_tool_warned in
5564 yes:)
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5567 ac_tool_warned=yes ;;
5568 esac
5569 CPPBIN=$ac_ct_CPPBIN
5571 else
5572 CPPBIN="$ac_cv_prog_CPPBIN"
5576 cat >>confdefs.h <<_ACEOF
5577 #define EXEEXT "$ac_exeext"
5578 _ACEOF
5580 if test -n "$ac_tool_prefix"; then
5581 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5582 set dummy ${ac_tool_prefix}ld; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_LD+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 if test -n "$LD"; then
5589 ac_cv_prog_LD="$LD" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_LD="${ac_tool_prefix}ld"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 LD=$ac_cv_prog_LD
5609 if test -n "$LD"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5611 $as_echo "$LD" >&6; }
5612 else
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 if test -z "$ac_cv_prog_LD"; then
5620 ac_ct_LD=$LD
5621 # Extract the first word of "ld", so it can be a program name with args.
5622 set dummy ld; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -n "$ac_ct_LD"; then
5629 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_ac_ct_LD="ld"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 break 2
5642 done
5643 done
5644 IFS=$as_save_IFS
5648 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5649 if test -n "$ac_ct_LD"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5651 $as_echo "$ac_ct_LD" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5657 if test "x$ac_ct_LD" = x; then
5658 LD=""
5659 else
5660 case $cross_compiling:$ac_tool_warned in
5661 yes:)
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5664 ac_tool_warned=yes ;;
5665 esac
5666 LD=$ac_ct_LD
5668 else
5669 LD="$ac_cv_prog_LD"
5673 case $host in
5674 *-darwin*)
5675 with_fontconfig=${with_fontconfig:-no}
5677 *-mingw32*|*-cygwin*)
5678 enable_win16=${enable_win16:-no}
5679 with_mingw=${with_mingw:-no}
5680 CFLAGS="$CFLAGS -D_WIN32"
5682 esac
5685 case $host in
5686 x86_64*|amd64*)
5687 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5688 then
5689 CC="$CC -m32"
5690 CXX="$CXX -m32"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5693 $as_echo_n "checking whether $CC works... " >&6; }
5694 if ${wine_cv_cc_m32+:} false; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5701 main ()
5705 return 0;
5707 _ACEOF
5708 if ac_fn_c_try_link "$LINENO"; then :
5709 wine_cv_cc_m32=yes
5710 else
5711 wine_cv_cc_m32=no
5713 rm -f core conftest.err conftest.$ac_objext \
5714 conftest$ac_exeext conftest.$ac_ext
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5717 $as_echo "$wine_cv_cc_m32" >&6; }
5718 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
5719 host_cpu="i386"
5720 notice_platform="32-bit "
5721 TARGETFLAGS="$TARGETFLAGS -m32"
5722 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5723 export PKG_CONFIG_PATH
5724 enable_win16=${enable_win16:-yes}
5725 with_unwind=${with_unwind:-no}
5726 else
5727 if test "x${GCC}" = "xyes"
5728 then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5730 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5731 if ${wine_cv_builtin_ms_va_list+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735 /* end confdefs.h. */
5736 #include <stdarg.h>
5738 main ()
5740 void func(__builtin_ms_va_list *args);
5742 return 0;
5744 _ACEOF
5745 if ac_fn_c_try_compile "$LINENO"; then :
5746 wine_cv_builtin_ms_va_list=yes
5747 else
5748 wine_cv_builtin_ms_va_list=no
5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5753 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5754 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
5756 CC="$CC -m64"
5757 CXX="$CXX -m64"
5758 host_cpu="x86_64"
5759 notice_platform="64-bit "
5760 TARGETFLAGS="$TARGETFLAGS -m64"
5761 enable_wow64=${enable_wow64:-yes}
5762 enable_wow64win=${enable_wow64win:-yes}
5763 enable_wow64cpu=${enable_wow64cpu:-yes}
5766 arm*)
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5768 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5769 if ${wine_cv_thumb2+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5776 main ()
5778 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5780 return 0;
5782 _ACEOF
5783 if ac_fn_c_try_link "$LINENO"; then :
5784 wine_cv_thumb2=yes
5785 else
5786 wine_cv_thumb2=no
5788 rm -f core conftest.err conftest.$ac_objext \
5789 conftest$ac_exeext conftest.$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5792 $as_echo "$wine_cv_thumb2" >&6; }
5793 if test x"$wine_cv_thumb2" = xyes
5794 then
5795 CFLAGS="$CFLAGS -mthumb"
5796 TARGETFLAGS="$TARGETFLAGS -mthumb"
5797 else
5798 CFLAGS="$CFLAGS -marm"
5799 TARGETFLAGS="$TARGETFLAGS -marm"
5801 case $with_float_abi in
5802 soft|softfp|hard)
5803 float_abi=$with_float_abi ;;
5805 case $host_os in
5806 *eabihf)
5807 float_abi=hard ;;
5809 float_abi=softfp
5810 saved_CFLAGS=$CFLAGS
5811 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5813 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5814 if ${wine_cv_float_abi+:} false; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5818 /* end confdefs.h. */
5821 main ()
5823 asm("vmrs r2,fpscr");
5825 return 0;
5827 _ACEOF
5828 if ac_fn_c_try_link "$LINENO"; then :
5829 wine_cv_float_abi=yes
5830 else
5831 wine_cv_float_abi=no
5833 rm -f core conftest.err conftest.$ac_objext \
5834 conftest$ac_exeext conftest.$ac_ext
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5837 $as_echo "$wine_cv_float_abi" >&6; }
5838 if test $wine_cv_float_abi = no
5839 then
5840 float_abi=soft
5841 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5843 CFLAGS=$saved_CFLAGS
5844 esac
5846 esac
5847 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5848 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5850 aarch64*)
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5852 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5853 if ${wine_cv_builtin_ms_va_list+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5858 #include <stdarg.h>
5860 main ()
5862 void func(__builtin_ms_va_list *args);
5864 return 0;
5866 _ACEOF
5867 if ac_fn_c_try_compile "$LINENO"; then :
5868 wine_cv_builtin_ms_va_list=yes
5869 else
5870 wine_cv_builtin_ms_va_list=no
5872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5875 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5876 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5877 enable_wow64=${enable_wow64:-yes}
5878 enable_wow64win=${enable_wow64win:-yes}
5880 i[3456789]86*)
5881 enable_win16=${enable_win16:-yes}
5882 with_unwind=${with_unwind:-no}
5884 esac
5886 enable_win16=${enable_win16:-no}
5887 enable_win64=${enable_win64:-no}
5888 enable_wow64=${enable_wow64:-no}
5889 enable_wow64win=${enable_wow64win:-no}
5890 enable_wow64cpu=${enable_wow64cpu:-no}
5892 enable_winetest=${enable_winetest:-$enable_tests}
5894 if test "x$enable_win64" = "xyes"
5895 then
5896 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5897 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5901 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5902 if ${wine_cv_toolsdir+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 wine_cv_toolsdir="$with_wine_tools"
5906 if test -z "$with_wine_tools"; then
5907 if test "$cross_compiling" = "yes"; then
5908 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5909 elif test -n "$with_wine64"; then
5910 wine_cv_toolsdir="$with_wine64"
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5915 $as_echo "$wine_cv_toolsdir" >&6; }
5916 if test -z "$wine_cv_toolsdir"; then
5917 wine_makedep=tools/makedep
5918 TOOLSDIR="."
5920 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5921 wine_makedep=$wine_cv_toolsdir/tools/makedep
5922 TOOLSDIR=$wine_cv_toolsdir
5924 enable_tools=${enable_tools:-no}
5925 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5926 else
5927 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5929 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5930 then
5931 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5934 for ac_prog in flex
5936 # Extract the first word of "$ac_prog", so it can be a program name with args.
5937 set dummy $ac_prog; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_FLEX+:} false; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 if test -n "$FLEX"; then
5944 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5945 else
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5949 IFS=$as_save_IFS
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5953 ac_cv_prog_FLEX="$ac_prog"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 break 2
5957 done
5958 done
5959 IFS=$as_save_IFS
5963 FLEX=$ac_cv_prog_FLEX
5964 if test -n "$FLEX"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5966 $as_echo "$FLEX" >&6; }
5967 else
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5973 test -n "$FLEX" && break
5974 done
5975 test -n "$FLEX" || FLEX="none"
5977 if test "$FLEX" = "none"
5978 then
5979 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5982 $as_echo_n "checking whether flex is recent enough... " >&6; }
5983 if ${wine_cv_recent_flex+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 cat >conftest.l <<EOF
5987 %top{
5988 #include "prediluvian.h"
5992 if $FLEX -t conftest.l >/dev/null 2>&5
5993 then
5994 wine_cv_recent_flex=yes
5995 else
5996 wine_cv_recent_flex=no
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6000 $as_echo "$wine_cv_recent_flex" >&6; }
6001 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
6003 for ac_prog in bison
6005 # Extract the first word of "$ac_prog", so it can be a program name with args.
6006 set dummy $ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_BISON+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$BISON"; then
6013 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_BISON="$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 BISON=$ac_cv_prog_BISON
6033 if test -n "$BISON"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6035 $as_echo "$BISON" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$BISON" && break
6043 done
6044 test -n "$BISON" || BISON="none"
6046 if test "$BISON" = "none"
6047 then
6048 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6051 $as_echo_n "checking whether bison is recent enough... " >&6; }
6052 if ${wine_cv_recent_bison+:} false; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 cat >conftest.y <<EOF
6056 %define parse.error verbose
6058 empty: ;
6060 if $BISON conftest.y >/dev/null 2>&5
6061 then
6062 wine_cv_recent_bison=yes
6063 else
6064 wine_cv_recent_bison=no
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6068 $as_echo "$wine_cv_recent_bison" >&6; }
6069 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
6071 if test -n "$ac_tool_prefix"; then
6072 for ac_prog in ar gar
6074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6075 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_AR+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$AR"; then
6082 ac_cv_prog_AR="$AR" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 AR=$ac_cv_prog_AR
6102 if test -n "$AR"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6104 $as_echo "$AR" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6111 test -n "$AR" && break
6112 done
6114 if test -z "$AR"; then
6115 ac_ct_AR=$AR
6116 for ac_prog in ar gar
6118 # Extract the first word of "$ac_prog", so it can be a program name with args.
6119 set dummy $ac_prog; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6123 $as_echo_n "(cached) " >&6
6124 else
6125 if test -n "$ac_ct_AR"; then
6126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6127 else
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 for as_dir in $PATH
6131 IFS=$as_save_IFS
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135 ac_cv_prog_ac_ct_AR="$ac_prog"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6146 if test -n "$ac_ct_AR"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6148 $as_echo "$ac_ct_AR" >&6; }
6149 else
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 $as_echo "no" >&6; }
6155 test -n "$ac_ct_AR" && break
6156 done
6158 if test "x$ac_ct_AR" = x; then
6159 AR="ar"
6160 else
6161 case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167 AR=$ac_ct_AR
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}strip; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if ${ac_cv_prog_STRIP+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 if test -n "$STRIP"; then
6180 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6193 done
6194 done
6195 IFS=$as_save_IFS
6199 STRIP=$ac_cv_prog_STRIP
6200 if test -n "$STRIP"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6202 $as_echo "$STRIP" >&6; }
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6210 if test -z "$ac_cv_prog_STRIP"; then
6211 ac_ct_STRIP=$STRIP
6212 # Extract the first word of "strip", so it can be a program name with args.
6213 set dummy strip; ac_word=$2
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215 $as_echo_n "checking for $ac_word... " >&6; }
6216 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 if test -n "$ac_ct_STRIP"; then
6220 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6221 else
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 for as_dir in $PATH
6225 IFS=$as_save_IFS
6226 test -z "$as_dir" && as_dir=.
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6229 ac_cv_prog_ac_ct_STRIP="strip"
6230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 break 2
6233 done
6234 done
6235 IFS=$as_save_IFS
6239 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6240 if test -n "$ac_ct_STRIP"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6242 $as_echo "$ac_ct_STRIP" >&6; }
6243 else
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245 $as_echo "no" >&6; }
6248 if test "x$ac_ct_STRIP" = x; then
6249 STRIP="strip"
6250 else
6251 case $cross_compiling:$ac_tool_warned in
6252 yes:)
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6255 ac_tool_warned=yes ;;
6256 esac
6257 STRIP=$ac_ct_STRIP
6259 else
6260 STRIP="$ac_cv_prog_STRIP"
6263 if test -n "$ac_tool_prefix"; then
6264 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6265 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267 $as_echo_n "checking for $ac_word... " >&6; }
6268 if ${ac_cv_prog_RANLIB+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 if test -n "$RANLIB"; then
6272 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6273 else
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 for as_dir in $PATH
6277 IFS=$as_save_IFS
6278 test -z "$as_dir" && as_dir=.
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6281 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 break 2
6285 done
6286 done
6287 IFS=$as_save_IFS
6291 RANLIB=$ac_cv_prog_RANLIB
6292 if test -n "$RANLIB"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6294 $as_echo "$RANLIB" >&6; }
6295 else
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6302 if test -z "$ac_cv_prog_RANLIB"; then
6303 ac_ct_RANLIB=$RANLIB
6304 # Extract the first word of "ranlib", so it can be a program name with args.
6305 set dummy ranlib; ac_word=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6309 $as_echo_n "(cached) " >&6
6310 else
6311 if test -n "$ac_ct_RANLIB"; then
6312 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6313 else
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH
6317 IFS=$as_save_IFS
6318 test -z "$as_dir" && as_dir=.
6319 for ac_exec_ext in '' $ac_executable_extensions; do
6320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_prog_ac_ct_RANLIB="ranlib"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 break 2
6325 done
6326 done
6327 IFS=$as_save_IFS
6331 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6332 if test -n "$ac_ct_RANLIB"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6334 $as_echo "$ac_ct_RANLIB" >&6; }
6335 else
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 $as_echo "no" >&6; }
6340 if test "x$ac_ct_RANLIB" = x; then
6341 RANLIB=":"
6342 else
6343 case $cross_compiling:$ac_tool_warned in
6344 yes:)
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6347 ac_tool_warned=yes ;;
6348 esac
6349 RANLIB=$ac_ct_RANLIB
6351 else
6352 RANLIB="$ac_cv_prog_RANLIB"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6356 $as_echo_n "checking whether ln -s works... " >&6; }
6357 LN_S=$as_ln_s
6358 if test "$LN_S" = "ln -s"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6360 $as_echo "yes" >&6; }
6361 else
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6363 $as_echo "no, using $LN_S" >&6; }
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6367 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6368 if ${ac_cv_path_GREP+:} false; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 if test -z "$GREP"; then
6372 ac_path_GREP_found=false
6373 # Loop through the user's path and test for each of PROGNAME-LIST
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6377 IFS=$as_save_IFS
6378 test -z "$as_dir" && as_dir=.
6379 for ac_prog in grep ggrep; do
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6382 as_fn_executable_p "$ac_path_GREP" || continue
6383 # Check for GNU ac_path_GREP and select it if it is found.
6384 # Check for GNU $ac_path_GREP
6385 case `"$ac_path_GREP" --version 2>&1` in
6386 *GNU*)
6387 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6389 ac_count=0
6390 $as_echo_n 0123456789 >"conftest.in"
6391 while :
6393 cat "conftest.in" "conftest.in" >"conftest.tmp"
6394 mv "conftest.tmp" "conftest.in"
6395 cp "conftest.in" "conftest.nl"
6396 $as_echo 'GREP' >> "conftest.nl"
6397 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6398 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6399 as_fn_arith $ac_count + 1 && ac_count=$as_val
6400 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6401 # Best one so far, save it but keep looking for a better one
6402 ac_cv_path_GREP="$ac_path_GREP"
6403 ac_path_GREP_max=$ac_count
6405 # 10*(2^10) chars as input seems more than enough
6406 test $ac_count -gt 10 && break
6407 done
6408 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6409 esac
6411 $ac_path_GREP_found && break 3
6412 done
6413 done
6414 done
6415 IFS=$as_save_IFS
6416 if test -z "$ac_cv_path_GREP"; then
6417 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6419 else
6420 ac_cv_path_GREP=$GREP
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6425 $as_echo "$ac_cv_path_GREP" >&6; }
6426 GREP="$ac_cv_path_GREP"
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6430 $as_echo_n "checking for egrep... " >&6; }
6431 if ${ac_cv_path_EGREP+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6435 then ac_cv_path_EGREP="$GREP -E"
6436 else
6437 if test -z "$EGREP"; then
6438 ac_path_EGREP_found=false
6439 # Loop through the user's path and test for each of PROGNAME-LIST
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6443 IFS=$as_save_IFS
6444 test -z "$as_dir" && as_dir=.
6445 for ac_prog in egrep; do
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6448 as_fn_executable_p "$ac_path_EGREP" || continue
6449 # Check for GNU ac_path_EGREP and select it if it is found.
6450 # Check for GNU $ac_path_EGREP
6451 case `"$ac_path_EGREP" --version 2>&1` in
6452 *GNU*)
6453 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6455 ac_count=0
6456 $as_echo_n 0123456789 >"conftest.in"
6457 while :
6459 cat "conftest.in" "conftest.in" >"conftest.tmp"
6460 mv "conftest.tmp" "conftest.in"
6461 cp "conftest.in" "conftest.nl"
6462 $as_echo 'EGREP' >> "conftest.nl"
6463 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6465 as_fn_arith $ac_count + 1 && ac_count=$as_val
6466 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6467 # Best one so far, save it but keep looking for a better one
6468 ac_cv_path_EGREP="$ac_path_EGREP"
6469 ac_path_EGREP_max=$ac_count
6471 # 10*(2^10) chars as input seems more than enough
6472 test $ac_count -gt 10 && break
6473 done
6474 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6475 esac
6477 $ac_path_EGREP_found && break 3
6478 done
6479 done
6480 done
6481 IFS=$as_save_IFS
6482 if test -z "$ac_cv_path_EGREP"; then
6483 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6485 else
6486 ac_cv_path_EGREP=$EGREP
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6492 $as_echo "$ac_cv_path_EGREP" >&6; }
6493 EGREP="$ac_cv_path_EGREP"
6496 # Extract the first word of "ldconfig", so it can be a program name with args.
6497 set dummy ldconfig; ac_word=$2
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if ${ac_cv_path_LDCONFIG+:} false; then :
6501 $as_echo_n "(cached) " >&6
6502 else
6503 case $LDCONFIG in
6504 [\\/]* | ?:[\\/]*)
6505 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in /sbin /usr/sbin $PATH
6511 IFS=$as_save_IFS
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6515 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 break 2
6519 done
6520 done
6521 IFS=$as_save_IFS
6523 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6525 esac
6527 LDCONFIG=$ac_cv_path_LDCONFIG
6528 if test -n "$LDCONFIG"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6530 $as_echo "$LDCONFIG" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6537 for ac_prog in msgfmt
6539 # Extract the first word of "$ac_prog", so it can be a program name with args.
6540 set dummy $ac_prog; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if ${ac_cv_prog_MSGFMT+:} false; then :
6544 $as_echo_n "(cached) " >&6
6545 else
6546 if test -n "$MSGFMT"; then
6547 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6552 IFS=$as_save_IFS
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_prog_MSGFMT="$ac_prog"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 break 2
6560 done
6561 done
6562 IFS=$as_save_IFS
6566 MSGFMT=$ac_cv_prog_MSGFMT
6567 if test -n "$MSGFMT"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6569 $as_echo "$MSGFMT" >&6; }
6570 else
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6576 test -n "$MSGFMT" && break
6577 done
6578 test -n "$MSGFMT" || MSGFMT="false"
6580 if ${ac_tool_prefix+:} false; then :
6581 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6582 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6584 $as_echo_n "checking for $ac_word... " >&6; }
6585 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 if test -n "$PKG_CONFIG"; then
6589 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6590 else
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 for as_dir in $PATH
6594 IFS=$as_save_IFS
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 break 2
6602 done
6603 done
6604 IFS=$as_save_IFS
6608 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6609 if test -n "$PKG_CONFIG"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6611 $as_echo "$PKG_CONFIG" >&6; }
6612 else
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6619 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6620 if test "x$cross_compiling" = xyes; then :
6622 else
6623 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6624 # Extract the first word of "pkg-config", so it can be a program name with args.
6625 set dummy pkg-config; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6629 $as_echo_n "(cached) " >&6
6630 else
6631 if test -n "$PKG_CONFIG"; then
6632 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6641 ac_cv_prog_PKG_CONFIG="pkg-config"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 break 2
6645 done
6646 done
6647 IFS=$as_save_IFS
6651 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6652 if test -n "$PKG_CONFIG"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6654 $as_echo "$PKG_CONFIG" >&6; }
6655 else
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6662 else
6663 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6666 if test "x$enable_maintainer_mode" != "xyes"
6667 then
6668 FONTFORGE=""
6669 RSVG=""
6670 CONVERT=""
6671 ICOTOOL=""
6672 else
6673 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6674 for ac_prog in fontforge
6676 # Extract the first word of "$ac_prog", so it can be a program name with args.
6677 set dummy $ac_prog; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if ${ac_cv_prog_FONTFORGE+:} false; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$FONTFORGE"; then
6684 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_FONTFORGE="$ac_prog"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 FONTFORGE=$ac_cv_prog_FONTFORGE
6704 if test -n "$FONTFORGE"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6706 $as_echo "$FONTFORGE" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6713 test -n "$FONTFORGE" && break
6714 done
6715 test -n "$FONTFORGE" || FONTFORGE="false"
6717 for ac_prog in rsvg-convert rsvg
6719 # Extract the first word of "$ac_prog", so it can be a program name with args.
6720 set dummy $ac_prog; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if ${ac_cv_prog_RSVG+:} false; then :
6724 $as_echo_n "(cached) " >&6
6725 else
6726 if test -n "$RSVG"; then
6727 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6728 else
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 for as_dir in $PATH
6732 IFS=$as_save_IFS
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_RSVG="$ac_prog"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 break 2
6740 done
6741 done
6742 IFS=$as_save_IFS
6746 RSVG=$ac_cv_prog_RSVG
6747 if test -n "$RSVG"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6749 $as_echo "$RSVG" >&6; }
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6756 test -n "$RSVG" && break
6757 done
6758 test -n "$RSVG" || RSVG="false"
6760 for ac_prog in convert
6762 # Extract the first word of "$ac_prog", so it can be a program name with args.
6763 set dummy $ac_prog; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_CONVERT+:} false; then :
6767 $as_echo_n "(cached) " >&6
6768 else
6769 if test -n "$CONVERT"; then
6770 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6771 else
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 for as_dir in $PATH
6775 IFS=$as_save_IFS
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_CONVERT="$ac_prog"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781 break 2
6783 done
6784 done
6785 IFS=$as_save_IFS
6789 CONVERT=$ac_cv_prog_CONVERT
6790 if test -n "$CONVERT"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6792 $as_echo "$CONVERT" >&6; }
6793 else
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6799 test -n "$CONVERT" && break
6800 done
6801 test -n "$CONVERT" || CONVERT="false"
6803 for ac_prog in icotool
6805 # Extract the first word of "$ac_prog", so it can be a program name with args.
6806 set dummy $ac_prog; ac_word=$2
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808 $as_echo_n "checking for $ac_word... " >&6; }
6809 if ${ac_cv_prog_ICOTOOL+:} false; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 if test -n "$ICOTOOL"; then
6813 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6814 else
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 for as_dir in $PATH
6818 IFS=$as_save_IFS
6819 test -z "$as_dir" && as_dir=.
6820 for ac_exec_ext in '' $ac_executable_extensions; do
6821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6822 ac_cv_prog_ICOTOOL="$ac_prog"
6823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 break 2
6826 done
6827 done
6828 IFS=$as_save_IFS
6832 ICOTOOL=$ac_cv_prog_ICOTOOL
6833 if test -n "$ICOTOOL"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6835 $as_echo "$ICOTOOL" >&6; }
6836 else
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6842 test -n "$ICOTOOL" && break
6843 done
6844 test -n "$ICOTOOL" || ICOTOOL="false"
6846 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6847 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6849 if test "$CONVERT" = false
6850 then
6851 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6854 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6855 convert_version=`convert --version | head -n1`
6856 if test "x$convert_version" != "x"
6857 then
6858 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6859 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6860 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6861 then
6862 CONVERT=false
6865 if test "$CONVERT" = false
6866 then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6868 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6869 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6870 else
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6872 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6876 if test "$ICOTOOL" = false
6877 then
6878 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6879 else
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6881 $as_echo_n "checking for recent enough icotool... " >&6; }
6882 icotool_version=`icotool --version | head -n1`
6883 if test "x$icotool_version" != "x"
6884 then
6885 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6886 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6887 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6888 then
6889 ICOTOOL=false
6890 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6893 if test "$ICOTOOL" = false
6894 then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6896 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6897 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6898 else
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6900 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6904 with_gettext=yes
6905 with_gettextpo=yes
6907 enable_werror=yes
6910 test "x$with_gettext" != xno || MSGFMT=false
6911 if test "$MSGFMT" != "false"
6912 then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6914 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6915 if ${wine_cv_msgfmt_contexts+:} false; then :
6916 $as_echo_n "(cached) " >&6
6917 else
6918 cat >conftest.po <<EOF
6919 # comment
6920 msgctxt "ctxt"
6921 msgid "id"
6922 msgstr "str"
6924 if $MSGFMT -o /dev/null conftest.po 2>&5
6925 then
6926 wine_cv_msgfmt_contexts=yes
6927 else
6928 wine_cv_msgfmt_contexts=no
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6932 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6933 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6935 if test "$MSGFMT" = false; then :
6936 case "x$with_gettext" in
6937 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6938 xno) ;;
6939 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6940 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6941 esac
6942 enable_po=${enable_po:-no}
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6947 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6948 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6949 $as_echo_n "(cached) " >&6
6950 else
6951 ac_check_lib_save_LIBS=$LIBS
6952 LIBS="-li386 $LIBS"
6953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6956 /* Override any GCC internal prototype to avoid an error.
6957 Use char because int might match the return type of a GCC
6958 builtin and then its argument prototype would still apply. */
6959 #ifdef __cplusplus
6960 extern "C"
6961 #endif
6962 char i386_set_ldt ();
6964 main ()
6966 return i386_set_ldt ();
6968 return 0;
6970 _ACEOF
6971 if ac_fn_c_try_link "$LINENO"; then :
6972 ac_cv_lib_i386_i386_set_ldt=yes
6973 else
6974 ac_cv_lib_i386_i386_set_ldt=no
6976 rm -f core conftest.err conftest.$ac_objext \
6977 conftest$ac_exeext conftest.$ac_ext
6978 LIBS=$ac_check_lib_save_LIBS
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6981 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6982 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6983 I386_LIBS="-li386"
6988 OPENGL_LIBS=""
6992 # Check whether --enable-largefile was given.
6993 if test "${enable_largefile+set}" = set; then :
6994 enableval=$enable_largefile;
6997 if test "$enable_largefile" != no; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7000 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7001 if ${ac_cv_sys_largefile_CC+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 ac_cv_sys_largefile_CC=no
7005 if test "$GCC" != yes; then
7006 ac_save_CC=$CC
7007 while :; do
7008 # IRIX 6.2 and later do not support large files by default,
7009 # so use the C compiler's -n32 option if that helps.
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #include <sys/types.h>
7013 /* Check that off_t can represent 2**63 - 1 correctly.
7014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7015 since some C++ compilers masquerading as C compilers
7016 incorrectly reject 9223372036854775807. */
7017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7019 && LARGE_OFF_T % 2147483647 == 1)
7020 ? 1 : -1];
7022 main ()
7026 return 0;
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 break
7032 rm -f core conftest.err conftest.$ac_objext
7033 CC="$CC -n32"
7034 if ac_fn_c_try_compile "$LINENO"; then :
7035 ac_cv_sys_largefile_CC=' -n32'; break
7037 rm -f core conftest.err conftest.$ac_objext
7038 break
7039 done
7040 CC=$ac_save_CC
7041 rm -f conftest.$ac_ext
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7045 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7046 if test "$ac_cv_sys_largefile_CC" != no; then
7047 CC=$CC$ac_cv_sys_largefile_CC
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7051 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7052 if ${ac_cv_sys_file_offset_bits+:} false; then :
7053 $as_echo_n "(cached) " >&6
7054 else
7055 while :; do
7056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7058 #include <sys/types.h>
7059 /* Check that off_t can represent 2**63 - 1 correctly.
7060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7061 since some C++ compilers masquerading as C compilers
7062 incorrectly reject 9223372036854775807. */
7063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7065 && LARGE_OFF_T % 2147483647 == 1)
7066 ? 1 : -1];
7068 main ()
7072 return 0;
7074 _ACEOF
7075 if ac_fn_c_try_compile "$LINENO"; then :
7076 ac_cv_sys_file_offset_bits=no; break
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7081 #define _FILE_OFFSET_BITS 64
7082 #include <sys/types.h>
7083 /* Check that off_t can represent 2**63 - 1 correctly.
7084 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7085 since some C++ compilers masquerading as C compilers
7086 incorrectly reject 9223372036854775807. */
7087 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7088 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7089 && LARGE_OFF_T % 2147483647 == 1)
7090 ? 1 : -1];
7092 main ()
7096 return 0;
7098 _ACEOF
7099 if ac_fn_c_try_compile "$LINENO"; then :
7100 ac_cv_sys_file_offset_bits=64; break
7102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7103 ac_cv_sys_file_offset_bits=unknown
7104 break
7105 done
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7108 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7109 case $ac_cv_sys_file_offset_bits in #(
7110 no | unknown) ;;
7112 cat >>confdefs.h <<_ACEOF
7113 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7114 _ACEOF
7116 esac
7117 rm -rf conftest*
7118 if test $ac_cv_sys_file_offset_bits = unknown; then
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7120 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7121 if ${ac_cv_sys_large_files+:} false; then :
7122 $as_echo_n "(cached) " >&6
7123 else
7124 while :; do
7125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126 /* end confdefs.h. */
7127 #include <sys/types.h>
7128 /* Check that off_t can represent 2**63 - 1 correctly.
7129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7130 since some C++ compilers masquerading as C compilers
7131 incorrectly reject 9223372036854775807. */
7132 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7134 && LARGE_OFF_T % 2147483647 == 1)
7135 ? 1 : -1];
7137 main ()
7141 return 0;
7143 _ACEOF
7144 if ac_fn_c_try_compile "$LINENO"; then :
7145 ac_cv_sys_large_files=no; break
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 #define _LARGE_FILES 1
7151 #include <sys/types.h>
7152 /* Check that off_t can represent 2**63 - 1 correctly.
7153 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7154 since some C++ compilers masquerading as C compilers
7155 incorrectly reject 9223372036854775807. */
7156 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7157 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7158 && LARGE_OFF_T % 2147483647 == 1)
7159 ? 1 : -1];
7161 main ()
7165 return 0;
7167 _ACEOF
7168 if ac_fn_c_try_compile "$LINENO"; then :
7169 ac_cv_sys_large_files=1; break
7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7172 ac_cv_sys_large_files=unknown
7173 break
7174 done
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7177 $as_echo "$ac_cv_sys_large_files" >&6; }
7178 case $ac_cv_sys_large_files in #(
7179 no | unknown) ;;
7181 cat >>confdefs.h <<_ACEOF
7182 #define _LARGE_FILES $ac_cv_sys_large_files
7183 _ACEOF
7185 esac
7186 rm -rf conftest*
7193 ac_ext=c
7194 ac_cpp='$CPP $CPPFLAGS'
7195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7199 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7200 # On Suns, sometimes $CPP names a directory.
7201 if test -n "$CPP" && test -d "$CPP"; then
7202 CPP=
7204 if test -z "$CPP"; then
7205 if ${ac_cv_prog_CPP+:} false; then :
7206 $as_echo_n "(cached) " >&6
7207 else
7208 # Double quotes because CPP needs to be expanded
7209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7211 ac_preproc_ok=false
7212 for ac_c_preproc_warn_flag in '' yes
7214 # Use a header file that comes with gcc, so configuring glibc
7215 # with a fresh cross-compiler works.
7216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7217 # <limits.h> exists even on freestanding compilers.
7218 # On the NeXT, cc -E runs the code through the compiler's parser,
7219 # not just through cpp. "Syntax error" is here to catch this case.
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 #ifdef __STDC__
7223 # include <limits.h>
7224 #else
7225 # include <assert.h>
7226 #endif
7227 Syntax error
7228 _ACEOF
7229 if ac_fn_c_try_cpp "$LINENO"; then :
7231 else
7232 # Broken: fails on valid input.
7233 continue
7235 rm -f conftest.err conftest.i conftest.$ac_ext
7237 # OK, works on sane cases. Now check whether nonexistent headers
7238 # can be detected and how.
7239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240 /* end confdefs.h. */
7241 #include <ac_nonexistent.h>
7242 _ACEOF
7243 if ac_fn_c_try_cpp "$LINENO"; then :
7244 # Broken: success on invalid input.
7245 continue
7246 else
7247 # Passes both tests.
7248 ac_preproc_ok=:
7249 break
7251 rm -f conftest.err conftest.i conftest.$ac_ext
7253 done
7254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7255 rm -f conftest.i conftest.err conftest.$ac_ext
7256 if $ac_preproc_ok; then :
7257 break
7260 done
7261 ac_cv_prog_CPP=$CPP
7264 CPP=$ac_cv_prog_CPP
7265 else
7266 ac_cv_prog_CPP=$CPP
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7269 $as_echo "$CPP" >&6; }
7270 ac_preproc_ok=false
7271 for ac_c_preproc_warn_flag in '' yes
7273 # Use a header file that comes with gcc, so configuring glibc
7274 # with a fresh cross-compiler works.
7275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7276 # <limits.h> exists even on freestanding compilers.
7277 # On the NeXT, cc -E runs the code through the compiler's parser,
7278 # not just through cpp. "Syntax error" is here to catch this case.
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 #ifdef __STDC__
7282 # include <limits.h>
7283 #else
7284 # include <assert.h>
7285 #endif
7286 Syntax error
7287 _ACEOF
7288 if ac_fn_c_try_cpp "$LINENO"; then :
7290 else
7291 # Broken: fails on valid input.
7292 continue
7294 rm -f conftest.err conftest.i conftest.$ac_ext
7296 # OK, works on sane cases. Now check whether nonexistent headers
7297 # can be detected and how.
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 #include <ac_nonexistent.h>
7301 _ACEOF
7302 if ac_fn_c_try_cpp "$LINENO"; then :
7303 # Broken: success on invalid input.
7304 continue
7305 else
7306 # Passes both tests.
7307 ac_preproc_ok=:
7308 break
7310 rm -f conftest.err conftest.i conftest.$ac_ext
7312 done
7313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7314 rm -f conftest.i conftest.err conftest.$ac_ext
7315 if $ac_preproc_ok; then :
7317 else
7318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7320 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7321 See \`config.log' for more details" "$LINENO" 5; }
7324 ac_ext=c
7325 ac_cpp='$CPP $CPPFLAGS'
7326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7332 $as_echo_n "checking for ANSI C header files... " >&6; }
7333 if ${ac_cv_header_stdc+:} false; then :
7334 $as_echo_n "(cached) " >&6
7335 else
7336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7337 /* end confdefs.h. */
7338 #include <stdlib.h>
7339 #include <stdarg.h>
7340 #include <string.h>
7341 #include <float.h>
7344 main ()
7348 return 0;
7350 _ACEOF
7351 if ac_fn_c_try_compile "$LINENO"; then :
7352 ac_cv_header_stdc=yes
7353 else
7354 ac_cv_header_stdc=no
7356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7358 if test $ac_cv_header_stdc = yes; then
7359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7362 #include <string.h>
7364 _ACEOF
7365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7366 $EGREP "memchr" >/dev/null 2>&1; then :
7368 else
7369 ac_cv_header_stdc=no
7371 rm -f conftest*
7375 if test $ac_cv_header_stdc = yes; then
7376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7379 #include <stdlib.h>
7381 _ACEOF
7382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7383 $EGREP "free" >/dev/null 2>&1; then :
7385 else
7386 ac_cv_header_stdc=no
7388 rm -f conftest*
7392 if test $ac_cv_header_stdc = yes; then
7393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7394 if test "$cross_compiling" = yes; then :
7396 else
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7399 #include <ctype.h>
7400 #include <stdlib.h>
7401 #if ((' ' & 0x0FF) == 0x020)
7402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7404 #else
7405 # define ISLOWER(c) \
7406 (('a' <= (c) && (c) <= 'i') \
7407 || ('j' <= (c) && (c) <= 'r') \
7408 || ('s' <= (c) && (c) <= 'z'))
7409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7410 #endif
7412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7414 main ()
7416 int i;
7417 for (i = 0; i < 256; i++)
7418 if (XOR (islower (i), ISLOWER (i))
7419 || toupper (i) != TOUPPER (i))
7420 return 2;
7421 return 0;
7423 _ACEOF
7424 if ac_fn_c_try_run "$LINENO"; then :
7426 else
7427 ac_cv_header_stdc=no
7429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7430 conftest.$ac_objext conftest.beam conftest.$ac_ext
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7436 $as_echo "$ac_cv_header_stdc" >&6; }
7437 if test $ac_cv_header_stdc = yes; then
7439 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7443 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7444 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7445 inttypes.h stdint.h unistd.h
7446 do :
7447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7451 cat >>confdefs.h <<_ACEOF
7452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7453 _ACEOF
7457 done
7460 for ac_header in \
7461 AL/al.h \
7462 ApplicationServices/ApplicationServices.h \
7463 CL/cl.h \
7464 Carbon/Carbon.h \
7465 CommonCrypto/CommonCryptor.h \
7466 CoreAudio/CoreAudio.h \
7467 DiskArbitration/DiskArbitration.h \
7468 EGL/egl.h \
7469 IOKit/IOKitLib.h \
7470 IOKit/hid/IOHIDLib.h \
7471 OpenAL/al.h \
7472 OpenCL/opencl.h \
7473 QuickTime/ImageCompression.h \
7474 Security/Security.h \
7475 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7476 SystemConfiguration/SCNetworkConfiguration.h \
7477 alias.h \
7478 arpa/inet.h \
7479 arpa/nameser.h \
7480 asm/types.h \
7481 asm/user.h \
7482 dirent.h \
7483 dlfcn.h \
7484 elf.h \
7485 float.h \
7486 fnmatch.h \
7487 getopt.h \
7488 gettext-po.h \
7489 grp.h \
7490 gsm.h \
7491 gsm/gsm.h \
7492 ieeefp.h \
7493 libproc.h \
7494 link.h \
7495 linux/cdrom.h \
7496 linux/filter.h \
7497 linux/hdreg.h \
7498 linux/hidraw.h \
7499 linux/input.h \
7500 linux/ioctl.h \
7501 linux/joystick.h \
7502 linux/major.h \
7503 linux/param.h \
7504 linux/serial.h \
7505 linux/types.h \
7506 linux/ucdrom.h \
7507 lwp.h \
7508 mach-o/loader.h \
7509 mach/mach.h \
7510 machine/cpu.h \
7511 machine/sysarch.h \
7512 mntent.h \
7513 netdb.h \
7514 netinet/in.h \
7515 netinet/in_systm.h \
7516 netinet/tcp.h \
7517 netinet/tcp_fsm.h \
7518 pcap/pcap.h \
7519 poll.h \
7520 port.h \
7521 pthread.h \
7522 pwd.h \
7523 sasl/sasl.h \
7524 sched.h \
7525 scsi/scsi.h \
7526 scsi/scsi_ioctl.h \
7527 scsi/sg.h \
7528 stdint.h \
7529 sys/attr.h \
7530 sys/auxv.h \
7531 sys/cdio.h \
7532 sys/epoll.h \
7533 sys/event.h \
7534 sys/filio.h \
7535 sys/ioctl.h \
7536 sys/ipc.h \
7537 sys/link.h \
7538 sys/mman.h \
7539 sys/modem.h \
7540 sys/mtio.h \
7541 sys/param.h \
7542 sys/poll.h \
7543 sys/prctl.h \
7544 sys/protosw.h \
7545 sys/ptrace.h \
7546 sys/queue.h \
7547 sys/random.h \
7548 sys/resource.h \
7549 sys/scsiio.h \
7550 sys/shm.h \
7551 sys/signal.h \
7552 sys/socket.h \
7553 sys/socketvar.h \
7554 sys/sockio.h \
7555 sys/statvfs.h \
7556 sys/strtio.h \
7557 sys/syscall.h \
7558 sys/sysinfo.h \
7559 sys/time.h \
7560 sys/timeout.h \
7561 sys/times.h \
7562 sys/uio.h \
7563 sys/user.h \
7564 sys/utsname.h \
7565 sys/vnode.h \
7566 sys/wait.h \
7567 syscall.h \
7568 termios.h \
7569 unistd.h \
7570 utime.h \
7571 valgrind/memcheck.h \
7572 valgrind/valgrind.h
7574 do :
7575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7578 cat >>confdefs.h <<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 _ACEOF
7584 done
7586 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7587 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7589 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7594 if test $ac_cv_header_sys_mkdev_h = no; then
7595 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7596 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7598 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7605 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7606 if ${ac_cv_header_stat_broken+:} false; then :
7607 $as_echo_n "(cached) " >&6
7608 else
7609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h. */
7611 #include <sys/types.h>
7612 #include <sys/stat.h>
7614 #if defined S_ISBLK && defined S_IFDIR
7615 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7616 #endif
7618 #if defined S_ISBLK && defined S_IFCHR
7619 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7620 #endif
7622 #if defined S_ISLNK && defined S_IFREG
7623 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7624 #endif
7626 #if defined S_ISSOCK && defined S_IFREG
7627 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7628 #endif
7630 _ACEOF
7631 if ac_fn_c_try_compile "$LINENO"; then :
7632 ac_cv_header_stat_broken=no
7633 else
7634 ac_cv_header_stat_broken=yes
7636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7639 $as_echo "$ac_cv_header_stat_broken" >&6; }
7640 if test $ac_cv_header_stat_broken = yes; then
7642 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7648 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7649 do :
7650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7652 #ifdef HAVE_SYS_PARAM_H
7653 # include <sys/param.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 saved_sysctl_h_CFLAGS=$CFLAGS
7667 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7668 for ac_header in sys/sysctl.h
7669 do :
7670 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7671 #ifdef HAVE_SYS_PARAM_H
7672 # include <sys/param.h>
7673 #endif
7675 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define HAVE_SYS_SYSCTL_H 1
7678 _ACEOF
7682 done
7684 CFLAGS=$saved_sysctl_h_CFLAGS
7686 for ac_header in \
7687 netinet/ip.h \
7688 net/if.h \
7689 net/if_arp.h \
7690 net/if_dl.h \
7691 net/if_types.h \
7692 net/route.h \
7693 netinet/if_ether.h \
7694 netinet/if_inarp.h \
7695 netinet/in_pcb.h \
7696 netinet/ip_icmp.h \
7697 netinet/ip_var.h \
7698 netinet/udp.h \
7699 netipx/ipx.h \
7700 sys/un.h \
7702 do :
7703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7707 #endif
7708 #ifdef HAVE_SYS_SOCKETVAR_H
7709 # include <sys/socketvar.h>
7710 #endif
7711 #ifdef HAVE_NET_ROUTE_H
7712 # include <net/route.h>
7713 #endif
7714 #ifdef HAVE_NETINET_IN_H
7715 # include <netinet/in.h>
7716 #endif
7717 #ifdef HAVE_NETINET_IN_SYSTM_H
7718 # include <netinet/in_systm.h>
7719 #endif
7720 #ifdef HAVE_NET_IF_H
7721 # include <net/if.h>
7722 #endif
7723 #ifdef HAVE_NETINET_IP_H
7724 # include <netinet/ip.h>
7725 #endif
7727 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 _ACEOF
7734 done
7737 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7738 do :
7739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7740 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7741 #ifdef HAVE_ALIAS_H
7742 # include <alias.h>
7743 #endif
7744 #ifdef HAVE_SYS_SOCKET_H
7745 # include <sys/socket.h>
7746 #endif
7747 #ifdef HAVE_SYS_SOCKETVAR_H
7748 # include <sys/socketvar.h>
7749 #endif
7750 #ifdef HAVE_SYS_TIMEOUT_H
7751 # include <sys/timeout.h>
7752 #endif
7753 #ifdef HAVE_NETINET_IN_H
7754 # include <netinet/in.h>
7755 #endif
7756 #ifdef HAVE_NETINET_IN_SYSTM_H
7757 # include <netinet/in_systm.h>
7758 #endif
7759 #ifdef HAVE_NETINET_IP_H
7760 # include <netinet/ip.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IP_VAR_H
7763 # include <netinet/ip_var.h>
7764 #endif
7765 #ifdef HAVE_NETINET_IP_ICMP_H
7766 # include <netinet/ip_icmp.h>
7767 #endif
7768 #ifdef HAVE_NETINET_UDP_H
7769 # include <netinet/udp.h>
7770 #endif
7771 #ifdef HAVE_NETINET_TCP_H
7772 # include <netinet/tcp.h>
7773 #endif
7774 #ifdef HAVE_NETINET_TCP_TIMER_H
7775 #include <netinet/tcp_timer.h>
7776 #endif
7778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7781 _ACEOF
7785 done
7788 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7789 do :
7790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7792 #ifdef HAVE_ASM_TYPES_H
7793 # include <asm/types.h>
7794 #endif
7795 #ifdef HAVE_SYS_SOCKET_H
7796 # include <sys/socket.h>
7797 #endif
7798 #ifdef HAVE_LINUX_TYPES_H
7799 # include <linux/types.h>
7800 #endif
7802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7805 _ACEOF
7809 done
7812 for ac_header in resolv.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7815 #ifdef HAVE_SYS_SOCKET_H
7816 # include <sys/socket.h>
7817 #endif
7818 #ifdef HAVE_NETINET_IN_H
7819 # include <netinet/in.h>
7820 #endif
7821 #ifdef HAVE_ARPA_NAMESER_H
7822 # include <arpa/nameser.h>
7823 #endif
7825 if test "x$ac_cv_header_resolv_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_RESOLV_H 1
7828 _ACEOF
7832 done
7835 for ac_header in ifaddrs.h
7836 do :
7837 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7839 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_IFADDRS_H 1
7842 _ACEOF
7846 done
7849 for ac_header in sys/ucontext.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7853 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_SYS_UCONTEXT_H 1
7856 _ACEOF
7860 done
7863 for ac_header in sys/thr.h
7864 do :
7865 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7866 #ifdef HAVE_SYS_UCONTEXT_H
7867 #include <sys/ucontext.h>
7868 #endif
7870 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7871 cat >>confdefs.h <<_ACEOF
7872 #define HAVE_SYS_THR_H 1
7873 _ACEOF
7877 done
7880 for ac_header in pthread_np.h
7881 do :
7882 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7883 #include <pthread.h>
7884 #endif
7886 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7887 cat >>confdefs.h <<_ACEOF
7888 #define HAVE_PTHREAD_NP_H 1
7889 _ACEOF
7893 done
7896 for ac_header in linux/videodev2.h
7897 do :
7898 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7899 #include <sys/time.h>
7900 #endif
7901 #include <sys/types.h>
7902 #ifdef HAVE_ASM_TYPES_H
7903 #include <asm/types.h>
7904 #endif
7906 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_LINUX_VIDEODEV2_H 1
7909 _ACEOF
7913 done
7916 for ac_header in libprocstat.h
7917 do :
7918 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7919 #include <sys/param.h>
7920 #endif
7921 #ifdef HAVE_SYS_QUEUE_H
7922 #include <sys/queue.h>
7923 #endif
7924 #ifdef HAVE_SYS_SOCKET_H
7925 #include <sys/socket.h>
7926 #endif
7928 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7929 cat >>confdefs.h <<_ACEOF
7930 #define HAVE_LIBPROCSTAT_H 1
7931 _ACEOF
7935 done
7939 DLLFLAGS=""
7941 LDDLLFLAGS=""
7943 LDEXECFLAGS=""
7945 UNIXDLLFLAGS="-fPIC"
7947 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7949 TOP_INSTALL_LIB=""
7951 TOP_INSTALL_DEV=""
7953 WINELOADER_LDFLAGS=""
7955 WINEPRELOADER_LDFLAGS=""
7957 LIBEXT="so"
7958 # Extract the first word of "ldd", so it can be a program name with args.
7959 set dummy ldd; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_path_LDD+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 case $LDD in
7966 [\\/]* | ?:[\\/]*)
7967 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 as_dummy="/sbin:/usr/sbin:$PATH"
7972 for as_dir in $as_dummy
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7982 done
7983 done
7984 IFS=$as_save_IFS
7986 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7988 esac
7990 LDD=$ac_cv_path_LDD
7991 if test -n "$LDD"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7993 $as_echo "$LDD" >&6; }
7994 else
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
8000 if test -n "$ac_tool_prefix"; then
8001 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8002 set dummy ${ac_tool_prefix}otool; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_OTOOL+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 if test -n "$OTOOL"; then
8009 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8010 else
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 for as_dir in $PATH
8014 IFS=$as_save_IFS
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 break 2
8022 done
8023 done
8024 IFS=$as_save_IFS
8028 OTOOL=$ac_cv_prog_OTOOL
8029 if test -n "$OTOOL"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8031 $as_echo "$OTOOL" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8039 if test -z "$ac_cv_prog_OTOOL"; then
8040 ac_ct_OTOOL=$OTOOL
8041 # Extract the first word of "otool", so it can be a program name with args.
8042 set dummy otool; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 if test -n "$ac_ct_OTOOL"; then
8049 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8054 IFS=$as_save_IFS
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_ac_ct_OTOOL="otool"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 break 2
8062 done
8063 done
8064 IFS=$as_save_IFS
8068 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8069 if test -n "$ac_ct_OTOOL"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8071 $as_echo "$ac_ct_OTOOL" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8077 if test "x$ac_ct_OTOOL" = x; then
8078 OTOOL="otool"
8079 else
8080 case $cross_compiling:$ac_tool_warned in
8081 yes:)
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8084 ac_tool_warned=yes ;;
8085 esac
8086 OTOOL=$ac_ct_OTOOL
8088 else
8089 OTOOL="$ac_cv_prog_OTOOL"
8092 if test -n "$ac_tool_prefix"; then
8093 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8094 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8096 $as_echo_n "checking for $ac_word... " >&6; }
8097 if ${ac_cv_prog_READELF+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 if test -n "$READELF"; then
8101 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8102 else
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 for as_dir in $PATH
8106 IFS=$as_save_IFS
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 break 2
8114 done
8115 done
8116 IFS=$as_save_IFS
8120 READELF=$ac_cv_prog_READELF
8121 if test -n "$READELF"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8123 $as_echo "$READELF" >&6; }
8124 else
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126 $as_echo "no" >&6; }
8131 if test -z "$ac_cv_prog_READELF"; then
8132 ac_ct_READELF=$READELF
8133 # Extract the first word of "readelf", so it can be a program name with args.
8134 set dummy readelf; ac_word=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8138 $as_echo_n "(cached) " >&6
8139 else
8140 if test -n "$ac_ct_READELF"; then
8141 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8142 else
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 for as_dir in $PATH
8146 IFS=$as_save_IFS
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8150 ac_cv_prog_ac_ct_READELF="readelf"
8151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152 break 2
8154 done
8155 done
8156 IFS=$as_save_IFS
8160 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8161 if test -n "$ac_ct_READELF"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8163 $as_echo "$ac_ct_READELF" >&6; }
8164 else
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8169 if test "x$ac_ct_READELF" = x; then
8170 READELF="true"
8171 else
8172 case $cross_compiling:$ac_tool_warned in
8173 yes:)
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8176 ac_tool_warned=yes ;;
8177 esac
8178 READELF=$ac_ct_READELF
8180 else
8181 READELF="$ac_cv_prog_READELF"
8184 wine_rules_file=conf$$rules.make
8185 rm -f $wine_rules_file
8186 SUBDIRS=""
8188 DISABLED_SUBDIRS=""
8190 CONFIGURE_TARGETS=""
8193 wine_fn_append_file ()
8195 as_fn_append $1 " \\$as_nl $2"
8198 wine_fn_append_rule ()
8200 $as_echo "$1" >>$wine_rules_file
8203 wine_fn_config_makefile ()
8205 wine_fn_append_file SUBDIRS $1
8206 if eval test \"x\$"$2"\" = x"no"; then :
8207 wine_fn_append_file DISABLED_SUBDIRS $1
8211 wine_fn_config_symlink ()
8213 ac_links=$@
8214 wine_fn_append_rule \
8215 "$ac_links:
8216 @./config.status \$@"
8217 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8220 wine_binary="wine"
8221 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8222 WINELOADER_PROGRAMS="$wine_binary"
8224 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8226 case $host_os in
8227 cygwin*|mingw32*)
8228 if test -n "$ac_tool_prefix"; then
8229 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8230 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8232 $as_echo_n "checking for $ac_word... " >&6; }
8233 if ${ac_cv_prog_DLLTOOL+:} false; then :
8234 $as_echo_n "(cached) " >&6
8235 else
8236 if test -n "$DLLTOOL"; then
8237 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8238 else
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 for as_dir in $PATH
8242 IFS=$as_save_IFS
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8246 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 break 2
8250 done
8251 done
8252 IFS=$as_save_IFS
8256 DLLTOOL=$ac_cv_prog_DLLTOOL
8257 if test -n "$DLLTOOL"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8259 $as_echo "$DLLTOOL" >&6; }
8260 else
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8267 if test -z "$ac_cv_prog_DLLTOOL"; then
8268 ac_ct_DLLTOOL=$DLLTOOL
8269 # Extract the first word of "dlltool", so it can be a program name with args.
8270 set dummy dlltool; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272 $as_echo_n "checking for $ac_word... " >&6; }
8273 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 if test -n "$ac_ct_DLLTOOL"; then
8277 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8278 else
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280 for as_dir in $PATH
8282 IFS=$as_save_IFS
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8286 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 break 2
8290 done
8291 done
8292 IFS=$as_save_IFS
8296 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8297 if test -n "$ac_ct_DLLTOOL"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8299 $as_echo "$ac_ct_DLLTOOL" >&6; }
8300 else
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8305 if test "x$ac_ct_DLLTOOL" = x; then
8306 DLLTOOL="false"
8307 else
8308 case $cross_compiling:$ac_tool_warned in
8309 yes:)
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8312 ac_tool_warned=yes ;;
8313 esac
8314 DLLTOOL=$ac_ct_DLLTOOL
8316 else
8317 DLLTOOL="$ac_cv_prog_DLLTOOL"
8320 LIBEXT="dll"
8321 case $host_cpu in
8322 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8323 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8324 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 ac_wine_try_cflags_saved=$CFLAGS
8328 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 int main(int argc, char **argv) { return 0; }
8332 _ACEOF
8333 if ac_fn_c_try_link "$LINENO"; then :
8334 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8335 else
8336 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8338 rm -f core conftest.err conftest.$ac_objext \
8339 conftest$ac_exeext conftest.$ac_ext
8340 CFLAGS=$ac_wine_try_cflags_saved
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8343 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8344 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8345 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8346 fi ;;
8347 esac
8348 enable_iphlpapi=${enable_iphlpapi:-no}
8349 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8350 enable_loader=${enable_loader:-no}
8351 enable_server=${enable_server:-no}
8352 with_x=${with_x:-no}
8353 with_pthread=${with_pthread:-no}
8356 darwin*|macosx*)
8357 ac_ext=m
8358 ac_cpp='$OBJCPP $CPPFLAGS'
8359 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8360 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8361 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8363 ac_ext=m
8364 ac_cpp='$OBJCPP $CPPFLAGS'
8365 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8366 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8367 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8368 if test -n "$ac_tool_prefix"; then
8369 for ac_prog in gcc objcc objc cc CC
8371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if ${ac_cv_prog_OBJC+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 if test -n "$OBJC"; then
8379 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8380 else
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 for as_dir in $PATH
8384 IFS=$as_save_IFS
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 break 2
8392 done
8393 done
8394 IFS=$as_save_IFS
8398 OBJC=$ac_cv_prog_OBJC
8399 if test -n "$OBJC"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8401 $as_echo "$OBJC" >&6; }
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8408 test -n "$OBJC" && break
8409 done
8411 if test -z "$OBJC"; then
8412 ac_ct_OBJC=$OBJC
8413 for ac_prog in gcc objcc objc cc CC
8415 # Extract the first word of "$ac_prog", so it can be a program name with args.
8416 set dummy $ac_prog; ac_word=$2
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8418 $as_echo_n "checking for $ac_word... " >&6; }
8419 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 if test -n "$ac_ct_OBJC"; then
8423 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8424 else
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 for as_dir in $PATH
8428 IFS=$as_save_IFS
8429 test -z "$as_dir" && as_dir=.
8430 for ac_exec_ext in '' $ac_executable_extensions; do
8431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8432 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 break 2
8436 done
8437 done
8438 IFS=$as_save_IFS
8442 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8443 if test -n "$ac_ct_OBJC"; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8445 $as_echo "$ac_ct_OBJC" >&6; }
8446 else
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448 $as_echo "no" >&6; }
8452 test -n "$ac_ct_OBJC" && break
8453 done
8455 if test "x$ac_ct_OBJC" = x; then
8456 OBJC="gcc"
8457 else
8458 case $cross_compiling:$ac_tool_warned in
8459 yes:)
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8462 ac_tool_warned=yes ;;
8463 esac
8464 OBJC=$ac_ct_OBJC
8468 # Provide some information about the compiler.
8469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8470 set X $ac_compile
8471 ac_compiler=$2
8472 for ac_option in --version -v -V -qversion; do
8473 { { ac_try="$ac_compiler $ac_option >&5"
8474 case "(($ac_try" in
8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8476 *) ac_try_echo=$ac_try;;
8477 esac
8478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8479 $as_echo "$ac_try_echo"; } >&5
8480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8481 ac_status=$?
8482 if test -s conftest.err; then
8483 sed '10a\
8484 ... rest of stderr output deleted ...
8485 10q' conftest.err >conftest.er1
8486 cat conftest.er1 >&5
8488 rm -f conftest.er1 conftest.err
8489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8490 test $ac_status = 0; }
8491 done
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8494 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8495 if ${ac_cv_objc_compiler_gnu+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8502 main ()
8504 #ifndef __GNUC__
8505 choke me
8506 #endif
8509 return 0;
8511 _ACEOF
8512 if ac_fn_objc_try_compile "$LINENO"; then :
8513 ac_compiler_gnu=yes
8514 else
8515 ac_compiler_gnu=no
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8522 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8523 if test $ac_compiler_gnu = yes; then
8524 GOBJC=yes
8525 else
8526 GOBJC=
8528 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8529 ac_save_OBJCFLAGS=$OBJCFLAGS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8531 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8532 if ${ac_cv_prog_objc_g+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 ac_save_objc_werror_flag=$ac_objc_werror_flag
8536 ac_objc_werror_flag=yes
8537 ac_cv_prog_objc_g=no
8538 OBJCFLAGS="-g"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_objc_try_compile "$LINENO"; then :
8551 ac_cv_prog_objc_g=yes
8552 else
8553 OBJCFLAGS=""
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8558 main ()
8562 return 0;
8564 _ACEOF
8565 if ac_fn_objc_try_compile "$LINENO"; then :
8567 else
8568 ac_objc_werror_flag=$ac_save_objc_werror_flag
8569 OBJCFLAGS="-g"
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8574 main ()
8578 return 0;
8580 _ACEOF
8581 if ac_fn_objc_try_compile "$LINENO"; then :
8582 ac_cv_prog_objc_g=yes
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589 ac_objc_werror_flag=$ac_save_objc_werror_flag
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8592 $as_echo "$ac_cv_prog_objc_g" >&6; }
8593 if test "$ac_test_OBJCFLAGS" = set; then
8594 OBJCFLAGS=$ac_save_OBJCFLAGS
8595 elif test $ac_cv_prog_objc_g = yes; then
8596 if test "$GOBJC" = yes; then
8597 OBJCFLAGS="-g -O2"
8598 else
8599 OBJCFLAGS="-g"
8601 else
8602 if test "$GOBJC" = yes; then
8603 OBJCFLAGS="-O2"
8604 else
8605 OBJCFLAGS=
8608 ac_ext=m
8609 ac_cpp='$OBJCPP $CPPFLAGS'
8610 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8615 ac_ext=m
8616 ac_cpp='$OBJCPP $CPPFLAGS'
8617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8621 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8622 if test -z "$OBJCPP"; then
8623 if ${ac_cv_prog_OBJCPP+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 # Double quotes because OBJCPP needs to be expanded
8627 for OBJCPP in "$OBJC -E" "/lib/cpp"
8629 ac_preproc_ok=false
8630 for ac_objc_preproc_warn_flag in '' yes
8632 # Use a header file that comes with gcc, so configuring glibc
8633 # with a fresh cross-compiler works.
8634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8635 # <limits.h> exists even on freestanding compilers.
8636 # On the NeXT, cc -E runs the code through the compiler's parser,
8637 # not just through cpp. "Syntax error" is here to catch this case.
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 #ifdef __STDC__
8641 # include <limits.h>
8642 #else
8643 # include <assert.h>
8644 #endif
8645 Syntax error
8646 _ACEOF
8647 if ac_fn_objc_try_cpp "$LINENO"; then :
8649 else
8650 # Broken: fails on valid input.
8651 continue
8653 rm -f conftest.err conftest.i conftest.$ac_ext
8655 # OK, works on sane cases. Now check whether nonexistent headers
8656 # can be detected and how.
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 #include <ac_nonexistent.h>
8660 _ACEOF
8661 if ac_fn_objc_try_cpp "$LINENO"; then :
8662 # Broken: success on invalid input.
8663 continue
8664 else
8665 # Passes both tests.
8666 ac_preproc_ok=:
8667 break
8669 rm -f conftest.err conftest.i conftest.$ac_ext
8671 done
8672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8673 rm -f conftest.i conftest.err conftest.$ac_ext
8674 if $ac_preproc_ok; then :
8675 break
8678 done
8679 ac_cv_prog_OBJCPP=$OBJCPP
8682 OBJCPP=$ac_cv_prog_OBJCPP
8683 else
8684 ac_cv_prog_OBJCPP=$OBJCPP
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8687 $as_echo "$OBJCPP" >&6; }
8688 ac_preproc_ok=false
8689 for ac_objc_preproc_warn_flag in '' yes
8691 # Use a header file that comes with gcc, so configuring glibc
8692 # with a fresh cross-compiler works.
8693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8694 # <limits.h> exists even on freestanding compilers.
8695 # On the NeXT, cc -E runs the code through the compiler's parser,
8696 # not just through cpp. "Syntax error" is here to catch this case.
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8699 #ifdef __STDC__
8700 # include <limits.h>
8701 #else
8702 # include <assert.h>
8703 #endif
8704 Syntax error
8705 _ACEOF
8706 if ac_fn_objc_try_cpp "$LINENO"; then :
8708 else
8709 # Broken: fails on valid input.
8710 continue
8712 rm -f conftest.err conftest.i conftest.$ac_ext
8714 # OK, works on sane cases. Now check whether nonexistent headers
8715 # can be detected and how.
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 #include <ac_nonexistent.h>
8719 _ACEOF
8720 if ac_fn_objc_try_cpp "$LINENO"; then :
8721 # Broken: success on invalid input.
8722 continue
8723 else
8724 # Passes both tests.
8725 ac_preproc_ok=:
8726 break
8728 rm -f conftest.err conftest.i conftest.$ac_ext
8730 done
8731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8732 rm -f conftest.i conftest.err conftest.$ac_ext
8733 if $ac_preproc_ok; then :
8735 else
8736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8738 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8739 See \`config.log' for more details" "$LINENO" 5; }
8742 ac_ext=m
8743 ac_cpp='$OBJCPP $CPPFLAGS'
8744 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8745 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8746 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8749 for ac_header in Metal/Metal.h
8750 do :
8751 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8752 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8753 cat >>confdefs.h <<_ACEOF
8754 #define HAVE_METAL_METAL_H 1
8755 _ACEOF
8759 done
8761 ac_ext=c
8762 ac_cpp='$CPP $CPPFLAGS'
8763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8767 LIBEXT="dylib"
8768 DLLFLAGS="$DLLFLAGS -fPIC"
8769 LDDLLFLAGS="-fPIC"
8770 COREFOUNDATION_LIBS="-framework CoreFoundation"
8772 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8774 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8776 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8778 CORESERVICES_LIBS="-framework CoreServices"
8780 APPKIT_LIBS="-framework AppKit"
8782 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8785 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8787 wine_can_build_preloader=yes
8788 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8790 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8791 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__Wl__no_new_main__e__main=yes
8802 else
8803 ac_cv_cflags__Wl__no_new_main__e__main=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8810 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8811 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8812 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8814 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8815 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 int main(int argc, char **argv) { return 0; }
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8826 else
8827 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8834 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8835 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8836 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8837 else
8838 { $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
8839 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8840 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8851 else
8852 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { $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
8859 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8860 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8861 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8862 else
8863 wine_can_build_preloader=no
8866 else
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8868 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8869 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8876 int main(int argc, char **argv) { return 0; }
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8879 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8880 else
8881 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8883 rm -f core conftest.err conftest.$ac_objext \
8884 conftest$ac_exeext conftest.$ac_ext
8885 CFLAGS=$ac_wine_try_cflags_saved
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8888 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8889 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8890 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8893 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8894 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8901 int main(int argc, char **argv) { return 0; }
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8905 else
8906 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8913 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8914 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8915 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8916 else
8917 wine_can_build_preloader=no
8921 if test "$wine_can_build_preloader" = "yes"
8922 then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8924 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8925 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8926 $as_echo_n "(cached) " >&6
8927 else
8928 ac_wine_try_cflags_saved=$CFLAGS
8929 CFLAGS="$CFLAGS -Wl,-no_pie"
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8932 int main(int argc, char **argv) { return 0; }
8933 _ACEOF
8934 if ac_fn_c_try_link "$LINENO"; then :
8935 ac_cv_cflags__Wl__no_pie=yes
8936 else
8937 ac_cv_cflags__Wl__no_pie=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 CFLAGS=$ac_wine_try_cflags_saved
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8944 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8945 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8946 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8948 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8949 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8950 else
8951 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8954 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8955 then
8956 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8959 if test "$ac_cv_header_Security_Security_h" = "yes"
8960 then
8961 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8963 ac_save_LIBS="$LIBS"
8964 LIBS="$LIBS $SECURITY_LIBS"
8965 for ac_func in SSLCopyPeerCertificates
8966 do :
8967 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8968 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8969 cat >>confdefs.h <<_ACEOF
8970 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8971 _ACEOF
8974 done
8976 LIBS="$ac_save_LIBS"
8978 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8979 then
8980 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8982 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8984 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8985 then
8986 OPENAL_LIBS="-framework OpenAL"
8989 cat >>confdefs.h <<_ACEOF
8990 #define HAVE_OPENAL 1
8991 _ACEOF
8993 ac_cv_lib_openal=yes
8995 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8996 then
8997 OPENCL_LIBS="-framework OpenCL"
8999 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9001 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9002 then
9003 ac_save_LIBS="$LIBS"
9004 LIBS="$LIBS $IOKIT_LIBS"
9005 for ac_func in IOHIDManagerCreate
9006 do :
9007 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9008 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9009 cat >>confdefs.h <<_ACEOF
9010 #define HAVE_IOHIDMANAGERCREATE 1
9011 _ACEOF
9014 done
9016 LIBS="$ac_save_LIBS"
9019 if test "x$with_quicktime" != "xno"
9020 then
9021 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9022 then
9023 ac_save_LIBS="$LIBS"
9024 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9026 $as_echo_n "checking for the QuickTime framework... " >&6; }
9027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9029 #include <QuickTime/ImageCompression.h>
9031 main ()
9033 CodecManagerVersion(NULL);
9035 return 0;
9037 _ACEOF
9038 if ac_fn_c_try_link "$LINENO"; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9040 $as_echo "yes" >&6; }
9041 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9043 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9044 else
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9046 $as_echo "no" >&6; }
9047 ac_cv_header_QuickTime_ImageCompression_h=no
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS="$ac_save_LIBS"
9054 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9055 case "x$with_quicktime" in
9056 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9057 xno) ;;
9058 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9059 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9060 esac
9064 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9065 then
9066 CARBON_LIBS="-framework Carbon"
9069 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9070 then
9071 METAL_LIBS="-framework Metal -framework QuartzCore"
9075 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9076 then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9078 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9079 ac_ext=m
9080 ac_cpp='$OBJCPP $CPPFLAGS'
9081 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9082 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9083 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 #include <Metal/Metal.h>
9089 main ()
9091 id<MTLDevice> device; device.registryID;
9093 return 0;
9095 _ACEOF
9096 if ac_fn_objc_try_compile "$LINENO"; then :
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9098 $as_echo "yes" >&6; }
9100 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9102 else
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9107 ac_ext=c
9108 ac_cpp='$CPP $CPPFLAGS'
9109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9115 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9116 then
9117 ac_save_LIBS="$LIBS"
9118 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9119 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9120 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9121 enable_winemac_drv=${enable_winemac_drv:-yes}
9124 LIBS="$ac_save_LIBS"
9127 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9128 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9130 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9132 WINELOADER_DEPENDS="wine_info.plist"
9134 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9137 linux-android*)
9138 DLLFLAGS="$DLLFLAGS -fPIC"
9139 LDDLLFLAGS="-fPIC"
9140 LDEXECFLAGS="-Wl,-pie"
9141 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9143 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9144 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146 else
9147 ac_wine_try_cflags_saved=$CFLAGS
9148 CFLAGS="$CFLAGS -Wl,-z,defs"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 int main(int argc, char **argv) { return 0; }
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_cflags__Wl__z_defs=yes
9155 else
9156 ac_cv_cflags__Wl__z_defs=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 CFLAGS=$ac_wine_try_cflags_saved
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9163 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9164 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9165 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9168 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9169 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_wine_try_cflags_saved=$CFLAGS
9173 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9176 int main(int argc, char **argv) { return 0; }
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9180 else
9181 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9183 rm -f core conftest.err conftest.$ac_objext \
9184 conftest$ac_exeext conftest.$ac_ext
9185 CFLAGS=$ac_wine_try_cflags_saved
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9188 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9189 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9190 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9192 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9195 $as_echo_n "checking for -lEGL... " >&6; }
9196 if ${ac_cv_lib_soname_EGL+:} false; then :
9197 $as_echo_n "(cached) " >&6
9198 else
9199 ac_check_soname_save_LIBS=$LIBS
9200 LIBS="-lEGL $LIBS"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9207 #ifdef __cplusplus
9208 extern "C"
9209 #endif
9210 char eglGetProcAddress ();
9212 main ()
9214 return eglGetProcAddress ();
9216 return 0;
9218 _ACEOF
9219 if ac_fn_c_try_link "$LINENO"; then :
9220 case "$LIBEXT" in
9221 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9222 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'` ;;
9223 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9224 if ${ac_cv_lib_soname_EGL:+false} :; then :
9225 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9226 fi ;;
9227 esac
9228 else
9229 ac_cv_lib_soname_EGL=
9231 rm -f core conftest.err conftest.$ac_objext \
9232 conftest$ac_exeext conftest.$ac_ext
9233 LIBS=$ac_check_soname_save_LIBS
9235 if ${ac_cv_lib_soname_EGL:+false} :; then :
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9237 $as_echo "not found" >&6; }
9239 else
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9241 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9243 cat >>confdefs.h <<_ACEOF
9244 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9245 _ACEOF
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9250 $as_echo_n "checking for -lGLESv2... " >&6; }
9251 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9252 $as_echo_n "(cached) " >&6
9253 else
9254 ac_check_soname_save_LIBS=$LIBS
9255 LIBS="-lGLESv2 $LIBS"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9259 /* Override any GCC internal prototype to avoid an error.
9260 Use char because int might match the return type of a GCC
9261 builtin and then its argument prototype would still apply. */
9262 #ifdef __cplusplus
9263 extern "C"
9264 #endif
9265 char glFlush ();
9267 main ()
9269 return glFlush ();
9271 return 0;
9273 _ACEOF
9274 if ac_fn_c_try_link "$LINENO"; then :
9275 case "$LIBEXT" in
9276 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9277 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'` ;;
9278 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9279 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9280 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9281 fi ;;
9282 esac
9283 else
9284 ac_cv_lib_soname_GLESv2=
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_soname_save_LIBS
9290 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9292 $as_echo "not found" >&6; }
9294 else
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9296 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9298 cat >>confdefs.h <<_ACEOF
9299 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9300 _ACEOF
9305 if test "x$exec_prefix" = xNONE
9306 then
9307 case $host_cpu in
9308 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9309 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9310 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9311 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9312 esac
9317 case $host_cpu in
9318 *i[3456789]86*)
9319 DLLFLAGS="$DLLFLAGS -fno-PIC"
9320 LDDLLFLAGS="-fno-PIC"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9322 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9323 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_wine_try_cflags_saved=$CFLAGS
9327 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 int main(int argc, char **argv) { return 0; }
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9334 else
9335 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 CFLAGS=$ac_wine_try_cflags_saved
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9342 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9343 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9344 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9348 DLLFLAGS="$DLLFLAGS -fPIC"
9349 LDDLLFLAGS="-fPIC" ;;
9350 esac
9351 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9353 echo '{ global: *; };' >conftest.map
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9355 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9356 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_wine_try_cflags_saved=$CFLAGS
9360 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9363 int main(int argc, char **argv) { return 0; }
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9367 else
9368 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 CFLAGS=$ac_wine_try_cflags_saved
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9375 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9376 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9377 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9379 rm -f conftest.map
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9382 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9383 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_wine_try_cflags_saved=$CFLAGS
9387 CFLAGS="$CFLAGS -Wl,-z,defs"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9390 int main(int argc, char **argv) { return 0; }
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_cflags__Wl__z_defs=yes
9394 else
9395 ac_cv_cflags__Wl__z_defs=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 CFLAGS=$ac_wine_try_cflags_saved
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9402 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9403 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9404 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9407 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9408 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__Wl___export_dynamic=yes
9419 else
9420 ac_cv_cflags__Wl___export_dynamic=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9427 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9428 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9429 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9431 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9433 case $host_cpu in
9434 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9436 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9437 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9448 else
9449 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9456 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9457 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9458 case $host_os in
9459 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9460 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9461 esac
9462 else
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9464 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9465 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9476 else
9477 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9484 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9485 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9486 case $host_os in
9487 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9488 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9489 esac
9491 # Extract the first word of "prelink", so it can be a program name with args.
9492 set dummy prelink; ac_word=$2
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9494 $as_echo_n "checking for $ac_word... " >&6; }
9495 if ${ac_cv_path_PRELINK+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 case $PRELINK in
9499 [\\/]* | ?:[\\/]*)
9500 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 for as_dir in /sbin /usr/sbin $PATH
9506 IFS=$as_save_IFS
9507 test -z "$as_dir" && as_dir=.
9508 for ac_exec_ext in '' $ac_executable_extensions; do
9509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9510 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9512 break 2
9514 done
9515 done
9516 IFS=$as_save_IFS
9518 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9520 esac
9522 PRELINK=$ac_cv_path_PRELINK
9523 if test -n "$PRELINK"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9525 $as_echo "$PRELINK" >&6; }
9526 else
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9528 $as_echo "no" >&6; }
9532 if test "x$PRELINK" = xfalse
9533 then
9534 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9538 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9539 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_wine_try_cflags_saved=$CFLAGS
9543 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9546 int main(int argc, char **argv) { return 0; }
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9550 else
9551 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 CFLAGS=$ac_wine_try_cflags_saved
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9558 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9559 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9560 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9563 esac
9564 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9566 LIBWINE_DEPENDS="wine.map"
9568 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9570 esac
9572 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9573 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9574 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9575 enable_winemac_drv=${enable_winemac_drv:-no}
9576 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9579 if test "x$with_mingw" != xno
9580 then
9581 case "x$with_mingw" in
9582 x|xyes) case "$host_cpu" in
9583 aarch64*)
9584 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9585 arm*)
9586 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9587 i[3456789]86*)
9588 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
9589 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9590 mingw32-gcc clang" ;;
9591 x86_64)
9592 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
9593 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9595 ac_prefix_list="" ;;
9596 esac
9597 for ac_prog in $ac_prefix_list
9599 # Extract the first word of "$ac_prog", so it can be a program name with args.
9600 set dummy $ac_prog; ac_word=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9602 $as_echo_n "checking for $ac_word... " >&6; }
9603 if ${ac_cv_prog_CROSSCC+:} false; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 if test -n "$CROSSCC"; then
9607 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9608 else
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 for as_dir in $PATH
9612 IFS=$as_save_IFS
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9616 ac_cv_prog_CROSSCC="$ac_prog"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9626 CROSSCC=$ac_cv_prog_CROSSCC
9627 if test -n "$CROSSCC"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9629 $as_echo "$CROSSCC" >&6; }
9630 else
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 $as_echo "no" >&6; }
9636 test -n "$CROSSCC" && break
9637 done
9638 test -n "$CROSSCC" || CROSSCC="false"
9640 *) CROSSCC=$with_mingw ;;
9641 esac
9642 if test "$CROSSCC" != "false"
9643 then
9644 ac_save_CC="$CC"
9645 saved_CFLAGS=$CFLAGS
9646 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9648 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9652 CC="$CROSSCC"
9653 CFLAGS=$CROSSCFLAGS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9655 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9656 if ${wine_cv_crosscc+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9663 main ()
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_compile "$LINENO"; then :
9671 wine_cv_crosscc=yes
9672 else
9673 wine_cv_crosscc=no
9675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9678 $as_echo "$wine_cv_crosscc" >&6; }
9679 if test $wine_cv_crosscc = yes
9680 then
9681 set x $CROSSCC
9682 shift
9683 while test $# -ge 1
9685 case "$1" in
9686 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9687 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9688 esac
9689 shift
9690 done
9692 llvm_target=$CROSSTARGET
9693 llvm_cflags="-fuse-ld=lld"
9694 if test -z "$llvm_target"
9695 then
9696 case $host_cpu in
9697 *i[3456789]86*) llvm_target=i686-windows ;;
9698 *) llvm_target=$host_cpu-windows ;;
9699 esac
9701 case $llvm_target in
9702 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9703 esac
9704 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9706 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9707 if eval \${$as_ac_var+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 ac_wine_try_cflags_saved=$CFLAGS
9711 ac_wine_try_cflags_saved_cc=$CC
9712 ac_wine_try_cflags_saved_exeext=$ac_exeext
9713 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9714 CC="$CROSSCC"
9715 ac_exeext=".exe"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9718 int __cdecl mainCRTStartup(void) { return 0; }
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 eval "$as_ac_var=yes"
9722 else
9723 eval "$as_ac_var=no"
9725 rm -f core conftest.err conftest.$ac_objext \
9726 conftest$ac_exeext conftest.$ac_ext
9727 CFLAGS=$ac_wine_try_cflags_saved
9728 CC=$ac_wine_try_cflags_saved_cc
9729 ac_exeext=$ac_wine_try_cflags_saved_exeext
9731 eval ac_res=\$$as_ac_var
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9733 $as_echo "$ac_res" >&6; }
9734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9735 CROSSTARGET=$llvm_target
9736 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9737 DELAYLOADFLAG="-Wl,-delayload,"
9739 CFLAGS="$CFLAGS $llvm_cflags"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9743 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9744 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_wine_try_cflags_saved=$CFLAGS
9748 ac_wine_try_cflags_saved_cc=$CC
9749 ac_wine_try_cflags_saved_exeext=$ac_exeext
9750 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9751 CC="$CROSSCC"
9752 ac_exeext=".exe"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9755 int __cdecl mainCRTStartup(void) { return 0; }
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 ac_cv_crosscflags__fno_strict_aliasing=yes
9759 else
9760 ac_cv_crosscflags__fno_strict_aliasing=no
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 CFLAGS=$ac_wine_try_cflags_saved
9765 CC=$ac_wine_try_cflags_saved_cc
9766 ac_exeext=$ac_wine_try_cflags_saved_exeext
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9769 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9770 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9771 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9774 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9775 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_wine_try_cflags_saved=$CFLAGS
9779 ac_wine_try_cflags_saved_cc=$CC
9780 ac_wine_try_cflags_saved_exeext=$ac_exeext
9781 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9782 CC="$CROSSCC"
9783 ac_exeext=".exe"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9786 int __cdecl mainCRTStartup(void) { return 0; }
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9790 else
9791 ac_cv_crosscflags__Werror_unknown_warning_option=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 CFLAGS=$ac_wine_try_cflags_saved
9796 CC=$ac_wine_try_cflags_saved_cc
9797 ac_exeext=$ac_wine_try_cflags_saved_exeext
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9800 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9801 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9802 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9806 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int __cdecl mainCRTStartup(void) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9821 else
9822 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9831 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9832 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9833 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9837 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int __cdecl mainCRTStartup(void) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9852 else
9853 ac_cv_crosscflags__Wdeclaration_after_statement=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9862 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9863 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9864 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9868 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int __cdecl mainCRTStartup(void) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_crosscflags__Wempty_body=yes
9883 else
9884 ac_cv_crosscflags__Wempty_body=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9893 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9894 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9895 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9899 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int __cdecl mainCRTStartup(void) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_crosscflags__Wignored_qualifiers=yes
9914 else
9915 ac_cv_crosscflags__Wignored_qualifiers=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9924 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9925 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9930 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int __cdecl mainCRTStartup(void) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_crosscflags__Winit_self=yes
9945 else
9946 ac_cv_crosscflags__Winit_self=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9955 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9956 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9961 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int __cdecl mainCRTStartup(void) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_crosscflags__Wpacked_not_aligned=yes
9976 else
9977 ac_cv_crosscflags__Wpacked_not_aligned=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9986 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9987 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9992 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int __cdecl mainCRTStartup(void) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_crosscflags__Wpragma_pack=yes
10007 else
10008 ac_cv_crosscflags__Wpragma_pack=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10017 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10018 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10023 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int __cdecl mainCRTStartup(void) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_crosscflags__Wshift_overflow_2=yes
10038 else
10039 ac_cv_crosscflags__Wshift_overflow_2=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10048 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10049 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10054 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int __cdecl mainCRTStartup(void) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_crosscflags__Wstrict_prototypes=yes
10069 else
10070 ac_cv_crosscflags__Wstrict_prototypes=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10079 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10080 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10085 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int __cdecl mainCRTStartup(void) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_crosscflags__Wtype_limits=yes
10100 else
10101 ac_cv_crosscflags__Wtype_limits=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10110 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10111 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10116 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int __cdecl mainCRTStartup(void) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10131 else
10132 ac_cv_crosscflags__Wunused_but_set_parameter=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10141 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10142 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10147 if ${ac_cv_crosscflags__Wvla+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int __cdecl mainCRTStartup(void) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_crosscflags__Wvla=yes
10162 else
10163 ac_cv_crosscflags__Wvla=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10172 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10173 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10177 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10178 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 ac_wine_try_cflags_saved_cc=$CC
10183 ac_wine_try_cflags_saved_exeext=$ac_exeext
10184 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10185 CC="$CROSSCC"
10186 ac_exeext=".exe"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 int __cdecl mainCRTStartup(void) { return 0; }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_crosscflags__Wwrite_strings=yes
10193 else
10194 ac_cv_crosscflags__Wwrite_strings=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10199 CC=$ac_wine_try_cflags_saved_cc
10200 ac_exeext=$ac_wine_try_cflags_saved_exeext
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10203 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10204 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10205 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10208 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10209 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 ac_wine_try_cflags_saved_cc=$CC
10214 ac_wine_try_cflags_saved_exeext=$ac_exeext
10215 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10216 CC="$CROSSCC"
10217 ac_exeext=".exe"
10218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10220 int __cdecl mainCRTStartup(void) { return 0; }
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_crosscflags__Wpointer_arith=yes
10224 else
10225 ac_cv_crosscflags__Wpointer_arith=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 CFLAGS=$ac_wine_try_cflags_saved
10230 CC=$ac_wine_try_cflags_saved_cc
10231 ac_exeext=$ac_wine_try_cflags_saved_exeext
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10234 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10235 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10236 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10239 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10240 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 ac_wine_try_cflags_saved_cc=$CC
10245 ac_wine_try_cflags_saved_exeext=$ac_exeext
10246 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10247 CC="$CROSSCC"
10248 ac_exeext=".exe"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10251 int __cdecl mainCRTStartup(void) { return 0; }
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_crosscflags__Wlogical_op=yes
10255 else
10256 ac_cv_crosscflags__Wlogical_op=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10261 CC=$ac_wine_try_cflags_saved_cc
10262 ac_exeext=$ac_wine_try_cflags_saved_exeext
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10265 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10266 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10267 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10270 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10271 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 ac_wine_try_cflags_saved_cc=$CC
10276 ac_wine_try_cflags_saved_exeext=$ac_exeext
10277 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10278 CC="$CROSSCC"
10279 ac_exeext=".exe"
10280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10282 int __cdecl mainCRTStartup(void) { return 0; }
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_crosscflags__Wabsolute_value=yes
10286 else
10287 ac_cv_crosscflags__Wabsolute_value=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 CFLAGS=$ac_wine_try_cflags_saved
10292 CC=$ac_wine_try_cflags_saved_cc
10293 ac_exeext=$ac_wine_try_cflags_saved_exeext
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10296 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10297 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10298 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10301 case $host_cpu in
10302 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10304 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int __cdecl mainCRTStartup(void) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10319 else
10320 ac_cv_crosscflags__fno_omit_frame_pointer=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10329 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10330 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10332 fi ;;
10333 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10334 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10335 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_wine_try_cflags_saved=$CFLAGS
10339 ac_wine_try_cflags_saved_cc=$CC
10340 ac_wine_try_cflags_saved_exeext=$ac_exeext
10341 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10342 CC="$CROSSCC"
10343 ac_exeext=".exe"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int __cdecl mainCRTStartup(void) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_crosscflags__Wno_format=yes
10350 else
10351 ac_cv_crosscflags__Wno_format=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 CFLAGS=$ac_wine_try_cflags_saved
10356 CC=$ac_wine_try_cflags_saved_cc
10357 ac_exeext=$ac_wine_try_cflags_saved_exeext
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10360 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10361 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10362 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10366 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int __cdecl mainCRTStartup(void) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__Wformat_overflow=yes
10381 else
10382 ac_cv_crosscflags__Wformat_overflow=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10391 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10392 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10396 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10397 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 ac_wine_try_cflags_saved_cc=$CC
10402 ac_wine_try_cflags_saved_exeext=$ac_exeext
10403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10404 CC="$CROSSCC"
10405 ac_exeext=".exe"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int __cdecl mainCRTStartup(void) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_crosscflags__Wnonnull=yes
10412 else
10413 ac_cv_crosscflags__Wnonnull=no
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10418 CC=$ac_wine_try_cflags_saved_cc
10419 ac_exeext=$ac_wine_try_cflags_saved_exeext
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10422 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10423 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10427 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10428 if ${ac_cv_crosscflags__mcx16+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_wine_try_cflags_saved=$CFLAGS
10432 ac_wine_try_cflags_saved_cc=$CC
10433 ac_wine_try_cflags_saved_exeext=$ac_exeext
10434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10435 CC="$CROSSCC"
10436 ac_exeext=".exe"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int __cdecl mainCRTStartup(void) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 ac_cv_crosscflags__mcx16=yes
10443 else
10444 ac_cv_crosscflags__mcx16=no
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10449 CC=$ac_wine_try_cflags_saved_cc
10450 ac_exeext=$ac_wine_try_cflags_saved_exeext
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10453 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10454 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10455 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10456 fi ;;
10457 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10458 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10459 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10460 $as_echo_n "(cached) " >&6
10461 else
10462 ac_wine_try_cflags_saved=$CFLAGS
10463 ac_wine_try_cflags_saved_cc=$CC
10464 ac_wine_try_cflags_saved_exeext=$ac_exeext
10465 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10466 CC="$CROSSCC"
10467 ac_exeext=".exe"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10470 int __cdecl mainCRTStartup(void) { return 0; }
10471 _ACEOF
10472 if ac_fn_c_try_link "$LINENO"; then :
10473 ac_cv_crosscflags__Wno_format=yes
10474 else
10475 ac_cv_crosscflags__Wno_format=no
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 CFLAGS=$ac_wine_try_cflags_saved
10480 CC=$ac_wine_try_cflags_saved_cc
10481 ac_exeext=$ac_wine_try_cflags_saved_exeext
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10484 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10485 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10486 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10487 fi ;;
10488 esac
10491 if test -z "$CROSSDEBUG"
10492 then
10493 for ac_flag in $CROSSCFLAGS; do
10494 case $ac_flag in
10495 -gdwarf*) CROSSDEBUG=dwarf ;;
10496 -gcodeview) CROSSDEBUG=pdb ;;
10497 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10498 esac
10499 done
10501 case $CROSSDEBUG in
10502 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10503 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10504 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 ac_wine_try_cflags_saved_cc=$CC
10509 ac_wine_try_cflags_saved_exeext=$ac_exeext
10510 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10511 CC="$CROSSCC"
10512 ac_exeext=".exe"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10515 int __cdecl mainCRTStartup(void) { return 0; }
10516 _ACEOF
10517 if ac_fn_c_try_link "$LINENO"; then :
10518 ac_cv_crosscflags__gdwarf_2=yes
10519 else
10520 ac_cv_crosscflags__gdwarf_2=no
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 CFLAGS=$ac_wine_try_cflags_saved
10525 CC=$ac_wine_try_cflags_saved_cc
10526 ac_exeext=$ac_wine_try_cflags_saved_exeext
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10529 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10530 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10531 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10534 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10535 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 ac_wine_try_cflags_saved_cc=$CC
10540 ac_wine_try_cflags_saved_exeext=$ac_exeext
10541 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10542 CC="$CROSSCC"
10543 ac_exeext=".exe"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 int __cdecl mainCRTStartup(void) { return 0; }
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_crosscflags__gstrict_dwarf=yes
10550 else
10551 ac_cv_crosscflags__gstrict_dwarf=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 CFLAGS=$ac_wine_try_cflags_saved
10556 CC=$ac_wine_try_cflags_saved_cc
10557 ac_exeext=$ac_wine_try_cflags_saved_exeext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10560 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10561 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10563 fi ;;
10564 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10565 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10566 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_wine_try_cflags_saved=$CFLAGS
10570 ac_wine_try_cflags_saved_cc=$CC
10571 ac_wine_try_cflags_saved_exeext=$ac_exeext
10572 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10573 CC="$CROSSCC"
10574 ac_exeext=".exe"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10577 int __cdecl mainCRTStartup(void) { return 0; }
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_crosscflags__gcodeview=yes
10581 else
10582 ac_cv_crosscflags__gcodeview=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 CFLAGS=$ac_wine_try_cflags_saved
10587 CC=$ac_wine_try_cflags_saved_cc
10588 ac_exeext=$ac_wine_try_cflags_saved_exeext
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10591 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10592 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10593 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10594 fi ;;
10595 esac
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10598 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10599 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 ac_wine_try_cflags_saved_cc=$CC
10604 ac_wine_try_cflags_saved_exeext=$ac_exeext
10605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10606 CC="$CROSSCC"
10607 ac_exeext=".exe"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 int __cdecl mainCRTStartup(void) { return 0; }
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_crosscflags__fexcess_precision_standard=yes
10614 else
10615 ac_cv_crosscflags__fexcess_precision_standard=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 CFLAGS=$ac_wine_try_cflags_saved
10620 CC=$ac_wine_try_cflags_saved_cc
10621 ac_exeext=$ac_wine_try_cflags_saved_exeext
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10624 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10625 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10626 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10630 if test "x$enable_werror" = "xyes"
10631 then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10633 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10634 if ${ac_cv_crosscflags__Werror+:} false; then :
10635 $as_echo_n "(cached) " >&6
10636 else
10637 ac_wine_try_cflags_saved=$CFLAGS
10638 ac_wine_try_cflags_saved_cc=$CC
10639 ac_wine_try_cflags_saved_exeext=$ac_exeext
10640 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10641 CC="$CROSSCC"
10642 ac_exeext=".exe"
10643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10645 int __cdecl mainCRTStartup(void) { return 0; }
10646 _ACEOF
10647 if ac_fn_c_try_link "$LINENO"; then :
10648 ac_cv_crosscflags__Werror=yes
10649 else
10650 ac_cv_crosscflags__Werror=no
10652 rm -f core conftest.err conftest.$ac_objext \
10653 conftest$ac_exeext conftest.$ac_ext
10654 CFLAGS=$ac_wine_try_cflags_saved
10655 CC=$ac_wine_try_cflags_saved_cc
10656 ac_exeext=$ac_wine_try_cflags_saved_exeext
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10659 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10660 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10661 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10664 if test "x$enable_build_id" = "xyes"
10665 then
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10667 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10668 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10669 $as_echo_n "(cached) " >&6
10670 else
10671 ac_wine_try_cflags_saved=$CFLAGS
10672 ac_wine_try_cflags_saved_cc=$CC
10673 ac_wine_try_cflags_saved_exeext=$ac_exeext
10674 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10675 CC="$CROSSCC"
10676 ac_exeext=".exe"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10679 int __cdecl mainCRTStartup(void) { return 0; }
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 ac_cv_crosscflags__Wl___build_id=yes
10683 else
10684 ac_cv_crosscflags__Wl___build_id=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 CFLAGS=$ac_wine_try_cflags_saved
10689 CC=$ac_wine_try_cflags_saved_cc
10690 ac_exeext=$ac_wine_try_cflags_saved_exeext
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10693 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10694 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10695 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10696 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10700 CFLAGS=$saved_CFLAGS
10701 CC="$ac_save_CC"
10704 if test "x$CROSSTARGET" = "x"; then :
10705 case "x$with_mingw" in
10706 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10707 xno) ;;
10708 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10709 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10710 esac
10715 if test "$ac_cv_header_pthread_h" = "yes"
10716 then
10717 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10718 if test "x$ac_cv_func_pthread_create" = xyes; then :
10720 else
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10722 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10723 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 ac_check_lib_save_LIBS=$LIBS
10727 LIBS="-lpthread $LIBS"
10728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10731 /* Override any GCC internal prototype to avoid an error.
10732 Use char because int might match the return type of a GCC
10733 builtin and then its argument prototype would still apply. */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 char pthread_create ();
10739 main ()
10741 return pthread_create ();
10743 return 0;
10745 _ACEOF
10746 if ac_fn_c_try_link "$LINENO"; then :
10747 ac_cv_lib_pthread_pthread_create=yes
10748 else
10749 ac_cv_lib_pthread_pthread_create=no
10751 rm -f core conftest.err conftest.$ac_objext \
10752 conftest$ac_exeext conftest.$ac_ext
10753 LIBS=$ac_check_lib_save_LIBS
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10756 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10757 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10758 PTHREAD_LIBS="-lpthread"
10765 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10766 case "x$with_pthread" in
10767 xno) ;;
10768 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10769 Wine cannot support threads without libpthread.
10770 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10771 esac
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10777 $as_echo_n "checking for X... " >&6; }
10780 # Check whether --with-x was given.
10781 if test "${with_x+set}" = set; then :
10782 withval=$with_x;
10785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10786 if test "x$with_x" = xno; then
10787 # The user explicitly disabled X.
10788 have_x=disabled
10789 else
10790 case $x_includes,$x_libraries in #(
10791 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10792 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 # One or both of the vars are not set, and there is no cached value.
10796 ac_x_includes=no ac_x_libraries=no
10797 rm -f -r conftest.dir
10798 if mkdir conftest.dir; then
10799 cd conftest.dir
10800 cat >Imakefile <<'_ACEOF'
10801 incroot:
10802 @echo incroot='${INCROOT}'
10803 usrlibdir:
10804 @echo usrlibdir='${USRLIBDIR}'
10805 libdir:
10806 @echo libdir='${LIBDIR}'
10807 _ACEOF
10808 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10810 for ac_var in incroot usrlibdir libdir; do
10811 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10812 done
10813 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10814 for ac_extension in a so sl dylib la dll; do
10815 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10816 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10817 ac_im_usrlibdir=$ac_im_libdir; break
10819 done
10820 # Screen out bogus values from the imake configuration. They are
10821 # bogus both because they are the default anyway, and because
10822 # using them would break gcc on systems where it needs fixed includes.
10823 case $ac_im_incroot in
10824 /usr/include) ac_x_includes= ;;
10825 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10826 esac
10827 case $ac_im_usrlibdir in
10828 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10829 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10830 esac
10832 cd ..
10833 rm -f -r conftest.dir
10836 # Standard set of common directories for X headers.
10837 # Check X11 before X11Rn because it is often a symlink to the current release.
10838 ac_x_header_dirs='
10839 /usr/X11/include
10840 /usr/X11R7/include
10841 /usr/X11R6/include
10842 /usr/X11R5/include
10843 /usr/X11R4/include
10845 /usr/include/X11
10846 /usr/include/X11R7
10847 /usr/include/X11R6
10848 /usr/include/X11R5
10849 /usr/include/X11R4
10851 /usr/local/X11/include
10852 /usr/local/X11R7/include
10853 /usr/local/X11R6/include
10854 /usr/local/X11R5/include
10855 /usr/local/X11R4/include
10857 /usr/local/include/X11
10858 /usr/local/include/X11R7
10859 /usr/local/include/X11R6
10860 /usr/local/include/X11R5
10861 /usr/local/include/X11R4
10863 /usr/X386/include
10864 /usr/x386/include
10865 /usr/XFree86/include/X11
10867 /usr/include
10868 /usr/local/include
10869 /usr/unsupported/include
10870 /usr/athena/include
10871 /usr/local/x11r5/include
10872 /usr/lpp/Xamples/include
10874 /usr/openwin/include
10875 /usr/openwin/share/include'
10877 if test "$ac_x_includes" = no; then
10878 # Guess where to find include files, by looking for Xlib.h.
10879 # First, try using that file with no special directory specified.
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10882 #include <X11/Xlib.h>
10883 _ACEOF
10884 if ac_fn_c_try_cpp "$LINENO"; then :
10885 # We can compile using X headers with no special include directory.
10886 ac_x_includes=
10887 else
10888 for ac_dir in $ac_x_header_dirs; do
10889 if test -r "$ac_dir/X11/Xlib.h"; then
10890 ac_x_includes=$ac_dir
10891 break
10893 done
10895 rm -f conftest.err conftest.i conftest.$ac_ext
10896 fi # $ac_x_includes = no
10898 if test "$ac_x_libraries" = no; then
10899 # Check for the libraries.
10900 # See if we find them without any special options.
10901 # Don't add to $LIBS permanently.
10902 ac_save_LIBS=$LIBS
10903 LIBS="-lX11 $LIBS"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10906 #include <X11/Xlib.h>
10908 main ()
10910 XrmInitialize ()
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 LIBS=$ac_save_LIBS
10917 # We can link X programs with no special library path.
10918 ac_x_libraries=
10919 else
10920 LIBS=$ac_save_LIBS
10921 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10923 # Don't even attempt the hair of trying to link an X program!
10924 for ac_extension in a so sl dylib la dll; do
10925 if test -r "$ac_dir/libX11.$ac_extension"; then
10926 ac_x_libraries=$ac_dir
10927 break 2
10929 done
10930 done
10932 rm -f core conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 fi # $ac_x_libraries = no
10936 case $ac_x_includes,$ac_x_libraries in #(
10937 no,* | *,no | *\'*)
10938 # Didn't find X, or a directory has "'" in its name.
10939 ac_cv_have_x="have_x=no";; #(
10941 # Record where we found X for the cache.
10942 ac_cv_have_x="have_x=yes\
10943 ac_x_includes='$ac_x_includes'\
10944 ac_x_libraries='$ac_x_libraries'"
10945 esac
10947 ;; #(
10948 *) have_x=yes;;
10949 esac
10950 eval "$ac_cv_have_x"
10951 fi # $with_x != no
10953 if test "$have_x" != yes; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10955 $as_echo "$have_x" >&6; }
10956 no_x=yes
10957 else
10958 # If each of the values was on the command line, it overrides each guess.
10959 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10960 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10961 # Update the cache value to reflect the command line values.
10962 ac_cv_have_x="have_x=yes\
10963 ac_x_includes='$x_includes'\
10964 ac_x_libraries='$x_libraries'"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10966 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10969 if test "$no_x" = yes; then
10970 # Not all programs may use this symbol, but it does not hurt to define it.
10972 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10974 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10975 else
10976 if test -n "$x_includes"; then
10977 X_CFLAGS="$X_CFLAGS -I$x_includes"
10980 # It would also be nice to do this for all -L options, not just this one.
10981 if test -n "$x_libraries"; then
10982 X_LIBS="$X_LIBS -L$x_libraries"
10983 # For Solaris; some versions of Sun CC require a space after -R and
10984 # others require no space. Words are not sufficient . . . .
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10986 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10987 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10988 ac_xsave_c_werror_flag=$ac_c_werror_flag
10989 ac_c_werror_flag=yes
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10994 main ()
10998 return 0;
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"; then :
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11003 $as_echo "no" >&6; }
11004 X_LIBS="$X_LIBS -R$x_libraries"
11005 else
11006 LIBS="$ac_xsave_LIBS -R $x_libraries"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11011 main ()
11015 return 0;
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11020 $as_echo "yes" >&6; }
11021 X_LIBS="$X_LIBS -R $x_libraries"
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11024 $as_echo "neither works" >&6; }
11026 rm -f core conftest.err conftest.$ac_objext \
11027 conftest$ac_exeext conftest.$ac_ext
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 ac_c_werror_flag=$ac_xsave_c_werror_flag
11032 LIBS=$ac_xsave_LIBS
11035 # Check for system-dependent libraries X programs must link with.
11036 # Do this before checking for the system-independent R6 libraries
11037 # (-lICE), since we may need -lsocket or whatever for X linking.
11039 if test "$ISC" = yes; then
11040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11041 else
11042 # Martyn Johnson says this is needed for Ultrix, if the X
11043 # libraries were built with DECnet support. And Karl Berry says
11044 # the Alpha needs dnet_stub (dnet does not exist).
11045 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11049 /* Override any GCC internal prototype to avoid an error.
11050 Use char because int might match the return type of a GCC
11051 builtin and then its argument prototype would still apply. */
11052 #ifdef __cplusplus
11053 extern "C"
11054 #endif
11055 char XOpenDisplay ();
11057 main ()
11059 return XOpenDisplay ();
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"; then :
11066 else
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11068 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11069 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11070 $as_echo_n "(cached) " >&6
11071 else
11072 ac_check_lib_save_LIBS=$LIBS
11073 LIBS="-ldnet $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11080 #ifdef __cplusplus
11081 extern "C"
11082 #endif
11083 char dnet_ntoa ();
11085 main ()
11087 return dnet_ntoa ();
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 ac_cv_lib_dnet_dnet_ntoa=yes
11094 else
11095 ac_cv_lib_dnet_dnet_ntoa=no
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_lib_save_LIBS
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11102 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11103 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11104 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11107 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11109 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11110 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-ldnet_stub $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char dnet_ntoa ();
11126 main ()
11128 return dnet_ntoa ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11135 else
11136 ac_cv_lib_dnet_stub_dnet_ntoa=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11143 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11144 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11145 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS="$ac_xsave_LIBS"
11154 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11155 # to get the SysV transport functions.
11156 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11157 # needs -lnsl.
11158 # The nsl library prevents programs from opening the X display
11159 # on Irix 5.2, according to T.E. Dickey.
11160 # The functions gethostbyname, getservbyname, and inet_addr are
11161 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11162 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11163 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11167 if test $ac_cv_func_gethostbyname = no; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11169 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11170 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11171 $as_echo_n "(cached) " >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-lnsl $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11181 #ifdef __cplusplus
11182 extern "C"
11183 #endif
11184 char gethostbyname ();
11186 main ()
11188 return gethostbyname ();
11190 return 0;
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"; then :
11194 ac_cv_lib_nsl_gethostbyname=yes
11195 else
11196 ac_cv_lib_nsl_gethostbyname=no
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11203 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11204 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11208 if test $ac_cv_lib_nsl_gethostbyname = no; then
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11210 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11211 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 ac_check_lib_save_LIBS=$LIBS
11215 LIBS="-lbsd $LIBS"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char gethostbyname ();
11227 main ()
11229 return gethostbyname ();
11231 return 0;
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_bsd_gethostbyname=yes
11236 else
11237 ac_cv_lib_bsd_gethostbyname=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11244 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11245 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11246 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11252 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11253 # socket/setsockopt and other routines are undefined under SCO ODT
11254 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11255 # on later versions), says Simon Leinen: it contains gethostby*
11256 # variants that don't use the name server (or something). -lsocket
11257 # must be given before -lnsl if both are needed. We assume that
11258 # if connect needs -lnsl, so does gethostbyname.
11259 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11260 if test "x$ac_cv_func_connect" = xyes; then :
11264 if test $ac_cv_func_connect = no; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11266 $as_echo_n "checking for connect in -lsocket... " >&6; }
11267 if ${ac_cv_lib_socket_connect+:} false; then :
11268 $as_echo_n "(cached) " >&6
11269 else
11270 ac_check_lib_save_LIBS=$LIBS
11271 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11278 #ifdef __cplusplus
11279 extern "C"
11280 #endif
11281 char connect ();
11283 main ()
11285 return connect ();
11287 return 0;
11289 _ACEOF
11290 if ac_fn_c_try_link "$LINENO"; then :
11291 ac_cv_lib_socket_connect=yes
11292 else
11293 ac_cv_lib_socket_connect=no
11295 rm -f core conftest.err conftest.$ac_objext \
11296 conftest$ac_exeext conftest.$ac_ext
11297 LIBS=$ac_check_lib_save_LIBS
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11300 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11301 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11302 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11307 # Guillermo Gomez says -lposix is necessary on A/UX.
11308 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11309 if test "x$ac_cv_func_remove" = xyes; then :
11313 if test $ac_cv_func_remove = no; then
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11315 $as_echo_n "checking for remove in -lposix... " >&6; }
11316 if ${ac_cv_lib_posix_remove+:} false; then :
11317 $as_echo_n "(cached) " >&6
11318 else
11319 ac_check_lib_save_LIBS=$LIBS
11320 LIBS="-lposix $LIBS"
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11327 #ifdef __cplusplus
11328 extern "C"
11329 #endif
11330 char remove ();
11332 main ()
11334 return remove ();
11336 return 0;
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"; then :
11340 ac_cv_lib_posix_remove=yes
11341 else
11342 ac_cv_lib_posix_remove=no
11344 rm -f core conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11349 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11350 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11356 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11357 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11358 if test "x$ac_cv_func_shmat" = xyes; then :
11362 if test $ac_cv_func_shmat = no; then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11364 $as_echo_n "checking for shmat in -lipc... " >&6; }
11365 if ${ac_cv_lib_ipc_shmat+:} false; then :
11366 $as_echo_n "(cached) " >&6
11367 else
11368 ac_check_lib_save_LIBS=$LIBS
11369 LIBS="-lipc $LIBS"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char shmat ();
11381 main ()
11383 return shmat ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_ipc_shmat=yes
11390 else
11391 ac_cv_lib_ipc_shmat=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11398 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11399 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11400 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11406 # Check for libraries that X11R6 Xt/Xaw programs need.
11407 ac_save_LDFLAGS=$LDFLAGS
11408 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11409 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11410 # check for ICE first), but we must link in the order -lSM -lICE or
11411 # we get undefined symbols. So assume we have SM if we have ICE.
11412 # These have to be linked with before -lX11, unlike the other
11413 # libraries we check for below, so use a different variable.
11414 # John Interrante, Karl Berry
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11416 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11417 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11418 $as_echo_n "(cached) " >&6
11419 else
11420 ac_check_lib_save_LIBS=$LIBS
11421 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11428 #ifdef __cplusplus
11429 extern "C"
11430 #endif
11431 char IceConnectionNumber ();
11433 main ()
11435 return IceConnectionNumber ();
11437 return 0;
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"; then :
11441 ac_cv_lib_ICE_IceConnectionNumber=yes
11442 else
11443 ac_cv_lib_ICE_IceConnectionNumber=no
11445 rm -f core conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11447 LIBS=$ac_check_lib_save_LIBS
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11450 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11451 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11452 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11455 LDFLAGS=$ac_save_LDFLAGS
11460 if test "$have_x" = "yes"
11461 then
11462 ac_save_CPPFLAGS="$CPPFLAGS"
11463 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11466 $as_echo_n "checking for -lX11... " >&6; }
11467 if ${ac_cv_lib_soname_X11+:} false; then :
11468 $as_echo_n "(cached) " >&6
11469 else
11470 ac_check_soname_save_LIBS=$LIBS
11471 LIBS="-lX11 $X_LIBS $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 XCreateWindow ();
11483 main ()
11485 return XCreateWindow ();
11487 return 0;
11489 _ACEOF
11490 if ac_fn_c_try_link "$LINENO"; then :
11491 case "$LIBEXT" in
11492 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11493 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'` ;;
11494 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11495 if ${ac_cv_lib_soname_X11:+false} :; then :
11496 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11497 fi ;;
11498 esac
11499 else
11500 ac_cv_lib_soname_X11=
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_X11:+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_X11" >&5
11512 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11514 cat >>confdefs.h <<_ACEOF
11515 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11516 _ACEOF
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11521 $as_echo_n "checking for -lXext... " >&6; }
11522 if ${ac_cv_lib_soname_Xext+:} false; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_soname_save_LIBS=$LIBS
11526 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11533 #ifdef __cplusplus
11534 extern "C"
11535 #endif
11536 char XextCreateExtension ();
11538 main ()
11540 return XextCreateExtension ();
11542 return 0;
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 case "$LIBEXT" in
11547 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11548 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'` ;;
11549 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11550 if ${ac_cv_lib_soname_Xext:+false} :; then :
11551 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11552 fi ;;
11553 esac
11554 else
11555 ac_cv_lib_soname_Xext=
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_soname_save_LIBS
11561 if ${ac_cv_lib_soname_Xext:+false} :; then :
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11563 $as_echo "not found" >&6; }
11565 else
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11567 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11569 cat >>confdefs.h <<_ACEOF
11570 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11571 _ACEOF
11573 X_LIBS="$X_LIBS -lXext"
11575 X_LIBS="$X_LIBS -lX11"
11577 for ac_header in X11/Xlib.h \
11578 X11/XKBlib.h \
11579 X11/Xutil.h \
11580 X11/Xcursor/Xcursor.h \
11581 X11/extensions/shape.h \
11582 X11/extensions/XInput.h \
11583 X11/extensions/XInput2.h \
11584 X11/extensions/XShm.h \
11585 X11/extensions/Xcomposite.h \
11586 X11/extensions/Xfixes.h \
11587 X11/extensions/Xinerama.h \
11588 X11/extensions/Xrandr.h \
11589 X11/extensions/Xrender.h \
11590 X11/extensions/xf86vmode.h \
11591 X11/extensions/xf86vmproto.h
11592 do :
11593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11594 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11595 # include <X11/Xlib.h>
11596 #endif
11597 #ifdef HAVE_X11_XUTIL_H
11598 # include <X11/Xutil.h>
11599 #endif
11601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11602 cat >>confdefs.h <<_ACEOF
11603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11604 _ACEOF
11608 done
11611 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11612 then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11614 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11615 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_lib_save_LIBS=$LIBS
11619 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char XkbQueryExtension ();
11631 main ()
11633 return XkbQueryExtension ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 ac_cv_lib_X11_XkbQueryExtension=yes
11640 else
11641 ac_cv_lib_X11_XkbQueryExtension=no
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11648 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11649 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11651 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11657 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11658 then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11660 $as_echo_n "checking for -lXcursor... " >&6; }
11661 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_soname_save_LIBS=$LIBS
11665 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char XcursorImageLoadCursor ();
11677 main ()
11679 return XcursorImageLoadCursor ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 case "$LIBEXT" in
11686 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11687 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'` ;;
11688 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11689 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11690 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11691 fi ;;
11692 esac
11693 else
11694 ac_cv_lib_soname_Xcursor=
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_soname_save_LIBS
11700 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11702 $as_echo "not found" >&6; }
11704 else
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11706 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11708 cat >>confdefs.h <<_ACEOF
11709 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11710 _ACEOF
11715 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11716 case "x$with_xcursor" in
11717 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11718 xno) ;;
11719 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11720 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11721 esac
11725 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11728 $as_echo_n "checking for -lXi... " >&6; }
11729 if ${ac_cv_lib_soname_Xi+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char XOpenDevice ();
11745 main ()
11747 return XOpenDevice ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if ${ac_cv_lib_soname_Xi:+false} :; then :
11758 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11761 else
11762 ac_cv_lib_soname_Xi=
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_Xi:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11772 else
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11774 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11778 _ACEOF
11783 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11784 case "x$with_xinput" in
11785 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11786 xno) ;;
11787 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11788 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11789 esac
11793 if test "x$ac_cv_lib_soname_Xi" != x
11794 then
11795 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11796 case "x$with_xinput2" in
11797 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11800 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11801 esac
11806 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11807 then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11809 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11810 if ${ac_cv_lib_Xext_XShmQueryExtension+:} 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 XShmQueryExtension ();
11826 main ()
11828 return XShmQueryExtension ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 ac_cv_lib_Xext_XShmQueryExtension=yes
11835 else
11836 ac_cv_lib_Xext_XShmQueryExtension=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_XShmQueryExtension" >&5
11843 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11844 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11846 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11851 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11852 case "x$with_xshm" in
11853 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11854 xno) ;;
11855 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11856 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11857 esac
11861 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11862 then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11864 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11865 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11866 $as_echo_n "(cached) " >&6
11867 else
11868 ac_check_lib_save_LIBS=$LIBS
11869 LIBS="-lXext $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 XShapeQueryExtension ();
11881 main ()
11883 return XShapeQueryExtension ();
11885 return 0;
11887 _ACEOF
11888 if ac_fn_c_try_link "$LINENO"; then :
11889 ac_cv_lib_Xext_XShapeQueryExtension=yes
11890 else
11891 ac_cv_lib_Xext_XShapeQueryExtension=no
11893 rm -f core conftest.err conftest.$ac_objext \
11894 conftest$ac_exeext conftest.$ac_ext
11895 LIBS=$ac_check_lib_save_LIBS
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11898 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11899 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11901 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11906 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11907 case "x$with_xshape" in
11908 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11909 xno) ;;
11910 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11911 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11912 esac
11916 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11917 then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11919 $as_echo_n "checking for -lXxf86vm... " >&6; }
11920 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11921 $as_echo_n "(cached) " >&6
11922 else
11923 ac_check_soname_save_LIBS=$LIBS
11924 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char XF86VidModeQueryExtension ();
11936 main ()
11938 return XF86VidModeQueryExtension ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 case "$LIBEXT" in
11945 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11946 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'` ;;
11947 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11948 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11949 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11950 fi ;;
11951 esac
11952 else
11953 ac_cv_lib_soname_Xxf86vm=
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_soname_save_LIBS
11959 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11961 $as_echo "not found" >&6; }
11963 else
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11965 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11967 cat >>confdefs.h <<_ACEOF
11968 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11969 _ACEOF
11974 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11975 case "x$with_xxf86vm" in
11976 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11977 xno) ;;
11978 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11979 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11980 esac
11984 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11985 then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11987 $as_echo_n "checking for -lXrender... " >&6; }
11988 if ${ac_cv_lib_soname_Xrender+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_soname_save_LIBS=$LIBS
11992 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char XRenderQueryExtension ();
12004 main ()
12006 return XRenderQueryExtension ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 case "$LIBEXT" in
12013 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12014 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'` ;;
12015 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12016 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12017 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12018 fi ;;
12019 esac
12020 else
12021 ac_cv_lib_soname_Xrender=
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_soname_save_LIBS
12027 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12029 $as_echo "not found" >&6; }
12031 else
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12033 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12035 cat >>confdefs.h <<_ACEOF
12036 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12037 _ACEOF
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12040 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12041 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12042 $as_echo_n "(cached) " >&6
12043 else
12044 ac_check_lib_save_LIBS=$LIBS
12045 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12052 #ifdef __cplusplus
12053 extern "C"
12054 #endif
12055 char XRenderSetPictureTransform ();
12057 main ()
12059 return XRenderSetPictureTransform ();
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_link "$LINENO"; then :
12065 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12066 else
12067 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12069 rm -f core conftest.err conftest.$ac_objext \
12070 conftest$ac_exeext conftest.$ac_ext
12071 LIBS=$ac_check_lib_save_LIBS
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12074 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12075 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12077 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12082 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12083 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char XRenderCreateLinearGradient ();
12099 main ()
12101 return XRenderCreateLinearGradient ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12108 else
12109 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12111 rm -f core conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12116 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12117 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12119 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12126 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12127 case "x$with_xrender" in
12128 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12129 xno) ;;
12130 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12131 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12132 esac
12136 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12137 then
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <X11/Xlib.h>
12141 #include <X11/extensions/Xrandr.h>
12143 main ()
12145 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_compile "$LINENO"; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12152 $as_echo_n "checking for -lXrandr... " >&6; }
12153 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_soname_save_LIBS=$LIBS
12157 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char XRRQueryExtension ();
12169 main ()
12171 return XRRQueryExtension ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 case "$LIBEXT" in
12178 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12179 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'` ;;
12180 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12181 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12182 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12183 fi ;;
12184 esac
12185 else
12186 ac_cv_lib_soname_Xrandr=
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_soname_save_LIBS
12192 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12194 $as_echo "not found" >&6; }
12196 else
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12198 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12200 cat >>confdefs.h <<_ACEOF
12201 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12202 _ACEOF
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12206 #include <X11/Xlib.h>
12207 #include <X11/extensions/Xrandr.h>
12209 main ()
12211 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_compile "$LINENO"; then :
12218 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12220 else
12221 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12228 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12229 case "x$with_xrandr" in
12230 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12231 xno) ;;
12232 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12233 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12234 esac
12238 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12239 then
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12242 #include <X11/Xlib.h>
12243 #include <X11/extensions/Xfixes.h>
12245 main ()
12247 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12249 return 0;
12251 _ACEOF
12252 if ac_fn_c_try_compile "$LINENO"; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12254 $as_echo_n "checking for -lXfixes... " >&6; }
12255 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12256 $as_echo_n "(cached) " >&6
12257 else
12258 ac_check_soname_save_LIBS=$LIBS
12259 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 char XFixesQueryVersion ();
12271 main ()
12273 return XFixesQueryVersion ();
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_link "$LINENO"; then :
12279 case "$LIBEXT" in
12280 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12281 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'` ;;
12282 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12283 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12284 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12285 fi ;;
12286 esac
12287 else
12288 ac_cv_lib_soname_Xfixes=
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 LIBS=$ac_check_soname_save_LIBS
12294 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12296 $as_echo "not found" >&6; }
12298 else
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12300 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12302 cat >>confdefs.h <<_ACEOF
12303 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12304 _ACEOF
12309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12311 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12312 case "x$with_xfixes" in
12313 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12314 xno) ;;
12315 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12316 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12317 esac
12321 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12322 then
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12325 #include <X11/Xlib.h>
12326 #include <X11/extensions/Xinerama.h>
12328 main ()
12330 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_compile "$LINENO"; then :
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12337 $as_echo_n "checking for -lXinerama... " >&6; }
12338 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12339 $as_echo_n "(cached) " >&6
12340 else
12341 ac_check_soname_save_LIBS=$LIBS
12342 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */
12346 /* Override any GCC internal prototype to avoid an error.
12347 Use char because int might match the return type of a GCC
12348 builtin and then its argument prototype would still apply. */
12349 #ifdef __cplusplus
12350 extern "C"
12351 #endif
12352 char XineramaQueryScreens ();
12354 main ()
12356 return XineramaQueryScreens ();
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_link "$LINENO"; then :
12362 case "$LIBEXT" in
12363 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12364 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'` ;;
12365 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12366 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12367 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12368 fi ;;
12369 esac
12370 else
12371 ac_cv_lib_soname_Xinerama=
12373 rm -f core conftest.err conftest.$ac_objext \
12374 conftest$ac_exeext conftest.$ac_ext
12375 LIBS=$ac_check_soname_save_LIBS
12377 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12379 $as_echo "not found" >&6; }
12381 else
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12383 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12385 cat >>confdefs.h <<_ACEOF
12386 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12387 _ACEOF
12392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12394 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12395 case "x$with_xinerama" in
12396 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12397 xno) ;;
12398 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12399 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12400 esac
12404 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12405 then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12407 $as_echo_n "checking for -lXcomposite... " >&6; }
12408 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12409 $as_echo_n "(cached) " >&6
12410 else
12411 ac_check_soname_save_LIBS=$LIBS
12412 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12419 #ifdef __cplusplus
12420 extern "C"
12421 #endif
12422 char XCompositeRedirectWindow ();
12424 main ()
12426 return XCompositeRedirectWindow ();
12428 return 0;
12430 _ACEOF
12431 if ac_fn_c_try_link "$LINENO"; then :
12432 case "$LIBEXT" in
12433 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12434 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'` ;;
12435 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12436 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12437 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12438 fi ;;
12439 esac
12440 else
12441 ac_cv_lib_soname_Xcomposite=
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_soname_save_LIBS
12447 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12449 $as_echo "not found" >&6; }
12451 else
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12453 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12455 cat >>confdefs.h <<_ACEOF
12456 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12457 _ACEOF
12462 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12463 case "x$with_xcomposite" in
12464 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12465 xno) ;;
12466 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12467 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12468 esac
12472 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12473 #include <X11/Xlib.h>
12474 #endif
12476 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12478 cat >>confdefs.h <<_ACEOF
12479 #define HAVE_XICCALLBACK_CALLBACK 1
12480 _ACEOF
12484 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12485 #include <X11/Xlib.h>
12486 #endif
12488 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12490 cat >>confdefs.h <<_ACEOF
12491 #define HAVE_XEVENT_XCOOKIE 1
12492 _ACEOF
12499 opengl_msg=""
12500 if test "x$with_opengl" != "xno"
12501 then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12503 $as_echo_n "checking for -lGL... " >&6; }
12504 if ${ac_cv_lib_soname_GL+:} false; then :
12505 $as_echo_n "(cached) " >&6
12506 else
12507 ac_check_soname_save_LIBS=$LIBS
12508 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12515 #ifdef __cplusplus
12516 extern "C"
12517 #endif
12518 char glXCreateContext ();
12520 main ()
12522 return glXCreateContext ();
12524 return 0;
12526 _ACEOF
12527 if ac_fn_c_try_link "$LINENO"; then :
12528 case "$LIBEXT" in
12529 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12530 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'` ;;
12531 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12532 if ${ac_cv_lib_soname_GL:+false} :; then :
12533 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12534 fi ;;
12535 esac
12536 else
12537 ac_cv_lib_soname_GL=
12539 rm -f core conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_soname_save_LIBS
12543 if ${ac_cv_lib_soname_GL:+false} :; then :
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12545 $as_echo "not found" >&6; }
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12547 $as_echo_n "checking for -lGL... " >&6; }
12548 if ${ac_cv_lib_soname_GL+:} false; then :
12549 $as_echo_n "(cached) " >&6
12550 else
12551 ac_check_soname_save_LIBS=$LIBS
12552 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"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12559 #ifdef __cplusplus
12560 extern "C"
12561 #endif
12562 char glXCreateContext ();
12564 main ()
12566 return glXCreateContext ();
12568 return 0;
12570 _ACEOF
12571 if ac_fn_c_try_link "$LINENO"; then :
12572 case "$LIBEXT" in
12573 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12574 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'` ;;
12575 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12576 if ${ac_cv_lib_soname_GL:+false} :; then :
12577 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12578 fi ;;
12579 esac
12580 else
12581 ac_cv_lib_soname_GL=
12583 rm -f core conftest.err conftest.$ac_objext \
12584 conftest$ac_exeext conftest.$ac_ext
12585 LIBS=$ac_check_soname_save_LIBS
12587 if ${ac_cv_lib_soname_GL:+false} :; then :
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12589 $as_echo "not found" >&6; }
12590 if test -f /usr/X11R6/lib/libGL.a
12591 then
12592 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12593 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12594 else
12595 opengl_msg="No OpenGL library found on this system."
12597 else
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12599 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12601 cat >>confdefs.h <<_ACEOF
12602 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12603 _ACEOF
12605 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"
12607 else
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12609 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12611 cat >>confdefs.h <<_ACEOF
12612 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12613 _ACEOF
12615 OPENGL_LIBS="-lGL"
12617 if test "x$with_osmesa" != "xno"
12618 then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12620 $as_echo_n "checking for -lOSMesa... " >&6; }
12621 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12622 $as_echo_n "(cached) " >&6
12623 else
12624 ac_check_soname_save_LIBS=$LIBS
12625 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12632 #ifdef __cplusplus
12633 extern "C"
12634 #endif
12635 char OSMesaGetProcAddress ();
12637 main ()
12639 return OSMesaGetProcAddress ();
12641 return 0;
12643 _ACEOF
12644 if ac_fn_c_try_link "$LINENO"; then :
12645 case "$LIBEXT" in
12646 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12647 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'` ;;
12648 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12649 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12650 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12651 fi ;;
12652 esac
12653 else
12654 ac_cv_lib_soname_OSMesa=
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_soname_save_LIBS
12660 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12662 $as_echo "not found" >&6; }
12664 else
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12666 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12668 cat >>confdefs.h <<_ACEOF
12669 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12670 _ACEOF
12674 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12675 case "x$with_osmesa" in
12676 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12677 xno) ;;
12678 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12679 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12680 esac
12685 if test -n "$opengl_msg"; then :
12686 case "x$with_opengl" in
12687 x) as_fn_append wine_warnings "|$opengl_msg
12688 OpenGL and Direct3D won't be supported." ;;
12689 xno) ;;
12690 *) as_fn_error $? "$opengl_msg
12691 OpenGL and Direct3D won't be supported.
12692 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12693 esac
12697 CPPFLAGS="$ac_save_CPPFLAGS"
12698 else
12699 X_CFLAGS=""
12700 X_LIBS=""
12703 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12704 then
12705 if test "x$X_LIBS" = "x"; then :
12706 case "x$with_x" in
12707 xno) ;;
12708 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12709 without X support, which probably isn't what you want. You will need
12710 to install ${notice_platform}development packages of Xlib at the very least.
12711 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12712 esac
12713 enable_winex11_drv=${enable_winex11_drv:-no}
12715 else
12716 if test "x$X_LIBS" = "x"; then :
12717 case "x$with_x" in
12718 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12719 xno) ;;
12720 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12721 This is an error since --with-x was requested." "$LINENO" 5 ;;
12722 esac
12723 enable_winex11_drv=${enable_winex11_drv:-no}
12727 if test "$ac_cv_header_CL_cl_h" = "yes"
12728 then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12730 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12731 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12732 $as_echo_n "(cached) " >&6
12733 else
12734 ac_check_lib_save_LIBS=$LIBS
12735 LIBS="-lOpenCL $LIBS"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char clGetPlatformInfo ();
12747 main ()
12749 return clGetPlatformInfo ();
12751 return 0;
12753 _ACEOF
12754 if ac_fn_c_try_link "$LINENO"; then :
12755 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12756 else
12757 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12759 rm -f core conftest.err conftest.$ac_objext \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12764 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12765 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12766 OPENCL_LIBS="-lOpenCL"
12771 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12772 case "x$with_opencl" in
12773 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12774 xno) ;;
12775 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12776 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12777 esac
12778 enable_opencl=${enable_opencl:-no}
12781 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12782 then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12784 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12785 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12786 $as_echo_n "(cached) " >&6
12787 else
12788 ac_check_lib_save_LIBS=$LIBS
12789 LIBS="-lpcap $LIBS"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 /* Override any GCC internal prototype to avoid an error.
12794 Use char because int might match the return type of a GCC
12795 builtin and then its argument prototype would still apply. */
12796 #ifdef __cplusplus
12797 extern "C"
12798 #endif
12799 char pcap_create ();
12801 main ()
12803 return pcap_create ();
12805 return 0;
12807 _ACEOF
12808 if ac_fn_c_try_link "$LINENO"; then :
12809 ac_cv_lib_pcap_pcap_create=yes
12810 else
12811 ac_cv_lib_pcap_pcap_create=no
12813 rm -f core conftest.err conftest.$ac_objext \
12814 conftest$ac_exeext conftest.$ac_ext
12815 LIBS=$ac_check_lib_save_LIBS
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12818 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12819 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12820 PCAP_LIBS="-lpcap"
12825 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12826 case "x$with_pcap" in
12827 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12828 xno) ;;
12829 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12830 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12831 esac
12832 enable_wpcap=${enable_wpcap:-no}
12836 if test "x$with_xml" != "xno"
12837 then
12838 if ${XML2_CFLAGS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12843 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12844 if ${XML2_LIBS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12849 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12850 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12851 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12853 ac_save_CPPFLAGS=$CPPFLAGS
12854 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12855 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12856 do :
12857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12858 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12860 cat >>confdefs.h <<_ACEOF
12861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12862 _ACEOF
12866 done
12868 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"
12869 then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12871 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12872 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12873 $as_echo_n "(cached) " >&6
12874 else
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lxml2 $XML2_LIBS $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char xmlParseMemory ();
12888 main ()
12890 return xmlParseMemory ();
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 ac_cv_lib_xml2_xmlParseMemory=yes
12897 else
12898 ac_cv_lib_xml2_xmlParseMemory=no
12900 rm -f core conftest.err conftest.$ac_objext \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12905 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12906 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12908 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12910 else
12911 XML2_LIBS=""
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12915 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12916 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12917 $as_echo_n "(cached) " >&6
12918 else
12919 ac_check_lib_save_LIBS=$LIBS
12920 LIBS="-lxml2 $XML2_LIBS $LIBS"
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12927 #ifdef __cplusplus
12928 extern "C"
12929 #endif
12930 char xmlReadMemory ();
12932 main ()
12934 return xmlReadMemory ();
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 ac_cv_lib_xml2_xmlReadMemory=yes
12941 else
12942 ac_cv_lib_xml2_xmlReadMemory=no
12944 rm -f core conftest.err conftest.$ac_objext \
12945 conftest$ac_exeext conftest.$ac_ext
12946 LIBS=$ac_check_lib_save_LIBS
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12949 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12950 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12952 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12957 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12958 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12959 $as_echo_n "(cached) " >&6
12960 else
12961 ac_check_lib_save_LIBS=$LIBS
12962 LIBS="-lxml2 $XML2_LIBS $LIBS"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12969 #ifdef __cplusplus
12970 extern "C"
12971 #endif
12972 char xmlNewDocPI ();
12974 main ()
12976 return xmlNewDocPI ();
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_link "$LINENO"; then :
12982 ac_cv_lib_xml2_xmlNewDocPI=yes
12983 else
12984 ac_cv_lib_xml2_xmlNewDocPI=no
12986 rm -f core conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12988 LIBS=$ac_check_lib_save_LIBS
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12991 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12992 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12994 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12999 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13000 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13001 $as_echo_n "(cached) " >&6
13002 else
13003 ac_check_lib_save_LIBS=$LIBS
13004 LIBS="-lxml2 $XML2_LIBS $LIBS"
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 /* Override any GCC internal prototype to avoid an error.
13009 Use char because int might match the return type of a GCC
13010 builtin and then its argument prototype would still apply. */
13011 #ifdef __cplusplus
13012 extern "C"
13013 #endif
13014 char xmlSchemaSetParserStructuredErrors ();
13016 main ()
13018 return xmlSchemaSetParserStructuredErrors ();
13020 return 0;
13022 _ACEOF
13023 if ac_fn_c_try_link "$LINENO"; then :
13024 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13025 else
13026 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13028 rm -f core conftest.err conftest.$ac_objext \
13029 conftest$ac_exeext conftest.$ac_ext
13030 LIBS=$ac_check_lib_save_LIBS
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13033 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13034 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13036 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13041 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13042 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13043 $as_echo_n "(cached) " >&6
13044 else
13045 ac_check_lib_save_LIBS=$LIBS
13046 LIBS="-lxml2 $XML2_LIBS $LIBS"
13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13050 /* Override any GCC internal prototype to avoid an error.
13051 Use char because int might match the return type of a GCC
13052 builtin and then its argument prototype would still apply. */
13053 #ifdef __cplusplus
13054 extern "C"
13055 #endif
13056 char xmlSchemaSetValidStructuredErrors ();
13058 main ()
13060 return xmlSchemaSetValidStructuredErrors ();
13062 return 0;
13064 _ACEOF
13065 if ac_fn_c_try_link "$LINENO"; then :
13066 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13067 else
13068 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13070 rm -f core conftest.err conftest.$ac_objext \
13071 conftest$ac_exeext conftest.$ac_ext
13072 LIBS=$ac_check_lib_save_LIBS
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13075 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13076 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13078 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13083 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13084 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 ac_check_lib_save_LIBS=$LIBS
13088 LIBS="-lxml2 $XML2_LIBS $LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char xmlFirstElementChild ();
13100 main ()
13102 return xmlFirstElementChild ();
13104 return 0;
13106 _ACEOF
13107 if ac_fn_c_try_link "$LINENO"; then :
13108 ac_cv_lib_xml2_xmlFirstElementChild=yes
13109 else
13110 ac_cv_lib_xml2_xmlFirstElementChild=no
13112 rm -f core conftest.err conftest.$ac_objext \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_lib_save_LIBS
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13117 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13118 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13120 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13124 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13126 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13128 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13132 else
13133 XML2_CFLAGS=""
13134 XML2_LIBS=""
13136 CPPFLAGS=$ac_save_CPPFLAGS
13139 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13140 case "x$with_xml" in
13141 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13144 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13145 esac
13149 if test "x$with_xslt" != "xno"
13150 then
13151 if ${XSLT_CFLAGS:+false} :; then :
13152 if ${PKG_CONFIG+:} false; then :
13153 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13156 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13157 if ${XSLT_LIBS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13162 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13163 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13164 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13166 ac_save_CPPFLAGS=$CPPFLAGS
13167 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13168 for ac_header in libxslt/pattern.h libxslt/transform.h
13169 do :
13170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13171 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13172 # include <libxslt/pattern.h>
13173 #endif
13175 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13176 cat >>confdefs.h <<_ACEOF
13177 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13178 _ACEOF
13182 done
13184 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13185 then
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13187 $as_echo_n "checking for -lxslt... " >&6; }
13188 if ${ac_cv_lib_soname_xslt+:} false; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 ac_check_soname_save_LIBS=$LIBS
13192 LIBS="-lxslt $XSLT_LIBS $LIBS"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13199 #ifdef __cplusplus
13200 extern "C"
13201 #endif
13202 char xsltCompilePattern ();
13204 main ()
13206 return xsltCompilePattern ();
13208 return 0;
13210 _ACEOF
13211 if ac_fn_c_try_link "$LINENO"; then :
13212 case "$LIBEXT" in
13213 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13214 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'` ;;
13215 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13216 if ${ac_cv_lib_soname_xslt:+false} :; then :
13217 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13218 fi ;;
13219 esac
13220 else
13221 ac_cv_lib_soname_xslt=
13223 rm -f core conftest.err conftest.$ac_objext \
13224 conftest$ac_exeext conftest.$ac_ext
13225 LIBS=$ac_check_soname_save_LIBS
13227 if ${ac_cv_lib_soname_xslt:+false} :; then :
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13229 $as_echo "not found" >&6; }
13231 else
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13233 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13235 cat >>confdefs.h <<_ACEOF
13236 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13237 _ACEOF
13241 else
13242 XSLT_CFLAGS=""
13244 CPPFLAGS=$ac_save_CPPFLAGS
13247 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13248 case "x$with_xslt" in
13249 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13250 xno) ;;
13251 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13252 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13253 esac
13257 if test "x$with_inotify" != "xno"
13258 then
13259 if ${INOTIFY_CFLAGS:+false} :; then :
13260 if ${PKG_CONFIG+:} false; then :
13261 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13265 if ${INOTIFY_LIBS:+false} :; then :
13266 if ${PKG_CONFIG+:} false; then :
13267 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13272 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13273 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13274 ac_save_CPPFLAGS=$CPPFLAGS
13275 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13276 for ac_header in sys/inotify.h
13277 do :
13278 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13279 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13280 cat >>confdefs.h <<_ACEOF
13281 #define HAVE_SYS_INOTIFY_H 1
13282 _ACEOF
13286 done
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13289 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13290 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_check_lib_save_LIBS=$LIBS
13294 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 char inotify_add_watch ();
13306 main ()
13308 return inotify_add_watch ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_lib_inotify_inotify_add_watch=yes
13315 else
13316 ac_cv_lib_inotify_inotify_add_watch=no
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13323 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13324 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13326 else
13327 INOTIFY_LIBS=""
13330 CPPFLAGS=$ac_save_CPPFLAGS
13333 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13334 case "x$with_inotify" in
13335 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13336 xno) ;;
13337 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13338 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13339 esac
13343 if test "x$with_dbus" != "xno"
13344 then
13345 if ${DBUS_CFLAGS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13351 if ${DBUS_LIBS:+false} :; then :
13352 if ${PKG_CONFIG+:} false; then :
13353 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13358 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13360 ac_save_CPPFLAGS=$CPPFLAGS
13361 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13362 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13363 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13365 $as_echo_n "checking for -ldbus-1... " >&6; }
13366 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_soname_save_LIBS=$LIBS
13370 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char dbus_connection_close ();
13382 main ()
13384 return dbus_connection_close ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 case "$LIBEXT" in
13391 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13392 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'` ;;
13393 *) 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'`
13394 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13395 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13396 fi ;;
13397 esac
13398 else
13399 ac_cv_lib_soname_dbus_1=
13401 rm -f core conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13403 LIBS=$ac_check_soname_save_LIBS
13405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13407 $as_echo "not found" >&6; }
13408 DBUS_CFLAGS=""
13409 else
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13411 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13413 cat >>confdefs.h <<_ACEOF
13414 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13415 _ACEOF
13419 else
13420 DBUS_CFLAGS=""
13424 CPPFLAGS=$ac_save_CPPFLAGS
13427 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13428 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13429 case "x$with_dbus" in
13430 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13431 xno) ;;
13432 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13433 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13434 esac
13438 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13439 then
13440 if ${HAL_CFLAGS:+false} :; then :
13441 if ${PKG_CONFIG+:} false; then :
13442 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13446 if ${HAL_LIBS:+false} :; then :
13447 if ${PKG_CONFIG+:} false; then :
13448 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13452 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13453 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13454 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13455 ac_save_CPPFLAGS=$CPPFLAGS
13456 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13457 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13458 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13460 $as_echo_n "checking for -lhal... " >&6; }
13461 if ${ac_cv_lib_soname_hal+:} false; then :
13462 $as_echo_n "(cached) " >&6
13463 else
13464 ac_check_soname_save_LIBS=$LIBS
13465 LIBS="-lhal $HAL_LIBS $LIBS"
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 /* Override any GCC internal prototype to avoid an error.
13470 Use char because int might match the return type of a GCC
13471 builtin and then its argument prototype would still apply. */
13472 #ifdef __cplusplus
13473 extern "C"
13474 #endif
13475 char libhal_ctx_new ();
13477 main ()
13479 return libhal_ctx_new ();
13481 return 0;
13483 _ACEOF
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 case "$LIBEXT" in
13486 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13487 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'` ;;
13488 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13489 if ${ac_cv_lib_soname_hal:+false} :; then :
13490 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13491 fi ;;
13492 esac
13493 else
13494 ac_cv_lib_soname_hal=
13496 rm -f core conftest.err conftest.$ac_objext \
13497 conftest$ac_exeext conftest.$ac_ext
13498 LIBS=$ac_check_soname_save_LIBS
13500 if ${ac_cv_lib_soname_hal:+false} :; then :
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13502 $as_echo "not found" >&6; }
13503 HAL_CFLAGS=""
13504 else
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13506 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13508 cat >>confdefs.h <<_ACEOF
13509 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13510 _ACEOF
13514 else
13515 HAL_CFLAGS=""
13519 CPPFLAGS=$ac_save_CPPFLAGS
13521 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13522 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13523 case "x$with_hal" in
13524 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13525 xno) ;;
13526 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13527 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13528 esac
13533 if test "x$with_gnutls" != "xno"
13534 then
13535 if ${GNUTLS_CFLAGS:+false} :; then :
13536 if ${PKG_CONFIG+:} false; then :
13537 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13541 if ${GNUTLS_LIBS:+false} :; then :
13542 if ${PKG_CONFIG+:} false; then :
13543 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13547 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13548 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13549 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13550 ac_save_CPPFLAGS=$CPPFLAGS
13551 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13552 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13553 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 #include <gnutls/gnutls.h>
13557 #include <gnutls/crypto.h>
13559 main ()
13561 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13563 return 0;
13565 _ACEOF
13566 if ac_fn_c_try_compile "$LINENO"; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13568 $as_echo_n "checking for -lgnutls... " >&6; }
13569 if ${ac_cv_lib_soname_gnutls+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
13572 ac_check_soname_save_LIBS=$LIBS
13573 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13580 #ifdef __cplusplus
13581 extern "C"
13582 #endif
13583 char gnutls_global_init ();
13585 main ()
13587 return gnutls_global_init ();
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_link "$LINENO"; then :
13593 case "$LIBEXT" in
13594 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13595 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'` ;;
13596 *) 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'`
13597 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13598 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'`
13599 fi ;;
13600 esac
13601 else
13602 ac_cv_lib_soname_gnutls=
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13611 GNUTLS_CFLAGS=""
13612 else
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13614 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13616 cat >>confdefs.h <<_ACEOF
13617 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13618 _ACEOF
13622 ac_wine_check_funcs_save_LIBS="$LIBS"
13623 LIBS="$LIBS $GNUTLS_LIBS"
13624 for ac_func in gnutls_cipher_init
13625 do :
13626 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13627 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13628 cat >>confdefs.h <<_ACEOF
13629 #define HAVE_GNUTLS_CIPHER_INIT 1
13630 _ACEOF
13632 else
13633 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13635 done
13637 LIBS="$ac_wine_check_funcs_save_LIBS"
13639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13640 else
13641 GNUTLS_CFLAGS=""
13645 CPPFLAGS=$ac_save_CPPFLAGS
13648 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13649 case "x$with_gnutls" in
13650 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13651 xno) ;;
13652 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13653 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13654 esac
13658 if test "x$with_sane" != "xno"
13659 then
13660 if ${SANE_CFLAGS:+false} :; then :
13661 if ${PKG_CONFIG+:} false; then :
13662 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13665 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13666 if ${SANE_LIBS:+false} :; then :
13667 if ${PKG_CONFIG+:} false; then :
13668 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13671 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13673 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13674 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13675 ac_save_CPPFLAGS=$CPPFLAGS
13676 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13677 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13678 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13680 $as_echo_n "checking for -lsane... " >&6; }
13681 if ${ac_cv_lib_soname_sane+:} false; then :
13682 $as_echo_n "(cached) " >&6
13683 else
13684 ac_check_soname_save_LIBS=$LIBS
13685 LIBS="-lsane $SANE_LIBS $LIBS"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13689 /* Override any GCC internal prototype to avoid an error.
13690 Use char because int might match the return type of a GCC
13691 builtin and then its argument prototype would still apply. */
13692 #ifdef __cplusplus
13693 extern "C"
13694 #endif
13695 char sane_init ();
13697 main ()
13699 return sane_init ();
13701 return 0;
13703 _ACEOF
13704 if ac_fn_c_try_link "$LINENO"; then :
13705 case "$LIBEXT" in
13706 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13707 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'` ;;
13708 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13709 if ${ac_cv_lib_soname_sane:+false} :; then :
13710 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13711 fi ;;
13712 esac
13713 else
13714 ac_cv_lib_soname_sane=
13716 rm -f core conftest.err conftest.$ac_objext \
13717 conftest$ac_exeext conftest.$ac_ext
13718 LIBS=$ac_check_soname_save_LIBS
13720 if ${ac_cv_lib_soname_sane:+false} :; then :
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13722 $as_echo "not found" >&6; }
13723 SANE_CFLAGS=""
13724 else
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13726 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13728 cat >>confdefs.h <<_ACEOF
13729 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13730 _ACEOF
13734 else
13735 SANE_CFLAGS=""
13739 CPPFLAGS=$ac_save_CPPFLAGS
13742 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13743 case "x$with_sane" in
13744 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13745 xno) ;;
13746 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13747 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13748 esac
13752 if test "x$with_usb" != "xno"
13753 then
13754 if ${USB_CFLAGS:+false} :; then :
13755 if ${PKG_CONFIG+:} false; then :
13756 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13760 if ${USB_LIBS:+false} :; then :
13761 if ${PKG_CONFIG+:} false; then :
13762 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13766 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13767 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13768 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13769 ac_save_CPPFLAGS=$CPPFLAGS
13770 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13771 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13772 if test "x$ac_cv_header_libusb_h" = xyes; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13774 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13775 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_check_lib_save_LIBS=$LIBS
13779 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13783 /* Override any GCC internal prototype to avoid an error.
13784 Use char because int might match the return type of a GCC
13785 builtin and then its argument prototype would still apply. */
13786 #ifdef __cplusplus
13787 extern "C"
13788 #endif
13789 char libusb_interrupt_event_handler ();
13791 main ()
13793 return libusb_interrupt_event_handler ();
13795 return 0;
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"; then :
13799 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13800 else
13801 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13803 rm -f core conftest.err conftest.$ac_objext \
13804 conftest$ac_exeext conftest.$ac_ext
13805 LIBS=$ac_check_lib_save_LIBS
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13808 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13809 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13811 else
13812 USB_LIBS=""
13815 else
13816 USB_LIBS=""
13820 CPPFLAGS=$ac_save_CPPFLAGS
13823 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13824 case "x$with_usb" in
13825 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13826 xno) ;;
13827 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13828 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13829 esac
13830 enable_wineusb_sys=${enable_wineusb_sys:-no}
13833 if test "x$with_v4l2" != "xno"
13834 then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13836 $as_echo_n "checking for -lv4l2... " >&6; }
13837 if ${ac_cv_lib_soname_v4l2+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-lv4l2 $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char v4l2_open ();
13853 main ()
13855 return v4l2_open ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 case "$LIBEXT" in
13862 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13863 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'` ;;
13864 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13865 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13866 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13867 fi ;;
13868 esac
13869 else
13870 ac_cv_lib_soname_v4l2=
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13880 else
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13882 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13884 cat >>confdefs.h <<_ACEOF
13885 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13886 _ACEOF
13891 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13892 case "x$with_v4l2" in
13893 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13894 xno) ;;
13895 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13896 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13897 esac
13901 if test "x$with_gphoto" != "xno"
13902 then
13903 if ${GPHOTO2_CFLAGS:+false} :; then :
13904 if ${PKG_CONFIG+:} false; then :
13905 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13908 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13909 if ${GPHOTO2_LIBS:+false} :; then :
13910 if ${PKG_CONFIG+:} false; then :
13911 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13914 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13915 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13916 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13917 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13918 ac_save_CPPFLAGS=$CPPFLAGS
13919 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13920 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13921 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13923 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13924 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_lib_save_LIBS=$LIBS
13928 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char gp_camera_new ();
13940 main ()
13942 return gp_camera_new ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 ac_cv_lib_gphoto2_gp_camera_new=yes
13949 else
13950 ac_cv_lib_gphoto2_gp_camera_new=no
13952 rm -f core conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 LIBS=$ac_check_lib_save_LIBS
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13957 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13958 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13960 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13962 else
13963 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13966 else
13967 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13971 CPPFLAGS=$ac_save_CPPFLAGS
13973 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13974 if ${PKG_CONFIG+:} false; then :
13975 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13978 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13979 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13980 if ${PKG_CONFIG+:} false; then :
13981 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13984 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13985 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13988 ac_save_CPPFLAGS=$CPPFLAGS
13989 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13990 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13991 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13993 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13994 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_check_lib_save_LIBS=$LIBS
13998 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 #ifdef __cplusplus
14006 extern "C"
14007 #endif
14008 char gp_port_info_list_new ();
14010 main ()
14012 return gp_port_info_list_new ();
14014 return 0;
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"; then :
14018 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14019 else
14020 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14022 rm -f core conftest.err conftest.$ac_objext \
14023 conftest$ac_exeext conftest.$ac_ext
14024 LIBS=$ac_check_lib_save_LIBS
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14027 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14028 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14030 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14032 else
14033 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14036 else
14037 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14041 CPPFLAGS=$ac_save_CPPFLAGS
14044 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14045 case "x$with_gphoto" in
14046 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14047 xno) ;;
14048 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14049 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14050 esac
14053 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14054 case "x$with_gphoto" in
14055 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14056 xno) ;;
14057 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14058 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14059 esac
14064 if test "$ac_cv_header_resolv_h" = "yes"
14065 then
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14067 $as_echo_n "checking for resolver library... " >&6; }
14068 if ${ac_cv_have_resolv+:} false; then :
14069 $as_echo_n "(cached) " >&6
14070 else
14071 ac_save_LIBS="$LIBS"
14072 for lib in '' -lresolv
14074 LIBS="$lib $ac_save_LIBS"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 #ifdef HAVE_NETINET_IN_H
14078 #include <netinet/in.h>
14079 #endif
14080 #include <resolv.h>
14082 main ()
14084 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
14086 return 0;
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_have_resolv=${lib:-"none required"}
14091 else
14092 ac_cv_have_resolv="not found"
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 test "x$ac_cv_have_resolv" = "xnot found" || break
14097 done
14098 LIBS="$ac_save_LIBS"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14101 $as_echo "$ac_cv_have_resolv" >&6; }
14103 case "$ac_cv_have_resolv" in
14104 "not found") ;;
14105 "none required")
14107 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14110 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14112 RESOLV_LIBS=$ac_cv_have_resolv
14114 esac
14116 if test "x$ac_cv_have_resolv" != "xnot found"
14117 then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14119 $as_echo_n "checking for res_getservers... " >&6; }
14120 if ${ac_cv_have_res_getservers+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_save_LIBS="$LIBS"
14124 LIBS="$RESOLV_LIBS $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 #include <resolv.h>
14129 main ()
14131 res_getservers(NULL, NULL, 0);
14133 return 0;
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 ac_cv_have_res_getservers=yes
14138 else
14139 ac_cv_have_res_getservers=no
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14143 LIBS="$ac_save_LIBS"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14146 $as_echo "$ac_cv_have_res_getservers" >&6; }
14147 if test "$ac_cv_have_res_getservers" = "yes"
14148 then
14150 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14156 if test "x$with_cms" != "xno"
14157 then
14158 if ${LCMS2_CFLAGS:+false} :; then :
14159 if ${PKG_CONFIG+:} false; then :
14160 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14164 if ${LCMS2_LIBS:+false} :; then :
14165 if ${PKG_CONFIG+:} false; then :
14166 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14170 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14171 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14172 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14173 ac_save_CPPFLAGS=$CPPFLAGS
14174 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14175 for ac_header in lcms2.h
14176 do :
14177 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14178 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14179 cat >>confdefs.h <<_ACEOF
14180 #define HAVE_LCMS2_H 1
14181 _ACEOF
14185 done
14187 if test "$ac_cv_header_lcms2_h" = "yes"
14188 then
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14190 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14191 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 ac_check_lib_save_LIBS=$LIBS
14195 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 #ifdef __cplusplus
14203 extern "C"
14204 #endif
14205 char cmsOpenProfileFromFile ();
14207 main ()
14209 return cmsOpenProfileFromFile ();
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14216 else
14217 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS=$ac_check_lib_save_LIBS
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14224 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14225 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14227 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14229 else
14230 LCMS2_LIBS=""
14233 else
14234 LCMS2_CFLAGS=""
14235 LCMS2_LIBS=""
14237 CPPFLAGS=$ac_save_CPPFLAGS
14240 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14241 case "x$with_cms" in
14242 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14243 xno) ;;
14244 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14245 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14246 esac
14250 if test "x$with_freetype" != "xno"
14251 then
14252 if ${FREETYPE_CFLAGS:+false} :; then :
14253 if ${PKG_CONFIG+:} false; then :
14254 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14257 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14258 if ${FREETYPE_LIBS:+false} :; then :
14259 if ${PKG_CONFIG+:} false; then :
14260 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14263 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14264 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14265 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14266 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14267 ac_save_CPPFLAGS=$CPPFLAGS
14268 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14269 for ac_header in ft2build.h
14270 do :
14271 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14272 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14273 cat >>confdefs.h <<_ACEOF
14274 #define HAVE_FT2BUILD_H 1
14275 _ACEOF
14279 done
14281 if test "$ac_cv_header_ft2build_h" = "yes"
14282 then
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14284 $as_echo_n "checking for -lfreetype... " >&6; }
14285 if ${ac_cv_lib_soname_freetype+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 ac_check_soname_save_LIBS=$LIBS
14289 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14296 #ifdef __cplusplus
14297 extern "C"
14298 #endif
14299 char FT_Init_FreeType ();
14301 main ()
14303 return FT_Init_FreeType ();
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 case "$LIBEXT" in
14310 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14311 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'` ;;
14312 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14313 if ${ac_cv_lib_soname_freetype:+false} :; then :
14314 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14315 fi ;;
14316 esac
14317 else
14318 ac_cv_lib_soname_freetype=
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_soname_save_LIBS
14324 if ${ac_cv_lib_soname_freetype:+false} :; then :
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14326 $as_echo "not found" >&6; }
14327 FREETYPE_LIBS=""
14328 else
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14330 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14332 cat >>confdefs.h <<_ACEOF
14333 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14334 _ACEOF
14337 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14339 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14340 #include FT_MODULE_H
14342 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14344 cat >>confdefs.h <<_ACEOF
14345 #define HAVE_FT_TRUETYPEENGINETYPE 1
14346 _ACEOF
14352 else
14353 FREETYPE_CFLAGS=""
14354 FREETYPE_LIBS=""
14356 CPPFLAGS=$ac_save_CPPFLAGS
14359 if test "x$ac_cv_lib_soname_freetype" = x; then :
14360 case "x$with_freetype" in
14361 xno) ;;
14362 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14363 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14364 esac
14365 enable_fonts=${enable_fonts:-no}
14368 ac_wine_check_funcs_save_LIBS="$LIBS"
14369 LIBS="$LIBS $PTHREAD_LIBS"
14370 for ac_func in \
14371 pthread_getthreadid_np
14372 do :
14373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14375 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14376 cat >>confdefs.h <<_ACEOF
14377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14378 _ACEOF
14381 done
14383 LIBS="$ac_wine_check_funcs_save_LIBS"
14385 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14386 then
14387 if test "$ac_cv_header_gettext_po_h" = "yes"
14388 then
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14390 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14391 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_check_lib_save_LIBS=$LIBS
14395 LIBS="-lgettextpo $LIBS"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14402 #ifdef __cplusplus
14403 extern "C"
14404 #endif
14405 char po_message_msgctxt ();
14407 main ()
14409 return po_message_msgctxt ();
14411 return 0;
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14416 else
14417 ac_cv_lib_gettextpo_po_message_msgctxt=no
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14421 LIBS=$ac_check_lib_save_LIBS
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14424 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14425 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14427 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14429 GETTEXTPO_LIBS="-lgettextpo"
14434 if test "x$GETTEXTPO_LIBS" = "x"; then :
14435 case "x$with_gettextpo" in
14436 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14437 xno) ;;
14438 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14439 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14440 esac
14443 if test "$srcdir" != .; then :
14444 case "x$with_gettextpo" in
14445 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14446 xno) ;;
14447 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14448 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14449 esac
14454 if test "x$with_pulse" != "xno";
14455 then
14456 if ${PULSE_CFLAGS:+false} :; then :
14457 if ${PKG_CONFIG+:} false; then :
14458 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14462 if ${PULSE_LIBS:+false} :; then :
14463 if ${PKG_CONFIG+:} false; then :
14464 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14469 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14470 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14471 ac_save_CPPFLAGS=$CPPFLAGS
14472 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14473 for ac_header in pulse/pulseaudio.h
14474 do :
14475 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14476 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14477 cat >>confdefs.h <<_ACEOF
14478 #define HAVE_PULSE_PULSEAUDIO_H 1
14479 _ACEOF
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14481 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14482 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 ac_check_lib_save_LIBS=$LIBS
14486 LIBS="-lpulse $PULSE_LIBS $LIBS"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14490 /* Override any GCC internal prototype to avoid an error.
14491 Use char because int might match the return type of a GCC
14492 builtin and then its argument prototype would still apply. */
14493 #ifdef __cplusplus
14494 extern "C"
14495 #endif
14496 char pa_stream_is_corked ();
14498 main ()
14500 return pa_stream_is_corked ();
14502 return 0;
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 ac_cv_lib_pulse_pa_stream_is_corked=yes
14507 else
14508 ac_cv_lib_pulse_pa_stream_is_corked=no
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14512 LIBS=$ac_check_lib_save_LIBS
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14515 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14516 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14518 else
14519 PULSE_LIBS=""
14522 else
14523 PULSE_LIBS=""
14526 done
14528 CPPFLAGS=$ac_save_CPPFLAGS
14531 if test -z "$PULSE_LIBS"; then :
14532 case "x$with_pulse" in
14533 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14534 xno) ;;
14535 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14536 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14537 esac
14538 enable_winepulse_drv=${enable_winepulse_drv:-no}
14541 if test "x$with_gstreamer" != "xno"
14542 then
14543 if ${GSTREAMER_CFLAGS:+false} :; then :
14544 if ${PKG_CONFIG+:} false; then :
14545 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14549 if ${GSTREAMER_LIBS:+false} :; then :
14550 if ${PKG_CONFIG+:} false; then :
14551 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14556 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14557 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14558 ac_save_CPPFLAGS=$CPPFLAGS
14559 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14560 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14561 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14563 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14566 #include <gst/gst.h>
14568 main ()
14570 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14572 return 0;
14574 _ACEOF
14575 if ac_fn_c_try_compile "$LINENO"; then :
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14577 $as_echo "yes" >&6; }
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14579 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14580 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_check_lib_save_LIBS=$LIBS
14584 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 #ifdef __cplusplus
14592 extern "C"
14593 #endif
14594 char gst_pad_new ();
14596 main ()
14598 return gst_pad_new ();
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14605 else
14606 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_check_lib_save_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14613 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14614 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14618 else
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14620 $as_echo "no" >&6; }
14621 ac_glib2_broken=yes
14622 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14628 CPPFLAGS=$ac_save_CPPFLAGS
14631 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14632 then
14633 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14634 case "x$with_gstreamer" in
14635 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14636 xno) ;;
14637 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14638 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14639 esac
14643 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14645 ALSA_LIBS=""
14647 if test "x$with_alsa" != "xno"
14648 then
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14650 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14651 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_check_lib_save_LIBS=$LIBS
14655 LIBS="-lasound $LIBS"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14662 #ifdef __cplusplus
14663 extern "C"
14664 #endif
14665 char snd_pcm_hw_params_get_access_mask ();
14667 main ()
14669 return snd_pcm_hw_params_get_access_mask ();
14671 return 0;
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"; then :
14675 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14676 else
14677 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LIBS=$ac_check_lib_save_LIBS
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14684 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14685 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 #include <alsa/asoundlib.h>
14690 main ()
14692 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_compile "$LINENO"; then :
14698 ALSA_LIBS="-lasound"
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14706 if test "x$with_oss" != xno
14707 then
14708 ac_save_CPPFLAGS="$CPPFLAGS"
14709 if test -f /etc/oss.conf
14710 then
14711 . /etc/oss.conf
14713 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14714 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14715 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14716 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14717 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14719 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14721 cat >>confdefs.h <<_ACEOF
14722 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14723 _ACEOF
14725 OSS4_CFLAGS="$ac_oss_incl"
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14728 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14729 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 ac_check_lib_save_LIBS=$LIBS
14733 LIBS="-lossaudio $LIBS"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14737 /* Override any GCC internal prototype to avoid an error.
14738 Use char because int might match the return type of a GCC
14739 builtin and then its argument prototype would still apply. */
14740 #ifdef __cplusplus
14741 extern "C"
14742 #endif
14743 char _oss_ioctl ();
14745 main ()
14747 return _oss_ioctl ();
14749 return 0;
14751 _ACEOF
14752 if ac_fn_c_try_link "$LINENO"; then :
14753 ac_cv_lib_ossaudio__oss_ioctl=yes
14754 else
14755 ac_cv_lib_ossaudio__oss_ioctl=no
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_lib_save_LIBS
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14762 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14763 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14764 OSS4_LIBS="-lossaudio"
14773 CPPFLAGS="$ac_save_CPPFLAGS"
14775 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14776 case "x$with_oss" in
14777 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14778 xno) ;;
14779 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14780 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14781 esac
14782 enable_wineoss_drv=${enable_wineoss_drv:-no}
14785 if test "x$with_udev" != "xno"
14786 then
14787 if ${UDEV_CFLAGS:+false} :; then :
14788 if ${PKG_CONFIG+:} false; then :
14789 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14793 if ${UDEV_LIBS:+false} :; then :
14794 if ${PKG_CONFIG+:} false; then :
14795 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14799 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14800 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14801 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14802 ac_save_CPPFLAGS=$CPPFLAGS
14803 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14804 for ac_header in libudev.h
14805 do :
14806 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14807 if test "x$ac_cv_header_libudev_h" = xyes; then :
14808 cat >>confdefs.h <<_ACEOF
14809 #define HAVE_LIBUDEV_H 1
14810 _ACEOF
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14812 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14813 if ${ac_cv_lib_udev_udev_new+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_check_lib_save_LIBS=$LIBS
14817 LIBS="-ludev $UDEV_LIBS $LIBS"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14824 #ifdef __cplusplus
14825 extern "C"
14826 #endif
14827 char udev_new ();
14829 main ()
14831 return udev_new ();
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_lib_udev_udev_new=yes
14838 else
14839 ac_cv_lib_udev_udev_new=no
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_check_lib_save_LIBS
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14846 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14847 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14849 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14851 else
14852 UDEV_LIBS=""
14855 else
14856 UDEV_LIBS=""
14859 done
14861 CPPFLAGS=$ac_save_CPPFLAGS
14864 if test "x$UDEV_LIBS" = "x"; then :
14865 case "x$with_udev" in
14866 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14867 xno) ;;
14868 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14869 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14870 esac
14874 if test "x$with_unwind" != xno
14875 then
14876 if ${UNWIND_CFLAGS:+false} :; then :
14877 if ${PKG_CONFIG+:} false; then :
14878 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14882 if ${UNWIND_LIBS:+false} :; then :
14883 if ${PKG_CONFIG+:} false; then :
14884 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14888 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14889 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14890 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14891 ac_save_CPPFLAGS=$CPPFLAGS
14892 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14894 $as_echo_n "checking for unw_step... " >&6; }
14895 if ${wine_cv_have_unw_step+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #define UNW_LOCAL_ONLY
14901 #include <libunwind.h>
14903 main ()
14905 unw_cursor_t cursor; unw_step( &cursor );
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 wine_cv_have_unw_step="yes"
14912 else
14913 wine_cv_have_unw_step="no"
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14919 $as_echo "$wine_cv_have_unw_step" >&6; }
14920 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14921 then
14922 save_libs=$LIBS
14923 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14924 LIBS="$UNWIND_LIBS $LIBS"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14926 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14927 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14928 $as_echo_n "(cached) " >&6
14929 else
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 #define UNW_LOCAL_ONLY
14933 #include <libunwind.h>
14935 main ()
14937 unw_cursor_t cursor; unw_step( &cursor );
14939 return 0;
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 wine_cv_have_libunwind_unw_step="yes"
14944 else
14945 wine_cv_have_libunwind_unw_step="no"
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14951 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14952 LIBS=$save_libs
14954 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14955 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14956 then
14958 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14961 CPPFLAGS=$ac_save_CPPFLAGS
14964 case $host in
14965 aarch64*|*-darwin*)
14966 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14967 case "x$with_unwind" in
14968 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14969 xno) ;;
14970 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14971 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14972 esac
14974 fi ;;
14975 esac
14977 if test "x$with_sdl" != "xno"
14978 then
14979 if ${SDL2_CFLAGS:+false} :; then :
14980 if ${PKG_CONFIG+:} false; then :
14981 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14985 if ${SDL2_LIBS:+false} :; then :
14986 if ${PKG_CONFIG+:} false; then :
14987 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14991 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14992 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14993 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14994 ac_save_CPPFLAGS=$CPPFLAGS
14995 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14996 for ac_header in SDL.h
14997 do :
14998 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14999 if test "x$ac_cv_header_SDL_h" = xyes; then :
15000 cat >>confdefs.h <<_ACEOF
15001 #define HAVE_SDL_H 1
15002 _ACEOF
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15004 $as_echo_n "checking for -lSDL2... " >&6; }
15005 if ${ac_cv_lib_soname_SDL2+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 ac_check_soname_save_LIBS=$LIBS
15009 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 #ifdef __cplusplus
15017 extern "C"
15018 #endif
15019 char SDL_Init ();
15021 main ()
15023 return SDL_Init ();
15025 return 0;
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 case "$LIBEXT" in
15030 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15031 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'` ;;
15032 *) 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'`
15033 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15034 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15035 fi ;;
15036 esac
15037 else
15038 ac_cv_lib_soname_SDL2=
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 LIBS=$ac_check_soname_save_LIBS
15044 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15046 $as_echo "not found" >&6; }
15048 else
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15050 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15052 cat >>confdefs.h <<_ACEOF
15053 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15054 _ACEOF
15060 done
15062 CPPFLAGS=$ac_save_CPPFLAGS
15065 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15066 case "x$with_sdl" in
15067 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15068 xno) ;;
15069 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15070 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15071 esac
15075 if test "x$with_faudio" != "xno"
15076 then
15077 if ${FAUDIO_CFLAGS:+false} :; then :
15078 if ${PKG_CONFIG+:} false; then :
15079 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15083 if ${FAUDIO_LIBS:+false} :; then :
15084 if ${PKG_CONFIG+:} false; then :
15085 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15089 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15090 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15091 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15092 ac_save_CPPFLAGS=$CPPFLAGS
15093 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15094 for ac_header in FAudio.h
15095 do :
15096 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15097 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15098 cat >>confdefs.h <<_ACEOF
15099 #define HAVE_FAUDIO_H 1
15100 _ACEOF
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15102 $as_echo_n "checking for -lFAudio... " >&6; }
15103 if ${ac_cv_lib_soname_FAudio+:} false; then :
15104 $as_echo_n "(cached) " >&6
15105 else
15106 ac_check_soname_save_LIBS=$LIBS
15107 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15114 #ifdef __cplusplus
15115 extern "C"
15116 #endif
15117 char FAudioCreate ();
15119 main ()
15121 return FAudioCreate ();
15123 return 0;
15125 _ACEOF
15126 if ac_fn_c_try_link "$LINENO"; then :
15127 case "$LIBEXT" in
15128 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15129 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'` ;;
15130 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15131 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15132 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15133 fi ;;
15134 esac
15135 else
15136 ac_cv_lib_soname_FAudio=
15138 rm -f core conftest.err conftest.$ac_objext \
15139 conftest$ac_exeext conftest.$ac_ext
15140 LIBS=$ac_check_soname_save_LIBS
15142 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15144 $as_echo "not found" >&6; }
15146 else
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15148 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15150 cat >>confdefs.h <<_ACEOF
15151 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15152 _ACEOF
15158 done
15160 ac_wine_check_funcs_save_LIBS="$LIBS"
15161 LIBS="$LIBS $FAUDIO_LIBS"
15162 for ac_func in FAudio_CommitOperationSet \
15163 F3DAudioInitialize8 \
15164 FAudioLinkedVersion \
15165 FAudioCreateReverb9WithCustomAllocatorEXT
15166 do :
15167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15170 cat >>confdefs.h <<_ACEOF
15171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15172 _ACEOF
15175 done
15177 LIBS="$ac_wine_check_funcs_save_LIBS"
15179 CPPFLAGS=$ac_save_CPPFLAGS
15182 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15183 case "x$with_faudio" in
15184 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15185 xno) ;;
15186 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15187 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15188 esac
15192 if test "x$with_capi" != "xno"
15193 then
15194 if ${CAPI20_CFLAGS:+false} :; then :
15195 if ${PKG_CONFIG+:} false; then :
15196 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15200 if ${CAPI20_LIBS:+false} :; then :
15201 if ${PKG_CONFIG+:} false; then :
15202 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15207 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15208 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15209 ac_save_CPPFLAGS=$CPPFLAGS
15210 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15211 for ac_header in capi20.h linux/capi.h
15212 do :
15213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15214 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15216 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15217 cat >>confdefs.h <<_ACEOF
15218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15219 _ACEOF
15223 done
15225 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15226 then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15228 $as_echo_n "checking for -lcapi20... " >&6; }
15229 if ${ac_cv_lib_soname_capi20+:} false; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 #ifdef __cplusplus
15241 extern "C"
15242 #endif
15243 char capi20_register ();
15245 main ()
15247 return capi20_register ();
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 case "$LIBEXT" in
15254 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15255 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'` ;;
15256 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15257 if ${ac_cv_lib_soname_capi20:+false} :; then :
15258 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15259 fi ;;
15260 esac
15261 else
15262 ac_cv_lib_soname_capi20=
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if ${ac_cv_lib_soname_capi20:+false} :; then :
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 $as_echo "not found" >&6; }
15272 else
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15274 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15276 cat >>confdefs.h <<_ACEOF
15277 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15278 _ACEOF
15283 CPPFLAGS=$ac_save_CPPFLAGS
15286 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15287 case "x$with_capi" in
15288 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15289 xno) ;;
15290 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15291 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15292 esac
15296 if test "x$with_cups" != "xno"
15297 then
15298 if ${CUPS_CFLAGS:+false} :; then :
15299 if ${PKG_CONFIG+:} false; then :
15300 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15303 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15304 if ${CUPS_LIBS:+false} :; then :
15305 if ${PKG_CONFIG+:} false; then :
15306 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15309 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15310 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15311 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15312 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15313 ac_save_CPPFLAGS=$CPPFLAGS
15314 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15315 for ac_header in cups/cups.h cups/ppd.h
15316 do :
15317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15318 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15319 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15322 _ACEOF
15326 done
15328 if test "$ac_cv_header_cups_cups_h" = "yes"
15329 then
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15331 $as_echo_n "checking for -lcups... " >&6; }
15332 if ${ac_cv_lib_soname_cups+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 ac_check_soname_save_LIBS=$LIBS
15336 LIBS="-lcups $CUPS_LIBS $LIBS"
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15340 /* Override any GCC internal prototype to avoid an error.
15341 Use char because int might match the return type of a GCC
15342 builtin and then its argument prototype would still apply. */
15343 #ifdef __cplusplus
15344 extern "C"
15345 #endif
15346 char cupsGetDefault ();
15348 main ()
15350 return cupsGetDefault ();
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"; then :
15356 case "$LIBEXT" in
15357 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15358 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'` ;;
15359 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15360 if ${ac_cv_lib_soname_cups:+false} :; then :
15361 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15362 fi ;;
15363 esac
15364 else
15365 ac_cv_lib_soname_cups=
15367 rm -f core conftest.err conftest.$ac_objext \
15368 conftest$ac_exeext conftest.$ac_ext
15369 LIBS=$ac_check_soname_save_LIBS
15371 if ${ac_cv_lib_soname_cups:+false} :; then :
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15373 $as_echo "not found" >&6; }
15374 CUPS_LIBS=""
15375 else
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15377 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15379 cat >>confdefs.h <<_ACEOF
15380 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15381 _ACEOF
15385 else
15386 CUPS_CFLAGS=""
15387 CUPS_LIBS=""
15389 CPPFLAGS=$ac_save_CPPFLAGS
15392 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15393 case "x$with_cups" in
15394 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15395 xno) ;;
15396 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15397 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15398 esac
15402 if test "x$with_fontconfig" != "xno"
15403 then
15404 if ${FONTCONFIG_CFLAGS:+false} :; then :
15405 if ${PKG_CONFIG+:} false; then :
15406 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15409 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15410 if ${FONTCONFIG_LIBS:+false} :; then :
15411 if ${PKG_CONFIG+:} false; then :
15412 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15415 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15417 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15418 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15419 ac_save_CPPFLAGS=$CPPFLAGS
15420 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15421 for ac_header in fontconfig/fontconfig.h
15422 do :
15423 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15424 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15427 _ACEOF
15431 done
15433 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15434 then
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15436 $as_echo_n "checking for -lfontconfig... " >&6; }
15437 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15438 $as_echo_n "(cached) " >&6
15439 else
15440 ac_check_soname_save_LIBS=$LIBS
15441 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15445 /* Override any GCC internal prototype to avoid an error.
15446 Use char because int might match the return type of a GCC
15447 builtin and then its argument prototype would still apply. */
15448 #ifdef __cplusplus
15449 extern "C"
15450 #endif
15451 char FcInit ();
15453 main ()
15455 return FcInit ();
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_link "$LINENO"; then :
15461 case "$LIBEXT" in
15462 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15463 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'` ;;
15464 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15465 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15466 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15467 fi ;;
15468 esac
15469 else
15470 ac_cv_lib_soname_fontconfig=
15472 rm -f core conftest.err conftest.$ac_objext \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_soname_save_LIBS
15476 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15478 $as_echo "not found" >&6; }
15479 FONTCONFIG_CFLAGS=""
15480 else
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15482 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15484 cat >>confdefs.h <<_ACEOF
15485 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15486 _ACEOF
15490 else
15491 FONTCONFIG_CFLAGS=""
15493 CPPFLAGS=$ac_save_CPPFLAGS
15496 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15497 case "x$with_fontconfig" in
15498 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15499 xno) ;;
15500 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15501 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15502 esac
15506 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15507 then
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15509 $as_echo_n "checking for -lgsm... " >&6; }
15510 if ${ac_cv_lib_soname_gsm+:} false; then :
15511 $as_echo_n "(cached) " >&6
15512 else
15513 ac_check_soname_save_LIBS=$LIBS
15514 LIBS="-lgsm $LIBS"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15521 #ifdef __cplusplus
15522 extern "C"
15523 #endif
15524 char gsm_create ();
15526 main ()
15528 return gsm_create ();
15530 return 0;
15532 _ACEOF
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 case "$LIBEXT" in
15535 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15536 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'` ;;
15537 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15538 if ${ac_cv_lib_soname_gsm:+false} :; then :
15539 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15540 fi ;;
15541 esac
15542 else
15543 ac_cv_lib_soname_gsm=
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15547 LIBS=$ac_check_soname_save_LIBS
15549 if ${ac_cv_lib_soname_gsm:+false} :; then :
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15551 $as_echo "not found" >&6; }
15553 else
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15555 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15557 cat >>confdefs.h <<_ACEOF
15558 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15559 _ACEOF
15564 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15565 case "x$with_gsm" in
15566 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15567 xno) ;;
15568 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15569 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15570 esac
15574 if test "x$with_krb5" != "xno"
15575 then
15576 if ${KRB5_CFLAGS:+false} :; then :
15577 if ${PKG_CONFIG+:} false; then :
15578 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15581 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15582 if ${KRB5_LIBS:+false} :; then :
15583 if ${PKG_CONFIG+:} false; then :
15584 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15587 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15589 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15590 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15591 ac_save_CPPFLAGS=$CPPFLAGS
15592 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15593 for ac_header in krb5/krb5.h
15594 do :
15595 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15596 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_KRB5_KRB5_H 1
15599 _ACEOF
15603 done
15605 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15606 then
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15608 $as_echo_n "checking for -lkrb5... " >&6; }
15609 if ${ac_cv_lib_soname_krb5+:} false; then :
15610 $as_echo_n "(cached) " >&6
15611 else
15612 ac_check_soname_save_LIBS=$LIBS
15613 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15615 /* end confdefs.h. */
15617 /* Override any GCC internal prototype to avoid an error.
15618 Use char because int might match the return type of a GCC
15619 builtin and then its argument prototype would still apply. */
15620 #ifdef __cplusplus
15621 extern "C"
15622 #endif
15623 char krb5_is_config_principal ();
15625 main ()
15627 return krb5_is_config_principal ();
15629 return 0;
15631 _ACEOF
15632 if ac_fn_c_try_link "$LINENO"; then :
15633 case "$LIBEXT" in
15634 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15635 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'` ;;
15636 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15637 if ${ac_cv_lib_soname_krb5:+false} :; then :
15638 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15639 fi ;;
15640 esac
15641 else
15642 ac_cv_lib_soname_krb5=
15644 rm -f core conftest.err conftest.$ac_objext \
15645 conftest$ac_exeext conftest.$ac_ext
15646 LIBS=$ac_check_soname_save_LIBS
15648 if ${ac_cv_lib_soname_krb5:+false} :; then :
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15650 $as_echo "not found" >&6; }
15651 KRB5_CFLAGS=""
15652 else
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15654 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15656 cat >>confdefs.h <<_ACEOF
15657 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15658 _ACEOF
15662 else
15663 KRB5_CFLAGS=""
15665 CPPFLAGS=$ac_save_CPPFLAGS
15668 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15669 case "x$with_krb5" in
15670 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15671 xno) ;;
15672 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15673 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15674 esac
15677 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15679 if test "x$with_gssapi" != "xno"
15680 then
15681 if ${GSSAPI_CFLAGS:+false} :; then :
15682 if ${PKG_CONFIG+:} false; then :
15683 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15686 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15687 if ${GSSAPI_LIBS:+false} :; then :
15688 if ${PKG_CONFIG+:} false; then :
15689 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15692 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15694 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15695 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15696 ac_save_CPPFLAGS=$CPPFLAGS
15697 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15698 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15699 do :
15700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15701 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15705 _ACEOF
15709 done
15711 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15712 then
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15714 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15715 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15716 $as_echo_n "(cached) " >&6
15717 else
15718 ac_check_soname_save_LIBS=$LIBS
15719 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char gss_init_sec_context ();
15731 main ()
15733 return gss_init_sec_context ();
15735 return 0;
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"; then :
15739 case "$LIBEXT" in
15740 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15741 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'` ;;
15742 *) 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'`
15743 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15744 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15745 fi ;;
15746 esac
15747 else
15748 ac_cv_lib_soname_gssapi_krb5=
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_soname_save_LIBS
15754 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15756 $as_echo "not found" >&6; }
15757 GSSAPI_CFLAGS=""
15758 else
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15760 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15762 cat >>confdefs.h <<_ACEOF
15763 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15764 _ACEOF
15768 else
15769 GSSAPI_CFLAGS=""
15771 CPPFLAGS=$ac_save_CPPFLAGS
15774 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15775 case "x$with_gssapi" in
15776 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15777 xno) ;;
15778 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15779 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15780 esac
15784 if test "x$with_jpeg" != "xno"
15785 then
15786 if ${JPEG_CFLAGS:+false} :; then :
15787 if ${PKG_CONFIG+:} false; then :
15788 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15792 if ${JPEG_LIBS:+false} :; then :
15793 if ${PKG_CONFIG+:} false; then :
15794 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15799 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15800 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15801 ac_save_CPPFLAGS=$CPPFLAGS
15802 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15803 for ac_header in jpeglib.h
15804 do :
15805 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15806 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define HAVE_JPEGLIB_H 1
15809 _ACEOF
15813 done
15815 if test "$ac_cv_header_jpeglib_h" = "yes"
15816 then
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15818 $as_echo_n "checking for -ljpeg... " >&6; }
15819 if ${ac_cv_lib_soname_jpeg+:} false; then :
15820 $as_echo_n "(cached) " >&6
15821 else
15822 ac_check_soname_save_LIBS=$LIBS
15823 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15827 /* Override any GCC internal prototype to avoid an error.
15828 Use char because int might match the return type of a GCC
15829 builtin and then its argument prototype would still apply. */
15830 #ifdef __cplusplus
15831 extern "C"
15832 #endif
15833 char jpeg_start_decompress ();
15835 main ()
15837 return jpeg_start_decompress ();
15839 return 0;
15841 _ACEOF
15842 if ac_fn_c_try_link "$LINENO"; then :
15843 case "$LIBEXT" in
15844 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15845 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'` ;;
15846 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15847 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15848 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15849 fi ;;
15850 esac
15851 else
15852 ac_cv_lib_soname_jpeg=
15854 rm -f core conftest.err conftest.$ac_objext \
15855 conftest$ac_exeext conftest.$ac_ext
15856 LIBS=$ac_check_soname_save_LIBS
15858 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15860 $as_echo "not found" >&6; }
15861 JPEG_CFLAGS=""
15862 else
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15864 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15866 cat >>confdefs.h <<_ACEOF
15867 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15868 _ACEOF
15872 else
15873 JPEG_CFLAGS=""
15875 CPPFLAGS=$ac_save_CPPFLAGS
15878 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15879 case "x$with_jpeg" in
15880 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15881 xno) ;;
15882 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15883 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15884 esac
15888 if test "x$with_jxrlib" != "xno"
15889 then
15890 if ${JXRLIB_CFLAGS:+false} :; then :
15891 if ${PKG_CONFIG+:} false; then :
15892 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15895 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15896 if ${JXRLIB_LIBS:+false} :; then :
15897 if ${PKG_CONFIG+:} false; then :
15898 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15903 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15904 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15905 ac_save_CPPFLAGS=$CPPFLAGS
15906 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15907 for ac_header in JXRGlue.h
15908 do :
15909 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15911 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define HAVE_JXRGLUE_H 1
15914 _ACEOF
15918 done
15920 if test "$ac_cv_header_JXRGlue_h" = "yes"
15921 then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15923 $as_echo_n "checking for -ljxrglue... " >&6; }
15924 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 ac_check_soname_save_LIBS=$LIBS
15928 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15935 #ifdef __cplusplus
15936 extern "C"
15937 #endif
15938 char PKImageDecode_Create_WMP ();
15940 main ()
15942 return PKImageDecode_Create_WMP ();
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"; then :
15948 case "$LIBEXT" in
15949 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15950 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15951 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15952 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15953 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15954 fi ;;
15955 esac
15956 else
15957 ac_cv_lib_soname_jxrglue=
15959 rm -f core conftest.err conftest.$ac_objext \
15960 conftest$ac_exeext conftest.$ac_ext
15961 LIBS=$ac_check_soname_save_LIBS
15963 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15965 $as_echo "not found" >&6; }
15966 JXRLIB_CFLAGS=""
15967 else
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15969 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
15971 cat >>confdefs.h <<_ACEOF
15972 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
15973 _ACEOF
15977 else
15978 JXRLIB_CFLAGS=""
15980 CPPFLAGS=$ac_save_CPPFLAGS
15983 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
15984 case "x$with_jxrlib" in
15985 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
15986 xno) ;;
15987 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
15988 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
15989 esac
15993 if test "x$with_png" != "xno"
15994 then
15995 if ${PNG_CFLAGS:+false} :; then :
15996 if ${PKG_CONFIG+:} false; then :
15997 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16000 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16001 if ${PNG_LIBS:+false} :; then :
16002 if ${PKG_CONFIG+:} false; then :
16003 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16006 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16008 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16009 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16010 ac_save_CPPFLAGS=$CPPFLAGS
16011 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16012 for ac_header in png.h
16013 do :
16014 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16015 if test "x$ac_cv_header_png_h" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_PNG_H 1
16018 _ACEOF
16022 done
16024 if test "$ac_cv_header_png_h" = "yes"
16025 then
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16027 $as_echo_n "checking for -lpng... " >&6; }
16028 if ${ac_cv_lib_soname_png+:} false; then :
16029 $as_echo_n "(cached) " >&6
16030 else
16031 ac_check_soname_save_LIBS=$LIBS
16032 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 #ifdef __cplusplus
16040 extern "C"
16041 #endif
16042 char png_create_read_struct ();
16044 main ()
16046 return png_create_read_struct ();
16048 return 0;
16050 _ACEOF
16051 if ac_fn_c_try_link "$LINENO"; then :
16052 case "$LIBEXT" in
16053 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16054 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'` ;;
16055 *) 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'`
16056 if ${ac_cv_lib_soname_png:+false} :; then :
16057 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16058 fi ;;
16059 esac
16060 else
16061 ac_cv_lib_soname_png=
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext conftest.$ac_ext
16065 LIBS=$ac_check_soname_save_LIBS
16067 if ${ac_cv_lib_soname_png:+false} :; then :
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16069 $as_echo "not found" >&6; }
16070 PNG_CFLAGS=""
16071 else
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16073 $as_echo "$ac_cv_lib_soname_png" >&6; }
16075 cat >>confdefs.h <<_ACEOF
16076 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16077 _ACEOF
16081 else
16082 PNG_CFLAGS=""
16084 CPPFLAGS=$ac_save_CPPFLAGS
16087 if test "x$ac_cv_lib_soname_png" = "x"; then :
16088 case "x$with_png" in
16089 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16090 xno) ;;
16091 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16092 This is an error since --with-png was requested." "$LINENO" 5 ;;
16093 esac
16097 if test "x$with_tiff" != "xno"
16098 then
16099 if ${TIFF_CFLAGS:+false} :; then :
16100 if ${PKG_CONFIG+:} false; then :
16101 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16105 if ${TIFF_LIBS:+false} :; then :
16106 if ${PKG_CONFIG+:} false; then :
16107 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16112 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16113 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16114 ac_save_CPPFLAGS=$CPPFLAGS
16115 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16116 for ac_header in tiffio.h
16117 do :
16118 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16119 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_TIFFIO_H 1
16122 _ACEOF
16126 done
16128 if test "$ac_cv_header_tiffio_h" = "yes"
16129 then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16131 $as_echo_n "checking for -ltiff... " >&6; }
16132 if ${ac_cv_lib_soname_tiff+:} false; then :
16133 $as_echo_n "(cached) " >&6
16134 else
16135 ac_check_soname_save_LIBS=$LIBS
16136 LIBS="-ltiff $TIFF_LIBS $LIBS"
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16140 /* Override any GCC internal prototype to avoid an error.
16141 Use char because int might match the return type of a GCC
16142 builtin and then its argument prototype would still apply. */
16143 #ifdef __cplusplus
16144 extern "C"
16145 #endif
16146 char TIFFClientOpen ();
16148 main ()
16150 return TIFFClientOpen ();
16152 return 0;
16154 _ACEOF
16155 if ac_fn_c_try_link "$LINENO"; then :
16156 case "$LIBEXT" in
16157 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16158 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'` ;;
16159 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16160 if ${ac_cv_lib_soname_tiff:+false} :; then :
16161 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16162 fi ;;
16163 esac
16164 else
16165 ac_cv_lib_soname_tiff=
16167 rm -f core conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16169 LIBS=$ac_check_soname_save_LIBS
16171 if ${ac_cv_lib_soname_tiff:+false} :; then :
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16173 $as_echo "not found" >&6; }
16175 else
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16177 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16179 cat >>confdefs.h <<_ACEOF
16180 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16181 _ACEOF
16186 CPPFLAGS=$ac_save_CPPFLAGS
16189 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16190 case "x$with_tiff" in
16191 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16192 xno) ;;
16193 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16194 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16195 esac
16199 if test "x$with_mpg123" != "xno"
16200 then
16201 if ${MPG123_CFLAGS:+false} :; then :
16202 if ${PKG_CONFIG+:} false; then :
16203 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16207 if ${MPG123_LIBS:+false} :; then :
16208 if ${PKG_CONFIG+:} false; then :
16209 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16213 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16214 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16215 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16216 ac_save_CPPFLAGS=$CPPFLAGS
16217 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16218 for ac_header in mpg123.h
16219 do :
16220 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16221 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_MPG123_H 1
16224 _ACEOF
16228 done
16230 if test "$ac_cv_header_mpg123_h" = "yes"
16231 then
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16233 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16234 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16235 $as_echo_n "(cached) " >&6
16236 else
16237 ac_check_lib_save_LIBS=$LIBS
16238 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16242 /* Override any GCC internal prototype to avoid an error.
16243 Use char because int might match the return type of a GCC
16244 builtin and then its argument prototype would still apply. */
16245 #ifdef __cplusplus
16246 extern "C"
16247 #endif
16248 char mpg123_feed ();
16250 main ()
16252 return mpg123_feed ();
16254 return 0;
16256 _ACEOF
16257 if ac_fn_c_try_link "$LINENO"; then :
16258 ac_cv_lib_mpg123_mpg123_feed=yes
16259 else
16260 ac_cv_lib_mpg123_mpg123_feed=no
16262 rm -f core conftest.err conftest.$ac_objext \
16263 conftest$ac_exeext conftest.$ac_ext
16264 LIBS=$ac_check_lib_save_LIBS
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16267 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16268 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16270 else
16271 MPG123_LIBS=""
16274 else
16275 MPG123_CFLAGS=""
16276 MPG123_LIBS=""
16278 CPPFLAGS=$ac_save_CPPFLAGS
16281 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16282 case "x$with_mpg123" in
16283 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16284 xno) ;;
16285 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16286 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16287 esac
16288 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16290 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16292 if test "$ac_cv_header_AL_al_h" = "yes"
16293 then
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16295 $as_echo_n "checking for -lopenal... " >&6; }
16296 if ${ac_cv_lib_soname_openal+:} false; then :
16297 $as_echo_n "(cached) " >&6
16298 else
16299 ac_check_soname_save_LIBS=$LIBS
16300 LIBS="-lopenal $LIBS"
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16304 /* Override any GCC internal prototype to avoid an error.
16305 Use char because int might match the return type of a GCC
16306 builtin and then its argument prototype would still apply. */
16307 #ifdef __cplusplus
16308 extern "C"
16309 #endif
16310 char alGetSource3i ();
16312 main ()
16314 return alGetSource3i ();
16316 return 0;
16318 _ACEOF
16319 if ac_fn_c_try_link "$LINENO"; then :
16320 case "$LIBEXT" in
16321 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16322 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'` ;;
16323 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16324 if ${ac_cv_lib_soname_openal:+false} :; then :
16325 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16326 fi ;;
16327 esac
16328 else
16329 ac_cv_lib_soname_openal=
16331 rm -f core conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16333 LIBS=$ac_check_soname_save_LIBS
16335 if ${ac_cv_lib_soname_openal:+false} :; then :
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16337 $as_echo "not found" >&6; }
16339 else
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16341 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16343 cat >>confdefs.h <<_ACEOF
16344 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16345 _ACEOF
16347 OPENAL_LIBS="-lopenal"
16349 ac_cv_lib_openal=yes
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_OPENAL 1
16353 _ACEOF
16357 if test "x$ac_cv_lib_openal" != xyes; then :
16358 case "x$with_openal" in
16359 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16360 xno) ;;
16361 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16362 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16363 esac
16364 enable_openal32=${enable_openal32:-no}
16367 if test "x$ac_cv_lib_soname_FAudio" = "x"
16368 then
16369 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16370 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16371 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16372 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16373 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16374 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16375 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16376 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16377 enable_xactengine2_0=${enable_xactengine2_0:-no}
16378 enable_xactengine2_4=${enable_xactengine2_4:-no}
16379 enable_xactengine2_7=${enable_xactengine2_7:-no}
16380 enable_xactengine2_9=${enable_xactengine2_9:-no}
16381 enable_xactengine3_0=${enable_xactengine3_0:-no}
16382 enable_xactengine3_1=${enable_xactengine3_1:-no}
16383 enable_xactengine3_2=${enable_xactengine3_2:-no}
16384 enable_xactengine3_3=${enable_xactengine3_3:-no}
16385 enable_xactengine3_4=${enable_xactengine3_4:-no}
16386 enable_xactengine3_5=${enable_xactengine3_5:-no}
16387 enable_xactengine3_6=${enable_xactengine3_6:-no}
16388 enable_xactengine3_7=${enable_xactengine3_7:-no}
16389 enable_xapofx1_1=${enable_xapofx1_1:-no}
16390 enable_xapofx1_2=${enable_xapofx1_2:-no}
16391 enable_xapofx1_3=${enable_xapofx1_3:-no}
16392 enable_xapofx1_4=${enable_xapofx1_4:-no}
16393 enable_xapofx1_5=${enable_xapofx1_5:-no}
16394 enable_xaudio2_0=${enable_xaudio2_0:-no}
16395 enable_xaudio2_1=${enable_xaudio2_1:-no}
16396 enable_xaudio2_2=${enable_xaudio2_2:-no}
16397 enable_xaudio2_3=${enable_xaudio2_3:-no}
16398 enable_xaudio2_4=${enable_xaudio2_4:-no}
16399 enable_xaudio2_5=${enable_xaudio2_5:-no}
16400 enable_xaudio2_6=${enable_xaudio2_6:-no}
16401 enable_xaudio2_7=${enable_xaudio2_7:-no}
16402 enable_xaudio2_8=${enable_xaudio2_8:-no}
16403 enable_xaudio2_9=${enable_xaudio2_9:-no}
16406 if test "$ac_cv_header_libprocstat_h" = "yes"
16407 then
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16409 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16410 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16411 $as_echo_n "(cached) " >&6
16412 else
16413 ac_check_lib_save_LIBS=$LIBS
16414 LIBS="-lprocstat $LIBS"
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 #ifdef __cplusplus
16422 extern "C"
16423 #endif
16424 char procstat_open_sysctl ();
16426 main ()
16428 return procstat_open_sysctl ();
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"; then :
16434 ac_cv_lib_procstat_procstat_open_sysctl=yes
16435 else
16436 ac_cv_lib_procstat_procstat_open_sysctl=no
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16440 LIBS=$ac_check_lib_save_LIBS
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16443 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16444 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16446 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16448 PROCSTAT_LIBS="-lprocstat"
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16455 $as_echo_n "checking for -lodbc... " >&6; }
16456 if ${ac_cv_lib_soname_odbc+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 ac_check_soname_save_LIBS=$LIBS
16460 LIBS="-lodbc $LIBS"
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16464 /* Override any GCC internal prototype to avoid an error.
16465 Use char because int might match the return type of a GCC
16466 builtin and then its argument prototype would still apply. */
16467 #ifdef __cplusplus
16468 extern "C"
16469 #endif
16470 char SQLConnect ();
16472 main ()
16474 return SQLConnect ();
16476 return 0;
16478 _ACEOF
16479 if ac_fn_c_try_link "$LINENO"; then :
16480 case "$LIBEXT" in
16481 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16482 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'` ;;
16483 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16484 if ${ac_cv_lib_soname_odbc:+false} :; then :
16485 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16486 fi ;;
16487 esac
16488 else
16489 ac_cv_lib_soname_odbc=
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16493 LIBS=$ac_check_soname_save_LIBS
16495 if ${ac_cv_lib_soname_odbc:+false} :; then :
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16497 $as_echo "not found" >&6; }
16498 cat >>confdefs.h <<_ACEOF
16499 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16500 _ACEOF
16502 else
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16504 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16506 cat >>confdefs.h <<_ACEOF
16507 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16508 _ACEOF
16513 if test "x$with_netapi" != "xno"
16514 then
16515 if ${NETAPI_CFLAGS:+false} :; then :
16516 if ${PKG_CONFIG+:} false; then :
16517 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16521 if ${NETAPI_LIBS:+false} :; then :
16522 if ${PKG_CONFIG+:} false; then :
16523 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16528 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16529 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16530 ac_save_CPPFLAGS=$CPPFLAGS
16531 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16533 $as_echo_n "checking for -lnetapi... " >&6; }
16534 if ${ac_cv_lib_soname_netapi+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 ac_check_soname_save_LIBS=$LIBS
16538 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 #ifdef __cplusplus
16546 extern "C"
16547 #endif
16548 char libnetapi_init ();
16550 main ()
16552 return libnetapi_init ();
16554 return 0;
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 case "$LIBEXT" in
16559 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16560 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'` ;;
16561 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16562 if ${ac_cv_lib_soname_netapi:+false} :; then :
16563 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16564 fi ;;
16565 esac
16566 else
16567 ac_cv_lib_soname_netapi=
16569 rm -f core conftest.err conftest.$ac_objext \
16570 conftest$ac_exeext conftest.$ac_ext
16571 LIBS=$ac_check_soname_save_LIBS
16573 if ${ac_cv_lib_soname_netapi:+false} :; then :
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16575 $as_echo "not found" >&6; }
16576 cat >>confdefs.h <<_ACEOF
16577 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16578 _ACEOF
16580 else
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16582 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16584 cat >>confdefs.h <<_ACEOF
16585 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16586 _ACEOF
16590 CPPFLAGS=$ac_save_CPPFLAGS
16594 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16595 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16596 then
16597 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16600 if test "x$with_vulkan" != "xno"
16601 then
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16603 $as_echo_n "checking for -lvulkan... " >&6; }
16604 if ${ac_cv_lib_soname_vulkan+:} false; then :
16605 $as_echo_n "(cached) " >&6
16606 else
16607 ac_check_soname_save_LIBS=$LIBS
16608 LIBS="-lvulkan $LIBS"
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16612 /* Override any GCC internal prototype to avoid an error.
16613 Use char because int might match the return type of a GCC
16614 builtin and then its argument prototype would still apply. */
16615 #ifdef __cplusplus
16616 extern "C"
16617 #endif
16618 char vkGetInstanceProcAddr ();
16620 main ()
16622 return vkGetInstanceProcAddr ();
16624 return 0;
16626 _ACEOF
16627 if ac_fn_c_try_link "$LINENO"; then :
16628 case "$LIBEXT" in
16629 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16630 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'` ;;
16631 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16632 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16633 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16634 fi ;;
16635 esac
16636 else
16637 ac_cv_lib_soname_vulkan=
16639 rm -f core conftest.err conftest.$ac_objext \
16640 conftest$ac_exeext conftest.$ac_ext
16641 LIBS=$ac_check_soname_save_LIBS
16643 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16645 $as_echo "not found" >&6; }
16647 else
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16649 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16651 cat >>confdefs.h <<_ACEOF
16652 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16653 _ACEOF
16657 if test "x$ac_cv_lib_soname_vulkan" = "x"
16658 then
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16660 $as_echo_n "checking for -lMoltenVK... " >&6; }
16661 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16664 ac_check_soname_save_LIBS=$LIBS
16665 LIBS="-lMoltenVK $LIBS"
16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h. */
16669 /* Override any GCC internal prototype to avoid an error.
16670 Use char because int might match the return type of a GCC
16671 builtin and then its argument prototype would still apply. */
16672 #ifdef __cplusplus
16673 extern "C"
16674 #endif
16675 char vkGetInstanceProcAddr ();
16677 main ()
16679 return vkGetInstanceProcAddr ();
16681 return 0;
16683 _ACEOF
16684 if ac_fn_c_try_link "$LINENO"; then :
16685 case "$LIBEXT" in
16686 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16687 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'` ;;
16688 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16689 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16690 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16691 fi ;;
16692 esac
16693 else
16694 ac_cv_lib_soname_MoltenVK=
16696 rm -f core conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16698 LIBS=$ac_check_soname_save_LIBS
16700 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16702 $as_echo "not found" >&6; }
16704 else
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16706 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16708 cat >>confdefs.h <<_ACEOF
16709 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16710 _ACEOF
16716 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16717 case "x$with_vulkan" in
16718 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16719 xno) ;;
16720 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16721 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16722 esac
16726 if test "x$with_vkd3d" != "xno"
16727 then
16728 if ${VKD3D_CFLAGS:+false} :; then :
16729 if ${PKG_CONFIG+:} false; then :
16730 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16734 if ${VKD3D_LIBS:+false} :; then :
16735 if ${PKG_CONFIG+:} false; then :
16736 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16741 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16742 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16743 ac_save_CPPFLAGS=$CPPFLAGS
16744 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16746 $as_echo_n "checking for -lvkd3d... " >&6; }
16747 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16748 $as_echo_n "(cached) " >&6
16749 else
16750 ac_check_soname_save_LIBS=$LIBS
16751 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16755 /* Override any GCC internal prototype to avoid an error.
16756 Use char because int might match the return type of a GCC
16757 builtin and then its argument prototype would still apply. */
16758 #ifdef __cplusplus
16759 extern "C"
16760 #endif
16761 char vkd3d_serialize_versioned_root_signature ();
16763 main ()
16765 return vkd3d_serialize_versioned_root_signature ();
16767 return 0;
16769 _ACEOF
16770 if ac_fn_c_try_link "$LINENO"; then :
16771 case "$LIBEXT" in
16772 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16773 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'` ;;
16774 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16775 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16776 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16777 fi ;;
16778 esac
16779 else
16780 ac_cv_lib_soname_vkd3d=
16782 rm -f core conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext conftest.$ac_ext
16784 LIBS=$ac_check_soname_save_LIBS
16786 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16788 $as_echo "not found" >&6; }
16790 else
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16792 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16794 cat >>confdefs.h <<_ACEOF
16795 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16796 _ACEOF
16800 CPPFLAGS=$ac_save_CPPFLAGS
16802 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16803 if ${PKG_CONFIG+:} false; then :
16804 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16808 if ${VKD3D_SHADER_LIBS:+false} :; then :
16809 if ${PKG_CONFIG+:} false; then :
16810 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16815 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16816 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16817 ac_save_CPPFLAGS=$CPPFLAGS
16818 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16820 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16821 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16822 $as_echo_n "(cached) " >&6
16823 else
16824 ac_check_soname_save_LIBS=$LIBS
16825 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16829 /* Override any GCC internal prototype to avoid an error.
16830 Use char because int might match the return type of a GCC
16831 builtin and then its argument prototype would still apply. */
16832 #ifdef __cplusplus
16833 extern "C"
16834 #endif
16835 char vkd3d_shader_compile ();
16837 main ()
16839 return vkd3d_shader_compile ();
16841 return 0;
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"; then :
16845 case "$LIBEXT" in
16846 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16847 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'` ;;
16848 *) 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'`
16849 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16850 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16851 fi ;;
16852 esac
16853 else
16854 ac_cv_lib_soname_vkd3d_shader=
16856 rm -f core conftest.err conftest.$ac_objext \
16857 conftest$ac_exeext conftest.$ac_ext
16858 LIBS=$ac_check_soname_save_LIBS
16860 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16862 $as_echo "not found" >&6; }
16864 else
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16866 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16868 cat >>confdefs.h <<_ACEOF
16869 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16870 _ACEOF
16874 CPPFLAGS=$ac_save_CPPFLAGS
16877 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16878 case "x$with_vkd3d" in
16879 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16880 xno) ;;
16881 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16882 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16883 esac
16886 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16889 EXTRACFLAGS=""
16891 if test "x${GCC}" = "xyes"
16892 then
16893 EXTRACFLAGS="-Wall -pipe"
16895 saved_CFLAGS=$CFLAGS
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16897 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16898 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 ac_wine_try_cflags_saved=$CFLAGS
16902 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16905 int main(int argc, char **argv) { return 0; }
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_cflags__Werror_unknown_warning_option=yes
16909 else
16910 ac_cv_cflags__Werror_unknown_warning_option=no
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 CFLAGS=$ac_wine_try_cflags_saved
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16917 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16918 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16919 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16922 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16923 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_wine_try_cflags_saved=$CFLAGS
16927 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 int main(int argc, char **argv) { return 0; }
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_cflags__Werror_unused_command_line_argument=yes
16934 else
16935 ac_cv_cflags__Werror_unused_command_line_argument=no
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 CFLAGS=$ac_wine_try_cflags_saved
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16942 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16943 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16944 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16947 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16948 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_wine_try_cflags_saved=$CFLAGS
16952 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 int main(int argc, char **argv) { return 0; }
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16959 else
16960 ac_cv_cflags__Werror_ignored_optimization_argument=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 CFLAGS=$ac_wine_try_cflags_saved
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16967 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16968 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16969 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16972 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16973 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 ac_wine_try_cflags_saved=$CFLAGS
16977 CFLAGS="$CFLAGS -fcf-protection=none"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 int main(int argc, char **argv) { return 0; }
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_cflags__fcf_protection_none=yes
16984 else
16985 ac_cv_cflags__fcf_protection_none=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 CFLAGS=$ac_wine_try_cflags_saved
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16992 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16993 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16994 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16997 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16998 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 ac_wine_try_cflags_saved=$CFLAGS
17002 CFLAGS="$CFLAGS -fno-stack-protector"
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 int main(int argc, char **argv) { return 0; }
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"; then :
17008 ac_cv_cflags__fno_stack_protector=yes
17009 else
17010 ac_cv_cflags__fno_stack_protector=no
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext conftest.$ac_ext
17014 CFLAGS=$ac_wine_try_cflags_saved
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17017 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17018 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17019 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17022 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17023 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_wine_try_cflags_saved=$CFLAGS
17027 CFLAGS="$CFLAGS -fno-strict-aliasing"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 int main(int argc, char **argv) { return 0; }
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_cflags__fno_strict_aliasing=yes
17034 else
17035 ac_cv_cflags__fno_strict_aliasing=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 CFLAGS=$ac_wine_try_cflags_saved
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17042 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17043 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17044 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17047 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17048 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 ac_wine_try_cflags_saved=$CFLAGS
17052 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 int main(int argc, char **argv) { return 0; }
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_cflags__Wdeclaration_after_statement=yes
17059 else
17060 ac_cv_cflags__Wdeclaration_after_statement=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 CFLAGS=$ac_wine_try_cflags_saved
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17067 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17068 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17069 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17072 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17073 if ${ac_cv_cflags__Wempty_body+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -Wempty-body"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__Wempty_body=yes
17084 else
17085 ac_cv_cflags__Wempty_body=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17092 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17093 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17097 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17098 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -Wignored-qualifiers"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__Wignored_qualifiers=yes
17109 else
17110 ac_cv_cflags__Wignored_qualifiers=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17117 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17118 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17122 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17123 if ${ac_cv_cflags__Winit_self+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 ac_wine_try_cflags_saved=$CFLAGS
17127 CFLAGS="$CFLAGS -Winit-self"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 int main(int argc, char **argv) { return 0; }
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_cflags__Winit_self=yes
17134 else
17135 ac_cv_cflags__Winit_self=no
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 CFLAGS=$ac_wine_try_cflags_saved
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17142 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17143 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17144 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17147 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17148 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 ac_wine_try_cflags_saved=$CFLAGS
17152 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 int main(int argc, char **argv) { return 0; }
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_cflags__Wpacked_not_aligned=yes
17159 else
17160 ac_cv_cflags__Wpacked_not_aligned=no
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 CFLAGS=$ac_wine_try_cflags_saved
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17167 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17168 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17169 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17172 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17173 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 ac_wine_try_cflags_saved=$CFLAGS
17177 CFLAGS="$CFLAGS -Wpragma-pack"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 int main(int argc, char **argv) { return 0; }
17181 _ACEOF
17182 if ac_fn_c_try_link "$LINENO"; then :
17183 ac_cv_cflags__Wpragma_pack=yes
17184 else
17185 ac_cv_cflags__Wpragma_pack=no
17187 rm -f core conftest.err conftest.$ac_objext \
17188 conftest$ac_exeext conftest.$ac_ext
17189 CFLAGS=$ac_wine_try_cflags_saved
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17192 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17193 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17194 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17197 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17198 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_wine_try_cflags_saved=$CFLAGS
17202 CFLAGS="$CFLAGS -Wshift-overflow=2"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 int main(int argc, char **argv) { return 0; }
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_cflags__Wshift_overflow_2=yes
17209 else
17210 ac_cv_cflags__Wshift_overflow_2=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 CFLAGS=$ac_wine_try_cflags_saved
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17217 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17218 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17219 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17222 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17223 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_wine_try_cflags_saved=$CFLAGS
17227 CFLAGS="$CFLAGS -Wstrict-prototypes"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 int main(int argc, char **argv) { return 0; }
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"; then :
17233 ac_cv_cflags__Wstrict_prototypes=yes
17234 else
17235 ac_cv_cflags__Wstrict_prototypes=no
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 CFLAGS=$ac_wine_try_cflags_saved
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17242 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17243 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17244 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17247 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17248 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 ac_wine_try_cflags_saved=$CFLAGS
17252 CFLAGS="$CFLAGS -Wtype-limits"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 int main(int argc, char **argv) { return 0; }
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_cflags__Wtype_limits=yes
17259 else
17260 ac_cv_cflags__Wtype_limits=no
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 CFLAGS=$ac_wine_try_cflags_saved
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17267 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17268 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17269 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17272 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17273 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 ac_wine_try_cflags_saved=$CFLAGS
17277 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 int main(int argc, char **argv) { return 0; }
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"; then :
17283 ac_cv_cflags__Wunused_but_set_parameter=yes
17284 else
17285 ac_cv_cflags__Wunused_but_set_parameter=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17289 CFLAGS=$ac_wine_try_cflags_saved
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17292 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17293 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17294 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17297 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17298 if ${ac_cv_cflags__Wvla+:} false; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 ac_wine_try_cflags_saved=$CFLAGS
17302 CFLAGS="$CFLAGS -Wvla"
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 int main(int argc, char **argv) { return 0; }
17306 _ACEOF
17307 if ac_fn_c_try_link "$LINENO"; then :
17308 ac_cv_cflags__Wvla=yes
17309 else
17310 ac_cv_cflags__Wvla=no
17312 rm -f core conftest.err conftest.$ac_objext \
17313 conftest$ac_exeext conftest.$ac_ext
17314 CFLAGS=$ac_wine_try_cflags_saved
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17317 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17318 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17319 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17322 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17323 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 ac_wine_try_cflags_saved=$CFLAGS
17327 CFLAGS="$CFLAGS -Wwrite-strings"
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 int main(int argc, char **argv) { return 0; }
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 ac_cv_cflags__Wwrite_strings=yes
17334 else
17335 ac_cv_cflags__Wwrite_strings=no
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17339 CFLAGS=$ac_wine_try_cflags_saved
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17342 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17343 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17344 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17347 if test -z "$CROSSTARGET"
17348 then
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17350 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17351 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 ac_wine_try_cflags_saved=$CFLAGS
17355 CFLAGS="$CFLAGS -fexcess-precision=standard"
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 int main(int argc, char **argv) { return 0; }
17359 _ACEOF
17360 if ac_fn_c_try_link "$LINENO"; then :
17361 ac_cv_cflags__fexcess_precision_standard=yes
17362 else
17363 ac_cv_cflags__fexcess_precision_standard=no
17365 rm -f core conftest.err conftest.$ac_objext \
17366 conftest$ac_exeext conftest.$ac_ext
17367 CFLAGS=$ac_wine_try_cflags_saved
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17370 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17371 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17372 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17378 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17379 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17382 ac_wine_try_cflags_saved=$CFLAGS
17383 CFLAGS="$CFLAGS -Wpointer-arith"
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 int main(int argc, char **argv) { return 0; }
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"; then :
17389 ac_cv_cflags__Wpointer_arith=yes
17390 else
17391 ac_cv_cflags__Wpointer_arith=no
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17395 CFLAGS=$ac_wine_try_cflags_saved
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17398 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17399 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17400 saved_string_h_CFLAGS=$CFLAGS
17401 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17403 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17404 if ${ac_cv_c_string_h_warnings+:} false; then :
17405 $as_echo_n "(cached) " >&6
17406 else
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <string.h>
17411 main ()
17415 return 0;
17417 _ACEOF
17418 if ac_fn_c_try_compile "$LINENO"; then :
17419 ac_cv_c_string_h_warnings=no
17420 else
17421 ac_cv_c_string_h_warnings=yes
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17426 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17427 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17428 CFLAGS=$saved_string_h_CFLAGS
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17432 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17433 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17436 ac_wine_try_cflags_saved=$CFLAGS
17437 CFLAGS="$CFLAGS -Wlogical-op"
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 int main(int argc, char **argv) { return 0; }
17441 _ACEOF
17442 if ac_fn_c_try_link "$LINENO"; then :
17443 ac_cv_cflags__Wlogical_op=yes
17444 else
17445 ac_cv_cflags__Wlogical_op=no
17447 rm -f core conftest.err conftest.$ac_objext \
17448 conftest$ac_exeext conftest.$ac_ext
17449 CFLAGS=$ac_wine_try_cflags_saved
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17452 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17453 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17454 saved_string_h_CFLAGS=$CFLAGS
17455 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17457 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17458 if ${ac_cv_c_logicalop_noisy+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 #include <string.h>
17464 char*f(const char *h,char n) {return strchr(h,n);}
17466 main ()
17470 return 0;
17472 _ACEOF
17473 if ac_fn_c_try_compile "$LINENO"; then :
17474 ac_cv_c_logicalop_noisy=no
17475 else
17476 ac_cv_c_logicalop_noisy=yes
17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17481 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17482 CFLAGS=$saved_string_h_CFLAGS
17483 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17487 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17488 if ${wine_cv_64bit_compare_swap+:} false; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17494 #error no
17495 #endif
17497 main ()
17501 return 0;
17503 _ACEOF
17504 if ac_fn_c_try_compile "$LINENO"; then :
17505 wine_cv_64bit_compare_swap="none needed"
17506 else
17507 case $host_cpu in
17508 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17509 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17510 *) wine_cv_64bit_compare_swap="unknown" ;;
17511 esac
17512 if test "x$wine_cv_64bit_compare_swap" != xunknown
17513 then
17514 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17518 #error no
17519 #endif
17521 main ()
17525 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_compile "$LINENO"; then :
17530 else
17531 wine_cv_64bit_compare_swap="unknown"
17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17534 CFLAGS=$saved_CFLAGS
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17540 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17541 case "$wine_cv_64bit_compare_swap" in
17542 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17543 "none needed") ;;
17544 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17545 esac
17547 for ac_flag in $CFLAGS; do
17548 case $ac_flag in
17549 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17550 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17551 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 ac_wine_try_cflags_saved=$CFLAGS
17555 CFLAGS="$CFLAGS -gdwarf-2"
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 int main(int argc, char **argv) { return 0; }
17559 _ACEOF
17560 if ac_fn_c_try_link "$LINENO"; then :
17561 ac_cv_cflags__gdwarf_2=yes
17562 else
17563 ac_cv_cflags__gdwarf_2=no
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17567 CFLAGS=$ac_wine_try_cflags_saved
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17570 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17571 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17572 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17575 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17576 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 ac_wine_try_cflags_saved=$CFLAGS
17580 CFLAGS="$CFLAGS -gstrict-dwarf"
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 int main(int argc, char **argv) { return 0; }
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_cflags__gstrict_dwarf=yes
17587 else
17588 ac_cv_cflags__gstrict_dwarf=no
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17592 CFLAGS=$ac_wine_try_cflags_saved
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17595 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17596 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17597 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17598 fi ;;
17599 esac
17600 done
17602 MSVCRTFLAGS=""
17604 case $host_os in
17605 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17606 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17607 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 ac_wine_try_cflags_saved=$CFLAGS
17611 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 int main(int argc, char **argv) { return 0; }
17615 _ACEOF
17616 if ac_fn_c_try_link "$LINENO"; then :
17617 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17618 else
17619 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17621 rm -f core conftest.err conftest.$ac_objext \
17622 conftest$ac_exeext conftest.$ac_ext
17623 CFLAGS=$ac_wine_try_cflags_saved
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17626 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17627 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17628 DELAYLOADFLAG="-Wl,-delayload,"
17630 fi ;;
17631 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17632 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17633 if ${ac_cv_cflags__fno_builtin+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 ac_wine_try_cflags_saved=$CFLAGS
17637 CFLAGS="$CFLAGS -fno-builtin"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 int main(int argc, char **argv) { return 0; }
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"; then :
17643 ac_cv_cflags__fno_builtin=yes
17644 else
17645 ac_cv_cflags__fno_builtin=no
17647 rm -f core conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17649 CFLAGS=$ac_wine_try_cflags_saved
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17652 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17653 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17654 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17657 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17658 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_wine_try_cflags_saved=$CFLAGS
17662 CFLAGS="$CFLAGS -fshort-wchar"
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 int main(int argc, char **argv) { return 0; }
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_cflags__fshort_wchar=yes
17669 else
17670 ac_cv_cflags__fshort_wchar=no
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17674 CFLAGS=$ac_wine_try_cflags_saved
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17677 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17678 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17679 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17680 fi ;;
17681 esac
17683 case $host_cpu in
17684 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17685 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17686 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17687 $as_echo_n "(cached) " >&6
17688 else
17689 ac_wine_try_cflags_saved=$CFLAGS
17690 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 int main(int argc, char **argv) { return 0; }
17694 _ACEOF
17695 if ac_fn_c_try_link "$LINENO"; then :
17696 ac_cv_cflags__fno_omit_frame_pointer=yes
17697 else
17698 ac_cv_cflags__fno_omit_frame_pointer=no
17700 rm -f core conftest.err conftest.$ac_objext \
17701 conftest$ac_exeext conftest.$ac_ext
17702 CFLAGS=$ac_wine_try_cflags_saved
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17705 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17706 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17707 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17708 fi ;;
17709 *x86_64*)
17710 case $host_os in
17711 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17712 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17713 if ${ac_cv_cflags__Wno_format+:} false; then :
17714 $as_echo_n "(cached) " >&6
17715 else
17716 ac_wine_try_cflags_saved=$CFLAGS
17717 CFLAGS="$CFLAGS -Wno-format"
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 int main(int argc, char **argv) { return 0; }
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"; then :
17723 ac_cv_cflags__Wno_format=yes
17724 else
17725 ac_cv_cflags__Wno_format=no
17727 rm -f core conftest.err conftest.$ac_objext \
17728 conftest$ac_exeext conftest.$ac_ext
17729 CFLAGS=$ac_wine_try_cflags_saved
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17732 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17733 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17734 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17735 fi ;;
17736 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17737 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17738 if ${ac_cv_cflags__mabi_ms+:} false; then :
17739 $as_echo_n "(cached) " >&6
17740 else
17741 ac_wine_try_cflags_saved=$CFLAGS
17742 CFLAGS="$CFLAGS -mabi=ms"
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 int main(int argc, char **argv) { return 0; }
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"; then :
17748 ac_cv_cflags__mabi_ms=yes
17749 else
17750 ac_cv_cflags__mabi_ms=no
17752 rm -f core conftest.err conftest.$ac_objext \
17753 conftest$ac_exeext conftest.$ac_ext
17754 CFLAGS=$ac_wine_try_cflags_saved
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17757 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17758 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17759 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17760 fi ;;
17761 esac ;;
17762 esac
17764 CFLAGS=$saved_CFLAGS
17766 if test "x$enable_werror" = "xyes"
17767 then
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17769 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17770 if ${ac_cv_cflags__Werror+:} false; then :
17771 $as_echo_n "(cached) " >&6
17772 else
17773 ac_wine_try_cflags_saved=$CFLAGS
17774 CFLAGS="$CFLAGS -Werror"
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 int main(int argc, char **argv) { return 0; }
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_cflags__Werror=yes
17781 else
17782 ac_cv_cflags__Werror=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 CFLAGS=$ac_wine_try_cflags_saved
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17789 $as_echo "$ac_cv_cflags__Werror" >&6; }
17790 if test "x$ac_cv_cflags__Werror" = xyes; then :
17791 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17794 if test "x$enable_build_id" = "xyes"
17795 then
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17797 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17798 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 ac_wine_try_cflags_saved=$CFLAGS
17802 CFLAGS="$CFLAGS -Wl,--build-id"
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 int main(int argc, char **argv) { return 0; }
17806 _ACEOF
17807 if ac_fn_c_try_link "$LINENO"; then :
17808 ac_cv_cflags__Wl___build_id=yes
17809 else
17810 ac_cv_cflags__Wl___build_id=no
17812 rm -f core conftest.err conftest.$ac_objext \
17813 conftest$ac_exeext conftest.$ac_ext
17814 CFLAGS=$ac_wine_try_cflags_saved
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17817 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17818 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17819 CFLAGS="$CFLAGS -Wl,--build-id"
17820 LDFLAGS="$LDFLAGS -Wl,--build-id"
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17827 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17828 if ${ac_cv_c_fortify_enabled+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 #include <string.h>
17835 main ()
17837 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17838 #error Fortify enabled
17839 #endif
17841 return 0;
17843 _ACEOF
17844 if ac_fn_c_try_compile "$LINENO"; then :
17845 ac_cv_c_fortify_enabled=no
17846 else
17847 ac_cv_c_fortify_enabled=yes
17849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17852 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17853 if test "$ac_cv_c_fortify_enabled" = yes
17854 then
17855 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17860 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17861 if ${ac_cv_c_cfi_support+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17866 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17868 main ()
17872 return 0;
17874 _ACEOF
17875 if ac_fn_c_try_compile "$LINENO"; then :
17876 ac_cv_c_cfi_support="yes"
17877 else
17878 ac_cv_c_cfi_support="no"
17880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17883 $as_echo "$ac_cv_c_cfi_support" >&6; }
17884 if test "$ac_cv_c_cfi_support" = "yes"
17885 then
17886 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17887 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17888 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
17889 else
17890 if test "x$enable_win64" = "xyes"
17891 then
17892 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17897 case $build_os in
17898 cygwin*|mingw32*) TOOLSEXT=".exe"
17900 esac
17902 case $host_os in
17903 linux*)
17904 case $host_cpu in
17905 *i[3456789]86*|x86_64*|*aarch64*|arm*)
17906 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17907 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17909 esac
17911 esac
17914 ac_save_CFLAGS="$CFLAGS"
17915 CFLAGS="$CFLAGS $BUILTINFLAG"
17916 for ac_func in \
17917 __res_get_state \
17918 __res_getservers \
17919 _spawnvp \
17920 epoll_create \
17921 fnmatch \
17922 fork \
17923 fstatfs \
17924 futimens \
17925 futimes \
17926 futimesat \
17927 getattrlist \
17928 getauxval \
17929 getifaddrs \
17930 getopt_long_only \
17931 getrandom \
17932 kqueue \
17933 lstat \
17934 mach_continuous_time \
17935 pipe2 \
17936 poll \
17937 port_create \
17938 posix_fadvise \
17939 posix_fallocate \
17940 prctl \
17941 proc_pidinfo \
17942 readlink \
17943 sched_yield \
17944 setproctitle \
17945 setprogname \
17946 sigprocmask \
17947 symlink \
17948 sysinfo \
17949 tcdrain \
17950 thr_kill2
17952 do :
17953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17955 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17956 cat >>confdefs.h <<_ACEOF
17957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17958 _ACEOF
17961 done
17963 CFLAGS="$ac_save_CFLAGS"
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17966 $as_echo_n "checking for library containing dlopen... " >&6; }
17967 if ${ac_cv_search_dlopen+:} false; then :
17968 $as_echo_n "(cached) " >&6
17969 else
17970 ac_func_search_save_LIBS=$LIBS
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17974 /* Override any GCC internal prototype to avoid an error.
17975 Use char because int might match the return type of a GCC
17976 builtin and then its argument prototype would still apply. */
17977 #ifdef __cplusplus
17978 extern "C"
17979 #endif
17980 char dlopen ();
17982 main ()
17984 return dlopen ();
17986 return 0;
17988 _ACEOF
17989 for ac_lib in '' dl; do
17990 if test -z "$ac_lib"; then
17991 ac_res="none required"
17992 else
17993 ac_res=-l$ac_lib
17994 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17996 if ac_fn_c_try_link "$LINENO"; then :
17997 ac_cv_search_dlopen=$ac_res
17999 rm -f core conftest.err conftest.$ac_objext \
18000 conftest$ac_exeext
18001 if ${ac_cv_search_dlopen+:} false; then :
18002 break
18004 done
18005 if ${ac_cv_search_dlopen+:} false; then :
18007 else
18008 ac_cv_search_dlopen=no
18010 rm conftest.$ac_ext
18011 LIBS=$ac_func_search_save_LIBS
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18014 $as_echo "$ac_cv_search_dlopen" >&6; }
18015 ac_res=$ac_cv_search_dlopen
18016 if test "$ac_res" != no; then :
18017 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18021 ac_wine_check_funcs_save_LIBS="$LIBS"
18022 LIBS="$LIBS $DL_LIBS"
18023 for ac_func in dladdr dlinfo
18024 do :
18025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18028 cat >>confdefs.h <<_ACEOF
18029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18030 _ACEOF
18033 done
18035 LIBS="$ac_wine_check_funcs_save_LIBS"
18037 if test "$ac_cv_func_poll" = no
18038 then
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18040 $as_echo_n "checking for poll in -lpoll... " >&6; }
18041 if ${ac_cv_lib_poll_poll+:} false; then :
18042 $as_echo_n "(cached) " >&6
18043 else
18044 ac_check_lib_save_LIBS=$LIBS
18045 LIBS="-lpoll $LIBS"
18046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18047 /* end confdefs.h. */
18049 /* Override any GCC internal prototype to avoid an error.
18050 Use char because int might match the return type of a GCC
18051 builtin and then its argument prototype would still apply. */
18052 #ifdef __cplusplus
18053 extern "C"
18054 #endif
18055 char poll ();
18057 main ()
18059 return poll ();
18061 return 0;
18063 _ACEOF
18064 if ac_fn_c_try_link "$LINENO"; then :
18065 ac_cv_lib_poll_poll=yes
18066 else
18067 ac_cv_lib_poll_poll=no
18069 rm -f core conftest.err conftest.$ac_objext \
18070 conftest$ac_exeext conftest.$ac_ext
18071 LIBS=$ac_check_lib_save_LIBS
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18074 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18075 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18076 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18077 POLL_LIBS="-lpoll"
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18084 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18085 if ${ac_cv_search_gethostbyname+:} false; then :
18086 $as_echo_n "(cached) " >&6
18087 else
18088 ac_func_search_save_LIBS=$LIBS
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18092 /* Override any GCC internal prototype to avoid an error.
18093 Use char because int might match the return type of a GCC
18094 builtin and then its argument prototype would still apply. */
18095 #ifdef __cplusplus
18096 extern "C"
18097 #endif
18098 char gethostbyname ();
18100 main ()
18102 return gethostbyname ();
18104 return 0;
18106 _ACEOF
18107 for ac_lib in '' nsl; do
18108 if test -z "$ac_lib"; then
18109 ac_res="none required"
18110 else
18111 ac_res=-l$ac_lib
18112 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18114 if ac_fn_c_try_link "$LINENO"; then :
18115 ac_cv_search_gethostbyname=$ac_res
18117 rm -f core conftest.err conftest.$ac_objext \
18118 conftest$ac_exeext
18119 if ${ac_cv_search_gethostbyname+:} false; then :
18120 break
18122 done
18123 if ${ac_cv_search_gethostbyname+:} false; then :
18125 else
18126 ac_cv_search_gethostbyname=no
18128 rm conftest.$ac_ext
18129 LIBS=$ac_func_search_save_LIBS
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18132 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18133 ac_res=$ac_cv_search_gethostbyname
18134 if test "$ac_res" != no; then :
18135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18141 $as_echo_n "checking for library containing connect... " >&6; }
18142 if ${ac_cv_search_connect+:} false; then :
18143 $as_echo_n "(cached) " >&6
18144 else
18145 ac_func_search_save_LIBS=$LIBS
18146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18149 /* Override any GCC internal prototype to avoid an error.
18150 Use char because int might match the return type of a GCC
18151 builtin and then its argument prototype would still apply. */
18152 #ifdef __cplusplus
18153 extern "C"
18154 #endif
18155 char connect ();
18157 main ()
18159 return connect ();
18161 return 0;
18163 _ACEOF
18164 for ac_lib in '' socket; do
18165 if test -z "$ac_lib"; then
18166 ac_res="none required"
18167 else
18168 ac_res=-l$ac_lib
18169 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18171 if ac_fn_c_try_link "$LINENO"; then :
18172 ac_cv_search_connect=$ac_res
18174 rm -f core conftest.err conftest.$ac_objext \
18175 conftest$ac_exeext
18176 if ${ac_cv_search_connect+:} false; then :
18177 break
18179 done
18180 if ${ac_cv_search_connect+:} false; then :
18182 else
18183 ac_cv_search_connect=no
18185 rm conftest.$ac_ext
18186 LIBS=$ac_func_search_save_LIBS
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18189 $as_echo "$ac_cv_search_connect" >&6; }
18190 ac_res=$ac_cv_search_connect
18191 if test "$ac_res" != no; then :
18192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18198 $as_echo_n "checking for library containing inet_aton... " >&6; }
18199 if ${ac_cv_search_inet_aton+:} false; then :
18200 $as_echo_n "(cached) " >&6
18201 else
18202 ac_func_search_save_LIBS=$LIBS
18203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18206 /* Override any GCC internal prototype to avoid an error.
18207 Use char because int might match the return type of a GCC
18208 builtin and then its argument prototype would still apply. */
18209 #ifdef __cplusplus
18210 extern "C"
18211 #endif
18212 char inet_aton ();
18214 main ()
18216 return inet_aton ();
18218 return 0;
18220 _ACEOF
18221 for ac_lib in '' resolv; do
18222 if test -z "$ac_lib"; then
18223 ac_res="none required"
18224 else
18225 ac_res=-l$ac_lib
18226 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18228 if ac_fn_c_try_link "$LINENO"; then :
18229 ac_cv_search_inet_aton=$ac_res
18231 rm -f core conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext
18233 if ${ac_cv_search_inet_aton+:} false; then :
18234 break
18236 done
18237 if ${ac_cv_search_inet_aton+:} false; then :
18239 else
18240 ac_cv_search_inet_aton=no
18242 rm conftest.$ac_ext
18243 LIBS=$ac_func_search_save_LIBS
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18246 $as_echo "$ac_cv_search_inet_aton" >&6; }
18247 ac_res=$ac_cv_search_inet_aton
18248 if test "$ac_res" != no; then :
18249 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18254 for ac_func in getaddrinfo
18255 do :
18256 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18257 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18258 cat >>confdefs.h <<_ACEOF
18259 #define HAVE_GETADDRINFO 1
18260 _ACEOF
18263 done
18266 case $host_os in
18267 darwin*|macosx*) ;;
18268 *) ac_save_LIBS=$LIBS
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18270 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18271 if ${ac_cv_search_clock_gettime+:} false; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274 ac_func_search_save_LIBS=$LIBS
18275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18278 /* Override any GCC internal prototype to avoid an error.
18279 Use char because int might match the return type of a GCC
18280 builtin and then its argument prototype would still apply. */
18281 #ifdef __cplusplus
18282 extern "C"
18283 #endif
18284 char clock_gettime ();
18286 main ()
18288 return clock_gettime ();
18290 return 0;
18292 _ACEOF
18293 for ac_lib in '' rt; do
18294 if test -z "$ac_lib"; then
18295 ac_res="none required"
18296 else
18297 ac_res=-l$ac_lib
18298 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18300 if ac_fn_c_try_link "$LINENO"; then :
18301 ac_cv_search_clock_gettime=$ac_res
18303 rm -f core conftest.err conftest.$ac_objext \
18304 conftest$ac_exeext
18305 if ${ac_cv_search_clock_gettime+:} false; then :
18306 break
18308 done
18309 if ${ac_cv_search_clock_gettime+:} false; then :
18311 else
18312 ac_cv_search_clock_gettime=no
18314 rm conftest.$ac_ext
18315 LIBS=$ac_func_search_save_LIBS
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18318 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18319 ac_res=$ac_cv_search_clock_gettime
18320 if test "$ac_res" != no; then :
18321 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18323 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18325 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18329 LIBS=$ac_save_LIBS
18331 esac
18333 if test "x$with_ldap" != "xno"
18334 then
18335 if ${LDAP_CFLAGS:+false} :; then :
18336 if ${PKG_CONFIG+:} false; then :
18337 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18341 if ${LDAP_LIBS:+false} :; then :
18342 if ${PKG_CONFIG+:} false; then :
18343 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18347 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18348 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18349 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18350 ac_save_CPPFLAGS=$CPPFLAGS
18351 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18352 for ac_header in ldap.h lber.h
18353 do :
18354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18355 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18356 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18357 cat >>confdefs.h <<_ACEOF
18358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18359 _ACEOF
18363 done
18365 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18366 then
18367 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18369 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18371 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18372 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18373 $as_echo_n "(cached) " >&6
18374 else
18375 ac_check_lib_save_LIBS=$LIBS
18376 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 #ifdef __cplusplus
18384 extern "C"
18385 #endif
18386 char ldap_initialize ();
18388 main ()
18390 return ldap_initialize ();
18392 return 0;
18394 _ACEOF
18395 if ac_fn_c_try_link "$LINENO"; then :
18396 ac_cv_lib_ldap_r_ldap_initialize=yes
18397 else
18398 ac_cv_lib_ldap_r_ldap_initialize=no
18400 rm -f core conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18405 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18406 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18408 $as_echo_n "checking for ber_init in -llber... " >&6; }
18409 if ${ac_cv_lib_lber_ber_init+:} false; then :
18410 $as_echo_n "(cached) " >&6
18411 else
18412 ac_check_lib_save_LIBS=$LIBS
18413 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18417 /* Override any GCC internal prototype to avoid an error.
18418 Use char because int might match the return type of a GCC
18419 builtin and then its argument prototype would still apply. */
18420 #ifdef __cplusplus
18421 extern "C"
18422 #endif
18423 char ber_init ();
18425 main ()
18427 return ber_init ();
18429 return 0;
18431 _ACEOF
18432 if ac_fn_c_try_link "$LINENO"; then :
18433 ac_cv_lib_lber_ber_init=yes
18434 else
18435 ac_cv_lib_lber_ber_init=no
18437 rm -f core conftest.err conftest.$ac_objext \
18438 conftest$ac_exeext conftest.$ac_ext
18439 LIBS=$ac_check_lib_save_LIBS
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18442 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18443 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18445 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18447 else
18448 LDAP_LIBS=""
18451 else
18452 LDAP_LIBS=""
18455 else
18456 LDAP_LIBS=""
18459 ac_wine_check_funcs_save_LIBS="$LIBS"
18460 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18461 for ac_func in \
18462 ldap_count_references \
18463 ldap_first_reference \
18464 ldap_next_reference \
18465 ldap_parse_reference \
18466 ldap_parse_sort_control \
18467 ldap_parse_sortresponse_control \
18468 ldap_parse_vlv_control \
18469 ldap_parse_vlvresponse_control
18470 do :
18471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18474 cat >>confdefs.h <<_ACEOF
18475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18476 _ACEOF
18479 done
18481 LIBS="$ac_wine_check_funcs_save_LIBS"
18482 else
18483 LDAP_LIBS=""
18485 CPPFLAGS=$ac_save_CPPFLAGS
18488 if test "x$LDAP_LIBS" = "x"; then :
18489 case "x$with_ldap" in
18490 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18491 xno) ;;
18492 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18493 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18494 esac
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18499 $as_echo_n "checking for sched_setaffinity... " >&6; }
18500 if ${wine_cv_have_sched_setaffinity+:} false; then :
18501 $as_echo_n "(cached) " >&6
18502 else
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 #define _GNU_SOURCE
18506 #include <sched.h>
18508 main ()
18510 sched_setaffinity(0, 0, 0);
18512 return 0;
18514 _ACEOF
18515 if ac_fn_c_try_link "$LINENO"; then :
18516 wine_cv_have_sched_setaffinity=yes
18517 else
18518 wine_cv_have_sched_setaffinity=no
18520 rm -f core conftest.err conftest.$ac_objext \
18521 conftest$ac_exeext conftest.$ac_ext
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18524 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18525 if test "$wine_cv_have_sched_setaffinity" = "yes"
18526 then
18528 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18534 $as_echo_n "checking for inline... " >&6; }
18535 if ${ac_cv_c_inline+:} false; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18538 ac_cv_c_inline=no
18539 for ac_kw in inline __inline__ __inline; do
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #ifndef __cplusplus
18543 typedef int foo_t;
18544 static $ac_kw foo_t static_foo () {return 0; }
18545 $ac_kw foo_t foo () {return 0; }
18546 #endif
18548 _ACEOF
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 ac_cv_c_inline=$ac_kw
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 test "$ac_cv_c_inline" != no && break
18554 done
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18558 $as_echo "$ac_cv_c_inline" >&6; }
18560 case $ac_cv_c_inline in
18561 inline | yes) ;;
18563 case $ac_cv_c_inline in
18564 no) ac_val=;;
18565 *) ac_val=$ac_cv_c_inline;;
18566 esac
18567 cat >>confdefs.h <<_ACEOF
18568 #ifndef __cplusplus
18569 #define inline $ac_val
18570 #endif
18571 _ACEOF
18573 esac
18575 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18576 #include <signal.h>
18578 if test "x$ac_cv_type_sigset_t" = xyes; then :
18580 cat >>confdefs.h <<_ACEOF
18581 #define HAVE_SIGSET_T 1
18582 _ACEOF
18587 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18589 if test "x$ac_cv_type_request_sense" = xyes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_REQUEST_SENSE 1
18593 _ACEOF
18599 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18600 #ifdef HAVE_SYS_SOCKET_H
18601 #include <sys/socket.h>
18602 #endif
18603 #ifdef HAVE_SYS_SOCKETVAR_H
18604 #include <sys/socketvar.h>
18605 #endif
18606 #ifdef HAVE_NET_ROUTE_H
18607 #include <net/route.h>
18608 #endif
18609 #ifdef HAVE_NETINET_IN_H
18610 #include <netinet/in.h>
18611 #endif
18612 #ifdef HAVE_NETINET_IN_SYSTM_H
18613 #include <netinet/in_systm.h>
18614 #endif
18615 #ifdef HAVE_NETINET_IP_H
18616 #include <netinet/ip.h>
18617 #endif
18618 #ifdef HAVE_NETINET_IN_PCB_H
18619 #include <netinet/in_pcb.h>
18620 #endif
18622 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18624 cat >>confdefs.h <<_ACEOF
18625 #define HAVE_STRUCT_XINPGEN 1
18626 _ACEOF
18632 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18633 #include <linux/input.h>
18634 #endif
18636 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18638 cat >>confdefs.h <<_ACEOF
18639 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18640 _ACEOF
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18647 $as_echo_n "checking for if_nameindex... " >&6; }
18648 if ${wine_cv_have_if_nameindex+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 #ifdef HAVE_SYS_TYPES_H
18654 #include <sys/types.h>
18655 #endif
18656 #ifdef HAVE_SYS_SOCKET_H
18657 #include <sys/socket.h>
18658 #endif
18659 #ifdef HAVE_NET_IF_H
18660 # include <net/if.h>
18661 #endif
18663 main ()
18665 struct if_nameindex *p = if_nameindex(); return p->if_index;
18667 return 0;
18669 _ACEOF
18670 if ac_fn_c_try_link "$LINENO"; then :
18671 wine_cv_have_if_nameindex=yes
18672 else
18673 wine_cv_have_if_nameindex=no
18675 rm -f core conftest.err conftest.$ac_objext \
18676 conftest$ac_exeext conftest.$ac_ext
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18679 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18680 if test "$wine_cv_have_if_nameindex" = "yes"
18681 then
18683 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18688 $as_echo_n "checking for sigaddset... " >&6; }
18689 if ${wine_cv_have_sigaddset+:} false; then :
18690 $as_echo_n "(cached) " >&6
18691 else
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694 #include <signal.h>
18696 main ()
18698 sigset_t set; sigaddset(&set,SIGTERM);
18700 return 0;
18702 _ACEOF
18703 if ac_fn_c_try_link "$LINENO"; then :
18704 wine_cv_have_sigaddset=yes
18705 else
18706 wine_cv_have_sigaddset=no
18708 rm -f core conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18712 $as_echo "$wine_cv_have_sigaddset" >&6; }
18713 if test "$wine_cv_have_sigaddset" = "yes"
18714 then
18716 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18722 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18723 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728 #include <netdb.h>
18730 main ()
18733 char *name=0;
18734 struct hostent he;
18735 struct hostent *result;
18736 char *buf=0;
18737 int bufsize=0;
18738 int errnr;
18739 char *addr=0;
18740 int addrlen=0;
18741 int addrtype=0;
18742 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18743 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18746 return 0;
18748 _ACEOF
18749 if ac_fn_c_try_link "$LINENO"; then :
18750 wine_cv_linux_gethostbyname_r_6=yes
18751 else
18752 wine_cv_linux_gethostbyname_r_6=no
18755 rm -f core conftest.err conftest.$ac_objext \
18756 conftest$ac_exeext conftest.$ac_ext
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18760 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18761 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18762 then
18764 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18768 if test "$ac_cv_header_linux_joystick_h" = "yes"
18769 then
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18771 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18772 if ${wine_cv_linux_joystick_22_api+:} false; then :
18773 $as_echo_n "(cached) " >&6
18774 else
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18778 #include <sys/ioctl.h>
18779 #include <sys/types.h>
18780 #include <linux/joystick.h>
18782 struct js_event blub;
18783 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18784 #error "no 2.2 header"
18785 #endif
18788 main ()
18790 /*empty*/
18792 return 0;
18794 _ACEOF
18795 if ac_fn_c_try_compile "$LINENO"; then :
18796 wine_cv_linux_joystick_22_api=yes
18797 else
18798 wine_cv_linux_joystick_22_api=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18804 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18805 if test "$wine_cv_linux_joystick_22_api" = "yes"
18806 then
18808 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18813 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18814 #ifdef HAVE_SYS_SOCKET_H
18815 # include <sys/socket.h>
18816 #endif
18817 #ifdef HAVE_SYS_UN_H
18818 # include <sys/un.h>
18819 #endif
18821 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18825 _ACEOF
18829 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18830 #ifdef HAVE_SYS_SOCKET_H
18831 # include <sys/socket.h>
18832 #endif
18833 #ifdef HAVE_SYS_UN_H
18834 # include <sys/un.h>
18835 #endif
18837 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18841 _ACEOF
18845 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18846 #ifdef HAVE_SYS_SOCKET_H
18847 # include <sys/socket.h>
18848 #endif
18849 #ifdef HAVE_SYS_UN_H
18850 # include <sys/un.h>
18851 #endif
18853 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18857 _ACEOF
18863 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18864 #ifdef HAVE_SCSI_SG_H
18865 #include <scsi/sg.h>
18866 #endif
18868 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_SCSIREQ_T_CMD 1
18872 _ACEOF
18876 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>
18877 #ifdef HAVE_SCSI_SG_H
18878 #include <scsi/sg.h>
18879 #endif
18881 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18883 cat >>confdefs.h <<_ACEOF
18884 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18885 _ACEOF
18891 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18893 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_SIGINFO_T_SI_FD 1
18897 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18904 #ifdef HAVE_SYS_MTIO_H
18905 #include <sys/mtio.h>
18906 #endif
18908 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18910 cat >>confdefs.h <<_ACEOF
18911 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18912 _ACEOF
18916 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18917 #ifdef HAVE_SYS_MTIO_H
18918 #include <sys/mtio.h>
18919 #endif
18921 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18925 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18930 #ifdef HAVE_SYS_MTIO_H
18931 #include <sys/mtio.h>
18932 #endif
18934 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18938 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18945 #include <getopt.h>
18946 #endif
18948 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_OPTION_NAME 1
18952 _ACEOF
18958 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18959 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18961 cat >>confdefs.h <<_ACEOF
18962 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18963 _ACEOF
18967 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18968 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_STAT_ST_MTIM 1
18972 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18977 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18979 cat >>confdefs.h <<_ACEOF
18980 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18981 _ACEOF
18985 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18986 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18988 cat >>confdefs.h <<_ACEOF
18989 #define HAVE_STRUCT_STAT_ST_CTIM 1
18990 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18995 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18999 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19004 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRUCT_STAT_ST_ATIM 1
19008 _ACEOF
19012 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19013 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19017 _ACEOF
19021 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19022 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19026 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19031 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19035 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19040 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19044 _ACEOF
19048 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19049 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19051 cat >>confdefs.h <<_ACEOF
19052 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19053 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19058 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19062 _ACEOF
19068 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
19069 #include <sys/types.h>
19070 #endif
19071 #ifdef HAVE_NETINET_IN_H
19072 #include <netinet/in.h>
19073 #endif
19075 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19079 _ACEOF
19085 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19086 #include <sys/types.h>
19087 #endif
19088 #ifdef HAVE_NETINET_IN_H
19089 #include <netinet/in.h>
19090 #endif
19091 #ifdef HAVE_RESOLV_H
19092 #include <resolv.h>
19093 #endif
19095 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT___RES_STATE 1
19099 _ACEOF
19105 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
19106 #include <resolv.h>
19107 #endif
19109 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19113 _ACEOF
19119 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19120 #include <sys/types.h>
19121 #endif
19122 #ifdef HAVE_NETINET_IN_H
19123 # include <netinet/in.h>
19124 #endif
19125 #ifdef HAVE_ARPA_NAMESER_H
19126 # include <arpa/nameser.h>
19127 #endif
19129 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_NS_MSG__MSG_PTR 1
19133 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19140 #include <sys/types.h>
19141 #endif
19142 #ifdef HAVE_NETINET_IN_H
19143 #include <netinet/in.h>
19144 #endif
19145 #ifdef HAVE_NETINET_IP_H
19146 #include <netinet/ip.h>
19147 #endif
19148 #ifdef HAVE_NETINET_IP_ICMP_H
19149 #include <netinet/ip_icmp.h>
19150 #endif
19151 #ifdef HAVE_NETINET_ICMP_VAR_H
19152 #include <netinet/icmp_var.h>
19153 #endif
19155 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19159 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19166 #include <sys/types.h>
19167 #endif
19168 #ifdef HAVE_ALIAS_H
19169 #include <alias.h>
19170 #endif
19171 #ifdef HAVE_SYS_SOCKET_H
19172 #include <sys/socket.h>
19173 #endif
19174 #ifdef HAVE_SYS_SOCKETVAR_H
19175 #include <sys/socketvar.h>
19176 #endif
19177 #ifdef HAVE_SYS_TIMEOUT_H
19178 #include <sys/timeout.h>
19179 #endif
19180 #ifdef HAVE_NETINET_IN_H
19181 #include <netinet/in.h>
19182 #endif
19183 #ifdef HAVE_NETINET_IN_SYSTM_H
19184 #include <netinet/in_systm.h>
19185 #endif
19186 #ifdef HAVE_NETINET_IP_H
19187 #include <netinet/ip.h>
19188 #endif
19189 #ifdef HAVE_NETINET_IP_VAR_H
19190 #include <netinet/ip_var.h>
19191 #endif
19192 #ifdef HAVE_NETINET_IP_ICMP_H
19193 #include <netinet/ip_icmp.h>
19194 #endif
19195 #ifdef HAVE_NETINET_ICMP_VAR_H
19196 #include <netinet/icmp_var.h>
19197 #endif
19199 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19203 _ACEOF
19209 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19210 #define _GNU_SOURCE
19211 #include <netinet/in.h>
19212 #endif
19214 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19216 cat >>confdefs.h <<_ACEOF
19217 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19218 _ACEOF
19224 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19225 #include <sys/types.h>
19226 #endif
19227 #ifdef HAVE_SYS_SOCKETVAR_H
19228 #include <sys/socketvar.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_H
19231 #include <netinet/in.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_VAR_H
19234 #include <netinet/ip_var.h>
19235 #endif
19237 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19239 cat >>confdefs.h <<_ACEOF
19240 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19241 _ACEOF
19247 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
19248 #include <netinet/ip_var.h>
19249 #endif
19251 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19253 cat >>confdefs.h <<_ACEOF
19254 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19255 _ACEOF
19261 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19262 #include <sys/types.h>
19263 #endif
19264 #ifdef HAVE_SYS_SOCKETVAR_H
19265 #include <sys/socketvar.h>
19266 #endif
19267 #ifdef HAVE_NETINET_IN_H
19268 #include <netinet/in.h>
19269 #endif
19270 #ifdef HAVE_NETINET_TCP_H
19271 #include <netinet/tcp.h>
19272 #endif
19273 #ifdef HAVE_NETINET_TCP_VAR_H
19274 #include <netinet/tcp_var.h>
19275 #endif
19277 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19281 _ACEOF
19287 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
19288 #include <netinet/tcp_var.h>
19289 #endif
19291 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19293 cat >>confdefs.h <<_ACEOF
19294 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19295 _ACEOF
19301 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19302 #include <sys/types.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IN_H
19305 #include <netinet/in.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IP_VAR_H
19308 #include <netinet/ip_var.h>
19309 #endif
19310 #ifdef HAVE_NETINET_UDP_H
19311 #include <netinet/udp.h>
19312 #endif
19313 #ifdef HAVE_NETINET_UDP_VAR_H
19314 #include <netinet/udp_var.h>
19315 #endif
19317 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19321 _ACEOF
19327 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19328 #include <sys/types.h>
19329 #endif
19330 #ifdef HAVE_NET_IF_H
19331 # include <net/if.h>
19332 #endif
19334 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19336 cat >>confdefs.h <<_ACEOF
19337 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19338 _ACEOF
19344 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19345 # include <sys/sysinfo.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19352 _ACEOF
19356 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19357 # include <sys/sysinfo.h>
19358 #endif
19360 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19364 _ACEOF
19370 ac_save_LIBS="$LIBS"
19371 LIBS="$LIBS -lm"
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19373 $as_echo_n "checking for isfinite... " >&6; }
19374 if ${ac_cv_have_isfinite+:} false; then :
19375 $as_echo_n "(cached) " >&6
19376 else
19377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19379 #define _GNU_SOURCE
19380 #include <math.h>
19382 main ()
19384 float f = 0.0; return isfinite(f)
19386 return 0;
19388 _ACEOF
19389 if ac_fn_c_try_link "$LINENO"; then :
19390 ac_cv_have_isfinite="yes"
19391 else
19392 ac_cv_have_isfinite="no"
19394 rm -f core conftest.err conftest.$ac_objext \
19395 conftest$ac_exeext conftest.$ac_ext
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19398 $as_echo "$ac_cv_have_isfinite" >&6; }
19399 if test "$ac_cv_have_isfinite" = "yes"
19400 then
19402 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19407 $as_echo_n "checking for isinf... " >&6; }
19408 if ${ac_cv_have_isinf+:} false; then :
19409 $as_echo_n "(cached) " >&6
19410 else
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 #include <math.h>
19415 main ()
19417 float f = 0.0; return isinf(f)
19419 return 0;
19421 _ACEOF
19422 if ac_fn_c_try_link "$LINENO"; then :
19423 ac_cv_have_isinf="yes"
19424 else
19425 ac_cv_have_isinf="no"
19427 rm -f core conftest.err conftest.$ac_objext \
19428 conftest$ac_exeext conftest.$ac_ext
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19431 $as_echo "$ac_cv_have_isinf" >&6; }
19432 if test "$ac_cv_have_isinf" = "yes"
19433 then
19435 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19440 $as_echo_n "checking for isnan... " >&6; }
19441 if ${ac_cv_have_isnan+:} false; then :
19442 $as_echo_n "(cached) " >&6
19443 else
19444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 #include <math.h>
19448 main ()
19450 float f = 0.0; return isnan(f)
19452 return 0;
19454 _ACEOF
19455 if ac_fn_c_try_link "$LINENO"; then :
19456 ac_cv_have_isnan="yes"
19457 else
19458 ac_cv_have_isnan="no"
19460 rm -f core conftest.err conftest.$ac_objext \
19461 conftest$ac_exeext conftest.$ac_ext
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19464 $as_echo "$ac_cv_have_isnan" >&6; }
19465 if test "$ac_cv_have_isnan" = "yes"
19466 then
19468 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19472 LIBS="$ac_save_LIBS"
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19475 $as_echo_n "checking for __builtin_popcount... " >&6; }
19476 if ${ac_cv_have___builtin_popcount+:} false; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19483 main ()
19485 return __builtin_popcount(1)
19487 return 0;
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"; then :
19491 ac_cv_have___builtin_popcount="yes"
19492 else
19493 ac_cv_have___builtin_popcount="no"
19495 rm -f core conftest.err conftest.$ac_objext \
19496 conftest$ac_exeext conftest.$ac_ext
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19499 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19500 if test "$ac_cv_have___builtin_popcount" = "yes"
19501 then
19503 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19508 $as_echo_n "checking for __clear_cache... " >&6; }
19509 if ${ac_cv_have___clear_cache+:} false; then :
19510 $as_echo_n "(cached) " >&6
19511 else
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19516 main ()
19518 __clear_cache((void*)0, (void*)0); return 0;
19520 return 0;
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 ac_cv_have___clear_cache="yes"
19525 else
19526 ac_cv_have___clear_cache="no"
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19532 $as_echo "$ac_cv_have___clear_cache" >&6; }
19533 if test "$ac_cv_have___clear_cache" = "yes"
19534 then
19536 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19541 case $host_cpu in
19542 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19543 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19544 if ${ac_cv_cpp_def___i386__+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 #ifndef __i386__
19551 #endif
19552 _ACEOF
19553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19554 $EGREP "yes" >/dev/null 2>&1; then :
19555 ac_cv_cpp_def___i386__=yes
19556 else
19557 ac_cv_cpp_def___i386__=no
19559 rm -f conftest*
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19563 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19564 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19565 CFLAGS="$CFLAGS -D__i386__"
19566 LINTFLAGS="$LINTFLAGS -D__i386__"
19567 fi ;;
19568 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19569 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19570 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #ifndef __x86_64__
19577 #endif
19578 _ACEOF
19579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19580 $EGREP "yes" >/dev/null 2>&1; then :
19581 ac_cv_cpp_def___x86_64__=yes
19582 else
19583 ac_cv_cpp_def___x86_64__=no
19585 rm -f conftest*
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19589 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19590 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19591 CFLAGS="$CFLAGS -D__x86_64__"
19592 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19593 fi ;;
19594 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19595 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19596 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #ifndef __sparc64__
19603 #endif
19604 _ACEOF
19605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19606 $EGREP "yes" >/dev/null 2>&1; then :
19607 ac_cv_cpp_def___sparc64__=yes
19608 else
19609 ac_cv_cpp_def___sparc64__=no
19611 rm -f conftest*
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19615 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19616 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19617 CFLAGS="$CFLAGS -D__sparc64__"
19618 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19619 fi ;;
19620 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19621 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19622 if ${ac_cv_cpp_def___sparc__+:} false; then :
19623 $as_echo_n "(cached) " >&6
19624 else
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19627 #ifndef __sparc__
19629 #endif
19630 _ACEOF
19631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19632 $EGREP "yes" >/dev/null 2>&1; then :
19633 ac_cv_cpp_def___sparc__=yes
19634 else
19635 ac_cv_cpp_def___sparc__=no
19637 rm -f conftest*
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19641 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19642 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19643 CFLAGS="$CFLAGS -D__sparc__"
19644 LINTFLAGS="$LINTFLAGS -D__sparc__"
19645 fi ;;
19646 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19647 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19648 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #ifndef __powerpc64__
19655 #endif
19656 _ACEOF
19657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19658 $EGREP "yes" >/dev/null 2>&1; then :
19659 ac_cv_cpp_def___powerpc64__=yes
19660 else
19661 ac_cv_cpp_def___powerpc64__=no
19663 rm -f conftest*
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19667 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19668 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19669 CFLAGS="$CFLAGS -D__powerpc64__"
19670 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19671 fi ;;
19672 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19673 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19674 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #ifndef __powerpc__
19681 #endif
19682 _ACEOF
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev/null 2>&1; then :
19685 ac_cv_cpp_def___powerpc__=yes
19686 else
19687 ac_cv_cpp_def___powerpc__=no
19689 rm -f conftest*
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19693 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19694 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19695 CFLAGS="$CFLAGS -D__powerpc__"
19696 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19697 fi ;;
19698 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19699 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19700 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19705 #ifndef __aarch64__
19707 #endif
19708 _ACEOF
19709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19710 $EGREP "yes" >/dev/null 2>&1; then :
19711 ac_cv_cpp_def___aarch64__=yes
19712 else
19713 ac_cv_cpp_def___aarch64__=no
19715 rm -f conftest*
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19719 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19720 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19721 CFLAGS="$CFLAGS -D__aarch64__"
19722 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19723 fi ;;
19724 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19725 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19726 if ${ac_cv_cpp_def___arm__+:} false; then :
19727 $as_echo_n "(cached) " >&6
19728 else
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 #ifndef __arm__
19733 #endif
19734 _ACEOF
19735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19736 $EGREP "yes" >/dev/null 2>&1; then :
19737 ac_cv_cpp_def___arm__=yes
19738 else
19739 ac_cv_cpp_def___arm__=no
19741 rm -f conftest*
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19745 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19746 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19747 CFLAGS="$CFLAGS -D__arm__"
19748 LINTFLAGS="$LINTFLAGS -D__arm__"
19749 fi ;;
19750 esac
19752 case $host_vendor in
19753 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19754 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19755 if ${ac_cv_cpp_def___sun__+:} false; then :
19756 $as_echo_n "(cached) " >&6
19757 else
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 #ifndef __sun__
19762 #endif
19763 _ACEOF
19764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19765 $EGREP "yes" >/dev/null 2>&1; then :
19766 ac_cv_cpp_def___sun__=yes
19767 else
19768 ac_cv_cpp_def___sun__=no
19770 rm -f conftest*
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19774 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19775 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19776 CFLAGS="$CFLAGS -D__sun__"
19777 LINTFLAGS="$LINTFLAGS -D__sun__"
19778 fi ;;
19779 esac
19785 ac_config_commands="$ac_config_commands include/stamp-h"
19787 $as_echo_n "creating Makefile rules..." >&6
19789 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19790 OPENGL_LIBS = $OPENGL_LIBS
19791 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19792 IOKIT_LIBS = $IOKIT_LIBS
19793 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19794 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19795 CORESERVICES_LIBS = $CORESERVICES_LIBS
19796 APPKIT_LIBS = $APPKIT_LIBS
19797 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19798 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19799 SECURITY_LIBS = $SECURITY_LIBS
19800 COREAUDIO_LIBS = $COREAUDIO_LIBS
19801 OPENAL_LIBS = $OPENAL_LIBS
19802 OPENCL_LIBS = $OPENCL_LIBS
19803 QUICKTIME_LIBS = $QUICKTIME_LIBS
19804 CARBON_LIBS = $CARBON_LIBS
19805 METAL_LIBS = $METAL_LIBS
19806 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19807 PTHREAD_LIBS = $PTHREAD_LIBS
19808 X_CFLAGS = $X_CFLAGS
19809 X_PRE_LIBS = $X_PRE_LIBS
19810 X_LIBS = $X_LIBS
19811 X_EXTRA_LIBS = $X_EXTRA_LIBS
19812 PCAP_LIBS = $PCAP_LIBS
19813 XML2_CFLAGS = $XML2_CFLAGS
19814 XML2_LIBS = $XML2_LIBS
19815 XSLT_CFLAGS = $XSLT_CFLAGS
19816 XSLT_LIBS = $XSLT_LIBS
19817 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19818 INOTIFY_LIBS = $INOTIFY_LIBS
19819 DBUS_CFLAGS = $DBUS_CFLAGS
19820 DBUS_LIBS = $DBUS_LIBS
19821 HAL_CFLAGS = $HAL_CFLAGS
19822 HAL_LIBS = $HAL_LIBS
19823 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19824 GNUTLS_LIBS = $GNUTLS_LIBS
19825 SANE_CFLAGS = $SANE_CFLAGS
19826 SANE_LIBS = $SANE_LIBS
19827 USB_CFLAGS = $USB_CFLAGS
19828 USB_LIBS = $USB_LIBS
19829 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19830 GPHOTO2_LIBS = $GPHOTO2_LIBS
19831 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19832 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19833 RESOLV_LIBS = $RESOLV_LIBS
19834 LCMS2_CFLAGS = $LCMS2_CFLAGS
19835 LCMS2_LIBS = $LCMS2_LIBS
19836 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19837 FREETYPE_LIBS = $FREETYPE_LIBS
19838 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19839 PULSE_CFLAGS = $PULSE_CFLAGS
19840 PULSE_LIBS = $PULSE_LIBS
19841 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19842 GSTREAMER_LIBS = $GSTREAMER_LIBS
19843 ALSA_LIBS = $ALSA_LIBS
19844 OSS4_CFLAGS = $OSS4_CFLAGS
19845 OSS4_LIBS = $OSS4_LIBS
19846 UDEV_CFLAGS = $UDEV_CFLAGS
19847 UDEV_LIBS = $UDEV_LIBS
19848 UNWIND_CFLAGS = $UNWIND_CFLAGS
19849 UNWIND_LIBS = $UNWIND_LIBS
19850 SDL2_CFLAGS = $SDL2_CFLAGS
19851 SDL2_LIBS = $SDL2_LIBS
19852 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19853 FAUDIO_LIBS = $FAUDIO_LIBS
19854 CAPI20_CFLAGS = $CAPI20_CFLAGS
19855 CAPI20_LIBS = $CAPI20_LIBS
19856 CUPS_CFLAGS = $CUPS_CFLAGS
19857 CUPS_LIBS = $CUPS_LIBS
19858 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19859 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19860 KRB5_CFLAGS = $KRB5_CFLAGS
19861 KRB5_LIBS = $KRB5_LIBS
19862 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19863 GSSAPI_LIBS = $GSSAPI_LIBS
19864 JPEG_CFLAGS = $JPEG_CFLAGS
19865 JPEG_LIBS = $JPEG_LIBS
19866 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19867 JXRLIB_LIBS = $JXRLIB_LIBS
19868 PNG_CFLAGS = $PNG_CFLAGS
19869 PNG_LIBS = $PNG_LIBS
19870 TIFF_CFLAGS = $TIFF_CFLAGS
19871 TIFF_LIBS = $TIFF_LIBS
19872 MPG123_CFLAGS = $MPG123_CFLAGS
19873 MPG123_LIBS = $MPG123_LIBS
19874 PROCSTAT_LIBS = $PROCSTAT_LIBS
19875 NETAPI_CFLAGS = $NETAPI_CFLAGS
19876 NETAPI_LIBS = $NETAPI_LIBS
19877 VKD3D_CFLAGS = $VKD3D_CFLAGS
19878 VKD3D_LIBS = $VKD3D_LIBS
19879 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19880 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19881 POLL_LIBS = $POLL_LIBS
19882 RT_LIBS = $RT_LIBS
19883 LDAP_CFLAGS = $LDAP_CFLAGS
19884 LDAP_LIBS = $LDAP_LIBS
19888 makedep_flags=""
19889 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19892 wine_fn_append_rule "
19893 # Rules automatically generated by configure
19895 .INIT: Makefile
19896 .MAKEFILEDEPS:
19897 all: Makefile
19898 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19899 @./config.status Make.tmp Makefile
19900 depend: \$(MAKEDEP)
19901 \$(MAKEDEP)$makedep_flags
19902 dummy:
19903 .PHONY: depend dummy"
19905 ac_config_links="$ac_config_links wine:tools/winewrapper"
19906 wine_fn_config_symlink wine
19907 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19908 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19909 wine_fn_config_symlink wine64
19912 wine_fn_config_makefile dlls/acledit enable_acledit
19913 wine_fn_config_makefile dlls/aclui enable_aclui
19914 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19915 wine_fn_config_makefile dlls/activeds enable_activeds
19916 wine_fn_config_makefile dlls/activeds/tests enable_tests
19917 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19918 wine_fn_config_makefile dlls/adsiid enable_adsiid
19919 wine_fn_config_makefile dlls/adsldp enable_adsldp
19920 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19921 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19922 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19923 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19924 wine_fn_config_makefile dlls/advpack enable_advpack
19925 wine_fn_config_makefile dlls/advpack/tests enable_tests
19926 wine_fn_config_makefile dlls/amsi enable_amsi
19927 wine_fn_config_makefile dlls/amstream enable_amstream
19928 wine_fn_config_makefile dlls/amstream/tests enable_tests
19929 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19931 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19932 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19934 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19939 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19949 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19951 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19953 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19955 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19956 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19957 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19960 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19965 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19966 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19968 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19969 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19978 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19982 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
19983 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
19984 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19985 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19988 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19990 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19991 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19995 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19996 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20005 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20006 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20007 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20015 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20019 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20020 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20021 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20053 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20118 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20129 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20133 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20137 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20138 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20156 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20164 wine_fn_config_makefile dlls/apphelp enable_apphelp
20165 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20166 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20167 wine_fn_config_makefile dlls/atl enable_atl
20168 wine_fn_config_makefile dlls/atl/tests enable_tests
20169 wine_fn_config_makefile dlls/atl100 enable_atl100
20170 wine_fn_config_makefile dlls/atl100/tests enable_tests
20171 wine_fn_config_makefile dlls/atl110 enable_atl110
20172 wine_fn_config_makefile dlls/atl80 enable_atl80
20173 wine_fn_config_makefile dlls/atl80/tests enable_tests
20174 wine_fn_config_makefile dlls/atl90 enable_atl90
20175 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20176 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20177 wine_fn_config_makefile dlls/atmlib enable_atmlib
20178 wine_fn_config_makefile dlls/authz enable_authz
20179 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20180 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20181 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20182 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20183 wine_fn_config_makefile dlls/avrt enable_avrt
20184 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20185 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20186 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20187 wine_fn_config_makefile dlls/browseui enable_browseui
20188 wine_fn_config_makefile dlls/browseui/tests enable_tests
20189 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20190 wine_fn_config_makefile dlls/cabinet enable_cabinet
20191 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20192 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20193 wine_fn_config_makefile dlls/cards enable_cards
20194 wine_fn_config_makefile dlls/cdosys enable_cdosys
20195 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20196 wine_fn_config_makefile dlls/clusapi enable_clusapi
20197 wine_fn_config_makefile dlls/combase enable_combase
20198 wine_fn_config_makefile dlls/combase/tests enable_tests
20199 wine_fn_config_makefile dlls/comcat enable_comcat
20200 wine_fn_config_makefile dlls/comcat/tests enable_tests
20201 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20202 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20203 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20204 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20205 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20206 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20207 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20208 wine_fn_config_makefile dlls/compstui enable_compstui
20209 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20210 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20211 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20212 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20213 wine_fn_config_makefile dlls/connect enable_connect
20214 wine_fn_config_makefile dlls/credui enable_credui
20215 wine_fn_config_makefile dlls/credui/tests enable_tests
20216 wine_fn_config_makefile dlls/crtdll enable_crtdll
20217 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20218 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20219 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20220 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20221 wine_fn_config_makefile dlls/cryptext enable_cryptext
20222 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20223 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20224 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20225 wine_fn_config_makefile dlls/cryptui enable_cryptui
20226 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20227 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20228 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20229 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20230 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20231 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20232 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20233 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20234 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20235 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20236 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20237 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20238 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20239 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20240 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20241 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20242 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20243 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20244 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20245 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20246 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20247 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20248 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20249 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20250 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20251 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20252 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20253 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20254 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20255 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20256 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20257 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20258 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20259 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20260 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20261 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
20262 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20263 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20264 wine_fn_config_makefile dlls/d3dim enable_d3dim
20265 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20266 wine_fn_config_makefile dlls/d3drm enable_d3drm
20267 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20268 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20269 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20270 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20271 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
20272 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20273 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
20274 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20275 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
20276 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20277 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
20278 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20279 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
20280 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20281 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
20282 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20283 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
20284 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20285 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
20286 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20287 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20288 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20289 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20290 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20291 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20292 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20293 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20294 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20295 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20296 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20297 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20298 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20299 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20300 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20301 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20302 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20303 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20304 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20305 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20306 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20307 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20308 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20309 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20310 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20311 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20312 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20313 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20314 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20315 wine_fn_config_makefile dlls/davclnt enable_davclnt
20316 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20317 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20318 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20319 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20320 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20321 wine_fn_config_makefile dlls/dcomp enable_dcomp
20322 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20323 wine_fn_config_makefile dlls/ddraw enable_ddraw
20324 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20325 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20326 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20327 wine_fn_config_makefile dlls/devenum enable_devenum
20328 wine_fn_config_makefile dlls/devenum/tests enable_tests
20329 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20330 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20331 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20332 wine_fn_config_makefile dlls/difxapi enable_difxapi
20333 wine_fn_config_makefile dlls/dinput enable_dinput
20334 wine_fn_config_makefile dlls/dinput/tests enable_tests
20335 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20336 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20337 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20338 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20339 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20340 wine_fn_config_makefile dlls/dispex enable_dispex
20341 wine_fn_config_makefile dlls/dispex/tests enable_tests
20342 wine_fn_config_makefile dlls/display.drv16 enable_win16
20343 wine_fn_config_makefile dlls/dmband enable_dmband
20344 wine_fn_config_makefile dlls/dmband/tests enable_tests
20345 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20346 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20347 wine_fn_config_makefile dlls/dmime enable_dmime
20348 wine_fn_config_makefile dlls/dmime/tests enable_tests
20349 wine_fn_config_makefile dlls/dmloader enable_dmloader
20350 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20351 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20352 wine_fn_config_makefile dlls/dmscript enable_dmscript
20353 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20354 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20355 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20356 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20357 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20358 wine_fn_config_makefile dlls/dmusic enable_dmusic
20359 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20360 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20361 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20362 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20363 wine_fn_config_makefile dlls/dplay enable_dplay
20364 wine_fn_config_makefile dlls/dplayx enable_dplayx
20365 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20366 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20367 wine_fn_config_makefile dlls/dpnet enable_dpnet
20368 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20369 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20370 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20371 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20372 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20373 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20374 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20375 wine_fn_config_makefile dlls/drmclien enable_drmclien
20376 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20377 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20378 wine_fn_config_makefile dlls/dsound enable_dsound
20379 wine_fn_config_makefile dlls/dsound/tests enable_tests
20380 wine_fn_config_makefile dlls/dsquery enable_dsquery
20381 wine_fn_config_makefile dlls/dssenh enable_dssenh
20382 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20383 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20384 wine_fn_config_makefile dlls/dswave enable_dswave
20385 wine_fn_config_makefile dlls/dswave/tests enable_tests
20386 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20387 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20388 wine_fn_config_makefile dlls/dwrite enable_dwrite
20389 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20390 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20391 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20392 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20393 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20394 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20395 wine_fn_config_makefile dlls/dxgi enable_dxgi
20396 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20397 wine_fn_config_makefile dlls/dxguid enable_dxguid
20398 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20399 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20400 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20401 wine_fn_config_makefile dlls/esent enable_esent
20402 wine_fn_config_makefile dlls/evr enable_evr
20403 wine_fn_config_makefile dlls/evr/tests enable_tests
20404 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20405 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20406 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20407 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20408 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20409 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20410 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20411 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20412 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20413 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20414 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20415 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20417 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20420 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20422 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20440 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20446 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
20447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20457 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20458 wine_fn_config_makefile dlls/faultrep enable_faultrep
20459 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20460 wine_fn_config_makefile dlls/feclient enable_feclient
20461 wine_fn_config_makefile dlls/fltlib enable_fltlib
20462 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20463 wine_fn_config_makefile dlls/fntcache enable_fntcache
20464 wine_fn_config_makefile dlls/fontsub enable_fontsub
20465 wine_fn_config_makefile dlls/fusion enable_fusion
20466 wine_fn_config_makefile dlls/fusion/tests enable_tests
20467 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20468 wine_fn_config_makefile dlls/gameux enable_gameux
20469 wine_fn_config_makefile dlls/gameux/tests enable_tests
20470 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20471 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20472 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20473 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20474 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20475 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20476 wine_fn_config_makefile dlls/glu32 enable_glu32
20477 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20478 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20479 wine_fn_config_makefile dlls/hal enable_hal
20480 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20481 wine_fn_config_makefile dlls/hid enable_hid
20482 wine_fn_config_makefile dlls/hid/tests enable_tests
20483 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20484 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20485 wine_fn_config_makefile dlls/hlink enable_hlink
20486 wine_fn_config_makefile dlls/hlink/tests enable_tests
20487 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20488 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20489 wine_fn_config_makefile dlls/http.sys enable_http_sys
20490 wine_fn_config_makefile dlls/httpapi enable_httpapi
20491 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20492 wine_fn_config_makefile dlls/iccvid enable_iccvid
20493 wine_fn_config_makefile dlls/icmp enable_icmp
20494 wine_fn_config_makefile dlls/ieframe enable_ieframe
20495 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20496 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20497 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20498 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20499 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20500 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20501 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20502 wine_fn_config_makefile dlls/imm32 enable_imm32
20503 wine_fn_config_makefile dlls/imm32/tests enable_tests
20504 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20505 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20506 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20507 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20508 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20509 wine_fn_config_makefile dlls/infosoft enable_infosoft
20510 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20511 wine_fn_config_makefile dlls/initpki enable_initpki
20512 wine_fn_config_makefile dlls/inkobj enable_inkobj
20513 wine_fn_config_makefile dlls/inseng enable_inseng
20514 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20515 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20516 wine_fn_config_makefile dlls/iprop enable_iprop
20517 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20518 wine_fn_config_makefile dlls/itircl enable_itircl
20519 wine_fn_config_makefile dlls/itss enable_itss
20520 wine_fn_config_makefile dlls/itss/tests enable_tests
20521 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20522 wine_fn_config_makefile dlls/jscript enable_jscript
20523 wine_fn_config_makefile dlls/jscript/tests enable_tests
20524 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20525 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20526 wine_fn_config_makefile dlls/kerberos enable_kerberos
20527 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20528 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20529 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20530 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20531 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20532 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20533 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20534 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20535 wine_fn_config_makefile dlls/ksuser enable_ksuser
20536 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20537 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20538 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20539 wine_fn_config_makefile dlls/loadperf enable_loadperf
20540 wine_fn_config_makefile dlls/localspl enable_localspl
20541 wine_fn_config_makefile dlls/localspl/tests enable_tests
20542 wine_fn_config_makefile dlls/localui enable_localui
20543 wine_fn_config_makefile dlls/localui/tests enable_tests
20544 wine_fn_config_makefile dlls/lz32 enable_lz32
20545 wine_fn_config_makefile dlls/lz32/tests enable_tests
20546 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20547 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20548 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20549 wine_fn_config_makefile dlls/mapistub enable_mapistub
20550 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20551 wine_fn_config_makefile dlls/mcicda enable_mcicda
20552 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20553 wine_fn_config_makefile dlls/mciseq enable_mciseq
20554 wine_fn_config_makefile dlls/mciwave enable_mciwave
20555 wine_fn_config_makefile dlls/mf enable_mf
20556 wine_fn_config_makefile dlls/mf/tests enable_tests
20557 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20558 wine_fn_config_makefile dlls/mferror enable_mferror
20559 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20560 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20561 wine_fn_config_makefile dlls/mfplat enable_mfplat
20562 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20563 wine_fn_config_makefile dlls/mfplay enable_mfplay
20564 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20565 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20566 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20567 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20568 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20569 wine_fn_config_makefile dlls/midimap enable_midimap
20570 wine_fn_config_makefile dlls/mlang enable_mlang
20571 wine_fn_config_makefile dlls/mlang/tests enable_tests
20572 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20573 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20574 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20575 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20576 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20577 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20578 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20579 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20580 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20581 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20582 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20583 wine_fn_config_makefile dlls/mpr enable_mpr
20584 wine_fn_config_makefile dlls/mpr/tests enable_tests
20585 wine_fn_config_makefile dlls/mprapi enable_mprapi
20586 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20587 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20588 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20589 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20590 wine_fn_config_makefile dlls/msado15 enable_msado15
20591 wine_fn_config_makefile dlls/msado15/tests enable_tests
20592 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20593 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20594 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20595 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20596 wine_fn_config_makefile dlls/mscms enable_mscms
20597 wine_fn_config_makefile dlls/mscms/tests enable_tests
20598 wine_fn_config_makefile dlls/mscoree enable_mscoree
20599 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20600 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20601 wine_fn_config_makefile dlls/msctf enable_msctf
20602 wine_fn_config_makefile dlls/msctf/tests enable_tests
20603 wine_fn_config_makefile dlls/msctfp enable_msctfp
20604 wine_fn_config_makefile dlls/msdaps enable_msdaps
20605 wine_fn_config_makefile dlls/msdelta enable_msdelta
20606 wine_fn_config_makefile dlls/msdmo enable_msdmo
20607 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20608 wine_fn_config_makefile dlls/msdrm enable_msdrm
20609 wine_fn_config_makefile dlls/msftedit enable_msftedit
20610 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20611 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20612 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20613 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20614 wine_fn_config_makefile dlls/mshtml enable_mshtml
20615 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20616 wine_fn_config_makefile dlls/msi enable_msi
20617 wine_fn_config_makefile dlls/msi/tests enable_tests
20618 wine_fn_config_makefile dlls/msident enable_msident
20619 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20620 wine_fn_config_makefile dlls/msimsg enable_msimsg
20621 wine_fn_config_makefile dlls/msimtf enable_msimtf
20622 wine_fn_config_makefile dlls/msisip enable_msisip
20623 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20624 wine_fn_config_makefile dlls/msls31 enable_msls31
20625 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20626 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20627 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20628 wine_fn_config_makefile dlls/msports enable_msports
20629 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20630 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20631 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20632 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20633 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20634 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20635 wine_fn_config_makefile dlls/mstask enable_mstask
20636 wine_fn_config_makefile dlls/mstask/tests enable_tests
20637 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20638 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20639 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20640 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20641 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20642 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20643 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20644 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20645 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20646 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20647 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20648 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20649 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20650 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20651 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20652 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20653 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20654 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20656 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20657 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20658 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20659 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20660 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20661 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20662 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20663 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20664 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20665 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20667 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20668 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20669 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20670 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20671 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20672 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20673 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20674 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20675 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20676 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20677 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20678 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20679 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20680 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20681 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20682 wine_fn_config_makefile dlls/mswsock enable_mswsock
20683 wine_fn_config_makefile dlls/msxml enable_msxml
20684 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20685 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20686 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20687 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20688 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20689 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20690 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20691 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20692 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20693 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20694 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20695 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20696 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20697 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20698 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20699 wine_fn_config_makefile dlls/netprofm enable_netprofm
20700 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20701 wine_fn_config_makefile dlls/netutils enable_netutils
20702 wine_fn_config_makefile dlls/newdev enable_newdev
20703 wine_fn_config_makefile dlls/ninput enable_ninput
20704 wine_fn_config_makefile dlls/ninput/tests enable_tests
20705 wine_fn_config_makefile dlls/normaliz enable_normaliz
20706 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20707 wine_fn_config_makefile dlls/npptools enable_npptools
20708 wine_fn_config_makefile dlls/nsi enable_nsi
20709 wine_fn_config_makefile dlls/nsi/tests enable_tests
20710 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20711 wine_fn_config_makefile dlls/ntdll enable_ntdll
20712 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20713 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20714 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20715 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20716 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20717 wine_fn_config_makefile dlls/ntprint enable_ntprint
20718 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20719 wine_fn_config_makefile dlls/objsel enable_objsel
20720 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20721 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20722 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20723 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20724 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20725 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20726 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20727 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20728 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20729 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20730 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20731 wine_fn_config_makefile dlls/ole32 enable_ole32
20732 wine_fn_config_makefile dlls/ole32/tests enable_tests
20733 wine_fn_config_makefile dlls/oleacc enable_oleacc
20734 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20735 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20736 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20737 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20738 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20739 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20740 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20741 wine_fn_config_makefile dlls/oledlg enable_oledlg
20742 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20743 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20744 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20745 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20746 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20747 wine_fn_config_makefile dlls/opcservices enable_opcservices
20748 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20749 wine_fn_config_makefile dlls/openal32 enable_openal32
20750 wine_fn_config_makefile dlls/opencl enable_opencl
20751 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20752 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20753 wine_fn_config_makefile dlls/packager enable_packager
20754 wine_fn_config_makefile dlls/packager/tests enable_tests
20755 wine_fn_config_makefile dlls/pdh enable_pdh
20756 wine_fn_config_makefile dlls/pdh/tests enable_tests
20757 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20758 wine_fn_config_makefile dlls/pidgen enable_pidgen
20759 wine_fn_config_makefile dlls/powrprof enable_powrprof
20760 wine_fn_config_makefile dlls/printui enable_printui
20761 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20762 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20763 wine_fn_config_makefile dlls/propsys enable_propsys
20764 wine_fn_config_makefile dlls/propsys/tests enable_tests
20765 wine_fn_config_makefile dlls/psapi enable_psapi
20766 wine_fn_config_makefile dlls/psapi/tests enable_tests
20767 wine_fn_config_makefile dlls/pstorec enable_pstorec
20768 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20769 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20770 wine_fn_config_makefile dlls/qasf enable_qasf
20771 wine_fn_config_makefile dlls/qasf/tests enable_tests
20772 wine_fn_config_makefile dlls/qcap enable_qcap
20773 wine_fn_config_makefile dlls/qcap/tests enable_tests
20774 wine_fn_config_makefile dlls/qdvd enable_qdvd
20775 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20776 wine_fn_config_makefile dlls/qedit enable_qedit
20777 wine_fn_config_makefile dlls/qedit/tests enable_tests
20778 wine_fn_config_makefile dlls/qmgr enable_qmgr
20779 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20780 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20781 wine_fn_config_makefile dlls/quartz enable_quartz
20782 wine_fn_config_makefile dlls/quartz/tests enable_tests
20783 wine_fn_config_makefile dlls/query enable_query
20784 wine_fn_config_makefile dlls/qwave enable_qwave
20785 wine_fn_config_makefile dlls/qwave/tests enable_tests
20786 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20787 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20788 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20789 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20790 wine_fn_config_makefile dlls/regapi enable_regapi
20791 wine_fn_config_makefile dlls/resutils enable_resutils
20792 wine_fn_config_makefile dlls/riched20 enable_riched20
20793 wine_fn_config_makefile dlls/riched20/tests enable_tests
20794 wine_fn_config_makefile dlls/riched32 enable_riched32
20795 wine_fn_config_makefile dlls/riched32/tests enable_tests
20796 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20797 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20798 wine_fn_config_makefile dlls/rsabase enable_rsabase
20799 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20800 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20801 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20802 wine_fn_config_makefile dlls/rtutils enable_rtutils
20803 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20804 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20805 wine_fn_config_makefile dlls/samlib enable_samlib
20806 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20807 wine_fn_config_makefile dlls/sapi enable_sapi
20808 wine_fn_config_makefile dlls/sapi/tests enable_tests
20809 wine_fn_config_makefile dlls/sas enable_sas
20810 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20811 wine_fn_config_makefile dlls/sccbase enable_sccbase
20812 wine_fn_config_makefile dlls/schannel enable_schannel
20813 wine_fn_config_makefile dlls/schannel/tests enable_tests
20814 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20815 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20816 wine_fn_config_makefile dlls/scrobj enable_scrobj
20817 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20818 wine_fn_config_makefile dlls/scrrun enable_scrrun
20819 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20820 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20821 wine_fn_config_makefile dlls/sechost enable_sechost
20822 wine_fn_config_makefile dlls/secur32 enable_secur32
20823 wine_fn_config_makefile dlls/secur32/tests enable_tests
20824 wine_fn_config_makefile dlls/security enable_security
20825 wine_fn_config_makefile dlls/sensapi enable_sensapi
20826 wine_fn_config_makefile dlls/serialui enable_serialui
20827 wine_fn_config_makefile dlls/serialui/tests enable_tests
20828 wine_fn_config_makefile dlls/setupapi enable_setupapi
20829 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20830 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20831 wine_fn_config_makefile dlls/sfc enable_sfc
20832 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20833 wine_fn_config_makefile dlls/shcore enable_shcore
20834 wine_fn_config_makefile dlls/shcore/tests enable_tests
20835 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20836 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20837 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20838 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20839 wine_fn_config_makefile dlls/shell32 enable_shell32
20840 wine_fn_config_makefile dlls/shell32/tests enable_tests
20841 wine_fn_config_makefile dlls/shfolder enable_shfolder
20842 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20843 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20844 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20845 wine_fn_config_makefile dlls/slc enable_slc
20846 wine_fn_config_makefile dlls/slc/tests enable_tests
20847 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20848 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20849 wine_fn_config_makefile dlls/softpub enable_softpub
20850 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20851 wine_fn_config_makefile dlls/spoolss enable_spoolss
20852 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20853 wine_fn_config_makefile dlls/sppc enable_sppc
20854 wine_fn_config_makefile dlls/srclient enable_srclient
20855 wine_fn_config_makefile dlls/srvcli enable_srvcli
20856 wine_fn_config_makefile dlls/sspicli enable_sspicli
20857 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20858 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20859 wine_fn_config_makefile dlls/sti enable_sti
20860 wine_fn_config_makefile dlls/sti/tests enable_tests
20861 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20862 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20863 wine_fn_config_makefile dlls/strmbase enable_strmbase
20864 wine_fn_config_makefile dlls/strmdll enable_strmdll
20865 wine_fn_config_makefile dlls/strmiids enable_strmiids
20866 wine_fn_config_makefile dlls/svrapi enable_svrapi
20867 wine_fn_config_makefile dlls/sxs enable_sxs
20868 wine_fn_config_makefile dlls/sxs/tests enable_tests
20869 wine_fn_config_makefile dlls/system.drv16 enable_win16
20870 wine_fn_config_makefile dlls/t2embed enable_t2embed
20871 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20872 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20873 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20874 wine_fn_config_makefile dlls/taskschd enable_taskschd
20875 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20876 wine_fn_config_makefile dlls/tbs enable_tbs
20877 wine_fn_config_makefile dlls/tdh enable_tdh
20878 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20879 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20880 wine_fn_config_makefile dlls/traffic enable_traffic
20881 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20882 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20883 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20884 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20885 wine_fn_config_makefile dlls/tzres enable_tzres
20886 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20887 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20888 wine_fn_config_makefile dlls/uianimation enable_uianimation
20889 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20890 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20891 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20892 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20893 wine_fn_config_makefile dlls/unicows enable_unicows
20894 wine_fn_config_makefile dlls/updspapi enable_updspapi
20895 wine_fn_config_makefile dlls/url enable_url
20896 wine_fn_config_makefile dlls/urlmon enable_urlmon
20897 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20898 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20899 wine_fn_config_makefile dlls/user.exe16 enable_win16
20900 wine_fn_config_makefile dlls/user32 enable_user32
20901 wine_fn_config_makefile dlls/user32/tests enable_tests
20902 wine_fn_config_makefile dlls/userenv enable_userenv
20903 wine_fn_config_makefile dlls/userenv/tests enable_tests
20904 wine_fn_config_makefile dlls/usp10 enable_usp10
20905 wine_fn_config_makefile dlls/usp10/tests enable_tests
20906 wine_fn_config_makefile dlls/utildll enable_utildll
20907 wine_fn_config_makefile dlls/uuid enable_uuid
20908 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20909 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20910 wine_fn_config_makefile dlls/vbscript enable_vbscript
20911 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20912 wine_fn_config_makefile dlls/vcomp enable_vcomp
20913 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20914 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20915 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20916 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
20917 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20918 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20919 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20920 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20921 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20922 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20923 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20924 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20925 wine_fn_config_makefile dlls/version enable_version
20926 wine_fn_config_makefile dlls/version/tests enable_tests
20927 wine_fn_config_makefile dlls/vga enable_vga
20928 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20929 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20930 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20931 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20932 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20933 wine_fn_config_makefile dlls/vssapi enable_vssapi
20934 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20935 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20936 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20937 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20938 wine_fn_config_makefile dlls/w32skrnl enable_win16
20939 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20940 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20941 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20942 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20943 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20944 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20945 wine_fn_config_makefile dlls/wdscore enable_wdscore
20946 wine_fn_config_makefile dlls/webservices enable_webservices
20947 wine_fn_config_makefile dlls/webservices/tests enable_tests
20948 wine_fn_config_makefile dlls/websocket enable_websocket
20949 wine_fn_config_makefile dlls/wer enable_wer
20950 wine_fn_config_makefile dlls/wer/tests enable_tests
20951 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20952 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20953 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20954 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20955 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20956 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20957 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20958 wine_fn_config_makefile dlls/win32u enable_win32u
20959 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20960 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20961 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20962 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
20963 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
20964 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
20965 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
20966 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
20967 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
20968 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
20969 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
20970 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20971 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20972 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20973 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20974 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20975 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20976 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20977 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20978 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20979 wine_fn_config_makefile dlls/wined3d enable_wined3d
20980 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20981 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20982 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20983 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20984 wine_fn_config_makefile dlls/winemapi enable_winemapi
20985 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20986 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20987 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20988 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20989 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20990 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20991 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20992 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20993 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
20994 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20995 wine_fn_config_makefile dlls/wing32 enable_wing32
20996 wine_fn_config_makefile dlls/winhttp enable_winhttp
20997 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20998 wine_fn_config_makefile dlls/wininet enable_wininet
20999 wine_fn_config_makefile dlls/wininet/tests enable_tests
21000 wine_fn_config_makefile dlls/winmm enable_winmm
21001 wine_fn_config_makefile dlls/winmm/tests enable_tests
21002 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21003 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21004 wine_fn_config_makefile dlls/winscard enable_winscard
21005 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21006 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21007 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21008 wine_fn_config_makefile dlls/winsta enable_winsta
21009 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21010 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21011 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21012 wine_fn_config_makefile dlls/wintrust enable_wintrust
21013 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21014 wine_fn_config_makefile dlls/winusb enable_winusb
21015 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21016 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21017 wine_fn_config_makefile dlls/wlanui enable_wlanui
21018 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21019 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21020 wine_fn_config_makefile dlls/wmasf enable_wmasf
21021 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21022 wine_fn_config_makefile dlls/wmi enable_wmi
21023 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21024 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21025 wine_fn_config_makefile dlls/wmp enable_wmp
21026 wine_fn_config_makefile dlls/wmp/tests enable_tests
21027 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21028 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21029 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21030 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21031 wine_fn_config_makefile dlls/wow32 enable_win16
21032 wine_fn_config_makefile dlls/wow64 enable_wow64
21033 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21034 wine_fn_config_makefile dlls/wow64win enable_wow64win
21035 wine_fn_config_makefile dlls/wpc enable_wpc
21036 wine_fn_config_makefile dlls/wpc/tests enable_tests
21037 wine_fn_config_makefile dlls/wpcap enable_wpcap
21038 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21039 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21040 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21041 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21042 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21043 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21044 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21045 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21046 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21047 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21048 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21049 wine_fn_config_makefile dlls/wuapi enable_wuapi
21050 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21051 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21052 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21053 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21054 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21055 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21056 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21057 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21058 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21059 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21060 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21061 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21062 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21063 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21064 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21065 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21066 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21067 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21068 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21069 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21070 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21071 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21072 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21073 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21074 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21075 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21076 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21077 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21078 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21079 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21080 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21081 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21082 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21083 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21084 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21085 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21086 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21087 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21088 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21089 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21090 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21091 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21092 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21093 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21094 wine_fn_config_makefile dlls/xmllite enable_xmllite
21095 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21096 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21097 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21098 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21099 wine_fn_config_makefile fonts enable_fonts
21100 wine_fn_config_makefile include enable_include
21101 wine_fn_config_makefile libs/port enable_port
21102 wine_fn_config_makefile libs/wine enable_wine
21103 wine_fn_config_makefile libs/wpp enable_wpp
21104 wine_fn_config_makefile loader enable_loader
21105 wine_fn_config_makefile nls enable_nls
21106 wine_fn_config_makefile po enable_po
21107 wine_fn_config_makefile programs/arp enable_arp
21108 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21109 wine_fn_config_makefile programs/attrib enable_attrib
21110 wine_fn_config_makefile programs/cabarc enable_cabarc
21111 wine_fn_config_makefile programs/cacls enable_cacls
21112 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21113 wine_fn_config_makefile programs/clock enable_clock
21114 wine_fn_config_makefile programs/cmd enable_cmd
21115 wine_fn_config_makefile programs/cmd/tests enable_tests
21116 wine_fn_config_makefile programs/conhost enable_conhost
21117 wine_fn_config_makefile programs/conhost/tests enable_tests
21118 wine_fn_config_makefile programs/control enable_control
21119 wine_fn_config_makefile programs/cscript enable_cscript
21120 wine_fn_config_makefile programs/dism enable_dism
21121 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21122 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21123 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21124 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21125 wine_fn_config_makefile programs/eject enable_eject
21126 wine_fn_config_makefile programs/expand enable_expand
21127 wine_fn_config_makefile programs/explorer enable_explorer
21128 wine_fn_config_makefile programs/extrac32 enable_extrac32
21129 wine_fn_config_makefile programs/fc enable_fc
21130 wine_fn_config_makefile programs/find enable_find
21131 wine_fn_config_makefile programs/find/tests enable_tests
21132 wine_fn_config_makefile programs/findstr enable_findstr
21133 wine_fn_config_makefile programs/fsutil enable_fsutil
21134 wine_fn_config_makefile programs/fsutil/tests enable_tests
21135 wine_fn_config_makefile programs/hh enable_hh
21136 wine_fn_config_makefile programs/hostname enable_hostname
21137 wine_fn_config_makefile programs/icacls enable_icacls
21138 wine_fn_config_makefile programs/icinfo enable_icinfo
21139 wine_fn_config_makefile programs/iexplore enable_iexplore
21140 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21141 wine_fn_config_makefile programs/lodctr enable_lodctr
21142 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21143 wine_fn_config_makefile programs/mshta enable_mshta
21144 wine_fn_config_makefile programs/msidb enable_msidb
21145 wine_fn_config_makefile programs/msiexec enable_msiexec
21146 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21147 wine_fn_config_makefile programs/net enable_net
21148 wine_fn_config_makefile programs/netsh enable_netsh
21149 wine_fn_config_makefile programs/netstat enable_netstat
21150 wine_fn_config_makefile programs/ngen enable_ngen
21151 wine_fn_config_makefile programs/notepad enable_notepad
21152 wine_fn_config_makefile programs/oleview enable_oleview
21153 wine_fn_config_makefile programs/ping enable_ping
21154 wine_fn_config_makefile programs/plugplay enable_plugplay
21155 wine_fn_config_makefile programs/powershell enable_powershell
21156 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21157 wine_fn_config_makefile programs/progman enable_progman
21158 wine_fn_config_makefile programs/reg enable_reg
21159 wine_fn_config_makefile programs/reg/tests enable_tests
21160 wine_fn_config_makefile programs/regasm enable_regasm
21161 wine_fn_config_makefile programs/regedit enable_regedit
21162 wine_fn_config_makefile programs/regedit/tests enable_tests
21163 wine_fn_config_makefile programs/regini enable_regini
21164 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21165 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21166 wine_fn_config_makefile programs/rpcss enable_rpcss
21167 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21168 wine_fn_config_makefile programs/rundll32 enable_rundll32
21169 wine_fn_config_makefile programs/sc enable_sc
21170 wine_fn_config_makefile programs/schtasks enable_schtasks
21171 wine_fn_config_makefile programs/schtasks/tests enable_tests
21172 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21173 wine_fn_config_makefile programs/secedit enable_secedit
21174 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21175 wine_fn_config_makefile programs/services enable_services
21176 wine_fn_config_makefile programs/services/tests enable_tests
21177 wine_fn_config_makefile programs/shutdown enable_shutdown
21178 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21179 wine_fn_config_makefile programs/start enable_start
21180 wine_fn_config_makefile programs/subst enable_subst
21181 wine_fn_config_makefile programs/svchost enable_svchost
21182 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21183 wine_fn_config_makefile programs/taskkill enable_taskkill
21184 wine_fn_config_makefile programs/tasklist enable_tasklist
21185 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21186 wine_fn_config_makefile programs/termsv enable_termsv
21187 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21188 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21189 wine_fn_config_makefile programs/view enable_view
21190 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21191 wine_fn_config_makefile programs/where enable_where
21192 wine_fn_config_makefile programs/whoami enable_whoami
21193 wine_fn_config_makefile programs/wineboot enable_wineboot
21194 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21195 wine_fn_config_makefile programs/winecfg enable_winecfg
21196 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21197 wine_fn_config_makefile programs/winedbg enable_winedbg
21198 wine_fn_config_makefile programs/winedevice enable_winedevice
21199 wine_fn_config_makefile programs/winefile enable_winefile
21200 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21201 wine_fn_config_makefile programs/winemine enable_winemine
21202 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21203 wine_fn_config_makefile programs/winepath enable_winepath
21204 wine_fn_config_makefile programs/winetest enable_winetest
21205 wine_fn_config_makefile programs/winevdm enable_win16
21206 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21207 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21208 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21209 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21210 wine_fn_config_makefile programs/winver enable_winver
21211 wine_fn_config_makefile programs/wmic enable_wmic
21212 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21213 wine_fn_config_makefile programs/wordpad enable_wordpad
21214 wine_fn_config_makefile programs/write enable_write
21215 wine_fn_config_makefile programs/wscript enable_wscript
21216 wine_fn_config_makefile programs/wscript/tests enable_tests
21217 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21218 wine_fn_config_makefile programs/wusa enable_wusa
21219 wine_fn_config_makefile programs/xcopy enable_xcopy
21220 wine_fn_config_makefile programs/xcopy/tests enable_tests
21221 wine_fn_config_makefile server enable_server
21222 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21223 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21224 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21225 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21226 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21227 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21228 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21229 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21230 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21233 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21234 wine_fn_append_file CONFIGURE_TARGETS "tags"
21235 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21236 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21237 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21238 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21239 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21240 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21242 if test "x$enable_tools" != xno
21243 then
21244 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21245 ac_config_commands="$ac_config_commands tools/makedep"
21249 ac_config_commands="$ac_config_commands Makefile"
21252 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21256 if test "x$enable_maintainer_mode" = xyes
21257 then
21258 wine_fn_append_rule "configure: configure.ac aclocal.m4
21259 autoconf --warnings=all
21260 include/config.h.in: include/stamp-h.in
21261 include/stamp-h.in: configure.ac aclocal.m4
21262 autoheader --warnings=all
21263 @echo timestamp > \$@"
21266 if test "x$enable_tools" != xno
21267 then
21268 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21269 @./config.status tools/makedep
21270 Makefile: tools/makedep$ac_exeext"
21271 else
21272 wine_fn_append_rule "\$(MAKEDEP):
21273 @echo \"You need to run make in $TOOLSDIR first\" && false"
21276 if test -n "$with_wine64"
21277 then
21278 case "$with_wine64" in
21279 /*) reldir="" ;;
21280 *) reldir="../" ;;
21281 esac
21282 rm -f fonts server 2>/dev/null
21283 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21284 loader/wine64 loader/wine64-preloader:
21285 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21286 $with_wine64/loader/wine:
21287 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21288 $with_wine64/loader/wine-preloader:
21289 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21290 clean::
21291 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21292 else
21293 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21294 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21295 fonts \
21296 loader/wine.inf \
21297 nls \
21298 programs/msidb/msidb \
21299 programs/msiexec/msiexec \
21300 programs/notepad/notepad \
21301 programs/regedit/regedit \
21302 programs/regsvr32/regsvr32 \
21303 programs/wineboot/wineboot \
21304 programs/winecfg/winecfg \
21305 programs/wineconsole/wineconsole \
21306 programs/winedbg/winedbg \
21307 programs/winefile/winefile \
21308 programs/winemine/winemine \
21309 programs/winepath/winepath \
21310 server/wineserver"
21312 case $host_os in
21313 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21314 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21315 esac
21318 $as_echo " done" >&6
21319 cat >confcache <<\_ACEOF
21320 # This file is a shell script that caches the results of configure
21321 # tests run on this system so they can be shared between configure
21322 # scripts and configure runs, see configure's option --config-cache.
21323 # It is not useful on other systems. If it contains results you don't
21324 # want to keep, you may remove or edit it.
21326 # config.status only pays attention to the cache file if you give it
21327 # the --recheck option to rerun configure.
21329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21331 # following values.
21333 _ACEOF
21335 # The following way of writing the cache mishandles newlines in values,
21336 # but we know of no workaround that is simple, portable, and efficient.
21337 # So, we kill variables containing newlines.
21338 # Ultrix sh set writes to stderr and can't be redirected directly,
21339 # and sets the high bit in the cache file unless we assign to the vars.
21341 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21342 eval ac_val=\$$ac_var
21343 case $ac_val in #(
21344 *${as_nl}*)
21345 case $ac_var in #(
21346 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21348 esac
21349 case $ac_var in #(
21350 _ | IFS | as_nl) ;; #(
21351 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21352 *) { eval $ac_var=; unset $ac_var;} ;;
21353 esac ;;
21354 esac
21355 done
21357 (set) 2>&1 |
21358 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21359 *${as_nl}ac_space=\ *)
21360 # `set' does not quote correctly, so add quotes: double-quote
21361 # substitution turns \\\\ into \\, and sed turns \\ into \.
21362 sed -n \
21363 "s/'/'\\\\''/g;
21364 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21365 ;; #(
21367 # `set' quotes correctly as required by POSIX, so do not add quotes.
21368 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21370 esac |
21371 sort
21373 sed '
21374 /^ac_cv_env_/b end
21375 t clear
21376 :clear
21377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21378 t end
21379 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21380 :end' >>confcache
21381 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21382 if test -w "$cache_file"; then
21383 if test "x$cache_file" != "x/dev/null"; then
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21385 $as_echo "$as_me: updating cache $cache_file" >&6;}
21386 if test ! -f "$cache_file" || test -h "$cache_file"; then
21387 cat confcache >"$cache_file"
21388 else
21389 case $cache_file in #(
21390 */* | ?:*)
21391 mv -f confcache "$cache_file"$$ &&
21392 mv -f "$cache_file"$$ "$cache_file" ;; #(
21394 mv -f confcache "$cache_file" ;;
21395 esac
21398 else
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21400 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21403 rm -f confcache
21405 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21406 # Let make expand exec_prefix.
21407 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21409 DEFS=-DHAVE_CONFIG_H
21411 ac_libobjs=
21412 ac_ltlibobjs=
21414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21415 # 1. Remove the extension, and $U if already installed.
21416 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21417 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21418 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21419 # will be set to the directory where LIBOBJS objects are built.
21420 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21421 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21422 done
21423 LIBOBJS=$ac_libobjs
21425 LTLIBOBJS=$ac_ltlibobjs
21429 : "${CONFIG_STATUS=./config.status}"
21430 ac_write_fail=0
21431 ac_clean_files_save=$ac_clean_files
21432 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21434 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21435 as_write_fail=0
21436 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21437 #! $SHELL
21438 # Generated by $as_me.
21439 # Run this file to recreate the current configuration.
21440 # Compiler output produced by configure, useful for debugging
21441 # configure, is in config.log if it exists.
21443 debug=false
21444 ac_cs_recheck=false
21445 ac_cs_silent=false
21447 SHELL=\${CONFIG_SHELL-$SHELL}
21448 export SHELL
21449 _ASEOF
21450 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21451 ## -------------------- ##
21452 ## M4sh Initialization. ##
21453 ## -------------------- ##
21455 # Be more Bourne compatible
21456 DUALCASE=1; export DUALCASE # for MKS sh
21457 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21458 emulate sh
21459 NULLCMD=:
21460 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21461 # is contrary to our usage. Disable this feature.
21462 alias -g '${1+"$@"}'='"$@"'
21463 setopt NO_GLOB_SUBST
21464 else
21465 case `(set -o) 2>/dev/null` in #(
21466 *posix*) :
21467 set -o posix ;; #(
21468 *) :
21470 esac
21474 as_nl='
21476 export as_nl
21477 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21478 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21480 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21481 # Prefer a ksh shell builtin over an external printf program on Solaris,
21482 # but without wasting forks for bash or zsh.
21483 if test -z "$BASH_VERSION$ZSH_VERSION" \
21484 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21485 as_echo='print -r --'
21486 as_echo_n='print -rn --'
21487 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21488 as_echo='printf %s\n'
21489 as_echo_n='printf %s'
21490 else
21491 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21492 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21493 as_echo_n='/usr/ucb/echo -n'
21494 else
21495 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21496 as_echo_n_body='eval
21497 arg=$1;
21498 case $arg in #(
21499 *"$as_nl"*)
21500 expr "X$arg" : "X\\(.*\\)$as_nl";
21501 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21502 esac;
21503 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21505 export as_echo_n_body
21506 as_echo_n='sh -c $as_echo_n_body as_echo'
21508 export as_echo_body
21509 as_echo='sh -c $as_echo_body as_echo'
21512 # The user is always right.
21513 if test "${PATH_SEPARATOR+set}" != set; then
21514 PATH_SEPARATOR=:
21515 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21516 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21517 PATH_SEPARATOR=';'
21522 # IFS
21523 # We need space, tab and new line, in precisely that order. Quoting is
21524 # there to prevent editors from complaining about space-tab.
21525 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21526 # splitting by setting IFS to empty value.)
21527 IFS=" "" $as_nl"
21529 # Find who we are. Look in the path if we contain no directory separator.
21530 as_myself=
21531 case $0 in #((
21532 *[\\/]* ) as_myself=$0 ;;
21533 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21534 for as_dir in $PATH
21536 IFS=$as_save_IFS
21537 test -z "$as_dir" && as_dir=.
21538 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21539 done
21540 IFS=$as_save_IFS
21543 esac
21544 # We did not find ourselves, most probably we were run as `sh COMMAND'
21545 # in which case we are not to be found in the path.
21546 if test "x$as_myself" = x; then
21547 as_myself=$0
21549 if test ! -f "$as_myself"; then
21550 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21551 exit 1
21554 # Unset variables that we do not need and which cause bugs (e.g. in
21555 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21556 # suppresses any "Segmentation fault" message there. '((' could
21557 # trigger a bug in pdksh 5.2.14.
21558 for as_var in BASH_ENV ENV MAIL MAILPATH
21559 do eval test x\${$as_var+set} = xset \
21560 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21561 done
21562 PS1='$ '
21563 PS2='> '
21564 PS4='+ '
21566 # NLS nuisances.
21567 LC_ALL=C
21568 export LC_ALL
21569 LANGUAGE=C
21570 export LANGUAGE
21572 # CDPATH.
21573 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21576 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21577 # ----------------------------------------
21578 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21579 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21580 # script with STATUS, using 1 if that was 0.
21581 as_fn_error ()
21583 as_status=$1; test $as_status -eq 0 && as_status=1
21584 if test "$4"; then
21585 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21586 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21588 $as_echo "$as_me: error: $2" >&2
21589 as_fn_exit $as_status
21590 } # as_fn_error
21593 # as_fn_set_status STATUS
21594 # -----------------------
21595 # Set $? to STATUS, without forking.
21596 as_fn_set_status ()
21598 return $1
21599 } # as_fn_set_status
21601 # as_fn_exit STATUS
21602 # -----------------
21603 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21604 as_fn_exit ()
21606 set +e
21607 as_fn_set_status $1
21608 exit $1
21609 } # as_fn_exit
21611 # as_fn_unset VAR
21612 # ---------------
21613 # Portably unset VAR.
21614 as_fn_unset ()
21616 { eval $1=; unset $1;}
21618 as_unset=as_fn_unset
21619 # as_fn_append VAR VALUE
21620 # ----------------------
21621 # Append the text in VALUE to the end of the definition contained in VAR. Take
21622 # advantage of any shell optimizations that allow amortized linear growth over
21623 # repeated appends, instead of the typical quadratic growth present in naive
21624 # implementations.
21625 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21626 eval 'as_fn_append ()
21628 eval $1+=\$2
21630 else
21631 as_fn_append ()
21633 eval $1=\$$1\$2
21635 fi # as_fn_append
21637 # as_fn_arith ARG...
21638 # ------------------
21639 # Perform arithmetic evaluation on the ARGs, and store the result in the
21640 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21641 # must be portable across $(()) and expr.
21642 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21643 eval 'as_fn_arith ()
21645 as_val=$(( $* ))
21647 else
21648 as_fn_arith ()
21650 as_val=`expr "$@" || test $? -eq 1`
21652 fi # as_fn_arith
21655 if expr a : '\(a\)' >/dev/null 2>&1 &&
21656 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21657 as_expr=expr
21658 else
21659 as_expr=false
21662 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21663 as_basename=basename
21664 else
21665 as_basename=false
21668 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21669 as_dirname=dirname
21670 else
21671 as_dirname=false
21674 as_me=`$as_basename -- "$0" ||
21675 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21676 X"$0" : 'X\(//\)$' \| \
21677 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21678 $as_echo X/"$0" |
21679 sed '/^.*\/\([^/][^/]*\)\/*$/{
21680 s//\1/
21683 /^X\/\(\/\/\)$/{
21684 s//\1/
21687 /^X\/\(\/\).*/{
21688 s//\1/
21691 s/.*/./; q'`
21693 # Avoid depending upon Character Ranges.
21694 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21695 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21696 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21697 as_cr_digits='0123456789'
21698 as_cr_alnum=$as_cr_Letters$as_cr_digits
21700 ECHO_C= ECHO_N= ECHO_T=
21701 case `echo -n x` in #(((((
21702 -n*)
21703 case `echo 'xy\c'` in
21704 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21705 xy) ECHO_C='\c';;
21706 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21707 ECHO_T=' ';;
21708 esac;;
21710 ECHO_N='-n';;
21711 esac
21713 rm -f conf$$ conf$$.exe conf$$.file
21714 if test -d conf$$.dir; then
21715 rm -f conf$$.dir/conf$$.file
21716 else
21717 rm -f conf$$.dir
21718 mkdir conf$$.dir 2>/dev/null
21720 if (echo >conf$$.file) 2>/dev/null; then
21721 if ln -s conf$$.file conf$$ 2>/dev/null; then
21722 as_ln_s='ln -s'
21723 # ... but there are two gotchas:
21724 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21725 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21726 # In both cases, we have to default to `cp -pR'.
21727 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21728 as_ln_s='cp -pR'
21729 elif ln conf$$.file conf$$ 2>/dev/null; then
21730 as_ln_s=ln
21731 else
21732 as_ln_s='cp -pR'
21734 else
21735 as_ln_s='cp -pR'
21737 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21738 rmdir conf$$.dir 2>/dev/null
21741 # as_fn_mkdir_p
21742 # -------------
21743 # Create "$as_dir" as a directory, including parents if necessary.
21744 as_fn_mkdir_p ()
21747 case $as_dir in #(
21748 -*) as_dir=./$as_dir;;
21749 esac
21750 test -d "$as_dir" || eval $as_mkdir_p || {
21751 as_dirs=
21752 while :; do
21753 case $as_dir in #(
21754 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21755 *) as_qdir=$as_dir;;
21756 esac
21757 as_dirs="'$as_qdir' $as_dirs"
21758 as_dir=`$as_dirname -- "$as_dir" ||
21759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21760 X"$as_dir" : 'X\(//\)[^/]' \| \
21761 X"$as_dir" : 'X\(//\)$' \| \
21762 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21763 $as_echo X"$as_dir" |
21764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21765 s//\1/
21768 /^X\(\/\/\)[^/].*/{
21769 s//\1/
21772 /^X\(\/\/\)$/{
21773 s//\1/
21776 /^X\(\/\).*/{
21777 s//\1/
21780 s/.*/./; q'`
21781 test -d "$as_dir" && break
21782 done
21783 test -z "$as_dirs" || eval "mkdir $as_dirs"
21784 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21787 } # as_fn_mkdir_p
21788 if mkdir -p . 2>/dev/null; then
21789 as_mkdir_p='mkdir -p "$as_dir"'
21790 else
21791 test -d ./-p && rmdir ./-p
21792 as_mkdir_p=false
21796 # as_fn_executable_p FILE
21797 # -----------------------
21798 # Test if FILE is an executable regular file.
21799 as_fn_executable_p ()
21801 test -f "$1" && test -x "$1"
21802 } # as_fn_executable_p
21803 as_test_x='test -x'
21804 as_executable_p=as_fn_executable_p
21806 # Sed expression to map a string onto a valid CPP name.
21807 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21809 # Sed expression to map a string onto a valid variable name.
21810 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21813 exec 6>&1
21814 ## ----------------------------------- ##
21815 ## Main body of $CONFIG_STATUS script. ##
21816 ## ----------------------------------- ##
21817 _ASEOF
21818 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21821 # Save the log message, to keep $0 and so on meaningful, and to
21822 # report actual input values of CONFIG_FILES etc. instead of their
21823 # values after options handling.
21824 ac_log="
21825 This file was extended by Wine $as_me 6.17, which was
21826 generated by GNU Autoconf 2.69. Invocation command line was
21828 CONFIG_FILES = $CONFIG_FILES
21829 CONFIG_HEADERS = $CONFIG_HEADERS
21830 CONFIG_LINKS = $CONFIG_LINKS
21831 CONFIG_COMMANDS = $CONFIG_COMMANDS
21832 $ $0 $@
21834 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21837 _ACEOF
21839 case $ac_config_files in *"
21840 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21841 esac
21843 case $ac_config_headers in *"
21844 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21845 esac
21848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21849 # Files that config.status was made for.
21850 config_files="$ac_config_files"
21851 config_headers="$ac_config_headers"
21852 config_links="$ac_config_links"
21853 config_commands="$ac_config_commands"
21855 _ACEOF
21857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21858 ac_cs_usage="\
21859 \`$as_me' instantiates files and other configuration actions
21860 from templates according to the current configuration. Unless the files
21861 and actions are specified as TAGs, all are instantiated by default.
21863 Usage: $0 [OPTION]... [TAG]...
21865 -h, --help print this help, then exit
21866 -V, --version print version number and configuration settings, then exit
21867 --config print configuration, then exit
21868 -q, --quiet, --silent
21869 do not print progress messages
21870 -d, --debug don't remove temporary files
21871 --recheck update $as_me by reconfiguring in the same conditions
21872 --file=FILE[:TEMPLATE]
21873 instantiate the configuration file FILE
21874 --header=FILE[:TEMPLATE]
21875 instantiate the configuration header FILE
21877 Configuration files:
21878 $config_files
21880 Configuration headers:
21881 $config_headers
21883 Configuration links:
21884 $config_links
21886 Configuration commands:
21887 $config_commands
21889 Report bugs to <wine-devel@winehq.org>.
21890 Wine home page: <https://www.winehq.org>."
21892 _ACEOF
21893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21894 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21895 ac_cs_version="\\
21896 Wine config.status 6.17
21897 configured by $0, generated by GNU Autoconf 2.69,
21898 with options \\"\$ac_cs_config\\"
21900 Copyright (C) 2012 Free Software Foundation, Inc.
21901 This config.status script is free software; the Free Software Foundation
21902 gives unlimited permission to copy, distribute and modify it."
21904 ac_pwd='$ac_pwd'
21905 srcdir='$srcdir'
21906 test -n "\$AWK" || AWK=awk
21907 _ACEOF
21909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21910 # The default lists apply if the user does not specify any file.
21911 ac_need_defaults=:
21912 while test $# != 0
21914 case $1 in
21915 --*=?*)
21916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21917 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21918 ac_shift=:
21920 --*=)
21921 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21922 ac_optarg=
21923 ac_shift=:
21926 ac_option=$1
21927 ac_optarg=$2
21928 ac_shift=shift
21930 esac
21932 case $ac_option in
21933 # Handling of the options.
21934 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21935 ac_cs_recheck=: ;;
21936 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21937 $as_echo "$ac_cs_version"; exit ;;
21938 --config | --confi | --conf | --con | --co | --c )
21939 $as_echo "$ac_cs_config"; exit ;;
21940 --debug | --debu | --deb | --de | --d | -d )
21941 debug=: ;;
21942 --file | --fil | --fi | --f )
21943 $ac_shift
21944 case $ac_optarg in
21945 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21946 '') as_fn_error $? "missing file argument" ;;
21947 esac
21948 as_fn_append CONFIG_FILES " '$ac_optarg'"
21949 ac_need_defaults=false;;
21950 --header | --heade | --head | --hea )
21951 $ac_shift
21952 case $ac_optarg in
21953 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21954 esac
21955 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21956 ac_need_defaults=false;;
21957 --he | --h)
21958 # Conflict between --help and --header
21959 as_fn_error $? "ambiguous option: \`$1'
21960 Try \`$0 --help' for more information.";;
21961 --help | --hel | -h )
21962 $as_echo "$ac_cs_usage"; exit ;;
21963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21965 ac_cs_silent=: ;;
21967 # This is an error.
21968 -*) as_fn_error $? "unrecognized option: \`$1'
21969 Try \`$0 --help' for more information." ;;
21971 *) as_fn_append ac_config_targets " $1"
21972 ac_need_defaults=false ;;
21974 esac
21975 shift
21976 done
21978 ac_configure_extra_args=
21980 if $ac_cs_silent; then
21981 exec 6>/dev/null
21982 ac_configure_extra_args="$ac_configure_extra_args --silent"
21985 _ACEOF
21986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21987 if \$ac_cs_recheck; then
21988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21989 shift
21990 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21991 CONFIG_SHELL='$SHELL'
21992 export CONFIG_SHELL
21993 exec "\$@"
21996 _ACEOF
21997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21998 exec 5>>config.log
22000 echo
22001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22002 ## Running $as_me. ##
22003 _ASBOX
22004 $as_echo "$ac_log"
22005 } >&5
22007 _ACEOF
22008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22010 # INIT-COMMANDS
22012 wine_fn_output_makedep ()
22014 as_dir=tools; as_fn_mkdir_p
22015 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22017 wine_fn_output_makefile ()
22019 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22020 `cat $wine_rules_file`
22021 _WINE_EOF
22022 as_fn_error $? "could not create Makefile" "$LINENO" 5
22025 _ACEOF
22027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22029 # Handling of arguments.
22030 for ac_config_target in $ac_config_targets
22032 case $ac_config_target in
22033 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22034 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22035 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22036 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22037 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22038 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22039 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22041 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22042 esac
22043 done
22046 # If the user did not use the arguments to specify the items to instantiate,
22047 # then the envvar interface is used. Set only those that are not.
22048 # We use the long form for the default assignment because of an extremely
22049 # bizarre bug on SunOS 4.1.3.
22050 if $ac_need_defaults; then
22051 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22052 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22053 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22054 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22057 # Have a temporary directory for convenience. Make it in the build tree
22058 # simply because there is no reason against having it here, and in addition,
22059 # creating and moving files from /tmp can sometimes cause problems.
22060 # Hook for its removal unless debugging.
22061 # Note that there is a small window in which the directory will not be cleaned:
22062 # after its creation but before its name has been assigned to `$tmp'.
22063 $debug ||
22065 tmp= ac_tmp=
22066 trap 'exit_status=$?
22067 : "${ac_tmp:=$tmp}"
22068 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22070 trap 'as_fn_exit 1' 1 2 13 15
22072 # Create a (secure) tmp directory for tmp files.
22075 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22076 test -d "$tmp"
22077 } ||
22079 tmp=./conf$$-$RANDOM
22080 (umask 077 && mkdir "$tmp")
22081 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22082 ac_tmp=$tmp
22084 # Set up the scripts for CONFIG_FILES section.
22085 # No need to generate them if there are no CONFIG_FILES.
22086 # This happens for instance with `./config.status config.h'.
22087 if test -n "$CONFIG_FILES"; then
22090 ac_cr=`echo X | tr X '\015'`
22091 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22092 # But we know of no other shell where ac_cr would be empty at this
22093 # point, so we can use a bashism as a fallback.
22094 if test "x$ac_cr" = x; then
22095 eval ac_cr=\$\'\\r\'
22097 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22098 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22099 ac_cs_awk_cr='\\r'
22100 else
22101 ac_cs_awk_cr=$ac_cr
22104 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22105 _ACEOF
22109 echo "cat >conf$$subs.awk <<_ACEOF" &&
22110 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22111 echo "_ACEOF"
22112 } >conf$$subs.sh ||
22113 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22114 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22115 ac_delim='%!_!# '
22116 for ac_last_try in false false false false false :; do
22117 . ./conf$$subs.sh ||
22118 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22120 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22121 if test $ac_delim_n = $ac_delim_num; then
22122 break
22123 elif $ac_last_try; then
22124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22125 else
22126 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22128 done
22129 rm -f conf$$subs.sh
22131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22132 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22133 _ACEOF
22134 sed -n '
22136 s/^/S["/; s/!.*/"]=/
22139 s/^[^!]*!//
22140 :repl
22141 t repl
22142 s/'"$ac_delim"'$//
22143 t delim
22146 s/\(.\{148\}\)..*/\1/
22147 t more1
22148 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22151 b repl
22152 :more1
22153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22156 s/.\{148\}//
22157 t nl
22158 :delim
22160 s/\(.\{148\}\)..*/\1/
22161 t more2
22162 s/["\\]/\\&/g; s/^/"/; s/$/"/
22165 :more2
22166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22169 s/.\{148\}//
22170 t delim
22171 ' <conf$$subs.awk | sed '
22172 /^[^""]/{
22174 s/\n//
22176 ' >>$CONFIG_STATUS || ac_write_fail=1
22177 rm -f conf$$subs.awk
22178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22179 _ACAWK
22180 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22181 for (key in S) S_is_set[key] = 1
22182 FS = "\a"
22186 line = $ 0
22187 nfields = split(line, field, "@")
22188 substed = 0
22189 len = length(field[1])
22190 for (i = 2; i < nfields; i++) {
22191 key = field[i]
22192 keylen = length(key)
22193 if (S_is_set[key]) {
22194 value = S[key]
22195 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22196 len += length(value) + length(field[++i])
22197 substed = 1
22198 } else
22199 len += 1 + keylen
22202 print line
22205 _ACAWK
22206 _ACEOF
22207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22208 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22209 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22210 else
22212 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22213 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22214 _ACEOF
22216 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22217 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22218 # trailing colons and then remove the whole line if VPATH becomes empty
22219 # (actually we leave an empty line to preserve line numbers).
22220 if test "x$srcdir" = x.; then
22221 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22223 s///
22224 s/^/:/
22225 s/[ ]*$/:/
22226 s/:\$(srcdir):/:/g
22227 s/:\${srcdir}:/:/g
22228 s/:@srcdir@:/:/g
22229 s/^:*//
22230 s/:*$//
22232 s/\(=[ ]*\).*/\1/
22234 s/\n//
22235 s/^[^=]*=[ ]*$//
22239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22240 fi # test -n "$CONFIG_FILES"
22242 # Set up the scripts for CONFIG_HEADERS section.
22243 # No need to generate them if there are no CONFIG_HEADERS.
22244 # This happens for instance with `./config.status Makefile'.
22245 if test -n "$CONFIG_HEADERS"; then
22246 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22247 BEGIN {
22248 _ACEOF
22250 # Transform confdefs.h into an awk script `defines.awk', embedded as
22251 # here-document in config.status, that substitutes the proper values into
22252 # config.h.in to produce config.h.
22254 # Create a delimiter string that does not exist in confdefs.h, to ease
22255 # handling of long lines.
22256 ac_delim='%!_!# '
22257 for ac_last_try in false false :; do
22258 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22259 if test -z "$ac_tt"; then
22260 break
22261 elif $ac_last_try; then
22262 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22263 else
22264 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22266 done
22268 # For the awk script, D is an array of macro values keyed by name,
22269 # likewise P contains macro parameters if any. Preserve backslash
22270 # newline sequences.
22272 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22273 sed -n '
22274 s/.\{148\}/&'"$ac_delim"'/g
22275 t rset
22276 :rset
22277 s/^[ ]*#[ ]*define[ ][ ]*/ /
22278 t def
22280 :def
22281 s/\\$//
22282 t bsnl
22283 s/["\\]/\\&/g
22284 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22285 D["\1"]=" \3"/p
22286 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22288 :bsnl
22289 s/["\\]/\\&/g
22290 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22291 D["\1"]=" \3\\\\\\n"\\/p
22292 t cont
22293 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22294 t cont
22296 :cont
22298 s/.\{148\}/&'"$ac_delim"'/g
22299 t clear
22300 :clear
22301 s/\\$//
22302 t bsnlc
22303 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22305 :bsnlc
22306 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22307 b cont
22308 ' <confdefs.h | sed '
22309 s/'"$ac_delim"'/"\\\
22310 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22313 for (key in D) D_is_set[key] = 1
22314 FS = "\a"
22316 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22317 line = \$ 0
22318 split(line, arg, " ")
22319 if (arg[1] == "#") {
22320 defundef = arg[2]
22321 mac1 = arg[3]
22322 } else {
22323 defundef = substr(arg[1], 2)
22324 mac1 = arg[2]
22326 split(mac1, mac2, "(") #)
22327 macro = mac2[1]
22328 prefix = substr(line, 1, index(line, defundef) - 1)
22329 if (D_is_set[macro]) {
22330 # Preserve the white space surrounding the "#".
22331 print prefix "define", macro P[macro] D[macro]
22332 next
22333 } else {
22334 # Replace #undef with comments. This is necessary, for example,
22335 # in the case of _POSIX_SOURCE, which is predefined and required
22336 # on some systems where configure will not decide to define it.
22337 if (defundef == "undef") {
22338 print "/*", prefix defundef, macro, "*/"
22339 next
22343 { print }
22344 _ACAWK
22345 _ACEOF
22346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22347 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22348 fi # test -n "$CONFIG_HEADERS"
22351 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22352 shift
22353 for ac_tag
22355 case $ac_tag in
22356 :[FHLC]) ac_mode=$ac_tag; continue;;
22357 esac
22358 case $ac_mode$ac_tag in
22359 :[FHL]*:*);;
22360 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22361 :[FH]-) ac_tag=-:-;;
22362 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22363 esac
22364 ac_save_IFS=$IFS
22365 IFS=:
22366 set x $ac_tag
22367 IFS=$ac_save_IFS
22368 shift
22369 ac_file=$1
22370 shift
22372 case $ac_mode in
22373 :L) ac_source=$1;;
22374 :[FH])
22375 ac_file_inputs=
22376 for ac_f
22378 case $ac_f in
22379 -) ac_f="$ac_tmp/stdin";;
22380 *) # Look for the file first in the build tree, then in the source tree
22381 # (if the path is not absolute). The absolute path cannot be DOS-style,
22382 # because $ac_f cannot contain `:'.
22383 test -f "$ac_f" ||
22384 case $ac_f in
22385 [\\/$]*) false;;
22386 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22387 esac ||
22388 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22389 esac
22390 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22391 as_fn_append ac_file_inputs " '$ac_f'"
22392 done
22394 # Let's still pretend it is `configure' which instantiates (i.e., don't
22395 # use $as_me), people would be surprised to read:
22396 # /* config.h. Generated by config.status. */
22397 configure_input='Generated from '`
22398 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22399 `' by configure.'
22400 if test x"$ac_file" != x-; then
22401 configure_input="$ac_file. $configure_input"
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22403 $as_echo "$as_me: creating $ac_file" >&6;}
22405 # Neutralize special characters interpreted by sed in replacement strings.
22406 case $configure_input in #(
22407 *\&* | *\|* | *\\* )
22408 ac_sed_conf_input=`$as_echo "$configure_input" |
22409 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22410 *) ac_sed_conf_input=$configure_input;;
22411 esac
22413 case $ac_tag in
22414 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22415 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22416 esac
22418 esac
22420 ac_dir=`$as_dirname -- "$ac_file" ||
22421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22422 X"$ac_file" : 'X\(//\)[^/]' \| \
22423 X"$ac_file" : 'X\(//\)$' \| \
22424 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22425 $as_echo X"$ac_file" |
22426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22427 s//\1/
22430 /^X\(\/\/\)[^/].*/{
22431 s//\1/
22434 /^X\(\/\/\)$/{
22435 s//\1/
22438 /^X\(\/\).*/{
22439 s//\1/
22442 s/.*/./; q'`
22443 as_dir="$ac_dir"; as_fn_mkdir_p
22444 ac_builddir=.
22446 case "$ac_dir" in
22447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22450 # A ".." for each directory in $ac_dir_suffix.
22451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22452 case $ac_top_builddir_sub in
22453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22455 esac ;;
22456 esac
22457 ac_abs_top_builddir=$ac_pwd
22458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22459 # for backward compatibility:
22460 ac_top_builddir=$ac_top_build_prefix
22462 case $srcdir in
22463 .) # We are building in place.
22464 ac_srcdir=.
22465 ac_top_srcdir=$ac_top_builddir_sub
22466 ac_abs_top_srcdir=$ac_pwd ;;
22467 [\\/]* | ?:[\\/]* ) # Absolute name.
22468 ac_srcdir=$srcdir$ac_dir_suffix;
22469 ac_top_srcdir=$srcdir
22470 ac_abs_top_srcdir=$srcdir ;;
22471 *) # Relative name.
22472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22473 ac_top_srcdir=$ac_top_build_prefix$srcdir
22474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22475 esac
22476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22479 case $ac_mode in
22482 # CONFIG_FILE
22485 _ACEOF
22487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22488 # If the template does not know about datarootdir, expand it.
22489 # FIXME: This hack should be removed a few years after 2.60.
22490 ac_datarootdir_hack=; ac_datarootdir_seen=
22491 ac_sed_dataroot='
22492 /datarootdir/ {
22496 /@datadir@/p
22497 /@docdir@/p
22498 /@infodir@/p
22499 /@localedir@/p
22500 /@mandir@/p'
22501 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22502 *datarootdir*) ac_datarootdir_seen=yes;;
22503 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22505 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22506 _ACEOF
22507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22508 ac_datarootdir_hack='
22509 s&@datadir@&$datadir&g
22510 s&@docdir@&$docdir&g
22511 s&@infodir@&$infodir&g
22512 s&@localedir@&$localedir&g
22513 s&@mandir@&$mandir&g
22514 s&\\\${datarootdir}&$datarootdir&g' ;;
22515 esac
22516 _ACEOF
22518 # Neutralize VPATH when `$srcdir' = `.'.
22519 # Shell code in configure.ac might set extrasub.
22520 # FIXME: do we really want to maintain this feature?
22521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22522 ac_sed_extra="$ac_vpsub
22523 $extrasub
22524 _ACEOF
22525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22528 s|@configure_input@|$ac_sed_conf_input|;t t
22529 s&@top_builddir@&$ac_top_builddir_sub&;t t
22530 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22531 s&@srcdir@&$ac_srcdir&;t t
22532 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22533 s&@top_srcdir@&$ac_top_srcdir&;t t
22534 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22535 s&@builddir@&$ac_builddir&;t t
22536 s&@abs_builddir@&$ac_abs_builddir&;t t
22537 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22538 $ac_datarootdir_hack
22540 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22541 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22544 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22546 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22548 which seems to be undefined. Please make sure it is defined" >&5
22549 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22550 which seems to be undefined. Please make sure it is defined" >&2;}
22552 rm -f "$ac_tmp/stdin"
22553 case $ac_file in
22554 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22555 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22556 esac \
22557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22561 # CONFIG_HEADER
22563 if test x"$ac_file" != x-; then
22565 $as_echo "/* $configure_input */" \
22566 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22567 } >"$ac_tmp/config.h" \
22568 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22569 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22571 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22572 else
22573 rm -f "$ac_file"
22574 mv "$ac_tmp/config.h" "$ac_file" \
22575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22577 else
22578 $as_echo "/* $configure_input */" \
22579 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22580 || as_fn_error $? "could not create -" "$LINENO" 5
22585 # CONFIG_LINK
22588 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22590 else
22591 # Prefer the file from the source tree if names are identical.
22592 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22593 ac_source=$srcdir/$ac_source
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22597 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22599 if test ! -r "$ac_source"; then
22600 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22602 rm -f "$ac_file"
22604 # Try a relative symlink, then a hard link, then a copy.
22605 case $ac_source in
22606 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22607 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22608 esac
22609 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22610 ln "$ac_source" "$ac_file" 2>/dev/null ||
22611 cp -p "$ac_source" "$ac_file" ||
22612 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22615 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22616 $as_echo "$as_me: executing $ac_file commands" >&6;}
22618 esac
22621 case $ac_file$ac_mode in
22622 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22623 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22624 "Makefile":C) wine_fn_output_makefile Makefile ;;
22626 esac
22627 done # for ac_tag
22630 as_fn_exit 0
22631 _ACEOF
22632 ac_clean_files=$ac_clean_files_save
22634 test $ac_write_fail = 0 ||
22635 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22638 # configure is writing to config.log, and then calls config.status.
22639 # config.status does its own redirection, appending to config.log.
22640 # Unfortunately, on DOS this fails, as config.log is still kept open
22641 # by configure, so config.status won't be able to write to it; its
22642 # output is simply discarded. So we exec the FD to /dev/null,
22643 # effectively closing config.log, so it can be properly (re)opened and
22644 # appended to by config.status. When coming back to configure, we
22645 # need to make the FD available again.
22646 if test "$no_create" != yes; then
22647 ac_cs_success=:
22648 ac_config_status_args=
22649 test "$silent" = yes &&
22650 ac_config_status_args="$ac_config_status_args --quiet"
22651 exec 5>/dev/null
22652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22653 exec 5>>config.log
22654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22655 # would make configure fail if this is the last instruction.
22656 $ac_cs_success || as_fn_exit 1
22658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22664 if test "$no_create" = "yes"
22665 then
22666 exit 0
22669 ac_save_IFS="$IFS"
22670 if test "x$wine_notices" != x; then
22671 echo >&6
22672 IFS="|"
22673 for msg in $wine_notices; do
22674 IFS="$ac_save_IFS"
22675 if ${msg:+false} :; then :
22677 else
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22679 $as_echo "$as_me: $msg" >&6;}
22681 done
22683 IFS="|"
22684 for msg in $wine_warnings; do
22685 IFS="$ac_save_IFS"
22686 if ${msg:+false} :; then :
22688 else
22689 echo >&2
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22691 $as_echo "$as_me: WARNING: $msg" >&2;}
22693 done
22694 IFS="$ac_save_IFS"
22696 $as_echo "
22697 $as_me: Finished. Do '${ac_make}' to compile Wine.
22698 " >&6