wintrust: Cache provider functions in WintrustLoadFunctionPointers().
[wine.git] / configure
blobdb2e07679d4c5f627b3eb232433f633d595b101e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.18.
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.18'
584 PACKAGE_STRING='Wine 6.18'
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 TOOLSEXT
632 MSVCRTFLAGS
633 EXTRACFLAGS
634 VKD3D_SHADER_LIBS
635 VKD3D_SHADER_CFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JXRLIB_LIBS
648 JXRLIB_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 UNIXLDFLAGS
754 UNIXDLLFLAGS
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l1_2_0
937 enable_api_ms_win_core_console_l2_1_0
938 enable_api_ms_win_core_console_l3_2_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_featurestaging_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_1
954 enable_api_ms_win_core_file_ansi_l2_1_0
955 enable_api_ms_win_core_file_fromapp_l1_1_0
956 enable_api_ms_win_core_file_l1_1_0
957 enable_api_ms_win_core_file_l1_2_0
958 enable_api_ms_win_core_file_l1_2_1
959 enable_api_ms_win_core_file_l1_2_2
960 enable_api_ms_win_core_file_l2_1_0
961 enable_api_ms_win_core_file_l2_1_1
962 enable_api_ms_win_core_file_l2_1_2
963 enable_api_ms_win_core_handle_l1_1_0
964 enable_api_ms_win_core_heap_l1_1_0
965 enable_api_ms_win_core_heap_l1_2_0
966 enable_api_ms_win_core_heap_l2_1_0
967 enable_api_ms_win_core_heap_obsolete_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_2_0
970 enable_api_ms_win_core_io_l1_1_0
971 enable_api_ms_win_core_io_l1_1_1
972 enable_api_ms_win_core_job_l1_1_0
973 enable_api_ms_win_core_job_l2_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_1
976 enable_api_ms_win_core_kernel32_legacy_l1_1_2
977 enable_api_ms_win_core_kernel32_legacy_l1_1_5
978 enable_api_ms_win_core_kernel32_private_l1_1_1
979 enable_api_ms_win_core_largeinteger_l1_1_0
980 enable_api_ms_win_core_libraryloader_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_1
982 enable_api_ms_win_core_libraryloader_l1_2_0
983 enable_api_ms_win_core_libraryloader_l1_2_1
984 enable_api_ms_win_core_libraryloader_l1_2_2
985 enable_api_ms_win_core_libraryloader_l2_1_0
986 enable_api_ms_win_core_localization_l1_1_0
987 enable_api_ms_win_core_localization_l1_2_0
988 enable_api_ms_win_core_localization_l1_2_1
989 enable_api_ms_win_core_localization_l1_2_2
990 enable_api_ms_win_core_localization_l2_1_0
991 enable_api_ms_win_core_localization_obsolete_l1_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_2_0
993 enable_api_ms_win_core_localization_obsolete_l1_3_0
994 enable_api_ms_win_core_localization_private_l1_1_0
995 enable_api_ms_win_core_localregistry_l1_1_0
996 enable_api_ms_win_core_memory_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_1
998 enable_api_ms_win_core_memory_l1_1_2
999 enable_api_ms_win_core_memory_l1_1_3
1000 enable_api_ms_win_core_memory_l1_1_4
1001 enable_api_ms_win_core_misc_l1_1_0
1002 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1003 enable_api_ms_win_core_namedpipe_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_2_0
1005 enable_api_ms_win_core_namespace_l1_1_0
1006 enable_api_ms_win_core_normalization_l1_1_0
1007 enable_api_ms_win_core_path_l1_1_0
1008 enable_api_ms_win_core_privateprofile_l1_1_1
1009 enable_api_ms_win_core_processenvironment_l1_1_0
1010 enable_api_ms_win_core_processenvironment_l1_2_0
1011 enable_api_ms_win_core_processthreads_l1_1_0
1012 enable_api_ms_win_core_processthreads_l1_1_1
1013 enable_api_ms_win_core_processthreads_l1_1_2
1014 enable_api_ms_win_core_processthreads_l1_1_3
1015 enable_api_ms_win_core_processtopology_l1_1_0
1016 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1017 enable_api_ms_win_core_profile_l1_1_0
1018 enable_api_ms_win_core_psapi_ansi_l1_1_0
1019 enable_api_ms_win_core_psapi_l1_1_0
1020 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_psm_appnotify_l1_1_0
1022 enable_api_ms_win_core_quirks_l1_1_0
1023 enable_api_ms_win_core_realtime_l1_1_0
1024 enable_api_ms_win_core_registry_l1_1_0
1025 enable_api_ms_win_core_registry_l2_1_0
1026 enable_api_ms_win_core_registry_l2_2_0
1027 enable_api_ms_win_core_registryuserspecific_l1_1_0
1028 enable_api_ms_win_core_rtlsupport_l1_1_0
1029 enable_api_ms_win_core_rtlsupport_l1_2_0
1030 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1031 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1032 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1033 enable_api_ms_win_core_shutdown_l1_1_0
1034 enable_api_ms_win_core_sidebyside_l1_1_0
1035 enable_api_ms_win_core_string_l1_1_0
1036 enable_api_ms_win_core_string_l2_1_0
1037 enable_api_ms_win_core_string_obsolete_l1_1_0
1038 enable_api_ms_win_core_stringansi_l1_1_0
1039 enable_api_ms_win_core_stringloader_l1_1_1
1040 enable_api_ms_win_core_synch_ansi_l1_1_0
1041 enable_api_ms_win_core_synch_l1_1_0
1042 enable_api_ms_win_core_synch_l1_2_0
1043 enable_api_ms_win_core_synch_l1_2_1
1044 enable_api_ms_win_core_sysinfo_l1_1_0
1045 enable_api_ms_win_core_sysinfo_l1_2_0
1046 enable_api_ms_win_core_sysinfo_l1_2_1
1047 enable_api_ms_win_core_systemtopology_l1_1_0
1048 enable_api_ms_win_core_threadpool_l1_1_0
1049 enable_api_ms_win_core_threadpool_l1_2_0
1050 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1051 enable_api_ms_win_core_threadpool_private_l1_1_0
1052 enable_api_ms_win_core_timezone_l1_1_0
1053 enable_api_ms_win_core_toolhelp_l1_1_0
1054 enable_api_ms_win_core_url_l1_1_0
1055 enable_api_ms_win_core_util_l1_1_0
1056 enable_api_ms_win_core_version_l1_1_0
1057 enable_api_ms_win_core_version_l1_1_1
1058 enable_api_ms_win_core_version_private_l1_1_0
1059 enable_api_ms_win_core_versionansi_l1_1_0
1060 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1061 enable_api_ms_win_core_winrt_error_l1_1_0
1062 enable_api_ms_win_core_winrt_error_l1_1_1
1063 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1064 enable_api_ms_win_core_winrt_l1_1_0
1065 enable_api_ms_win_core_winrt_registration_l1_1_0
1066 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1067 enable_api_ms_win_core_winrt_string_l1_1_0
1068 enable_api_ms_win_core_winrt_string_l1_1_1
1069 enable_api_ms_win_core_wow64_l1_1_0
1070 enable_api_ms_win_core_wow64_l1_1_1
1071 enable_api_ms_win_core_xstate_l1_1_0
1072 enable_api_ms_win_core_xstate_l2_1_0
1073 enable_api_ms_win_crt_conio_l1_1_0
1074 enable_api_ms_win_crt_convert_l1_1_0
1075 enable_api_ms_win_crt_environment_l1_1_0
1076 enable_api_ms_win_crt_filesystem_l1_1_0
1077 enable_api_ms_win_crt_heap_l1_1_0
1078 enable_api_ms_win_crt_locale_l1_1_0
1079 enable_api_ms_win_crt_math_l1_1_0
1080 enable_api_ms_win_crt_multibyte_l1_1_0
1081 enable_api_ms_win_crt_private_l1_1_0
1082 enable_api_ms_win_crt_process_l1_1_0
1083 enable_api_ms_win_crt_runtime_l1_1_0
1084 enable_api_ms_win_crt_stdio_l1_1_0
1085 enable_api_ms_win_crt_string_l1_1_0
1086 enable_api_ms_win_crt_time_l1_1_0
1087 enable_api_ms_win_crt_utility_l1_1_0
1088 enable_api_ms_win_devices_config_l1_1_0
1089 enable_api_ms_win_devices_config_l1_1_1
1090 enable_api_ms_win_devices_query_l1_1_1
1091 enable_api_ms_win_downlevel_advapi32_l1_1_0
1092 enable_api_ms_win_downlevel_advapi32_l2_1_0
1093 enable_api_ms_win_downlevel_kernel32_l2_1_0
1094 enable_api_ms_win_downlevel_normaliz_l1_1_0
1095 enable_api_ms_win_downlevel_ole32_l1_1_0
1096 enable_api_ms_win_downlevel_shell32_l1_1_0
1097 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1098 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1099 enable_api_ms_win_downlevel_user32_l1_1_0
1100 enable_api_ms_win_downlevel_version_l1_1_0
1101 enable_api_ms_win_dx_d3dkmt_l1_1_0
1102 enable_api_ms_win_eventing_classicprovider_l1_1_0
1103 enable_api_ms_win_eventing_consumer_l1_1_0
1104 enable_api_ms_win_eventing_controller_l1_1_0
1105 enable_api_ms_win_eventing_legacy_l1_1_0
1106 enable_api_ms_win_eventing_provider_l1_1_0
1107 enable_api_ms_win_eventlog_legacy_l1_1_0
1108 enable_api_ms_win_gaming_tcui_l1_1_0
1109 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1110 enable_api_ms_win_mm_joystick_l1_1_0
1111 enable_api_ms_win_mm_misc_l1_1_1
1112 enable_api_ms_win_mm_mme_l1_1_0
1113 enable_api_ms_win_mm_time_l1_1_0
1114 enable_api_ms_win_ntuser_dc_access_l1_1_0
1115 enable_api_ms_win_ntuser_rectangle_l1_1_0
1116 enable_api_ms_win_ntuser_sysparams_l1_1_0
1117 enable_api_ms_win_perf_legacy_l1_1_0
1118 enable_api_ms_win_power_base_l1_1_0
1119 enable_api_ms_win_power_setting_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1123 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1124 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1125 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1126 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1127 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1128 enable_api_ms_win_security_audit_l1_1_1
1129 enable_api_ms_win_security_base_l1_1_0
1130 enable_api_ms_win_security_base_l1_2_0
1131 enable_api_ms_win_security_base_private_l1_1_1
1132 enable_api_ms_win_security_credentials_l1_1_0
1133 enable_api_ms_win_security_cryptoapi_l1_1_0
1134 enable_api_ms_win_security_grouppolicy_l1_1_0
1135 enable_api_ms_win_security_lsalookup_l1_1_0
1136 enable_api_ms_win_security_lsalookup_l1_1_1
1137 enable_api_ms_win_security_lsalookup_l2_1_0
1138 enable_api_ms_win_security_lsalookup_l2_1_1
1139 enable_api_ms_win_security_lsapolicy_l1_1_0
1140 enable_api_ms_win_security_provider_l1_1_0
1141 enable_api_ms_win_security_sddl_l1_1_0
1142 enable_api_ms_win_security_systemfunctions_l1_1_0
1143 enable_api_ms_win_service_core_l1_1_0
1144 enable_api_ms_win_service_core_l1_1_1
1145 enable_api_ms_win_service_management_l1_1_0
1146 enable_api_ms_win_service_management_l2_1_0
1147 enable_api_ms_win_service_private_l1_1_1
1148 enable_api_ms_win_service_winsvc_l1_1_0
1149 enable_api_ms_win_service_winsvc_l1_2_0
1150 enable_api_ms_win_shcore_obsolete_l1_1_0
1151 enable_api_ms_win_shcore_scaling_l1_1_0
1152 enable_api_ms_win_shcore_scaling_l1_1_1
1153 enable_api_ms_win_shcore_stream_l1_1_0
1154 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1155 enable_api_ms_win_shcore_thread_l1_1_0
1156 enable_api_ms_win_shell_shellcom_l1_1_0
1157 enable_api_ms_win_shell_shellfolders_l1_1_0
1158 enable_apphelp
1159 enable_appwiz_cpl
1160 enable_atl
1161 enable_atl100
1162 enable_atl110
1163 enable_atl80
1164 enable_atl90
1165 enable_atlthunk
1166 enable_atmlib
1167 enable_authz
1168 enable_avicap32
1169 enable_avifil32
1170 enable_avrt
1171 enable_bcrypt
1172 enable_bluetoothapis
1173 enable_browseui
1174 enable_bthprops_cpl
1175 enable_cabinet
1176 enable_capi2032
1177 enable_cards
1178 enable_cdosys
1179 enable_cfgmgr32
1180 enable_clusapi
1181 enable_combase
1182 enable_comcat
1183 enable_comctl32
1184 enable_comdlg32
1185 enable_compstui
1186 enable_comsvcs
1187 enable_concrt140
1188 enable_connect
1189 enable_credui
1190 enable_crtdll
1191 enable_crypt32
1192 enable_cryptdlg
1193 enable_cryptdll
1194 enable_cryptext
1195 enable_cryptnet
1196 enable_cryptsp
1197 enable_cryptui
1198 enable_ctapi32
1199 enable_ctl3d32
1200 enable_d2d1
1201 enable_d3d10
1202 enable_d3d10_1
1203 enable_d3d10core
1204 enable_d3d11
1205 enable_d3d12
1206 enable_d3d8
1207 enable_d3d8thk
1208 enable_d3d9
1209 enable_d3dcompiler_33
1210 enable_d3dcompiler_34
1211 enable_d3dcompiler_35
1212 enable_d3dcompiler_36
1213 enable_d3dcompiler_37
1214 enable_d3dcompiler_38
1215 enable_d3dcompiler_39
1216 enable_d3dcompiler_40
1217 enable_d3dcompiler_41
1218 enable_d3dcompiler_42
1219 enable_d3dcompiler_43
1220 enable_d3dcompiler_46
1221 enable_d3dcompiler_47
1222 enable_d3dim
1223 enable_d3dim700
1224 enable_d3drm
1225 enable_d3dx10_33
1226 enable_d3dx10_34
1227 enable_d3dx10_35
1228 enable_d3dx10_36
1229 enable_d3dx10_37
1230 enable_d3dx10_38
1231 enable_d3dx10_39
1232 enable_d3dx10_40
1233 enable_d3dx10_41
1234 enable_d3dx10_42
1235 enable_d3dx10_43
1236 enable_d3dx11_42
1237 enable_d3dx11_43
1238 enable_d3dx9_24
1239 enable_d3dx9_25
1240 enable_d3dx9_26
1241 enable_d3dx9_27
1242 enable_d3dx9_28
1243 enable_d3dx9_29
1244 enable_d3dx9_30
1245 enable_d3dx9_31
1246 enable_d3dx9_32
1247 enable_d3dx9_33
1248 enable_d3dx9_34
1249 enable_d3dx9_35
1250 enable_d3dx9_36
1251 enable_d3dx9_37
1252 enable_d3dx9_38
1253 enable_d3dx9_39
1254 enable_d3dx9_40
1255 enable_d3dx9_41
1256 enable_d3dx9_42
1257 enable_d3dx9_43
1258 enable_d3dxof
1259 enable_davclnt
1260 enable_dbgeng
1261 enable_dbghelp
1262 enable_dciman32
1263 enable_dcomp
1264 enable_ddraw
1265 enable_ddrawex
1266 enable_devenum
1267 enable_dhcpcsvc
1268 enable_dhtmled_ocx
1269 enable_difxapi
1270 enable_dinput
1271 enable_dinput8
1272 enable_directmanipulation
1273 enable_dispex
1274 enable_dmband
1275 enable_dmcompos
1276 enable_dmime
1277 enable_dmloader
1278 enable_dmoguids
1279 enable_dmscript
1280 enable_dmstyle
1281 enable_dmsynth
1282 enable_dmusic
1283 enable_dmusic32
1284 enable_dnsapi
1285 enable_dplay
1286 enable_dplayx
1287 enable_dpnaddr
1288 enable_dpnet
1289 enable_dpnhpast
1290 enable_dpnhupnp
1291 enable_dpnlobby
1292 enable_dpvoice
1293 enable_dpwsockx
1294 enable_drmclien
1295 enable_dsdmo
1296 enable_dsound
1297 enable_dsquery
1298 enable_dssenh
1299 enable_dsuiext
1300 enable_dswave
1301 enable_dwmapi
1302 enable_dwrite
1303 enable_dx8vb
1304 enable_dxdiagn
1305 enable_dxerr8
1306 enable_dxerr9
1307 enable_dxgi
1308 enable_dxguid
1309 enable_dxtrans
1310 enable_dxva2
1311 enable_esent
1312 enable_evr
1313 enable_explorerframe
1314 enable_ext_ms_win_authz_context_l1_1_0
1315 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1316 enable_ext_ms_win_dwmapi_ext_l1_1_0
1317 enable_ext_ms_win_gdi_dc_create_l1_1_0
1318 enable_ext_ms_win_gdi_dc_create_l1_1_1
1319 enable_ext_ms_win_gdi_dc_l1_2_0
1320 enable_ext_ms_win_gdi_devcaps_l1_1_0
1321 enable_ext_ms_win_gdi_draw_l1_1_0
1322 enable_ext_ms_win_gdi_draw_l1_1_1
1323 enable_ext_ms_win_gdi_font_l1_1_0
1324 enable_ext_ms_win_gdi_font_l1_1_1
1325 enable_ext_ms_win_gdi_render_l1_1_0
1326 enable_ext_ms_win_kernel32_package_current_l1_1_0
1327 enable_ext_ms_win_kernel32_package_l1_1_1
1328 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1329 enable_ext_ms_win_ntuser_draw_l1_1_0
1330 enable_ext_ms_win_ntuser_gui_l1_1_0
1331 enable_ext_ms_win_ntuser_gui_l1_3_0
1332 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1333 enable_ext_ms_win_ntuser_message_l1_1_0
1334 enable_ext_ms_win_ntuser_message_l1_1_1
1335 enable_ext_ms_win_ntuser_misc_l1_1_0
1336 enable_ext_ms_win_ntuser_misc_l1_2_0
1337 enable_ext_ms_win_ntuser_misc_l1_5_1
1338 enable_ext_ms_win_ntuser_mouse_l1_1_0
1339 enable_ext_ms_win_ntuser_private_l1_1_1
1340 enable_ext_ms_win_ntuser_private_l1_3_1
1341 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1342 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1343 enable_ext_ms_win_ntuser_window_l1_1_0
1344 enable_ext_ms_win_ntuser_window_l1_1_1
1345 enable_ext_ms_win_ntuser_window_l1_1_4
1346 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1347 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1348 enable_ext_ms_win_oleacc_l1_1_0
1349 enable_ext_ms_win_ras_rasapi32_l1_1_0
1350 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1351 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1352 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1356 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1357 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1358 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1359 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1360 enable_ext_ms_win_security_credui_l1_1_0
1361 enable_ext_ms_win_security_cryptui_l1_1_0
1362 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1363 enable_ext_ms_win_shell_comdlg32_l1_1_0
1364 enable_ext_ms_win_shell_shell32_l1_2_0
1365 enable_ext_ms_win_uxtheme_themes_l1_1_0
1366 enable_faultrep
1367 enable_feclient
1368 enable_fltlib
1369 enable_fltmgr_sys
1370 enable_fntcache
1371 enable_fontsub
1372 enable_fusion
1373 enable_fwpuclnt
1374 enable_gameux
1375 enable_gamingtcui
1376 enable_gdi32
1377 enable_gdiplus
1378 enable_glu32
1379 enable_gphoto2_ds
1380 enable_gpkcsp
1381 enable_hal
1382 enable_hhctrl_ocx
1383 enable_hid
1384 enable_hidclass_sys
1385 enable_hidparse_sys
1386 enable_hlink
1387 enable_hnetcfg
1388 enable_http_sys
1389 enable_httpapi
1390 enable_iccvid
1391 enable_icmp
1392 enable_ieframe
1393 enable_ieproxy
1394 enable_imaadp32_acm
1395 enable_imagehlp
1396 enable_imm32
1397 enable_inetcomm
1398 enable_inetcpl_cpl
1399 enable_inetmib1
1400 enable_infosoft
1401 enable_initpki
1402 enable_inkobj
1403 enable_inseng
1404 enable_iphlpapi
1405 enable_iprop
1406 enable_irprops_cpl
1407 enable_itircl
1408 enable_itss
1409 enable_joy_cpl
1410 enable_jscript
1411 enable_jsproxy
1412 enable_kerberos
1413 enable_kernel32
1414 enable_kernelbase
1415 enable_ksecdd_sys
1416 enable_ksproxy_ax
1417 enable_ksuser
1418 enable_ktmw32
1419 enable_l3codeca_acm
1420 enable_light_msstyles
1421 enable_loadperf
1422 enable_localspl
1423 enable_localui
1424 enable_lz32
1425 enable_mapi32
1426 enable_mapistub
1427 enable_mciavi32
1428 enable_mcicda
1429 enable_mciqtz32
1430 enable_mciseq
1431 enable_mciwave
1432 enable_mf
1433 enable_mf3216
1434 enable_mferror
1435 enable_mfmediaengine
1436 enable_mfplat
1437 enable_mfplay
1438 enable_mfreadwrite
1439 enable_mfuuid
1440 enable_mgmtapi
1441 enable_midimap
1442 enable_mlang
1443 enable_mmcndmgr
1444 enable_mmdevapi
1445 enable_mountmgr_sys
1446 enable_mp3dmod
1447 enable_mpr
1448 enable_mprapi
1449 enable_msacm32_drv
1450 enable_msacm32
1451 enable_msado15
1452 enable_msadp32_acm
1453 enable_msasn1
1454 enable_mscat32
1455 enable_mscms
1456 enable_mscoree
1457 enable_mscorwks
1458 enable_msctf
1459 enable_msctfp
1460 enable_msdaps
1461 enable_msdelta
1462 enable_msdmo
1463 enable_msdrm
1464 enable_msftedit
1465 enable_msg711_acm
1466 enable_msgsm32_acm
1467 enable_mshtml_tlb
1468 enable_mshtml
1469 enable_msi
1470 enable_msident
1471 enable_msimg32
1472 enable_msimsg
1473 enable_msimtf
1474 enable_msisip
1475 enable_msisys_ocx
1476 enable_msls31
1477 enable_msnet32
1478 enable_mspatcha
1479 enable_msports
1480 enable_msrle32
1481 enable_msscript_ocx
1482 enable_mssign32
1483 enable_mssip32
1484 enable_mstask
1485 enable_msv1_0
1486 enable_msvcirt
1487 enable_msvcm80
1488 enable_msvcm90
1489 enable_msvcp100
1490 enable_msvcp110
1491 enable_msvcp120
1492 enable_msvcp120_app
1493 enable_msvcp140
1494 enable_msvcp140_1
1495 enable_msvcp60
1496 enable_msvcp70
1497 enable_msvcp71
1498 enable_msvcp80
1499 enable_msvcp90
1500 enable_msvcr100
1501 enable_msvcr110
1502 enable_msvcr120
1503 enable_msvcr120_app
1504 enable_msvcr70
1505 enable_msvcr71
1506 enable_msvcr80
1507 enable_msvcr90
1508 enable_msvcrt
1509 enable_msvcrt20
1510 enable_msvcrt40
1511 enable_msvcrtd
1512 enable_msvfw32
1513 enable_msvidc32
1514 enable_mswsock
1515 enable_msxml
1516 enable_msxml2
1517 enable_msxml3
1518 enable_msxml4
1519 enable_msxml6
1520 enable_mtxdm
1521 enable_ncrypt
1522 enable_nddeapi
1523 enable_ndis_sys
1524 enable_netapi32
1525 enable_netcfgx
1526 enable_netio_sys
1527 enable_netprofm
1528 enable_netutils
1529 enable_newdev
1530 enable_ninput
1531 enable_normaliz
1532 enable_npmshtml
1533 enable_npptools
1534 enable_nsi
1535 enable_nsiproxy_sys
1536 enable_ntdll
1537 enable_ntdsapi
1538 enable_ntoskrnl_exe
1539 enable_ntprint
1540 enable_objsel
1541 enable_odbc32
1542 enable_odbcbcp
1543 enable_odbccp32
1544 enable_odbccu32
1545 enable_ole32
1546 enable_oleacc
1547 enable_oleaut32
1548 enable_olecli32
1549 enable_oledb32
1550 enable_oledlg
1551 enable_olepro32
1552 enable_olesvr32
1553 enable_olethk32
1554 enable_opcservices
1555 enable_openal32
1556 enable_opencl
1557 enable_opengl32
1558 enable_packager
1559 enable_pdh
1560 enable_photometadatahandler
1561 enable_pidgen
1562 enable_powrprof
1563 enable_printui
1564 enable_prntvpt
1565 enable_propsys
1566 enable_psapi
1567 enable_pstorec
1568 enable_pwrshplugin
1569 enable_qasf
1570 enable_qcap
1571 enable_qdvd
1572 enable_qedit
1573 enable_qmgr
1574 enable_qmgrprxy
1575 enable_quartz
1576 enable_query
1577 enable_qwave
1578 enable_rasapi32
1579 enable_rasdlg
1580 enable_regapi
1581 enable_resutils
1582 enable_riched20
1583 enable_riched32
1584 enable_rpcrt4
1585 enable_rsabase
1586 enable_rsaenh
1587 enable_rstrtmgr
1588 enable_rtutils
1589 enable_rtworkq
1590 enable_samlib
1591 enable_sane_ds
1592 enable_sapi
1593 enable_sas
1594 enable_scarddlg
1595 enable_sccbase
1596 enable_schannel
1597 enable_schedsvc
1598 enable_scrobj
1599 enable_scrrun
1600 enable_scsiport_sys
1601 enable_sechost
1602 enable_secur32
1603 enable_security
1604 enable_sensapi
1605 enable_serialui
1606 enable_setupapi
1607 enable_sfc
1608 enable_sfc_os
1609 enable_shcore
1610 enable_shdoclc
1611 enable_shdocvw
1612 enable_shell32
1613 enable_shfolder
1614 enable_shlwapi
1615 enable_slbcsp
1616 enable_slc
1617 enable_snmpapi
1618 enable_softpub
1619 enable_spoolss
1620 enable_sppc
1621 enable_srclient
1622 enable_srvcli
1623 enable_sspicli
1624 enable_stdole2_tlb
1625 enable_stdole32_tlb
1626 enable_sti
1627 enable_strmbase
1628 enable_strmdll
1629 enable_strmiids
1630 enable_svrapi
1631 enable_sxs
1632 enable_t2embed
1633 enable_tapi32
1634 enable_taskschd
1635 enable_tbs
1636 enable_tdh
1637 enable_tdi_sys
1638 enable_traffic
1639 enable_twain_32
1640 enable_tzres
1641 enable_ucrtbase
1642 enable_uianimation
1643 enable_uiautomationcore
1644 enable_uiribbon
1645 enable_unicows
1646 enable_updspapi
1647 enable_url
1648 enable_urlmon
1649 enable_usbd_sys
1650 enable_user32
1651 enable_userenv
1652 enable_usp10
1653 enable_utildll
1654 enable_uuid
1655 enable_uxtheme
1656 enable_vbscript
1657 enable_vcomp
1658 enable_vcomp100
1659 enable_vcomp110
1660 enable_vcomp120
1661 enable_vcomp140
1662 enable_vcomp90
1663 enable_vcruntime140
1664 enable_vcruntime140_1
1665 enable_vdmdbg
1666 enable_version
1667 enable_vga
1668 enable_virtdisk
1669 enable_vssapi
1670 enable_vulkan_1
1671 enable_wbemdisp
1672 enable_wbemprox
1673 enable_wbemuuid
1674 enable_wdscore
1675 enable_webservices
1676 enable_websocket
1677 enable_wer
1678 enable_wevtapi
1679 enable_wevtsvc
1680 enable_wiaservc
1681 enable_wimgapi
1682 enable_win32u
1683 enable_windows_gaming_input
1684 enable_windows_globalization
1685 enable_windows_media_devices
1686 enable_windows_media_speech
1687 enable_windowscodecs
1688 enable_windowscodecsext
1689 enable_winealsa_drv
1690 enable_wineandroid_drv
1691 enable_winebus_sys
1692 enable_winecoreaudio_drv
1693 enable_winecrt0
1694 enable_wined3d
1695 enable_winegstreamer
1696 enable_winehid_sys
1697 enable_winejoystick_drv
1698 enable_winemac_drv
1699 enable_winemapi
1700 enable_wineoss_drv
1701 enable_wineps_drv
1702 enable_winepulse_drv
1703 enable_wineqtdecoder
1704 enable_wineusb_sys
1705 enable_winevulkan
1706 enable_winex11_drv
1707 enable_winexinput_sys
1708 enable_wing32
1709 enable_winhttp
1710 enable_wininet
1711 enable_winmm
1712 enable_winnls32
1713 enable_winscard
1714 enable_winspool_drv
1715 enable_winsta
1716 enable_wintab32
1717 enable_wintrust
1718 enable_winusb
1719 enable_wlanapi
1720 enable_wlanui
1721 enable_wldap32
1722 enable_wmasf
1723 enable_wmcodecdspuuid
1724 enable_wmi
1725 enable_wmiutils
1726 enable_wmp
1727 enable_wmphoto
1728 enable_wmvcore
1729 enable_wnaspi32
1730 enable_wow64
1731 enable_wow64cpu
1732 enable_wow64win
1733 enable_wpc
1734 enable_wpcap
1735 enable_ws2_32
1736 enable_wsdapi
1737 enable_wshom_ocx
1738 enable_wsnmp32
1739 enable_wsock32
1740 enable_wtsapi32
1741 enable_wuapi
1742 enable_wuaueng
1743 enable_x3daudio1_0
1744 enable_x3daudio1_1
1745 enable_x3daudio1_2
1746 enable_x3daudio1_3
1747 enable_x3daudio1_4
1748 enable_x3daudio1_5
1749 enable_x3daudio1_6
1750 enable_x3daudio1_7
1751 enable_xactengine2_0
1752 enable_xactengine2_4
1753 enable_xactengine2_7
1754 enable_xactengine2_9
1755 enable_xactengine3_0
1756 enable_xactengine3_1
1757 enable_xactengine3_2
1758 enable_xactengine3_3
1759 enable_xactengine3_4
1760 enable_xactengine3_5
1761 enable_xactengine3_6
1762 enable_xactengine3_7
1763 enable_xapofx1_1
1764 enable_xapofx1_2
1765 enable_xapofx1_3
1766 enable_xapofx1_4
1767 enable_xapofx1_5
1768 enable_xaudio2_0
1769 enable_xaudio2_1
1770 enable_xaudio2_2
1771 enable_xaudio2_3
1772 enable_xaudio2_4
1773 enable_xaudio2_5
1774 enable_xaudio2_6
1775 enable_xaudio2_7
1776 enable_xaudio2_8
1777 enable_xaudio2_9
1778 enable_xinput1_1
1779 enable_xinput1_2
1780 enable_xinput1_3
1781 enable_xinput1_4
1782 enable_xinput9_1_0
1783 enable_xmllite
1784 enable_xolehlp
1785 enable_xpsprint
1786 enable_xpssvcs
1787 enable_fonts
1788 enable_include
1789 enable_port
1790 enable_wine
1791 enable_loader
1792 enable_nls
1793 enable_po
1794 enable_arp
1795 enable_aspnet_regiis
1796 enable_attrib
1797 enable_cabarc
1798 enable_cacls
1799 enable_chcp_com
1800 enable_clock
1801 enable_cmd
1802 enable_conhost
1803 enable_control
1804 enable_cscript
1805 enable_dism
1806 enable_dplaysvr
1807 enable_dpnsvr
1808 enable_dpvsetup
1809 enable_dxdiag
1810 enable_eject
1811 enable_expand
1812 enable_explorer
1813 enable_extrac32
1814 enable_fc
1815 enable_find
1816 enable_findstr
1817 enable_fsutil
1818 enable_hh
1819 enable_hostname
1820 enable_icacls
1821 enable_icinfo
1822 enable_iexplore
1823 enable_ipconfig
1824 enable_lodctr
1825 enable_mofcomp
1826 enable_mshta
1827 enable_msidb
1828 enable_msiexec
1829 enable_msinfo32
1830 enable_net
1831 enable_netsh
1832 enable_netstat
1833 enable_ngen
1834 enable_notepad
1835 enable_oleview
1836 enable_ping
1837 enable_plugplay
1838 enable_powershell
1839 enable_presentationfontcache
1840 enable_progman
1841 enable_reg
1842 enable_regasm
1843 enable_regedit
1844 enable_regini
1845 enable_regsvcs
1846 enable_regsvr32
1847 enable_rpcss
1848 enable_rundll32
1849 enable_sc
1850 enable_schtasks
1851 enable_sdbinst
1852 enable_secedit
1853 enable_servicemodelreg
1854 enable_services
1855 enable_shutdown
1856 enable_spoolsv
1857 enable_start
1858 enable_subst
1859 enable_svchost
1860 enable_systeminfo
1861 enable_taskkill
1862 enable_tasklist
1863 enable_taskmgr
1864 enable_termsv
1865 enable_uninstaller
1866 enable_unlodctr
1867 enable_view
1868 enable_wevtutil
1869 enable_where
1870 enable_whoami
1871 enable_wineboot
1872 enable_winebrowser
1873 enable_winecfg
1874 enable_wineconsole
1875 enable_winedbg
1876 enable_winedevice
1877 enable_winefile
1878 enable_winemenubuilder
1879 enable_winemine
1880 enable_winemsibuilder
1881 enable_winepath
1882 enable_winetest
1883 enable_winhlp32
1884 enable_winmgmt
1885 enable_winver
1886 enable_wmic
1887 enable_wmplayer
1888 enable_wordpad
1889 enable_write
1890 enable_wscript
1891 enable_wuauserv
1892 enable_wusa
1893 enable_xcopy
1894 enable_server
1895 enable_tools
1896 enable_sfnt2fon
1897 enable_widl
1898 enable_winebuild
1899 enable_winedump
1900 enable_winegcc
1901 enable_winemaker
1902 enable_wmc
1903 enable_wrc
1905 ac_precious_vars='build_alias
1906 host_alias
1907 target_alias
1909 CFLAGS
1910 LDFLAGS
1911 LIBS
1912 CPPFLAGS
1914 CXXFLAGS
1917 OBJC
1918 OBJCFLAGS
1919 OBJCPP
1920 XMKMF
1921 XML2_CFLAGS
1922 XML2_LIBS
1923 XSLT_CFLAGS
1924 XSLT_LIBS
1925 INOTIFY_CFLAGS
1926 INOTIFY_LIBS
1927 DBUS_CFLAGS
1928 DBUS_LIBS
1929 HAL_CFLAGS
1930 HAL_LIBS
1931 GNUTLS_CFLAGS
1932 GNUTLS_LIBS
1933 SANE_CFLAGS
1934 SANE_LIBS
1935 USB_CFLAGS
1936 USB_LIBS
1937 GPHOTO2_CFLAGS
1938 GPHOTO2_LIBS
1939 GPHOTO2_PORT_CFLAGS
1940 GPHOTO2_PORT_LIBS
1941 LCMS2_CFLAGS
1942 LCMS2_LIBS
1943 FREETYPE_CFLAGS
1944 FREETYPE_LIBS
1945 PULSE_CFLAGS
1946 PULSE_LIBS
1947 GSTREAMER_CFLAGS
1948 GSTREAMER_LIBS
1949 UDEV_CFLAGS
1950 UDEV_LIBS
1951 UNWIND_CFLAGS
1952 UNWIND_LIBS
1953 SDL2_CFLAGS
1954 SDL2_LIBS
1955 FAUDIO_CFLAGS
1956 FAUDIO_LIBS
1957 CAPI20_CFLAGS
1958 CAPI20_LIBS
1959 CUPS_CFLAGS
1960 CUPS_LIBS
1961 FONTCONFIG_CFLAGS
1962 FONTCONFIG_LIBS
1963 KRB5_CFLAGS
1964 KRB5_LIBS
1965 GSSAPI_CFLAGS
1966 GSSAPI_LIBS
1967 JPEG_CFLAGS
1968 JPEG_LIBS
1969 JXRLIB_CFLAGS
1970 JXRLIB_LIBS
1971 PNG_CFLAGS
1972 PNG_LIBS
1973 TIFF_CFLAGS
1974 TIFF_LIBS
1975 MPG123_CFLAGS
1976 MPG123_LIBS
1977 NETAPI_CFLAGS
1978 NETAPI_LIBS
1979 VKD3D_CFLAGS
1980 VKD3D_LIBS
1981 VKD3D_SHADER_CFLAGS
1982 VKD3D_SHADER_LIBS
1983 LDAP_CFLAGS
1984 LDAP_LIBS'
1987 # Initialize some variables set by options.
1988 ac_init_help=
1989 ac_init_version=false
1990 ac_unrecognized_opts=
1991 ac_unrecognized_sep=
1992 # The variables have the same names as the options, with
1993 # dashes changed to underlines.
1994 cache_file=/dev/null
1995 exec_prefix=NONE
1996 no_create=
1997 no_recursion=
1998 prefix=NONE
1999 program_prefix=NONE
2000 program_suffix=NONE
2001 program_transform_name=s,x,x,
2002 silent=
2003 site=
2004 srcdir=
2005 verbose=
2006 x_includes=NONE
2007 x_libraries=NONE
2009 # Installation directory options.
2010 # These are left unexpanded so users can "make install exec_prefix=/foo"
2011 # and all the variables that are supposed to be based on exec_prefix
2012 # by default will actually change.
2013 # Use braces instead of parens because sh, perl, etc. also accept them.
2014 # (The list follows the same order as the GNU Coding Standards.)
2015 bindir='${exec_prefix}/bin'
2016 sbindir='${exec_prefix}/sbin'
2017 libexecdir='${exec_prefix}/libexec'
2018 datarootdir='${prefix}/share'
2019 datadir='${datarootdir}'
2020 sysconfdir='${prefix}/etc'
2021 sharedstatedir='${prefix}/com'
2022 localstatedir='${prefix}/var'
2023 runstatedir='${localstatedir}/run'
2024 includedir='${prefix}/include'
2025 oldincludedir='/usr/include'
2026 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2027 infodir='${datarootdir}/info'
2028 htmldir='${docdir}'
2029 dvidir='${docdir}'
2030 pdfdir='${docdir}'
2031 psdir='${docdir}'
2032 libdir='${exec_prefix}/lib'
2033 localedir='${datarootdir}/locale'
2034 mandir='${datarootdir}/man'
2036 ac_prev=
2037 ac_dashdash=
2038 for ac_option
2040 # If the previous option needs an argument, assign it.
2041 if test -n "$ac_prev"; then
2042 eval $ac_prev=\$ac_option
2043 ac_prev=
2044 continue
2047 case $ac_option in
2048 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2049 *=) ac_optarg= ;;
2050 *) ac_optarg=yes ;;
2051 esac
2053 # Accept the important Cygnus configure options, so we can diagnose typos.
2055 case $ac_dashdash$ac_option in
2057 ac_dashdash=yes ;;
2059 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2060 ac_prev=bindir ;;
2061 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2062 bindir=$ac_optarg ;;
2064 -build | --build | --buil | --bui | --bu)
2065 ac_prev=build_alias ;;
2066 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2067 build_alias=$ac_optarg ;;
2069 -cache-file | --cache-file | --cache-fil | --cache-fi \
2070 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2071 ac_prev=cache_file ;;
2072 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2073 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2074 cache_file=$ac_optarg ;;
2076 --config-cache | -C)
2077 cache_file=config.cache ;;
2079 -datadir | --datadir | --datadi | --datad)
2080 ac_prev=datadir ;;
2081 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2082 datadir=$ac_optarg ;;
2084 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2085 | --dataroo | --dataro | --datar)
2086 ac_prev=datarootdir ;;
2087 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2088 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2089 datarootdir=$ac_optarg ;;
2091 -disable-* | --disable-*)
2092 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2093 # Reject names that are not valid shell variable names.
2094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2095 as_fn_error $? "invalid feature name: $ac_useropt"
2096 ac_useropt_orig=$ac_useropt
2097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2098 case $ac_user_opts in
2100 "enable_$ac_useropt"
2101 "*) ;;
2102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2103 ac_unrecognized_sep=', ';;
2104 esac
2105 eval enable_$ac_useropt=no ;;
2107 -docdir | --docdir | --docdi | --doc | --do)
2108 ac_prev=docdir ;;
2109 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2110 docdir=$ac_optarg ;;
2112 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2113 ac_prev=dvidir ;;
2114 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2115 dvidir=$ac_optarg ;;
2117 -enable-* | --enable-*)
2118 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2119 # Reject names that are not valid shell variable names.
2120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2121 as_fn_error $? "invalid feature name: $ac_useropt"
2122 ac_useropt_orig=$ac_useropt
2123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2124 case $ac_user_opts in
2126 "enable_$ac_useropt"
2127 "*) ;;
2128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2129 ac_unrecognized_sep=', ';;
2130 esac
2131 eval enable_$ac_useropt=\$ac_optarg ;;
2133 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2134 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2135 | --exec | --exe | --ex)
2136 ac_prev=exec_prefix ;;
2137 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2138 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2139 | --exec=* | --exe=* | --ex=*)
2140 exec_prefix=$ac_optarg ;;
2142 -gas | --gas | --ga | --g)
2143 # Obsolete; use --with-gas.
2144 with_gas=yes ;;
2146 -help | --help | --hel | --he | -h)
2147 ac_init_help=long ;;
2148 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2149 ac_init_help=recursive ;;
2150 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2151 ac_init_help=short ;;
2153 -host | --host | --hos | --ho)
2154 ac_prev=host_alias ;;
2155 -host=* | --host=* | --hos=* | --ho=*)
2156 host_alias=$ac_optarg ;;
2158 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2159 ac_prev=htmldir ;;
2160 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2161 | --ht=*)
2162 htmldir=$ac_optarg ;;
2164 -includedir | --includedir | --includedi | --included | --include \
2165 | --includ | --inclu | --incl | --inc)
2166 ac_prev=includedir ;;
2167 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2168 | --includ=* | --inclu=* | --incl=* | --inc=*)
2169 includedir=$ac_optarg ;;
2171 -infodir | --infodir | --infodi | --infod | --info | --inf)
2172 ac_prev=infodir ;;
2173 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2174 infodir=$ac_optarg ;;
2176 -libdir | --libdir | --libdi | --libd)
2177 ac_prev=libdir ;;
2178 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2179 libdir=$ac_optarg ;;
2181 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2182 | --libexe | --libex | --libe)
2183 ac_prev=libexecdir ;;
2184 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2185 | --libexe=* | --libex=* | --libe=*)
2186 libexecdir=$ac_optarg ;;
2188 -localedir | --localedir | --localedi | --localed | --locale)
2189 ac_prev=localedir ;;
2190 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2191 localedir=$ac_optarg ;;
2193 -localstatedir | --localstatedir | --localstatedi | --localstated \
2194 | --localstate | --localstat | --localsta | --localst | --locals)
2195 ac_prev=localstatedir ;;
2196 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2197 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2198 localstatedir=$ac_optarg ;;
2200 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2201 ac_prev=mandir ;;
2202 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2203 mandir=$ac_optarg ;;
2205 -nfp | --nfp | --nf)
2206 # Obsolete; use --without-fp.
2207 with_fp=no ;;
2209 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2210 | --no-cr | --no-c | -n)
2211 no_create=yes ;;
2213 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2214 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2215 no_recursion=yes ;;
2217 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2218 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2219 | --oldin | --oldi | --old | --ol | --o)
2220 ac_prev=oldincludedir ;;
2221 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2222 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2223 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2224 oldincludedir=$ac_optarg ;;
2226 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2227 ac_prev=prefix ;;
2228 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2229 prefix=$ac_optarg ;;
2231 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2232 | --program-pre | --program-pr | --program-p)
2233 ac_prev=program_prefix ;;
2234 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2235 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2236 program_prefix=$ac_optarg ;;
2238 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2239 | --program-suf | --program-su | --program-s)
2240 ac_prev=program_suffix ;;
2241 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2242 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2243 program_suffix=$ac_optarg ;;
2245 -program-transform-name | --program-transform-name \
2246 | --program-transform-nam | --program-transform-na \
2247 | --program-transform-n | --program-transform- \
2248 | --program-transform | --program-transfor \
2249 | --program-transfo | --program-transf \
2250 | --program-trans | --program-tran \
2251 | --progr-tra | --program-tr | --program-t)
2252 ac_prev=program_transform_name ;;
2253 -program-transform-name=* | --program-transform-name=* \
2254 | --program-transform-nam=* | --program-transform-na=* \
2255 | --program-transform-n=* | --program-transform-=* \
2256 | --program-transform=* | --program-transfor=* \
2257 | --program-transfo=* | --program-transf=* \
2258 | --program-trans=* | --program-tran=* \
2259 | --progr-tra=* | --program-tr=* | --program-t=*)
2260 program_transform_name=$ac_optarg ;;
2262 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2263 ac_prev=pdfdir ;;
2264 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2265 pdfdir=$ac_optarg ;;
2267 -psdir | --psdir | --psdi | --psd | --ps)
2268 ac_prev=psdir ;;
2269 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2270 psdir=$ac_optarg ;;
2272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2273 | -silent | --silent | --silen | --sile | --sil)
2274 silent=yes ;;
2276 -runstatedir | --runstatedir | --runstatedi | --runstated \
2277 | --runstate | --runstat | --runsta | --runst | --runs \
2278 | --run | --ru | --r)
2279 ac_prev=runstatedir ;;
2280 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2281 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2282 | --run=* | --ru=* | --r=*)
2283 runstatedir=$ac_optarg ;;
2285 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2286 ac_prev=sbindir ;;
2287 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2288 | --sbi=* | --sb=*)
2289 sbindir=$ac_optarg ;;
2291 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2292 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2293 | --sharedst | --shareds | --shared | --share | --shar \
2294 | --sha | --sh)
2295 ac_prev=sharedstatedir ;;
2296 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2297 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2298 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2299 | --sha=* | --sh=*)
2300 sharedstatedir=$ac_optarg ;;
2302 -site | --site | --sit)
2303 ac_prev=site ;;
2304 -site=* | --site=* | --sit=*)
2305 site=$ac_optarg ;;
2307 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2308 ac_prev=srcdir ;;
2309 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2310 srcdir=$ac_optarg ;;
2312 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2313 | --syscon | --sysco | --sysc | --sys | --sy)
2314 ac_prev=sysconfdir ;;
2315 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2316 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2317 sysconfdir=$ac_optarg ;;
2319 -target | --target | --targe | --targ | --tar | --ta | --t)
2320 ac_prev=target_alias ;;
2321 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2322 target_alias=$ac_optarg ;;
2324 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2325 verbose=yes ;;
2327 -version | --version | --versio | --versi | --vers | -V)
2328 ac_init_version=: ;;
2330 -with-* | --with-*)
2331 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2332 # Reject names that are not valid shell variable names.
2333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2334 as_fn_error $? "invalid package name: $ac_useropt"
2335 ac_useropt_orig=$ac_useropt
2336 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2337 case $ac_user_opts in
2339 "with_$ac_useropt"
2340 "*) ;;
2341 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2342 ac_unrecognized_sep=', ';;
2343 esac
2344 eval with_$ac_useropt=\$ac_optarg ;;
2346 -without-* | --without-*)
2347 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2348 # Reject names that are not valid shell variable names.
2349 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2350 as_fn_error $? "invalid package name: $ac_useropt"
2351 ac_useropt_orig=$ac_useropt
2352 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2353 case $ac_user_opts in
2355 "with_$ac_useropt"
2356 "*) ;;
2357 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2358 ac_unrecognized_sep=', ';;
2359 esac
2360 eval with_$ac_useropt=no ;;
2362 --x)
2363 # Obsolete; use --with-x.
2364 with_x=yes ;;
2366 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2367 | --x-incl | --x-inc | --x-in | --x-i)
2368 ac_prev=x_includes ;;
2369 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2370 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2371 x_includes=$ac_optarg ;;
2373 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2374 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2375 ac_prev=x_libraries ;;
2376 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2377 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2378 x_libraries=$ac_optarg ;;
2380 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2381 Try \`$0 --help' for more information"
2384 *=*)
2385 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2386 # Reject names that are not valid shell variable names.
2387 case $ac_envvar in #(
2388 '' | [0-9]* | *[!_$as_cr_alnum]* )
2389 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2390 esac
2391 eval $ac_envvar=\$ac_optarg
2392 export $ac_envvar ;;
2395 # FIXME: should be removed in autoconf 3.0.
2396 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2397 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2398 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2399 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2402 esac
2403 done
2405 if test -n "$ac_prev"; then
2406 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2407 as_fn_error $? "missing argument to $ac_option"
2410 if test -n "$ac_unrecognized_opts"; then
2411 case $enable_option_checking in
2412 no) ;;
2413 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2414 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2415 esac
2418 # Check all directory arguments for consistency.
2419 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2420 datadir sysconfdir sharedstatedir localstatedir includedir \
2421 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2422 libdir localedir mandir runstatedir
2424 eval ac_val=\$$ac_var
2425 # Remove trailing slashes.
2426 case $ac_val in
2427 */ )
2428 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2429 eval $ac_var=\$ac_val;;
2430 esac
2431 # Be sure to have absolute directory names.
2432 case $ac_val in
2433 [\\/$]* | ?:[\\/]* ) continue;;
2434 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2435 esac
2436 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2437 done
2439 # There might be people who depend on the old broken behavior: `$host'
2440 # used to hold the argument of --host etc.
2441 # FIXME: To remove some day.
2442 build=$build_alias
2443 host=$host_alias
2444 target=$target_alias
2446 # FIXME: To remove some day.
2447 if test "x$host_alias" != x; then
2448 if test "x$build_alias" = x; then
2449 cross_compiling=maybe
2450 elif test "x$build_alias" != "x$host_alias"; then
2451 cross_compiling=yes
2455 ac_tool_prefix=
2456 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2458 test "$silent" = yes && exec 6>/dev/null
2461 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2462 ac_ls_di=`ls -di .` &&
2463 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2464 as_fn_error $? "working directory cannot be determined"
2465 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2466 as_fn_error $? "pwd does not report name of working directory"
2469 # Find the source files, if location was not specified.
2470 if test -z "$srcdir"; then
2471 ac_srcdir_defaulted=yes
2472 # Try the directory containing this script, then the parent directory.
2473 ac_confdir=`$as_dirname -- "$as_myself" ||
2474 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2475 X"$as_myself" : 'X\(//\)[^/]' \| \
2476 X"$as_myself" : 'X\(//\)$' \| \
2477 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2478 $as_echo X"$as_myself" |
2479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2480 s//\1/
2483 /^X\(\/\/\)[^/].*/{
2484 s//\1/
2487 /^X\(\/\/\)$/{
2488 s//\1/
2491 /^X\(\/\).*/{
2492 s//\1/
2495 s/.*/./; q'`
2496 srcdir=$ac_confdir
2497 if test ! -r "$srcdir/$ac_unique_file"; then
2498 srcdir=..
2500 else
2501 ac_srcdir_defaulted=no
2503 if test ! -r "$srcdir/$ac_unique_file"; then
2504 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2505 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2507 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2508 ac_abs_confdir=`(
2509 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2510 pwd)`
2511 # When building in place, set srcdir=.
2512 if test "$ac_abs_confdir" = "$ac_pwd"; then
2513 srcdir=.
2515 # Remove unnecessary trailing slashes from srcdir.
2516 # Double slashes in file names in object file debugging info
2517 # mess up M-x gdb in Emacs.
2518 case $srcdir in
2519 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2520 esac
2521 for ac_var in $ac_precious_vars; do
2522 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2523 eval ac_env_${ac_var}_value=\$${ac_var}
2524 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2525 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2526 done
2529 # Report the --help message.
2531 if test "$ac_init_help" = "long"; then
2532 # Omit some internal or obsolete options to make the list less imposing.
2533 # This message is too long to be a string in the A/UX 3.1 sh.
2534 cat <<_ACEOF
2535 \`configure' configures Wine 6.18 to adapt to many kinds of systems.
2537 Usage: $0 [OPTION]... [VAR=VALUE]...
2539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2540 VAR=VALUE. See below for descriptions of some of the useful variables.
2542 Defaults for the options are specified in brackets.
2544 Configuration:
2545 -h, --help display this help and exit
2546 --help=short display options specific to this package
2547 --help=recursive display the short help of all the included packages
2548 -V, --version display version information and exit
2549 -q, --quiet, --silent do not print \`checking ...' messages
2550 --cache-file=FILE cache test results in FILE [disabled]
2551 -C, --config-cache alias for \`--cache-file=config.cache'
2552 -n, --no-create do not create output files
2553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2555 Installation directories:
2556 --prefix=PREFIX install architecture-independent files in PREFIX
2557 [$ac_default_prefix]
2558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2559 [PREFIX]
2561 By default, \`make install' will install all the files in
2562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2564 for instance \`--prefix=\$HOME'.
2566 For better control, use the options below.
2568 Fine tuning of the installation directories:
2569 --bindir=DIR user executables [EPREFIX/bin]
2570 --sbindir=DIR system admin executables [EPREFIX/sbin]
2571 --libexecdir=DIR program executables [EPREFIX/libexec]
2572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2575 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2576 --libdir=DIR object code libraries [EPREFIX/lib]
2577 --includedir=DIR C header files [PREFIX/include]
2578 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2579 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2580 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2581 --infodir=DIR info documentation [DATAROOTDIR/info]
2582 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2583 --mandir=DIR man documentation [DATAROOTDIR/man]
2584 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2585 --htmldir=DIR html documentation [DOCDIR]
2586 --dvidir=DIR dvi documentation [DOCDIR]
2587 --pdfdir=DIR pdf documentation [DOCDIR]
2588 --psdir=DIR ps documentation [DOCDIR]
2589 _ACEOF
2591 cat <<\_ACEOF
2593 X features:
2594 --x-includes=DIR X include files are in DIR
2595 --x-libraries=DIR X library files are in DIR
2597 System types:
2598 --build=BUILD configure for building on BUILD [guessed]
2599 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2600 _ACEOF
2603 if test -n "$ac_init_help"; then
2604 case $ac_init_help in
2605 short | recursive ) echo "Configuration of Wine 6.18:";;
2606 esac
2607 cat <<\_ACEOF
2609 Optional Features:
2610 --disable-option-checking ignore unrecognized --enable/--with options
2611 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2612 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2613 --disable-win16 do not include Win16 support
2614 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2615 binaries)
2616 --disable-tests do not build the regression tests
2617 --enable-build-id include .buildid section in output objects
2618 --enable-maintainer-mode
2619 enable maintainer-specific build rules
2620 --enable-silent-rules use silent build rules (override: "make V=1")
2621 --enable-werror treat compilation warnings as errors
2622 --disable-largefile omit support for large files
2624 Optional Packages:
2625 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2626 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2627 --without-alsa do not use the Alsa sound support
2628 --without-capi do not use CAPI (ISDN support)
2629 --without-cms do not use CMS (color management support)
2630 --without-coreaudio do not use the CoreAudio sound support
2631 --without-cups do not use CUPS
2632 --without-dbus do not use DBus (dynamic device support)
2633 --without-faudio do not use FAudio (XAudio2 support)
2634 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2635 --without-fontconfig do not use fontconfig
2636 --without-freetype do not use the FreeType library
2637 --without-gettext do not use gettext
2638 --with-gettextpo use the GetTextPO library to rebuild po files
2639 --without-gphoto do not use gphoto (Digital Camera support)
2640 --without-gnutls do not use GnuTLS (schannel support)
2641 --without-gsm do not use libgsm (GSM 06.10 codec support)
2642 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2643 --without-gstreamer do not use GStreamer (codecs support)
2644 --without-hal do not use HAL (dynamic device support)
2645 --without-inotify do not use inotify (filesystem change notifications)
2646 --without-jpeg do not use JPEG
2647 --without-jxrlib do not use JPEG-XR
2648 --without-krb5 do not use krb5 (Kerberos)
2649 --without-ldap do not use LDAP
2650 --without-mingw do not use the MinGW cross-compiler
2651 --without-mpg123 do not use the mpg123 library
2652 --without-netapi do not use the Samba NetAPI library
2653 --without-openal do not use OpenAL
2654 --without-opencl do not use OpenCL
2655 --without-opengl do not use OpenGL
2656 --without-osmesa do not use the OSMesa library
2657 --without-oss do not use the OSS sound support
2658 --without-pcap do not use the Packet Capture library
2659 --without-png do not use PNG
2660 --without-pthread do not use the pthread library
2661 --without-pulse do not use PulseAudio sound support
2662 --without-quicktime do not use QuickTime support
2663 --without-sane do not use SANE (scanner support)
2664 --without-sdl do not use SDL
2665 --without-tiff do not use TIFF
2666 --without-udev do not use udev (plug and play support)
2667 --without-unwind do not use the libunwind library (exception
2668 handling)
2669 --without-usb do not use the libusb library
2670 --without-v4l2 do not use v4l2 (video capture)
2671 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2672 --without-vulkan do not use Vulkan
2673 --without-xcomposite do not use the Xcomposite extension
2674 --without-xcursor do not use the Xcursor extension
2675 --without-xfixes do not use Xfixes for clipboard change notifications
2676 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2677 --without-xinput do not use the Xinput extension
2678 --without-xinput2 do not use the Xinput 2 extension
2679 --without-xml do not use XML
2680 --without-xrandr do not use Xrandr (multi-monitor support)
2681 --without-xrender do not use the Xrender extension
2682 --without-xshape do not use the Xshape extension
2683 --without-xshm do not use XShm (shared memory extension)
2684 --without-xslt do not use XSLT
2685 --without-xxf86vm do not use XFree video mode extension
2686 --with-wine-tools=DIR use Wine tools from directory DIR
2687 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2688 --with-x use the X Window System
2690 Some influential environment variables:
2691 CC C compiler command
2692 CFLAGS C compiler flags
2693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2694 nonstandard directory <lib dir>
2695 LIBS libraries to pass to the linker, e.g. -l<library>
2696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2697 you have headers in a nonstandard directory <include dir>
2698 CXX C++ compiler command
2699 CXXFLAGS C++ compiler flags
2700 CPP C preprocessor
2701 OBJC Objective C compiler command
2702 OBJCFLAGS Objective C compiler flags
2703 OBJCPP Objective C preprocessor
2704 XMKMF Path to xmkmf, Makefile generator for X Window System
2705 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2706 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2707 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2708 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2709 INOTIFY_CFLAGS
2710 C compiler flags for libinotify, overriding pkg-config
2711 INOTIFY_LIBS
2712 Linker flags for libinotify, overriding pkg-config
2713 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2714 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2715 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2716 HAL_LIBS Linker flags for hal, overriding pkg-config
2717 GNUTLS_CFLAGS
2718 C compiler flags for gnutls, overriding pkg-config
2719 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2720 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2721 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2722 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2723 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2724 GPHOTO2_CFLAGS
2725 C compiler flags for libgphoto2, overriding pkg-config
2726 GPHOTO2_LIBS
2727 Linker flags for libgphoto2, overriding pkg-config
2728 GPHOTO2_PORT_CFLAGS
2729 C compiler flags for libgphoto2_port, overriding pkg-config
2730 GPHOTO2_PORT_LIBS
2731 Linker flags for libgphoto2_port, overriding pkg-config
2732 LCMS2_CFLAGS
2733 C compiler flags for lcms2, overriding pkg-config
2734 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2735 FREETYPE_CFLAGS
2736 C compiler flags for freetype2, overriding pkg-config
2737 FREETYPE_LIBS
2738 Linker flags for freetype2, overriding pkg-config
2739 PULSE_CFLAGS
2740 C compiler flags for libpulse, overriding pkg-config
2741 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2742 GSTREAMER_CFLAGS
2743 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2744 gstreamer-audio-1.0, overriding pkg-config
2745 GSTREAMER_LIBS
2746 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2747 gstreamer-audio-1.0, overriding pkg-config
2748 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2749 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2750 UNWIND_CFLAGS
2751 C compiler flags for libunwind, overriding pkg-config
2752 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2753 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2754 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2755 FAUDIO_CFLAGS
2756 C compiler flags for FAudio, overriding pkg-config
2757 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2758 CAPI20_CFLAGS
2759 C compiler flags for capi20, overriding pkg-config
2760 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2761 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2762 CUPS_LIBS Linker flags for cups, overriding pkg-config
2763 FONTCONFIG_CFLAGS
2764 C compiler flags for fontconfig, overriding pkg-config
2765 FONTCONFIG_LIBS
2766 Linker flags for fontconfig, overriding pkg-config
2767 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2768 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2769 GSSAPI_CFLAGS
2770 C compiler flags for krb5-gssapi, overriding pkg-config
2771 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2772 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2773 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2774 JXRLIB_CFLAGS
2775 C compiler flags for jxrlib, overriding pkg-config
2776 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2777 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2778 PNG_LIBS Linker flags for libpng, overriding pkg-config
2779 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2780 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2781 MPG123_CFLAGS
2782 C compiler flags for libmpg123, overriding pkg-config
2783 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2784 NETAPI_CFLAGS
2785 C compiler flags for netapi, overriding pkg-config
2786 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2787 VKD3D_CFLAGS
2788 C compiler flags for libvkd3d, overriding pkg-config
2789 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2790 VKD3D_SHADER_CFLAGS
2791 C compiler flags for libvkd3d-shader, overriding pkg-config
2792 VKD3D_SHADER_LIBS
2793 Linker flags for libvkd3d-shader, overriding pkg-config
2794 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2795 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2797 Use these variables to override the choices made by `configure' or to help
2798 it to find libraries and programs with nonstandard names/locations.
2800 Report bugs to <wine-devel@winehq.org>.
2801 Wine home page: <https://www.winehq.org>.
2802 _ACEOF
2803 ac_status=$?
2806 if test "$ac_init_help" = "recursive"; then
2807 # If there are subdirs, report their specific --help.
2808 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2809 test -d "$ac_dir" ||
2810 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2811 continue
2812 ac_builddir=.
2814 case "$ac_dir" in
2815 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2817 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2818 # A ".." for each directory in $ac_dir_suffix.
2819 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2820 case $ac_top_builddir_sub in
2821 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2822 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2823 esac ;;
2824 esac
2825 ac_abs_top_builddir=$ac_pwd
2826 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2827 # for backward compatibility:
2828 ac_top_builddir=$ac_top_build_prefix
2830 case $srcdir in
2831 .) # We are building in place.
2832 ac_srcdir=.
2833 ac_top_srcdir=$ac_top_builddir_sub
2834 ac_abs_top_srcdir=$ac_pwd ;;
2835 [\\/]* | ?:[\\/]* ) # Absolute name.
2836 ac_srcdir=$srcdir$ac_dir_suffix;
2837 ac_top_srcdir=$srcdir
2838 ac_abs_top_srcdir=$srcdir ;;
2839 *) # Relative name.
2840 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2841 ac_top_srcdir=$ac_top_build_prefix$srcdir
2842 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2843 esac
2844 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2846 cd "$ac_dir" || { ac_status=$?; continue; }
2847 # Check for guested configure.
2848 if test -f "$ac_srcdir/configure.gnu"; then
2849 echo &&
2850 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2851 elif test -f "$ac_srcdir/configure"; then
2852 echo &&
2853 $SHELL "$ac_srcdir/configure" --help=recursive
2854 else
2855 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2856 fi || ac_status=$?
2857 cd "$ac_pwd" || { ac_status=$?; break; }
2858 done
2861 test -n "$ac_init_help" && exit $ac_status
2862 if $ac_init_version; then
2863 cat <<\_ACEOF
2864 Wine configure 6.18
2865 generated by GNU Autoconf 2.69
2867 Copyright (C) 2012 Free Software Foundation, Inc.
2868 This configure script is free software; the Free Software Foundation
2869 gives unlimited permission to copy, distribute and modify it.
2870 _ACEOF
2871 exit
2874 ## ------------------------ ##
2875 ## Autoconf initialization. ##
2876 ## ------------------------ ##
2878 # ac_fn_c_try_compile LINENO
2879 # --------------------------
2880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_c_try_compile ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 rm -f conftest.$ac_objext
2885 if { { ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 $as_echo "$ac_try_echo"; } >&5
2892 (eval "$ac_compile") 2>conftest.err
2893 ac_status=$?
2894 if test -s conftest.err; then
2895 grep -v '^ *+' conftest.err >conftest.er1
2896 cat conftest.er1 >&5
2897 mv -f conftest.er1 conftest.err
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; } && {
2901 test -z "$ac_c_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext; then :
2904 ac_retval=0
2905 else
2906 $as_echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_retval=1
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 as_fn_set_status $ac_retval
2914 } # ac_fn_c_try_compile
2916 # ac_fn_cxx_try_compile LINENO
2917 # ----------------------------
2918 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2919 ac_fn_cxx_try_compile ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 rm -f conftest.$ac_objext
2923 if { { ac_try="$ac_compile"
2924 case "(($ac_try" in
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2927 esac
2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2929 $as_echo "$ac_try_echo"; } >&5
2930 (eval "$ac_compile") 2>conftest.err
2931 ac_status=$?
2932 if test -s conftest.err; then
2933 grep -v '^ *+' conftest.err >conftest.er1
2934 cat conftest.er1 >&5
2935 mv -f conftest.er1 conftest.err
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938 test $ac_status = 0; } && {
2939 test -z "$ac_cxx_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then :
2942 ac_retval=0
2943 else
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 ac_retval=1
2949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 as_fn_set_status $ac_retval
2952 } # ac_fn_cxx_try_compile
2954 # ac_fn_c_try_link LINENO
2955 # -----------------------
2956 # Try to link conftest.$ac_ext, and return whether this succeeded.
2957 ac_fn_c_try_link ()
2959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2960 rm -f conftest.$ac_objext conftest$ac_exeext
2961 if { { ac_try="$ac_link"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_link") 2>conftest.err
2969 ac_status=$?
2970 if test -s conftest.err; then
2971 grep -v '^ *+' conftest.err >conftest.er1
2972 cat conftest.er1 >&5
2973 mv -f conftest.er1 conftest.err
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } && {
2977 test -z "$ac_c_werror_flag" ||
2978 test ! -s conftest.err
2979 } && test -s conftest$ac_exeext && {
2980 test "$cross_compiling" = yes ||
2981 test -x conftest$ac_exeext
2982 }; then :
2983 ac_retval=0
2984 else
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 ac_retval=1
2990 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2991 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2992 # interfere with the next link command; also delete a directory that is
2993 # left behind by Apple's compiler. We do this before executing the actions.
2994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2996 as_fn_set_status $ac_retval
2998 } # ac_fn_c_try_link
3000 # ac_fn_c_try_cpp LINENO
3001 # ----------------------
3002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3003 ac_fn_c_try_cpp ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 if { { ac_try="$ac_cpp conftest.$ac_ext"
3007 case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3010 esac
3011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012 $as_echo "$ac_try_echo"; } >&5
3013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3014 ac_status=$?
3015 if test -s conftest.err; then
3016 grep -v '^ *+' conftest.err >conftest.er1
3017 cat conftest.er1 >&5
3018 mv -f conftest.er1 conftest.err
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3021 test $ac_status = 0; } > conftest.i && {
3022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 }; then :
3025 ac_retval=0
3026 else
3027 $as_echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3030 ac_retval=1
3032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3033 as_fn_set_status $ac_retval
3035 } # ac_fn_c_try_cpp
3037 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3038 # -------------------------------------------------------
3039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3040 # the include files in INCLUDES and setting the cache variable VAR
3041 # accordingly.
3042 ac_fn_c_check_header_mongrel ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 if eval \${$3+:} false; then :
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3047 $as_echo_n "checking for $2... " >&6; }
3048 if eval \${$3+:} false; then :
3049 $as_echo_n "(cached) " >&6
3051 eval ac_res=\$$3
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 else
3055 # Is the header compilable?
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3057 $as_echo_n "checking $2 usability... " >&6; }
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3061 #include <$2>
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 ac_header_compiler=yes
3065 else
3066 ac_header_compiler=no
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3070 $as_echo "$ac_header_compiler" >&6; }
3072 # Is the header present?
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3074 $as_echo_n "checking $2 presence... " >&6; }
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3077 #include <$2>
3078 _ACEOF
3079 if ac_fn_c_try_cpp "$LINENO"; then :
3080 ac_header_preproc=yes
3081 else
3082 ac_header_preproc=no
3084 rm -f conftest.err conftest.i conftest.$ac_ext
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3086 $as_echo "$ac_header_preproc" >&6; }
3088 # So? What about this header?
3089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3090 yes:no: )
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3096 no:yes:* )
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3107 ( $as_echo "## ------------------------------------ ##
3108 ## Report this to wine-devel@winehq.org ##
3109 ## ------------------------------------ ##"
3110 ) | sed "s/^/$as_me: WARNING: /" >&2
3112 esac
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3114 $as_echo_n "checking for $2... " >&6; }
3115 if eval \${$3+:} false; then :
3116 $as_echo_n "(cached) " >&6
3117 else
3118 eval "$3=\$ac_header_compiler"
3120 eval ac_res=\$$3
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 } # ac_fn_c_check_header_mongrel
3128 # ac_fn_c_try_run LINENO
3129 # ----------------------
3130 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3131 # that executables *can* be run.
3132 ac_fn_c_try_run ()
3134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3135 if { { ac_try="$ac_link"
3136 case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_link") 2>&5
3143 ac_status=$?
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3146 { { case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3149 esac
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152 (eval "$ac_try") 2>&5
3153 ac_status=$?
3154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155 test $ac_status = 0; }; }; then :
3156 ac_retval=0
3157 else
3158 $as_echo "$as_me: program exited with status $ac_status" >&5
3159 $as_echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3162 ac_retval=$ac_status
3164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3166 as_fn_set_status $ac_retval
3168 } # ac_fn_c_try_run
3170 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3171 # -------------------------------------------------------
3172 # Tests whether HEADER exists and can be compiled using the include files in
3173 # INCLUDES, setting the cache variable VAR accordingly.
3174 ac_fn_c_check_header_compile ()
3176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3178 $as_echo_n "checking for $2... " >&6; }
3179 if eval \${$3+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3185 #include <$2>
3186 _ACEOF
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 eval "$3=yes"
3189 else
3190 eval "$3=no"
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 eval ac_res=\$$3
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 $as_echo "$ac_res" >&6; }
3197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 } # ac_fn_c_check_header_compile
3201 # ac_fn_objc_try_compile LINENO
3202 # -----------------------------
3203 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3204 ac_fn_objc_try_compile ()
3206 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3207 rm -f conftest.$ac_objext
3208 if { { ac_try="$ac_compile"
3209 case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3212 esac
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_compile") 2>conftest.err
3216 ac_status=$?
3217 if test -s conftest.err; then
3218 grep -v '^ *+' conftest.err >conftest.er1
3219 cat conftest.er1 >&5
3220 mv -f conftest.er1 conftest.err
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; } && {
3224 test -z "$ac_objc_werror_flag" ||
3225 test ! -s conftest.err
3226 } && test -s conftest.$ac_objext; then :
3227 ac_retval=0
3228 else
3229 $as_echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 ac_retval=1
3234 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3235 as_fn_set_status $ac_retval
3237 } # ac_fn_objc_try_compile
3239 # ac_fn_objc_try_cpp LINENO
3240 # -------------------------
3241 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3242 ac_fn_objc_try_cpp ()
3244 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3245 if { { ac_try="$ac_cpp conftest.$ac_ext"
3246 case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249 esac
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3253 ac_status=$?
3254 if test -s conftest.err; then
3255 grep -v '^ *+' conftest.err >conftest.er1
3256 cat conftest.er1 >&5
3257 mv -f conftest.er1 conftest.err
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; } > conftest.i && {
3261 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3262 test ! -s conftest.err
3263 }; then :
3264 ac_retval=0
3265 else
3266 $as_echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_retval=1
3271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3272 as_fn_set_status $ac_retval
3274 } # ac_fn_objc_try_cpp
3276 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3277 # ----------------------------------------------------------
3278 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3279 # the include files in INCLUDES and setting the cache variable VAR
3280 # accordingly.
3281 ac_fn_objc_check_header_mongrel ()
3283 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3284 if eval \${$3+:} false; then :
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3286 $as_echo_n "checking for $2... " >&6; }
3287 if eval \${$3+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 eval ac_res=\$$3
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3292 $as_echo "$ac_res" >&6; }
3293 else
3294 # Is the header compilable?
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3296 $as_echo_n "checking $2 usability... " >&6; }
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3300 #include <$2>
3301 _ACEOF
3302 if ac_fn_objc_try_compile "$LINENO"; then :
3303 ac_header_compiler=yes
3304 else
3305 ac_header_compiler=no
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3309 $as_echo "$ac_header_compiler" >&6; }
3311 # Is the header present?
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3313 $as_echo_n "checking $2 presence... " >&6; }
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3316 #include <$2>
3317 _ACEOF
3318 if ac_fn_objc_try_cpp "$LINENO"; then :
3319 ac_header_preproc=yes
3320 else
3321 ac_header_preproc=no
3323 rm -f conftest.err conftest.i conftest.$ac_ext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3325 $as_echo "$ac_header_preproc" >&6; }
3327 # So? What about this header?
3328 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3329 yes:no: )
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3331 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3333 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3335 no:yes:* )
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3337 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3339 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3341 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3343 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3345 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3346 ( $as_echo "## ------------------------------------ ##
3347 ## Report this to wine-devel@winehq.org ##
3348 ## ------------------------------------ ##"
3349 ) | sed "s/^/$as_me: WARNING: /" >&2
3351 esac
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3353 $as_echo_n "checking for $2... " >&6; }
3354 if eval \${$3+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 eval "$3=\$ac_header_compiler"
3359 eval ac_res=\$$3
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3361 $as_echo "$ac_res" >&6; }
3363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3365 } # ac_fn_objc_check_header_mongrel
3367 # ac_fn_c_check_func LINENO FUNC VAR
3368 # ----------------------------------
3369 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3370 ac_fn_c_check_func ()
3372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3374 $as_echo_n "checking for $2... " >&6; }
3375 if eval \${$3+:} false; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3380 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3382 #define $2 innocuous_$2
3384 /* System header to define __stub macros and hopefully few prototypes,
3385 which can conflict with char $2 (); below.
3386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3387 <limits.h> exists even on freestanding compilers. */
3389 #ifdef __STDC__
3390 # include <limits.h>
3391 #else
3392 # include <assert.h>
3393 #endif
3395 #undef $2
3397 /* Override any GCC internal prototype to avoid an error.
3398 Use char because int might match the return type of a GCC
3399 builtin and then its argument prototype would still apply. */
3400 #ifdef __cplusplus
3401 extern "C"
3402 #endif
3403 char $2 ();
3404 /* The GNU C library defines this for functions which it implements
3405 to always fail with ENOSYS. Some functions are actually named
3406 something starting with __ and the normal name is an alias. */
3407 #if defined __stub_$2 || defined __stub___$2
3408 choke me
3409 #endif
3412 main ()
3414 return $2 ();
3416 return 0;
3418 _ACEOF
3419 if ac_fn_c_try_link "$LINENO"; then :
3420 eval "$3=yes"
3421 else
3422 eval "$3=no"
3424 rm -f core conftest.err conftest.$ac_objext \
3425 conftest$ac_exeext conftest.$ac_ext
3427 eval ac_res=\$$3
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3429 $as_echo "$ac_res" >&6; }
3430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3432 } # ac_fn_c_check_func
3434 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3435 # ----------------------------------------------------
3436 # Tries to find if the field MEMBER exists in type AGGR, after including
3437 # INCLUDES, setting cache variable VAR accordingly.
3438 ac_fn_c_check_member ()
3440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3442 $as_echo_n "checking for $2.$3... " >&6; }
3443 if eval \${$4+:} false; then :
3444 $as_echo_n "(cached) " >&6
3445 else
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3452 static $2 ac_aggr;
3453 if (ac_aggr.$3)
3454 return 0;
3456 return 0;
3458 _ACEOF
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 eval "$4=yes"
3461 else
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3466 main ()
3468 static $2 ac_aggr;
3469 if (sizeof ac_aggr.$3)
3470 return 0;
3472 return 0;
3474 _ACEOF
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476 eval "$4=yes"
3477 else
3478 eval "$4=no"
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 eval ac_res=\$$4
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3486 $as_echo "$ac_res" >&6; }
3487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3489 } # ac_fn_c_check_member
3491 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3492 # -------------------------------------------
3493 # Tests whether TYPE exists after having included INCLUDES, setting cache
3494 # variable VAR accordingly.
3495 ac_fn_c_check_type ()
3497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3499 $as_echo_n "checking for $2... " >&6; }
3500 if eval \${$3+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 eval "$3=no"
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3508 main ()
3510 if (sizeof ($2))
3511 return 0;
3513 return 0;
3515 _ACEOF
3516 if ac_fn_c_try_compile "$LINENO"; then :
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3523 if (sizeof (($2)))
3524 return 0;
3526 return 0;
3528 _ACEOF
3529 if ac_fn_c_try_compile "$LINENO"; then :
3531 else
3532 eval "$3=yes"
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 eval ac_res=\$$3
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3540 $as_echo "$ac_res" >&6; }
3541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3543 } # ac_fn_c_check_type
3544 cat >config.log <<_ACEOF
3545 This file contains any messages produced by compilers while
3546 running configure, to aid debugging if configure makes a mistake.
3548 It was created by Wine $as_me 6.18, which was
3549 generated by GNU Autoconf 2.69. Invocation command line was
3551 $ $0 $@
3553 _ACEOF
3554 exec 5>>config.log
3556 cat <<_ASUNAME
3557 ## --------- ##
3558 ## Platform. ##
3559 ## --------- ##
3561 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3562 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3563 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3564 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3565 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3567 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3568 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3570 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3571 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3572 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3573 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3574 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3575 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3576 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3578 _ASUNAME
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 $as_echo "PATH: $as_dir"
3586 done
3587 IFS=$as_save_IFS
3589 } >&5
3591 cat >&5 <<_ACEOF
3594 ## ----------- ##
3595 ## Core tests. ##
3596 ## ----------- ##
3598 _ACEOF
3601 # Keep a trace of the command line.
3602 # Strip out --no-create and --no-recursion so they do not pile up.
3603 # Strip out --silent because we don't want to record it for future runs.
3604 # Also quote any args containing shell meta-characters.
3605 # Make two passes to allow for proper duplicate-argument suppression.
3606 ac_configure_args=
3607 ac_configure_args0=
3608 ac_configure_args1=
3609 ac_must_keep_next=false
3610 for ac_pass in 1 2
3612 for ac_arg
3614 case $ac_arg in
3615 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3617 | -silent | --silent | --silen | --sile | --sil)
3618 continue ;;
3619 *\'*)
3620 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3621 esac
3622 case $ac_pass in
3623 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3625 as_fn_append ac_configure_args1 " '$ac_arg'"
3626 if test $ac_must_keep_next = true; then
3627 ac_must_keep_next=false # Got value, back to normal.
3628 else
3629 case $ac_arg in
3630 *=* | --config-cache | -C | -disable-* | --disable-* \
3631 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3632 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3633 | -with-* | --with-* | -without-* | --without-* | --x)
3634 case "$ac_configure_args0 " in
3635 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3636 esac
3638 -* ) ac_must_keep_next=true ;;
3639 esac
3641 as_fn_append ac_configure_args " '$ac_arg'"
3643 esac
3644 done
3645 done
3646 { ac_configure_args0=; unset ac_configure_args0;}
3647 { ac_configure_args1=; unset ac_configure_args1;}
3649 # When interrupted or exit'd, cleanup temporary files, and complete
3650 # config.log. We remove comments because anyway the quotes in there
3651 # would cause problems or look ugly.
3652 # WARNING: Use '\'' to represent an apostrophe within the trap.
3653 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3654 trap 'exit_status=$?
3655 # Save into config.log some information that might help in debugging.
3657 echo
3659 $as_echo "## ---------------- ##
3660 ## Cache variables. ##
3661 ## ---------------- ##"
3662 echo
3663 # The following way of writing the cache mishandles newlines in values,
3665 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3666 eval ac_val=\$$ac_var
3667 case $ac_val in #(
3668 *${as_nl}*)
3669 case $ac_var in #(
3670 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3671 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3672 esac
3673 case $ac_var in #(
3674 _ | IFS | as_nl) ;; #(
3675 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3676 *) { eval $ac_var=; unset $ac_var;} ;;
3677 esac ;;
3678 esac
3679 done
3680 (set) 2>&1 |
3681 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3682 *${as_nl}ac_space=\ *)
3683 sed -n \
3684 "s/'\''/'\''\\\\'\'''\''/g;
3685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3686 ;; #(
3688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3690 esac |
3691 sort
3693 echo
3695 $as_echo "## ----------------- ##
3696 ## Output variables. ##
3697 ## ----------------- ##"
3698 echo
3699 for ac_var in $ac_subst_vars
3701 eval ac_val=\$$ac_var
3702 case $ac_val in
3703 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3704 esac
3705 $as_echo "$ac_var='\''$ac_val'\''"
3706 done | sort
3707 echo
3709 if test -n "$ac_subst_files"; then
3710 $as_echo "## ------------------- ##
3711 ## File substitutions. ##
3712 ## ------------------- ##"
3713 echo
3714 for ac_var in $ac_subst_files
3716 eval ac_val=\$$ac_var
3717 case $ac_val in
3718 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3719 esac
3720 $as_echo "$ac_var='\''$ac_val'\''"
3721 done | sort
3722 echo
3725 if test -s confdefs.h; then
3726 $as_echo "## ----------- ##
3727 ## confdefs.h. ##
3728 ## ----------- ##"
3729 echo
3730 cat confdefs.h
3731 echo
3733 test "$ac_signal" != 0 &&
3734 $as_echo "$as_me: caught signal $ac_signal"
3735 $as_echo "$as_me: exit $exit_status"
3736 } >&5
3737 rm -f core *.core core.conftest.* &&
3738 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3739 exit $exit_status
3741 for ac_signal in 1 2 13 15; do
3742 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3743 done
3744 ac_signal=0
3746 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3747 rm -f -r conftest* confdefs.h
3749 $as_echo "/* confdefs.h */" > confdefs.h
3751 # Predefined preprocessor variables.
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_NAME "$PACKAGE_NAME"
3755 _ACEOF
3757 cat >>confdefs.h <<_ACEOF
3758 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3759 _ACEOF
3761 cat >>confdefs.h <<_ACEOF
3762 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3763 _ACEOF
3765 cat >>confdefs.h <<_ACEOF
3766 #define PACKAGE_STRING "$PACKAGE_STRING"
3767 _ACEOF
3769 cat >>confdefs.h <<_ACEOF
3770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3771 _ACEOF
3773 cat >>confdefs.h <<_ACEOF
3774 #define PACKAGE_URL "$PACKAGE_URL"
3775 _ACEOF
3778 # Let the site file select an alternate cache file if it wants to.
3779 # Prefer an explicitly selected file to automatically selected ones.
3780 ac_site_file1=NONE
3781 ac_site_file2=NONE
3782 if test -n "$CONFIG_SITE"; then
3783 # We do not want a PATH search for config.site.
3784 case $CONFIG_SITE in #((
3785 -*) ac_site_file1=./$CONFIG_SITE;;
3786 */*) ac_site_file1=$CONFIG_SITE;;
3787 *) ac_site_file1=./$CONFIG_SITE;;
3788 esac
3789 elif test "x$prefix" != xNONE; then
3790 ac_site_file1=$prefix/share/config.site
3791 ac_site_file2=$prefix/etc/config.site
3792 else
3793 ac_site_file1=$ac_default_prefix/share/config.site
3794 ac_site_file2=$ac_default_prefix/etc/config.site
3796 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3798 test "x$ac_site_file" = xNONE && continue
3799 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3801 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3802 sed 's/^/| /' "$ac_site_file" >&5
3803 . "$ac_site_file" \
3804 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "failed to load site script $ac_site_file
3807 See \`config.log' for more details" "$LINENO" 5; }
3809 done
3811 if test -r "$cache_file"; then
3812 # Some versions of bash will fail to source /dev/null (special files
3813 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3814 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3816 $as_echo "$as_me: loading cache $cache_file" >&6;}
3817 case $cache_file in
3818 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3819 *) . "./$cache_file";;
3820 esac
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3824 $as_echo "$as_me: creating cache $cache_file" >&6;}
3825 >$cache_file
3828 # Check that the precious variables saved in the cache have kept the same
3829 # value.
3830 ac_cache_corrupted=false
3831 for ac_var in $ac_precious_vars; do
3832 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3833 eval ac_new_set=\$ac_env_${ac_var}_set
3834 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3835 eval ac_new_val=\$ac_env_${ac_var}_value
3836 case $ac_old_set,$ac_new_set in
3837 set,)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3839 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3840 ac_cache_corrupted=: ;;
3841 ,set)
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3843 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3844 ac_cache_corrupted=: ;;
3845 ,);;
3847 if test "x$ac_old_val" != "x$ac_new_val"; then
3848 # differences in whitespace do not lead to failure.
3849 ac_old_val_w=`echo x $ac_old_val`
3850 ac_new_val_w=`echo x $ac_new_val`
3851 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3853 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3854 ac_cache_corrupted=:
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3857 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3858 eval $ac_var=\$ac_old_val
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3861 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3863 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3864 fi;;
3865 esac
3866 # Pass precious variables to config.status.
3867 if test "$ac_new_set" = set; then
3868 case $ac_new_val in
3869 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3870 *) ac_arg=$ac_var=$ac_new_val ;;
3871 esac
3872 case " $ac_configure_args " in
3873 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3874 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3875 esac
3877 done
3878 if $ac_cache_corrupted; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3882 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3883 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3885 ## -------------------- ##
3886 ## Main body of script. ##
3887 ## -------------------- ##
3889 ac_ext=c
3890 ac_cpp='$CPP $CPPFLAGS'
3891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3897 ac_config_headers="$ac_config_headers include/config.h"
3899 ac_aux_dir=
3900 for ac_dir in tools "$srcdir"/tools; do
3901 if test -f "$ac_dir/install-sh"; then
3902 ac_aux_dir=$ac_dir
3903 ac_install_sh="$ac_aux_dir/install-sh -c"
3904 break
3905 elif test -f "$ac_dir/install.sh"; then
3906 ac_aux_dir=$ac_dir
3907 ac_install_sh="$ac_aux_dir/install.sh -c"
3908 break
3909 elif test -f "$ac_dir/shtool"; then
3910 ac_aux_dir=$ac_dir
3911 ac_install_sh="$ac_aux_dir/shtool install -c"
3912 break
3914 done
3915 if test -z "$ac_aux_dir"; then
3916 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3919 # These three variables are undocumented and unsupported,
3920 # and are intended to be withdrawn in a future Autoconf release.
3921 # They can cause serious problems if a builder's source tree is in a directory
3922 # whose full name contains unusual characters.
3923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3929 libwine_version="1.0"
3933 # Check whether --enable-win16 was given.
3934 if test "${enable_win16+set}" = set; then :
3935 enableval=$enable_win16;
3938 # Check whether --enable-win64 was given.
3939 if test "${enable_win64+set}" = set; then :
3940 enableval=$enable_win64;
3943 # Check whether --enable-tests was given.
3944 if test "${enable_tests+set}" = set; then :
3945 enableval=$enable_tests;
3948 # Check whether --enable-build-id was given.
3949 if test "${enable_build_id+set}" = set; then :
3950 enableval=$enable_build_id;
3953 # Check whether --enable-maintainer-mode was given.
3954 if test "${enable_maintainer_mode+set}" = set; then :
3955 enableval=$enable_maintainer_mode;
3958 # Check whether --enable-silent-rules was given.
3959 if test "${enable_silent_rules+set}" = set; then :
3960 enableval=$enable_silent_rules;
3963 # Check whether --enable-werror was given.
3964 if test "${enable_werror+set}" = set; then :
3965 enableval=$enable_werror;
3970 # Check whether --with-alsa was given.
3971 if test "${with_alsa+set}" = set; then :
3972 withval=$with_alsa;
3976 # Check whether --with-capi was given.
3977 if test "${with_capi+set}" = set; then :
3978 withval=$with_capi;
3982 # Check whether --with-cms was given.
3983 if test "${with_cms+set}" = set; then :
3984 withval=$with_cms;
3988 # Check whether --with-coreaudio was given.
3989 if test "${with_coreaudio+set}" = set; then :
3990 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3994 # Check whether --with-cups was given.
3995 if test "${with_cups+set}" = set; then :
3996 withval=$with_cups;
4000 # Check whether --with-dbus was given.
4001 if test "${with_dbus+set}" = set; then :
4002 withval=$with_dbus;
4006 # Check whether --with-faudio was given.
4007 if test "${with_faudio+set}" = set; then :
4008 withval=$with_faudio;
4012 # Check whether --with-float-abi was given.
4013 if test "${with_float_abi+set}" = set; then :
4014 withval=$with_float_abi;
4018 # Check whether --with-fontconfig was given.
4019 if test "${with_fontconfig+set}" = set; then :
4020 withval=$with_fontconfig;
4024 # Check whether --with-freetype was given.
4025 if test "${with_freetype+set}" = set; then :
4026 withval=$with_freetype;
4030 # Check whether --with-gettext was given.
4031 if test "${with_gettext+set}" = set; then :
4032 withval=$with_gettext;
4036 # Check whether --with-gettextpo was given.
4037 if test "${with_gettextpo+set}" = set; then :
4038 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4042 # Check whether --with-gphoto was given.
4043 if test "${with_gphoto+set}" = set; then :
4044 withval=$with_gphoto;
4048 # Check whether --with-gnutls was given.
4049 if test "${with_gnutls+set}" = set; then :
4050 withval=$with_gnutls;
4054 # Check whether --with-gsm was given.
4055 if test "${with_gsm+set}" = set; then :
4056 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4060 # Check whether --with-gssapi was given.
4061 if test "${with_gssapi+set}" = set; then :
4062 withval=$with_gssapi;
4066 # Check whether --with-gstreamer was given.
4067 if test "${with_gstreamer+set}" = set; then :
4068 withval=$with_gstreamer;
4072 # Check whether --with-hal was given.
4073 if test "${with_hal+set}" = set; then :
4074 withval=$with_hal;
4078 # Check whether --with-inotify was given.
4079 if test "${with_inotify+set}" = set; then :
4080 withval=$with_inotify;
4084 # Check whether --with-jpeg was given.
4085 if test "${with_jpeg+set}" = set; then :
4086 withval=$with_jpeg;
4090 # Check whether --with-jxrlib was given.
4091 if test "${with_jxrlib+set}" = set; then :
4092 withval=$with_jxrlib;
4096 # Check whether --with-krb5 was given.
4097 if test "${with_krb5+set}" = set; then :
4098 withval=$with_krb5;
4102 # Check whether --with-ldap was given.
4103 if test "${with_ldap+set}" = set; then :
4104 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4108 # Check whether --with-mingw was given.
4109 if test "${with_mingw+set}" = set; then :
4110 withval=$with_mingw;
4114 # Check whether --with-mpg123 was given.
4115 if test "${with_mpg123+set}" = set; then :
4116 withval=$with_mpg123;
4120 # Check whether --with-netapi was given.
4121 if test "${with_netapi+set}" = set; then :
4122 withval=$with_netapi;
4126 # Check whether --with-openal was given.
4127 if test "${with_openal+set}" = set; then :
4128 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4132 # Check whether --with-opencl was given.
4133 if test "${with_opencl+set}" = set; then :
4134 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4138 # Check whether --with-opengl was given.
4139 if test "${with_opengl+set}" = set; then :
4140 withval=$with_opengl;
4144 # Check whether --with-osmesa was given.
4145 if test "${with_osmesa+set}" = set; then :
4146 withval=$with_osmesa;
4150 # Check whether --with-oss was given.
4151 if test "${with_oss+set}" = set; then :
4152 withval=$with_oss;
4156 # Check whether --with-pcap was given.
4157 if test "${with_pcap+set}" = set; then :
4158 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4162 # Check whether --with-png was given.
4163 if test "${with_png+set}" = set; then :
4164 withval=$with_png;
4168 # Check whether --with-pthread was given.
4169 if test "${with_pthread+set}" = set; then :
4170 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4174 # Check whether --with-pulse was given.
4175 if test "${with_pulse+set}" = set; then :
4176 withval=$with_pulse;
4180 # Check whether --with-quicktime was given.
4181 if test "${with_quicktime+set}" = set; then :
4182 withval=$with_quicktime;
4186 # Check whether --with-sane was given.
4187 if test "${with_sane+set}" = set; then :
4188 withval=$with_sane;
4192 # Check whether --with-sdl was given.
4193 if test "${with_sdl+set}" = set; then :
4194 withval=$with_sdl;
4198 # Check whether --with-tiff was given.
4199 if test "${with_tiff+set}" = set; then :
4200 withval=$with_tiff;
4204 # Check whether --with-udev was given.
4205 if test "${with_udev+set}" = set; then :
4206 withval=$with_udev;
4210 # Check whether --with-unwind was given.
4211 if test "${with_unwind+set}" = set; then :
4212 withval=$with_unwind;
4216 # Check whether --with-usb was given.
4217 if test "${with_usb+set}" = set; then :
4218 withval=$with_usb;
4222 # Check whether --with-v4l2 was given.
4223 if test "${with_v4l2+set}" = set; then :
4224 withval=$with_v4l2;
4228 # Check whether --with-vkd3d was given.
4229 if test "${with_vkd3d+set}" = set; then :
4230 withval=$with_vkd3d;
4234 # Check whether --with-vulkan was given.
4235 if test "${with_vulkan+set}" = set; then :
4236 withval=$with_vulkan;
4240 # Check whether --with-xcomposite was given.
4241 if test "${with_xcomposite+set}" = set; then :
4242 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4246 # Check whether --with-xcursor was given.
4247 if test "${with_xcursor+set}" = set; then :
4248 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4252 # Check whether --with-xfixes was given.
4253 if test "${with_xfixes+set}" = set; then :
4254 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4258 # Check whether --with-xinerama was given.
4259 if test "${with_xinerama+set}" = set; then :
4260 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4264 # Check whether --with-xinput was given.
4265 if test "${with_xinput+set}" = set; then :
4266 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4270 # Check whether --with-xinput2 was given.
4271 if test "${with_xinput2+set}" = set; then :
4272 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4276 # Check whether --with-xml was given.
4277 if test "${with_xml+set}" = set; then :
4278 withval=$with_xml;
4282 # Check whether --with-xrandr was given.
4283 if test "${with_xrandr+set}" = set; then :
4284 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4288 # Check whether --with-xrender was given.
4289 if test "${with_xrender+set}" = set; then :
4290 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4294 # Check whether --with-xshape was given.
4295 if test "${with_xshape+set}" = set; then :
4296 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4300 # Check whether --with-xshm was given.
4301 if test "${with_xshm+set}" = set; then :
4302 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4306 # Check whether --with-xslt was given.
4307 if test "${with_xslt+set}" = set; then :
4308 withval=$with_xslt;
4312 # Check whether --with-xxf86vm was given.
4313 if test "${with_xxf86vm+set}" = set; then :
4314 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
4319 # Check whether --with-wine-tools was given.
4320 if test "${with_wine_tools+set}" = set; then :
4321 withval=$with_wine_tools;
4325 # Check whether --with-wine64 was given.
4326 if test "${with_wine64+set}" = set; then :
4327 withval=$with_wine64;
4331 # Make sure we can run config.sub.
4332 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4333 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4336 $as_echo_n "checking build system type... " >&6; }
4337 if ${ac_cv_build+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 ac_build_alias=$build_alias
4341 test "x$ac_build_alias" = x &&
4342 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4343 test "x$ac_build_alias" = x &&
4344 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4345 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4346 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4350 $as_echo "$ac_cv_build" >&6; }
4351 case $ac_cv_build in
4352 *-*-*) ;;
4353 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4354 esac
4355 build=$ac_cv_build
4356 ac_save_IFS=$IFS; IFS='-'
4357 set x $ac_cv_build
4358 shift
4359 build_cpu=$1
4360 build_vendor=$2
4361 shift; shift
4362 # Remember, the first character of IFS is used to create $*,
4363 # except with old shells:
4364 build_os=$*
4365 IFS=$ac_save_IFS
4366 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4370 $as_echo_n "checking host system type... " >&6; }
4371 if ${ac_cv_host+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 if test "x$host_alias" = x; then
4375 ac_cv_host=$ac_cv_build
4376 else
4377 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4378 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4383 $as_echo "$ac_cv_host" >&6; }
4384 case $ac_cv_host in
4385 *-*-*) ;;
4386 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4387 esac
4388 host=$ac_cv_host
4389 ac_save_IFS=$IFS; IFS='-'
4390 set x $ac_cv_host
4391 shift
4392 host_cpu=$1
4393 host_vendor=$2
4394 shift; shift
4395 # Remember, the first character of IFS is used to create $*,
4396 # except with old shells:
4397 host_os=$*
4398 IFS=$ac_save_IFS
4399 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4405 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4406 set x ${MAKE-make}
4407 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4408 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
4411 cat >conftest.make <<\_ACEOF
4412 SHELL = /bin/sh
4413 all:
4414 @echo '@@@%%%=$(MAKE)=@@@%%%'
4415 _ACEOF
4416 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4417 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4418 *@@@%%%=?*=@@@%%%*)
4419 eval ac_cv_prog_make_${ac_make}_set=yes;;
4421 eval ac_cv_prog_make_${ac_make}_set=no;;
4422 esac
4423 rm -f conftest.make
4425 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4427 $as_echo "yes" >&6; }
4428 SET_MAKE=
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4432 SET_MAKE="MAKE=${MAKE-make}"
4435 ac_ext=c
4436 ac_cpp='$CPP $CPPFLAGS'
4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440 if test -n "$ac_tool_prefix"; then
4441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_CC+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 if test -n "$CC"; then
4449 ac_cv_prog_CC="$CC" # Let the user override the test.
4450 else
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 for as_dir in $PATH
4454 IFS=$as_save_IFS
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 break 2
4462 done
4463 done
4464 IFS=$as_save_IFS
4468 CC=$ac_cv_prog_CC
4469 if test -n "$CC"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4471 $as_echo "$CC" >&6; }
4472 else
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4479 if test -z "$ac_cv_prog_CC"; then
4480 ac_ct_CC=$CC
4481 # Extract the first word of "gcc", so it can be a program name with args.
4482 set dummy gcc; ac_word=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 if test -n "$ac_ct_CC"; then
4489 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4490 else
4491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 for as_dir in $PATH
4494 IFS=$as_save_IFS
4495 test -z "$as_dir" && as_dir=.
4496 for ac_exec_ext in '' $ac_executable_extensions; do
4497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4498 ac_cv_prog_ac_ct_CC="gcc"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 break 2
4502 done
4503 done
4504 IFS=$as_save_IFS
4508 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4509 if test -n "$ac_ct_CC"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4511 $as_echo "$ac_ct_CC" >&6; }
4512 else
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4517 if test "x$ac_ct_CC" = x; then
4518 CC=""
4519 else
4520 case $cross_compiling:$ac_tool_warned in
4521 yes:)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4524 ac_tool_warned=yes ;;
4525 esac
4526 CC=$ac_ct_CC
4528 else
4529 CC="$ac_cv_prog_CC"
4532 if test -z "$CC"; then
4533 if test -n "$ac_tool_prefix"; then
4534 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4535 set dummy ${ac_tool_prefix}cc; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_CC+:} false; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 if test -n "$CC"; then
4542 ac_cv_prog_CC="$CC" # Let the user override the test.
4543 else
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4547 IFS=$as_save_IFS
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_CC="${ac_tool_prefix}cc"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 break 2
4555 done
4556 done
4557 IFS=$as_save_IFS
4561 CC=$ac_cv_prog_CC
4562 if test -n "$CC"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4564 $as_echo "$CC" >&6; }
4565 else
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4573 if test -z "$CC"; then
4574 # Extract the first word of "cc", so it can be a program name with args.
4575 set dummy cc; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_CC+:} false; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 if test -n "$CC"; then
4582 ac_cv_prog_CC="$CC" # Let the user override the test.
4583 else
4584 ac_prog_rejected=no
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH
4588 IFS=$as_save_IFS
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4593 ac_prog_rejected=yes
4594 continue
4596 ac_cv_prog_CC="cc"
4597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 break 2
4600 done
4601 done
4602 IFS=$as_save_IFS
4604 if test $ac_prog_rejected = yes; then
4605 # We found a bogon in the path, so make sure we never use it.
4606 set dummy $ac_cv_prog_CC
4607 shift
4608 if test $# != 0; then
4609 # We chose a different compiler from the bogus one.
4610 # However, it has the same basename, so the bogon will be chosen
4611 # first if we set CC to just the basename; use the full file name.
4612 shift
4613 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4618 CC=$ac_cv_prog_CC
4619 if test -n "$CC"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4621 $as_echo "$CC" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4629 if test -z "$CC"; then
4630 if test -n "$ac_tool_prefix"; then
4631 for ac_prog in cl.exe
4633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_prog_CC+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 if test -n "$CC"; then
4641 ac_cv_prog_CC="$CC" # Let the user override the test.
4642 else
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 for as_dir in $PATH
4646 IFS=$as_save_IFS
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 break 2
4654 done
4655 done
4656 IFS=$as_save_IFS
4660 CC=$ac_cv_prog_CC
4661 if test -n "$CC"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4663 $as_echo "$CC" >&6; }
4664 else
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4670 test -n "$CC" && break
4671 done
4673 if test -z "$CC"; then
4674 ac_ct_CC=$CC
4675 for ac_prog in cl.exe
4677 # Extract the first word of "$ac_prog", so it can be a program name with args.
4678 set dummy $ac_prog; ac_word=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683 else
4684 if test -n "$ac_ct_CC"; then
4685 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4686 else
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_ac_ct_CC="$ac_prog"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4705 if test -n "$ac_ct_CC"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4707 $as_echo "$ac_ct_CC" >&6; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4714 test -n "$ac_ct_CC" && break
4715 done
4717 if test "x$ac_ct_CC" = x; then
4718 CC=""
4719 else
4720 case $cross_compiling:$ac_tool_warned in
4721 yes:)
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4724 ac_tool_warned=yes ;;
4725 esac
4726 CC=$ac_ct_CC
4733 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4735 as_fn_error $? "no acceptable C compiler found in \$PATH
4736 See \`config.log' for more details" "$LINENO" 5; }
4738 # Provide some information about the compiler.
4739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4740 set X $ac_compile
4741 ac_compiler=$2
4742 for ac_option in --version -v -V -qversion; do
4743 { { ac_try="$ac_compiler $ac_option >&5"
4744 case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4749 $as_echo "$ac_try_echo"; } >&5
4750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4751 ac_status=$?
4752 if test -s conftest.err; then
4753 sed '10a\
4754 ... rest of stderr output deleted ...
4755 10q' conftest.err >conftest.er1
4756 cat conftest.er1 >&5
4758 rm -f conftest.er1 conftest.err
4759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4760 test $ac_status = 0; }
4761 done
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4767 main ()
4771 return 0;
4773 _ACEOF
4774 ac_clean_files_save=$ac_clean_files
4775 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4776 # Try to create an executable without -o first, disregard a.out.
4777 # It will help us diagnose broken compilers, and finding out an intuition
4778 # of exeext.
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4780 $as_echo_n "checking whether the C compiler works... " >&6; }
4781 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4783 # The possible output files:
4784 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4786 ac_rmfiles=
4787 for ac_file in $ac_files
4789 case $ac_file in
4790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4791 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4792 esac
4793 done
4794 rm -f $ac_rmfiles
4796 if { { ac_try="$ac_link_default"
4797 case "(($ac_try" in
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4800 esac
4801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4802 $as_echo "$ac_try_echo"; } >&5
4803 (eval "$ac_link_default") 2>&5
4804 ac_status=$?
4805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4806 test $ac_status = 0; }; then :
4807 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4808 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4809 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4810 # so that the user can short-circuit this test for compilers unknown to
4811 # Autoconf.
4812 for ac_file in $ac_files ''
4814 test -f "$ac_file" || continue
4815 case $ac_file in
4816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4818 [ab].out )
4819 # We found the default executable, but exeext='' is most
4820 # certainly right.
4821 break;;
4822 *.* )
4823 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4824 then :; else
4825 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4827 # We set ac_cv_exeext here because the later test for it is not
4828 # safe: cross compilers may not add the suffix if given an `-o'
4829 # argument, so we may need to know it at that point already.
4830 # Even if this section looks crufty: it has the advantage of
4831 # actually working.
4832 break;;
4834 break;;
4835 esac
4836 done
4837 test "$ac_cv_exeext" = no && ac_cv_exeext=
4839 else
4840 ac_file=''
4842 if test -z "$ac_file"; then :
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4845 $as_echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4850 as_fn_error 77 "C compiler cannot create executables
4851 See \`config.log' for more details" "$LINENO" 5; }
4852 else
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854 $as_echo "yes" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4857 $as_echo_n "checking for C compiler default output file name... " >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4859 $as_echo "$ac_file" >&6; }
4860 ac_exeext=$ac_cv_exeext
4862 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4863 ac_clean_files=$ac_clean_files_save
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4865 $as_echo_n "checking for suffix of executables... " >&6; }
4866 if { { ac_try="$ac_link"
4867 case "(($ac_try" in
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4870 esac
4871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4872 $as_echo "$ac_try_echo"; } >&5
4873 (eval "$ac_link") 2>&5
4874 ac_status=$?
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }; then :
4877 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4878 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4879 # work properly (i.e., refer to `conftest.exe'), while it won't with
4880 # `rm'.
4881 for ac_file in conftest.exe conftest conftest.*; do
4882 test -f "$ac_file" || continue
4883 case $ac_file in
4884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4885 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4886 break;;
4887 * ) break;;
4888 esac
4889 done
4890 else
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4894 See \`config.log' for more details" "$LINENO" 5; }
4896 rm -f conftest conftest$ac_cv_exeext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4898 $as_echo "$ac_cv_exeext" >&6; }
4900 rm -f conftest.$ac_ext
4901 EXEEXT=$ac_cv_exeext
4902 ac_exeext=$EXEEXT
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4905 #include <stdio.h>
4907 main ()
4909 FILE *f = fopen ("conftest.out", "w");
4910 return ferror (f) || fclose (f) != 0;
4913 return 0;
4915 _ACEOF
4916 ac_clean_files="$ac_clean_files conftest.out"
4917 # Check that the compiler produces executables we can run. If not, either
4918 # the compiler is broken, or we cross compile.
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4920 $as_echo_n "checking whether we are cross compiling... " >&6; }
4921 if test "$cross_compiling" != yes; then
4922 { { ac_try="$ac_link"
4923 case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926 esac
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_link") 2>&5
4930 ac_status=$?
4931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4932 test $ac_status = 0; }
4933 if { ac_try='./conftest$ac_cv_exeext'
4934 { { case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4939 $as_echo "$ac_try_echo"; } >&5
4940 (eval "$ac_try") 2>&5
4941 ac_status=$?
4942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4943 test $ac_status = 0; }; }; then
4944 cross_compiling=no
4945 else
4946 if test "$cross_compiling" = maybe; then
4947 cross_compiling=yes
4948 else
4949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4951 as_fn_error $? "cannot run C compiled programs.
4952 If you meant to cross compile, use \`--host'.
4953 See \`config.log' for more details" "$LINENO" 5; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4958 $as_echo "$cross_compiling" >&6; }
4960 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4961 ac_clean_files=$ac_clean_files_save
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4963 $as_echo_n "checking for suffix of object files... " >&6; }
4964 if ${ac_cv_objext+:} false; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 rm -f conftest.o conftest.obj
4979 if { { ac_try="$ac_compile"
4980 case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4983 esac
4984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4985 $as_echo "$ac_try_echo"; } >&5
4986 (eval "$ac_compile") 2>&5
4987 ac_status=$?
4988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4989 test $ac_status = 0; }; then :
4990 for ac_file in conftest.o conftest.obj conftest.*; do
4991 test -f "$ac_file" || continue;
4992 case $ac_file in
4993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4994 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4995 break;;
4996 esac
4997 done
4998 else
4999 $as_echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5004 as_fn_error $? "cannot compute suffix of object files: cannot compile
5005 See \`config.log' for more details" "$LINENO" 5; }
5007 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5010 $as_echo "$ac_cv_objext" >&6; }
5011 OBJEXT=$ac_cv_objext
5012 ac_objext=$OBJEXT
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5014 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5015 if ${ac_cv_c_compiler_gnu+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5024 #ifndef __GNUC__
5025 choke me
5026 #endif
5029 return 0;
5031 _ACEOF
5032 if ac_fn_c_try_compile "$LINENO"; then :
5033 ac_compiler_gnu=yes
5034 else
5035 ac_compiler_gnu=no
5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5042 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5043 if test $ac_compiler_gnu = yes; then
5044 GCC=yes
5045 else
5046 GCC=
5048 ac_test_CFLAGS=${CFLAGS+set}
5049 ac_save_CFLAGS=$CFLAGS
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5051 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5052 if ${ac_cv_prog_cc_g+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 ac_save_c_werror_flag=$ac_c_werror_flag
5056 ac_c_werror_flag=yes
5057 ac_cv_prog_cc_g=no
5058 CFLAGS="-g"
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 ac_cv_prog_cc_g=yes
5072 else
5073 CFLAGS=""
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5078 main ()
5082 return 0;
5084 _ACEOF
5085 if ac_fn_c_try_compile "$LINENO"; then :
5087 else
5088 ac_c_werror_flag=$ac_save_c_werror_flag
5089 CFLAGS="-g"
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5094 main ()
5098 return 0;
5100 _ACEOF
5101 if ac_fn_c_try_compile "$LINENO"; then :
5102 ac_cv_prog_cc_g=yes
5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5109 ac_c_werror_flag=$ac_save_c_werror_flag
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5112 $as_echo "$ac_cv_prog_cc_g" >&6; }
5113 if test "$ac_test_CFLAGS" = set; then
5114 CFLAGS=$ac_save_CFLAGS
5115 elif test $ac_cv_prog_cc_g = yes; then
5116 if test "$GCC" = yes; then
5117 CFLAGS="-g -O2"
5118 else
5119 CFLAGS="-g"
5121 else
5122 if test "$GCC" = yes; then
5123 CFLAGS="-O2"
5124 else
5125 CFLAGS=
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5129 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5130 if ${ac_cv_prog_cc_c89+:} false; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5133 ac_cv_prog_cc_c89=no
5134 ac_save_CC=$CC
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <stdarg.h>
5138 #include <stdio.h>
5139 struct stat;
5140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5141 struct buf { int x; };
5142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5143 static char *e (p, i)
5144 char **p;
5145 int i;
5147 return p[i];
5149 static char *f (char * (*g) (char **, int), char **p, ...)
5151 char *s;
5152 va_list v;
5153 va_start (v,p);
5154 s = g (p, va_arg (v,int));
5155 va_end (v);
5156 return s;
5159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5160 function prototypes and stuff, but not '\xHH' hex character constants.
5161 These don't provoke an error unfortunately, instead are silently treated
5162 as 'x'. The following induces an error, until -std is added to get
5163 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5164 array size at least. It's necessary to write '\x00'==0 to get something
5165 that's true only with -std. */
5166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5169 inside strings and character constants. */
5170 #define FOO(x) 'x'
5171 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5173 int test (int i, double x);
5174 struct s1 {int (*f) (int a);};
5175 struct s2 {int (*f) (double a);};
5176 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5177 int argc;
5178 char **argv;
5180 main ()
5182 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5184 return 0;
5186 _ACEOF
5187 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5188 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5190 CC="$ac_save_CC $ac_arg"
5191 if ac_fn_c_try_compile "$LINENO"; then :
5192 ac_cv_prog_cc_c89=$ac_arg
5194 rm -f core conftest.err conftest.$ac_objext
5195 test "x$ac_cv_prog_cc_c89" != "xno" && break
5196 done
5197 rm -f conftest.$ac_ext
5198 CC=$ac_save_CC
5201 # AC_CACHE_VAL
5202 case "x$ac_cv_prog_cc_c89" in
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5205 $as_echo "none needed" >&6; } ;;
5206 xno)
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5208 $as_echo "unsupported" >&6; } ;;
5210 CC="$CC $ac_cv_prog_cc_c89"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5212 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5213 esac
5214 if test "x$ac_cv_prog_cc_c89" != xno; then :
5218 ac_ext=c
5219 ac_cpp='$CPP $CPPFLAGS'
5220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5224 ac_ext=cpp
5225 ac_cpp='$CXXCPP $CPPFLAGS'
5226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5229 if test -z "$CXX"; then
5230 if test -n "$CCC"; then
5231 CXX=$CCC
5232 else
5233 if test -n "$ac_tool_prefix"; then
5234 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_CXX+:} false; then :
5241 $as_echo_n "(cached) " >&6
5242 else
5243 if test -n "$CXX"; then
5244 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5245 else
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5249 IFS=$as_save_IFS
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 break 2
5257 done
5258 done
5259 IFS=$as_save_IFS
5263 CXX=$ac_cv_prog_CXX
5264 if test -n "$CXX"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5266 $as_echo "$CXX" >&6; }
5267 else
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5273 test -n "$CXX" && break
5274 done
5276 if test -z "$CXX"; then
5277 ac_ct_CXX=$CXX
5278 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$ac_ct_CXX"; then
5288 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_ac_ct_CXX="$ac_prog"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5308 if test -n "$ac_ct_CXX"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5310 $as_echo "$ac_ct_CXX" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$ac_ct_CXX" && break
5318 done
5320 if test "x$ac_ct_CXX" = x; then
5321 CXX="g++"
5322 else
5323 case $cross_compiling:$ac_tool_warned in
5324 yes:)
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5327 ac_tool_warned=yes ;;
5328 esac
5329 CXX=$ac_ct_CXX
5335 # Provide some information about the compiler.
5336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5337 set X $ac_compile
5338 ac_compiler=$2
5339 for ac_option in --version -v -V -qversion; do
5340 { { ac_try="$ac_compiler $ac_option >&5"
5341 case "(($ac_try" in
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5344 esac
5345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5346 $as_echo "$ac_try_echo"; } >&5
5347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5348 ac_status=$?
5349 if test -s conftest.err; then
5350 sed '10a\
5351 ... rest of stderr output deleted ...
5352 10q' conftest.err >conftest.er1
5353 cat conftest.er1 >&5
5355 rm -f conftest.er1 conftest.err
5356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5357 test $ac_status = 0; }
5358 done
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5361 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5362 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5371 #ifndef __GNUC__
5372 choke me
5373 #endif
5376 return 0;
5378 _ACEOF
5379 if ac_fn_cxx_try_compile "$LINENO"; then :
5380 ac_compiler_gnu=yes
5381 else
5382 ac_compiler_gnu=no
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5389 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5390 if test $ac_compiler_gnu = yes; then
5391 GXX=yes
5392 else
5393 GXX=
5395 ac_test_CXXFLAGS=${CXXFLAGS+set}
5396 ac_save_CXXFLAGS=$CXXFLAGS
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5398 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5399 if ${ac_cv_prog_cxx_g+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5403 ac_cxx_werror_flag=yes
5404 ac_cv_prog_cxx_g=no
5405 CXXFLAGS="-g"
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5410 main ()
5414 return 0;
5416 _ACEOF
5417 if ac_fn_cxx_try_compile "$LINENO"; then :
5418 ac_cv_prog_cxx_g=yes
5419 else
5420 CXXFLAGS=""
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5425 main ()
5429 return 0;
5431 _ACEOF
5432 if ac_fn_cxx_try_compile "$LINENO"; then :
5434 else
5435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5436 CXXFLAGS="-g"
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5441 main ()
5445 return 0;
5447 _ACEOF
5448 if ac_fn_cxx_try_compile "$LINENO"; then :
5449 ac_cv_prog_cxx_g=yes
5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5459 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5460 if test "$ac_test_CXXFLAGS" = set; then
5461 CXXFLAGS=$ac_save_CXXFLAGS
5462 elif test $ac_cv_prog_cxx_g = yes; then
5463 if test "$GXX" = yes; then
5464 CXXFLAGS="-g -O2"
5465 else
5466 CXXFLAGS="-g"
5468 else
5469 if test "$GXX" = yes; then
5470 CXXFLAGS="-O2"
5471 else
5472 CXXFLAGS=
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5481 if test -n "$ac_tool_prefix"; then
5482 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5483 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_CPPBIN+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$CPPBIN"; then
5490 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5503 done
5504 done
5505 IFS=$as_save_IFS
5509 CPPBIN=$ac_cv_prog_CPPBIN
5510 if test -n "$CPPBIN"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5512 $as_echo "$CPPBIN" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5520 if test -z "$ac_cv_prog_CPPBIN"; then
5521 ac_ct_CPPBIN=$CPPBIN
5522 # Extract the first word of "cpp", so it can be a program name with args.
5523 set dummy cpp; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$ac_ct_CPPBIN"; then
5530 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_ac_ct_CPPBIN="cpp"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5550 if test -n "$ac_ct_CPPBIN"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5552 $as_echo "$ac_ct_CPPBIN" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5558 if test "x$ac_ct_CPPBIN" = x; then
5559 CPPBIN="cpp"
5560 else
5561 case $cross_compiling:$ac_tool_warned in
5562 yes:)
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5565 ac_tool_warned=yes ;;
5566 esac
5567 CPPBIN=$ac_ct_CPPBIN
5569 else
5570 CPPBIN="$ac_cv_prog_CPPBIN"
5574 cat >>confdefs.h <<_ACEOF
5575 #define EXEEXT "$ac_exeext"
5576 _ACEOF
5578 if test -n "$ac_tool_prefix"; then
5579 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5580 set dummy ${ac_tool_prefix}ld; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_LD+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -n "$LD"; then
5587 ac_cv_prog_LD="$LD" # Let the user override the test.
5588 else
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 for as_dir in $PATH
5592 IFS=$as_save_IFS
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5596 ac_cv_prog_LD="${ac_tool_prefix}ld"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 break 2
5600 done
5601 done
5602 IFS=$as_save_IFS
5606 LD=$ac_cv_prog_LD
5607 if test -n "$LD"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5609 $as_echo "$LD" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5617 if test -z "$ac_cv_prog_LD"; then
5618 ac_ct_LD=$LD
5619 # Extract the first word of "ld", so it can be a program name with args.
5620 set dummy ld; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 if test -n "$ac_ct_LD"; then
5627 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5628 else
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_ac_ct_LD="ld"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 break 2
5640 done
5641 done
5642 IFS=$as_save_IFS
5646 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5647 if test -n "$ac_ct_LD"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5649 $as_echo "$ac_ct_LD" >&6; }
5650 else
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5655 if test "x$ac_ct_LD" = x; then
5656 LD=""
5657 else
5658 case $cross_compiling:$ac_tool_warned in
5659 yes:)
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned=yes ;;
5663 esac
5664 LD=$ac_ct_LD
5666 else
5667 LD="$ac_cv_prog_LD"
5671 case $host in
5672 *-darwin*)
5673 with_fontconfig=${with_fontconfig:-no}
5675 *-mingw32*|*-cygwin*)
5676 enable_win16=${enable_win16:-no}
5677 with_mingw=${with_mingw:-no}
5678 CFLAGS="$CFLAGS -D_WIN32"
5680 esac
5683 case $host in
5684 x86_64*|amd64*)
5685 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5686 then
5687 CC="$CC -m32"
5688 CXX="$CXX -m32"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5691 $as_echo_n "checking whether $CC works... " >&6; }
5692 if ${wine_cv_cc_m32+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5699 main ()
5703 return 0;
5705 _ACEOF
5706 if ac_fn_c_try_link "$LINENO"; then :
5707 wine_cv_cc_m32=yes
5708 else
5709 wine_cv_cc_m32=no
5711 rm -f core conftest.err conftest.$ac_objext \
5712 conftest$ac_exeext conftest.$ac_ext
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5715 $as_echo "$wine_cv_cc_m32" >&6; }
5716 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
5717 host_cpu="i386"
5718 notice_platform="32-bit "
5719 TARGETFLAGS="$TARGETFLAGS -m32"
5720 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5721 export PKG_CONFIG_PATH
5722 enable_win16=${enable_win16:-yes}
5723 with_unwind=${with_unwind:-no}
5724 else
5725 if test "x${GCC}" = "xyes"
5726 then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5728 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5729 if ${wine_cv_builtin_ms_va_list+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5733 /* end confdefs.h. */
5734 #include <stdarg.h>
5736 main ()
5738 void func(__builtin_ms_va_list *args);
5740 return 0;
5742 _ACEOF
5743 if ac_fn_c_try_compile "$LINENO"; then :
5744 wine_cv_builtin_ms_va_list=yes
5745 else
5746 wine_cv_builtin_ms_va_list=no
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5751 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5752 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
5754 CC="$CC -m64"
5755 CXX="$CXX -m64"
5756 host_cpu="x86_64"
5757 notice_platform="64-bit "
5758 TARGETFLAGS="$TARGETFLAGS -m64"
5759 enable_wow64=${enable_wow64:-yes}
5760 enable_wow64win=${enable_wow64win:-yes}
5761 enable_wow64cpu=${enable_wow64cpu:-yes}
5764 arm*)
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5766 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5767 if ${wine_cv_thumb2+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h. */
5774 main ()
5776 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5778 return 0;
5780 _ACEOF
5781 if ac_fn_c_try_link "$LINENO"; then :
5782 wine_cv_thumb2=yes
5783 else
5784 wine_cv_thumb2=no
5786 rm -f core conftest.err conftest.$ac_objext \
5787 conftest$ac_exeext conftest.$ac_ext
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5790 $as_echo "$wine_cv_thumb2" >&6; }
5791 if test x"$wine_cv_thumb2" = xyes
5792 then
5793 CFLAGS="$CFLAGS -mthumb"
5794 TARGETFLAGS="$TARGETFLAGS -mthumb"
5795 else
5796 CFLAGS="$CFLAGS -marm"
5797 TARGETFLAGS="$TARGETFLAGS -marm"
5799 case $with_float_abi in
5800 soft|softfp|hard)
5801 float_abi=$with_float_abi ;;
5803 case $host_os in
5804 *eabihf)
5805 float_abi=hard ;;
5807 float_abi=softfp
5808 saved_CFLAGS=$CFLAGS
5809 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5811 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5812 if ${wine_cv_float_abi+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5816 /* end confdefs.h. */
5819 main ()
5821 asm("vmrs r2,fpscr");
5823 return 0;
5825 _ACEOF
5826 if ac_fn_c_try_link "$LINENO"; then :
5827 wine_cv_float_abi=yes
5828 else
5829 wine_cv_float_abi=no
5831 rm -f core conftest.err conftest.$ac_objext \
5832 conftest$ac_exeext conftest.$ac_ext
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5835 $as_echo "$wine_cv_float_abi" >&6; }
5836 if test $wine_cv_float_abi = no
5837 then
5838 float_abi=soft
5839 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5841 CFLAGS=$saved_CFLAGS
5842 esac
5844 esac
5845 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5846 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5848 aarch64*)
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5850 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5851 if ${wine_cv_builtin_ms_va_list+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5856 #include <stdarg.h>
5858 main ()
5860 void func(__builtin_ms_va_list *args);
5862 return 0;
5864 _ACEOF
5865 if ac_fn_c_try_compile "$LINENO"; then :
5866 wine_cv_builtin_ms_va_list=yes
5867 else
5868 wine_cv_builtin_ms_va_list=no
5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5873 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5874 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5875 enable_wow64=${enable_wow64:-yes}
5876 enable_wow64win=${enable_wow64win:-yes}
5878 i[3456789]86*)
5879 enable_win16=${enable_win16:-yes}
5880 with_unwind=${with_unwind:-no}
5882 esac
5884 enable_win16=${enable_win16:-no}
5885 enable_win64=${enable_win64:-no}
5886 enable_wow64=${enable_wow64:-no}
5887 enable_wow64win=${enable_wow64win:-no}
5888 enable_wow64cpu=${enable_wow64cpu:-no}
5890 enable_winetest=${enable_winetest:-$enable_tests}
5892 if test "x$enable_win64" = "xyes"
5893 then
5894 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5895 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5899 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5900 if ${wine_cv_toolsdir+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 wine_cv_toolsdir="$with_wine_tools"
5904 if test -z "$with_wine_tools"; then
5905 if test "$cross_compiling" = "yes"; then
5906 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5907 elif test -n "$with_wine64"; then
5908 wine_cv_toolsdir="$with_wine64"
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5913 $as_echo "$wine_cv_toolsdir" >&6; }
5914 if test -z "$wine_cv_toolsdir"; then
5915 wine_makedep=tools/makedep
5916 TOOLSDIR="."
5918 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5919 wine_makedep=$wine_cv_toolsdir/tools/makedep
5920 TOOLSDIR=$wine_cv_toolsdir
5922 enable_tools=${enable_tools:-no}
5923 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5924 else
5925 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5927 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5928 then
5929 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5932 for ac_prog in flex
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy $ac_prog; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_FLEX+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$FLEX"; then
5942 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_FLEX="$ac_prog"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 FLEX=$ac_cv_prog_FLEX
5962 if test -n "$FLEX"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5964 $as_echo "$FLEX" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5971 test -n "$FLEX" && break
5972 done
5973 test -n "$FLEX" || FLEX="none"
5975 if test "$FLEX" = "none"
5976 then
5977 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5980 $as_echo_n "checking whether flex is recent enough... " >&6; }
5981 if ${wine_cv_recent_flex+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 cat >conftest.l <<EOF
5985 %top{
5986 #include "prediluvian.h"
5990 if $FLEX -t conftest.l >/dev/null 2>&5
5991 then
5992 wine_cv_recent_flex=yes
5993 else
5994 wine_cv_recent_flex=no
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5998 $as_echo "$wine_cv_recent_flex" >&6; }
5999 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
6001 for ac_prog in bison
6003 # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 set dummy $ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_BISON+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 if test -n "$BISON"; then
6011 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_BISON="$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 BISON=$ac_cv_prog_BISON
6031 if test -n "$BISON"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6033 $as_echo "$BISON" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6040 test -n "$BISON" && break
6041 done
6042 test -n "$BISON" || BISON="none"
6044 if test "$BISON" = "none"
6045 then
6046 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6049 $as_echo_n "checking whether bison is recent enough... " >&6; }
6050 if ${wine_cv_recent_bison+:} false; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 cat >conftest.y <<EOF
6054 %define parse.error verbose
6056 empty: ;
6058 if $BISON conftest.y >/dev/null 2>&5
6059 then
6060 wine_cv_recent_bison=yes
6061 else
6062 wine_cv_recent_bison=no
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6066 $as_echo "$wine_cv_recent_bison" >&6; }
6067 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
6069 if test -n "$ac_tool_prefix"; then
6070 for ac_prog in ar gar
6072 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6073 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_AR+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$AR"; then
6080 ac_cv_prog_AR="$AR" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 AR=$ac_cv_prog_AR
6100 if test -n "$AR"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6102 $as_echo "$AR" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6109 test -n "$AR" && break
6110 done
6112 if test -z "$AR"; then
6113 ac_ct_AR=$AR
6114 for ac_prog in ar gar
6116 # Extract the first word of "$ac_prog", so it can be a program name with args.
6117 set dummy $ac_prog; ac_word=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 $as_echo_n "checking for $ac_word... " >&6; }
6120 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6121 $as_echo_n "(cached) " >&6
6122 else
6123 if test -n "$ac_ct_AR"; then
6124 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6125 else
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 for as_dir in $PATH
6129 IFS=$as_save_IFS
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_AR="$ac_prog"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6144 if test -n "$ac_ct_AR"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6146 $as_echo "$ac_ct_AR" >&6; }
6147 else
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 $as_echo "no" >&6; }
6153 test -n "$ac_ct_AR" && break
6154 done
6156 if test "x$ac_ct_AR" = x; then
6157 AR="ar"
6158 else
6159 case $cross_compiling:$ac_tool_warned in
6160 yes:)
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6163 ac_tool_warned=yes ;;
6164 esac
6165 AR=$ac_ct_AR
6169 if test -n "$ac_tool_prefix"; then
6170 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6171 set dummy ${ac_tool_prefix}strip; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 $as_echo_n "checking for $ac_word... " >&6; }
6174 if ${ac_cv_prog_STRIP+:} false; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 if test -n "$STRIP"; then
6178 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6179 else
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 break 2
6191 done
6192 done
6193 IFS=$as_save_IFS
6197 STRIP=$ac_cv_prog_STRIP
6198 if test -n "$STRIP"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6200 $as_echo "$STRIP" >&6; }
6201 else
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 $as_echo "no" >&6; }
6208 if test -z "$ac_cv_prog_STRIP"; then
6209 ac_ct_STRIP=$STRIP
6210 # Extract the first word of "strip", so it can be a program name with args.
6211 set dummy strip; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6217 if test -n "$ac_ct_STRIP"; then
6218 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_STRIP="strip"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6233 IFS=$as_save_IFS
6237 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6238 if test -n "$ac_ct_STRIP"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6240 $as_echo "$ac_ct_STRIP" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6246 if test "x$ac_ct_STRIP" = x; then
6247 STRIP="strip"
6248 else
6249 case $cross_compiling:$ac_tool_warned in
6250 yes:)
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6253 ac_tool_warned=yes ;;
6254 esac
6255 STRIP=$ac_ct_STRIP
6257 else
6258 STRIP="$ac_cv_prog_STRIP"
6261 if test -n "$ac_tool_prefix"; then
6262 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6263 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6265 $as_echo_n "checking for $ac_word... " >&6; }
6266 if ${ac_cv_prog_RANLIB+:} false; then :
6267 $as_echo_n "(cached) " >&6
6268 else
6269 if test -n "$RANLIB"; then
6270 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6271 else
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in $PATH
6275 IFS=$as_save_IFS
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 break 2
6283 done
6284 done
6285 IFS=$as_save_IFS
6289 RANLIB=$ac_cv_prog_RANLIB
6290 if test -n "$RANLIB"; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6292 $as_echo "$RANLIB" >&6; }
6293 else
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 $as_echo "no" >&6; }
6300 if test -z "$ac_cv_prog_RANLIB"; then
6301 ac_ct_RANLIB=$RANLIB
6302 # Extract the first word of "ranlib", so it can be a program name with args.
6303 set dummy ranlib; ac_word=$2
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6305 $as_echo_n "checking for $ac_word... " >&6; }
6306 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6307 $as_echo_n "(cached) " >&6
6308 else
6309 if test -n "$ac_ct_RANLIB"; then
6310 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6311 else
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 for as_dir in $PATH
6315 IFS=$as_save_IFS
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319 ac_cv_prog_ac_ct_RANLIB="ranlib"
6320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 break 2
6323 done
6324 done
6325 IFS=$as_save_IFS
6329 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6330 if test -n "$ac_ct_RANLIB"; then
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6332 $as_echo "$ac_ct_RANLIB" >&6; }
6333 else
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6335 $as_echo "no" >&6; }
6338 if test "x$ac_ct_RANLIB" = x; then
6339 RANLIB=":"
6340 else
6341 case $cross_compiling:$ac_tool_warned in
6342 yes:)
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6345 ac_tool_warned=yes ;;
6346 esac
6347 RANLIB=$ac_ct_RANLIB
6349 else
6350 RANLIB="$ac_cv_prog_RANLIB"
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6354 $as_echo_n "checking whether ln -s works... " >&6; }
6355 LN_S=$as_ln_s
6356 if test "$LN_S" = "ln -s"; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6358 $as_echo "yes" >&6; }
6359 else
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6361 $as_echo "no, using $LN_S" >&6; }
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6365 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6366 if ${ac_cv_path_GREP+:} false; then :
6367 $as_echo_n "(cached) " >&6
6368 else
6369 if test -z "$GREP"; then
6370 ac_path_GREP_found=false
6371 # Loop through the user's path and test for each of PROGNAME-LIST
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6375 IFS=$as_save_IFS
6376 test -z "$as_dir" && as_dir=.
6377 for ac_prog in grep ggrep; do
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6380 as_fn_executable_p "$ac_path_GREP" || continue
6381 # Check for GNU ac_path_GREP and select it if it is found.
6382 # Check for GNU $ac_path_GREP
6383 case `"$ac_path_GREP" --version 2>&1` in
6384 *GNU*)
6385 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6387 ac_count=0
6388 $as_echo_n 0123456789 >"conftest.in"
6389 while :
6391 cat "conftest.in" "conftest.in" >"conftest.tmp"
6392 mv "conftest.tmp" "conftest.in"
6393 cp "conftest.in" "conftest.nl"
6394 $as_echo 'GREP' >> "conftest.nl"
6395 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6396 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6397 as_fn_arith $ac_count + 1 && ac_count=$as_val
6398 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6399 # Best one so far, save it but keep looking for a better one
6400 ac_cv_path_GREP="$ac_path_GREP"
6401 ac_path_GREP_max=$ac_count
6403 # 10*(2^10) chars as input seems more than enough
6404 test $ac_count -gt 10 && break
6405 done
6406 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6407 esac
6409 $ac_path_GREP_found && break 3
6410 done
6411 done
6412 done
6413 IFS=$as_save_IFS
6414 if test -z "$ac_cv_path_GREP"; then
6415 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6417 else
6418 ac_cv_path_GREP=$GREP
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6423 $as_echo "$ac_cv_path_GREP" >&6; }
6424 GREP="$ac_cv_path_GREP"
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6428 $as_echo_n "checking for egrep... " >&6; }
6429 if ${ac_cv_path_EGREP+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6433 then ac_cv_path_EGREP="$GREP -E"
6434 else
6435 if test -z "$EGREP"; then
6436 ac_path_EGREP_found=false
6437 # Loop through the user's path and test for each of PROGNAME-LIST
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6441 IFS=$as_save_IFS
6442 test -z "$as_dir" && as_dir=.
6443 for ac_prog in egrep; do
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6446 as_fn_executable_p "$ac_path_EGREP" || continue
6447 # Check for GNU ac_path_EGREP and select it if it is found.
6448 # Check for GNU $ac_path_EGREP
6449 case `"$ac_path_EGREP" --version 2>&1` in
6450 *GNU*)
6451 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6453 ac_count=0
6454 $as_echo_n 0123456789 >"conftest.in"
6455 while :
6457 cat "conftest.in" "conftest.in" >"conftest.tmp"
6458 mv "conftest.tmp" "conftest.in"
6459 cp "conftest.in" "conftest.nl"
6460 $as_echo 'EGREP' >> "conftest.nl"
6461 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6463 as_fn_arith $ac_count + 1 && ac_count=$as_val
6464 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6465 # Best one so far, save it but keep looking for a better one
6466 ac_cv_path_EGREP="$ac_path_EGREP"
6467 ac_path_EGREP_max=$ac_count
6469 # 10*(2^10) chars as input seems more than enough
6470 test $ac_count -gt 10 && break
6471 done
6472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6473 esac
6475 $ac_path_EGREP_found && break 3
6476 done
6477 done
6478 done
6479 IFS=$as_save_IFS
6480 if test -z "$ac_cv_path_EGREP"; then
6481 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6483 else
6484 ac_cv_path_EGREP=$EGREP
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6490 $as_echo "$ac_cv_path_EGREP" >&6; }
6491 EGREP="$ac_cv_path_EGREP"
6494 # Extract the first word of "ldconfig", so it can be a program name with args.
6495 set dummy ldconfig; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if ${ac_cv_path_LDCONFIG+:} false; then :
6499 $as_echo_n "(cached) " >&6
6500 else
6501 case $LDCONFIG in
6502 [\\/]* | ?:[\\/]*)
6503 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 for as_dir in /sbin /usr/sbin $PATH
6509 IFS=$as_save_IFS
6510 test -z "$as_dir" && as_dir=.
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6513 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6515 break 2
6517 done
6518 done
6519 IFS=$as_save_IFS
6521 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6523 esac
6525 LDCONFIG=$ac_cv_path_LDCONFIG
6526 if test -n "$LDCONFIG"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6528 $as_echo "$LDCONFIG" >&6; }
6529 else
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6535 for ac_prog in msgfmt
6537 # Extract the first word of "$ac_prog", so it can be a program name with args.
6538 set dummy $ac_prog; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_prog_MSGFMT+:} false; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$MSGFMT"; then
6545 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6554 ac_cv_prog_MSGFMT="$ac_prog"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 MSGFMT=$ac_cv_prog_MSGFMT
6565 if test -n "$MSGFMT"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6567 $as_echo "$MSGFMT" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6574 test -n "$MSGFMT" && break
6575 done
6576 test -n "$MSGFMT" || MSGFMT="false"
6578 if ${ac_tool_prefix+:} false; then :
6579 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6580 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582 $as_echo_n "checking for $ac_word... " >&6; }
6583 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6584 $as_echo_n "(cached) " >&6
6585 else
6586 if test -n "$PKG_CONFIG"; then
6587 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6588 else
6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 for as_dir in $PATH
6592 IFS=$as_save_IFS
6593 test -z "$as_dir" && as_dir=.
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 break 2
6600 done
6601 done
6602 IFS=$as_save_IFS
6606 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6607 if test -n "$PKG_CONFIG"; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6609 $as_echo "$PKG_CONFIG" >&6; }
6610 else
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6617 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6618 if test "x$cross_compiling" = xyes; then :
6620 else
6621 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6622 # Extract the first word of "pkg-config", so it can be a program name with args.
6623 set dummy pkg-config; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6627 $as_echo_n "(cached) " >&6
6628 else
6629 if test -n "$PKG_CONFIG"; then
6630 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6635 IFS=$as_save_IFS
6636 test -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6639 ac_cv_prog_PKG_CONFIG="pkg-config"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 break 2
6643 done
6644 done
6645 IFS=$as_save_IFS
6649 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6650 if test -n "$PKG_CONFIG"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6652 $as_echo "$PKG_CONFIG" >&6; }
6653 else
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6660 else
6661 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6664 if test "x$enable_maintainer_mode" != "xyes"
6665 then
6666 FONTFORGE=""
6667 RSVG=""
6668 CONVERT=""
6669 ICOTOOL=""
6670 else
6671 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6672 for ac_prog in fontforge
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy $ac_prog; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 $as_echo_n "checking for $ac_word... " >&6; }
6678 if ${ac_cv_prog_FONTFORGE+:} false; then :
6679 $as_echo_n "(cached) " >&6
6680 else
6681 if test -n "$FONTFORGE"; then
6682 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6683 else
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 for as_dir in $PATH
6687 IFS=$as_save_IFS
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6691 ac_cv_prog_FONTFORGE="$ac_prog"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 break 2
6695 done
6696 done
6697 IFS=$as_save_IFS
6701 FONTFORGE=$ac_cv_prog_FONTFORGE
6702 if test -n "$FONTFORGE"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6704 $as_echo "$FONTFORGE" >&6; }
6705 else
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6711 test -n "$FONTFORGE" && break
6712 done
6713 test -n "$FONTFORGE" || FONTFORGE="false"
6715 for ac_prog in rsvg-convert rsvg
6717 # Extract the first word of "$ac_prog", so it can be a program name with args.
6718 set dummy $ac_prog; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if ${ac_cv_prog_RSVG+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$RSVG"; then
6725 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_RSVG="$ac_prog"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 IFS=$as_save_IFS
6744 RSVG=$ac_cv_prog_RSVG
6745 if test -n "$RSVG"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6747 $as_echo "$RSVG" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6754 test -n "$RSVG" && break
6755 done
6756 test -n "$RSVG" || RSVG="false"
6758 for ac_prog in convert
6760 # Extract the first word of "$ac_prog", so it can be a program name with args.
6761 set dummy $ac_prog; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if ${ac_cv_prog_CONVERT+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 if test -n "$CONVERT"; then
6768 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6773 IFS=$as_save_IFS
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_CONVERT="$ac_prog"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 break 2
6781 done
6782 done
6783 IFS=$as_save_IFS
6787 CONVERT=$ac_cv_prog_CONVERT
6788 if test -n "$CONVERT"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6790 $as_echo "$CONVERT" >&6; }
6791 else
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6797 test -n "$CONVERT" && break
6798 done
6799 test -n "$CONVERT" || CONVERT="false"
6801 for ac_prog in icotool
6803 # Extract the first word of "$ac_prog", so it can be a program name with args.
6804 set dummy $ac_prog; ac_word=$2
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 $as_echo_n "checking for $ac_word... " >&6; }
6807 if ${ac_cv_prog_ICOTOOL+:} false; then :
6808 $as_echo_n "(cached) " >&6
6809 else
6810 if test -n "$ICOTOOL"; then
6811 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6812 else
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 for as_dir in $PATH
6816 IFS=$as_save_IFS
6817 test -z "$as_dir" && as_dir=.
6818 for ac_exec_ext in '' $ac_executable_extensions; do
6819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6820 ac_cv_prog_ICOTOOL="$ac_prog"
6821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 break 2
6824 done
6825 done
6826 IFS=$as_save_IFS
6830 ICOTOOL=$ac_cv_prog_ICOTOOL
6831 if test -n "$ICOTOOL"; then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6833 $as_echo "$ICOTOOL" >&6; }
6834 else
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836 $as_echo "no" >&6; }
6840 test -n "$ICOTOOL" && break
6841 done
6842 test -n "$ICOTOOL" || ICOTOOL="false"
6844 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6845 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6847 if test "$CONVERT" = false
6848 then
6849 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6850 else
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6852 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6853 convert_version=`convert --version | head -n1`
6854 if test "x$convert_version" != "x"
6855 then
6856 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6857 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6858 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6859 then
6860 CONVERT=false
6863 if test "$CONVERT" = false
6864 then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6866 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6867 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6868 else
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6870 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6874 if test "$ICOTOOL" = false
6875 then
6876 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6877 else
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6879 $as_echo_n "checking for recent enough icotool... " >&6; }
6880 icotool_version=`icotool --version | head -n1`
6881 if test "x$icotool_version" != "x"
6882 then
6883 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6884 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6885 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6886 then
6887 ICOTOOL=false
6888 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6891 if test "$ICOTOOL" = false
6892 then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6894 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6895 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6896 else
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6898 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6902 with_gettext=yes
6903 with_gettextpo=yes
6905 enable_werror=yes
6908 test "x$with_gettext" != xno || MSGFMT=false
6909 if test "$MSGFMT" != "false"
6910 then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6912 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6913 if ${wine_cv_msgfmt_contexts+:} false; then :
6914 $as_echo_n "(cached) " >&6
6915 else
6916 cat >conftest.po <<EOF
6917 # comment
6918 msgctxt "ctxt"
6919 msgid "id"
6920 msgstr "str"
6922 if $MSGFMT -o /dev/null conftest.po 2>&5
6923 then
6924 wine_cv_msgfmt_contexts=yes
6925 else
6926 wine_cv_msgfmt_contexts=no
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6930 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6931 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6933 if test "$MSGFMT" = false; then :
6934 case "x$with_gettext" in
6935 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6936 xno) ;;
6937 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6938 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6939 esac
6940 enable_po=${enable_po:-no}
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6945 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6946 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6947 $as_echo_n "(cached) " >&6
6948 else
6949 ac_check_lib_save_LIBS=$LIBS
6950 LIBS="-li386 $LIBS"
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6954 /* Override any GCC internal prototype to avoid an error.
6955 Use char because int might match the return type of a GCC
6956 builtin and then its argument prototype would still apply. */
6957 #ifdef __cplusplus
6958 extern "C"
6959 #endif
6960 char i386_set_ldt ();
6962 main ()
6964 return i386_set_ldt ();
6966 return 0;
6968 _ACEOF
6969 if ac_fn_c_try_link "$LINENO"; then :
6970 ac_cv_lib_i386_i386_set_ldt=yes
6971 else
6972 ac_cv_lib_i386_i386_set_ldt=no
6974 rm -f core conftest.err conftest.$ac_objext \
6975 conftest$ac_exeext conftest.$ac_ext
6976 LIBS=$ac_check_lib_save_LIBS
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6979 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6980 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6981 I386_LIBS="-li386"
6986 OPENGL_LIBS=""
6990 # Check whether --enable-largefile was given.
6991 if test "${enable_largefile+set}" = set; then :
6992 enableval=$enable_largefile;
6995 if test "$enable_largefile" != no; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6998 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6999 if ${ac_cv_sys_largefile_CC+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 ac_cv_sys_largefile_CC=no
7003 if test "$GCC" != yes; then
7004 ac_save_CC=$CC
7005 while :; do
7006 # IRIX 6.2 and later do not support large files by default,
7007 # so use the C compiler's -n32 option if that helps.
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <sys/types.h>
7011 /* Check that off_t can represent 2**63 - 1 correctly.
7012 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7013 since some C++ compilers masquerading as C compilers
7014 incorrectly reject 9223372036854775807. */
7015 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7016 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7017 && LARGE_OFF_T % 2147483647 == 1)
7018 ? 1 : -1];
7020 main ()
7024 return 0;
7026 _ACEOF
7027 if ac_fn_c_try_compile "$LINENO"; then :
7028 break
7030 rm -f core conftest.err conftest.$ac_objext
7031 CC="$CC -n32"
7032 if ac_fn_c_try_compile "$LINENO"; then :
7033 ac_cv_sys_largefile_CC=' -n32'; break
7035 rm -f core conftest.err conftest.$ac_objext
7036 break
7037 done
7038 CC=$ac_save_CC
7039 rm -f conftest.$ac_ext
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7043 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7044 if test "$ac_cv_sys_largefile_CC" != no; then
7045 CC=$CC$ac_cv_sys_largefile_CC
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7049 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7050 if ${ac_cv_sys_file_offset_bits+:} false; then :
7051 $as_echo_n "(cached) " >&6
7052 else
7053 while :; do
7054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7056 #include <sys/types.h>
7057 /* Check that off_t can represent 2**63 - 1 correctly.
7058 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7059 since some C++ compilers masquerading as C compilers
7060 incorrectly reject 9223372036854775807. */
7061 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7062 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7063 && LARGE_OFF_T % 2147483647 == 1)
7064 ? 1 : -1];
7066 main ()
7070 return 0;
7072 _ACEOF
7073 if ac_fn_c_try_compile "$LINENO"; then :
7074 ac_cv_sys_file_offset_bits=no; break
7076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7079 #define _FILE_OFFSET_BITS 64
7080 #include <sys/types.h>
7081 /* Check that off_t can represent 2**63 - 1 correctly.
7082 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7083 since some C++ compilers masquerading as C compilers
7084 incorrectly reject 9223372036854775807. */
7085 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7086 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7087 && LARGE_OFF_T % 2147483647 == 1)
7088 ? 1 : -1];
7090 main ()
7094 return 0;
7096 _ACEOF
7097 if ac_fn_c_try_compile "$LINENO"; then :
7098 ac_cv_sys_file_offset_bits=64; break
7100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7101 ac_cv_sys_file_offset_bits=unknown
7102 break
7103 done
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7106 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7107 case $ac_cv_sys_file_offset_bits in #(
7108 no | unknown) ;;
7110 cat >>confdefs.h <<_ACEOF
7111 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7112 _ACEOF
7114 esac
7115 rm -rf conftest*
7116 if test $ac_cv_sys_file_offset_bits = unknown; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7118 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7119 if ${ac_cv_sys_large_files+:} false; then :
7120 $as_echo_n "(cached) " >&6
7121 else
7122 while :; do
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <sys/types.h>
7126 /* Check that off_t can represent 2**63 - 1 correctly.
7127 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7128 since some C++ compilers masquerading as C compilers
7129 incorrectly reject 9223372036854775807. */
7130 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7131 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7132 && LARGE_OFF_T % 2147483647 == 1)
7133 ? 1 : -1];
7135 main ()
7139 return 0;
7141 _ACEOF
7142 if ac_fn_c_try_compile "$LINENO"; then :
7143 ac_cv_sys_large_files=no; break
7145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7148 #define _LARGE_FILES 1
7149 #include <sys/types.h>
7150 /* Check that off_t can represent 2**63 - 1 correctly.
7151 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7152 since some C++ compilers masquerading as C compilers
7153 incorrectly reject 9223372036854775807. */
7154 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7155 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7156 && LARGE_OFF_T % 2147483647 == 1)
7157 ? 1 : -1];
7159 main ()
7163 return 0;
7165 _ACEOF
7166 if ac_fn_c_try_compile "$LINENO"; then :
7167 ac_cv_sys_large_files=1; break
7169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7170 ac_cv_sys_large_files=unknown
7171 break
7172 done
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7175 $as_echo "$ac_cv_sys_large_files" >&6; }
7176 case $ac_cv_sys_large_files in #(
7177 no | unknown) ;;
7179 cat >>confdefs.h <<_ACEOF
7180 #define _LARGE_FILES $ac_cv_sys_large_files
7181 _ACEOF
7183 esac
7184 rm -rf conftest*
7191 ac_ext=c
7192 ac_cpp='$CPP $CPPFLAGS'
7193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7197 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7198 # On Suns, sometimes $CPP names a directory.
7199 if test -n "$CPP" && test -d "$CPP"; then
7200 CPP=
7202 if test -z "$CPP"; then
7203 if ${ac_cv_prog_CPP+:} false; then :
7204 $as_echo_n "(cached) " >&6
7205 else
7206 # Double quotes because CPP needs to be expanded
7207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7209 ac_preproc_ok=false
7210 for ac_c_preproc_warn_flag in '' yes
7212 # Use a header file that comes with gcc, so configuring glibc
7213 # with a fresh cross-compiler works.
7214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7215 # <limits.h> exists even on freestanding compilers.
7216 # On the NeXT, cc -E runs the code through the compiler's parser,
7217 # not just through cpp. "Syntax error" is here to catch this case.
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220 #ifdef __STDC__
7221 # include <limits.h>
7222 #else
7223 # include <assert.h>
7224 #endif
7225 Syntax error
7226 _ACEOF
7227 if ac_fn_c_try_cpp "$LINENO"; then :
7229 else
7230 # Broken: fails on valid input.
7231 continue
7233 rm -f conftest.err conftest.i conftest.$ac_ext
7235 # OK, works on sane cases. Now check whether nonexistent headers
7236 # can be detected and how.
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7239 #include <ac_nonexistent.h>
7240 _ACEOF
7241 if ac_fn_c_try_cpp "$LINENO"; then :
7242 # Broken: success on invalid input.
7243 continue
7244 else
7245 # Passes both tests.
7246 ac_preproc_ok=:
7247 break
7249 rm -f conftest.err conftest.i conftest.$ac_ext
7251 done
7252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7253 rm -f conftest.i conftest.err conftest.$ac_ext
7254 if $ac_preproc_ok; then :
7255 break
7258 done
7259 ac_cv_prog_CPP=$CPP
7262 CPP=$ac_cv_prog_CPP
7263 else
7264 ac_cv_prog_CPP=$CPP
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7267 $as_echo "$CPP" >&6; }
7268 ac_preproc_ok=false
7269 for ac_c_preproc_warn_flag in '' yes
7271 # Use a header file that comes with gcc, so configuring glibc
7272 # with a fresh cross-compiler works.
7273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7274 # <limits.h> exists even on freestanding compilers.
7275 # On the NeXT, cc -E runs the code through the compiler's parser,
7276 # not just through cpp. "Syntax error" is here to catch this case.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #ifdef __STDC__
7280 # include <limits.h>
7281 #else
7282 # include <assert.h>
7283 #endif
7284 Syntax error
7285 _ACEOF
7286 if ac_fn_c_try_cpp "$LINENO"; then :
7288 else
7289 # Broken: fails on valid input.
7290 continue
7292 rm -f conftest.err conftest.i conftest.$ac_ext
7294 # OK, works on sane cases. Now check whether nonexistent headers
7295 # can be detected and how.
7296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7297 /* end confdefs.h. */
7298 #include <ac_nonexistent.h>
7299 _ACEOF
7300 if ac_fn_c_try_cpp "$LINENO"; then :
7301 # Broken: success on invalid input.
7302 continue
7303 else
7304 # Passes both tests.
7305 ac_preproc_ok=:
7306 break
7308 rm -f conftest.err conftest.i conftest.$ac_ext
7310 done
7311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7312 rm -f conftest.i conftest.err conftest.$ac_ext
7313 if $ac_preproc_ok; then :
7315 else
7316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7318 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7319 See \`config.log' for more details" "$LINENO" 5; }
7322 ac_ext=c
7323 ac_cpp='$CPP $CPPFLAGS'
7324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7330 $as_echo_n "checking for ANSI C header files... " >&6; }
7331 if ${ac_cv_header_stdc+:} false; then :
7332 $as_echo_n "(cached) " >&6
7333 else
7334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335 /* end confdefs.h. */
7336 #include <stdlib.h>
7337 #include <stdarg.h>
7338 #include <string.h>
7339 #include <float.h>
7342 main ()
7346 return 0;
7348 _ACEOF
7349 if ac_fn_c_try_compile "$LINENO"; then :
7350 ac_cv_header_stdc=yes
7351 else
7352 ac_cv_header_stdc=no
7354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7356 if test $ac_cv_header_stdc = yes; then
7357 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7360 #include <string.h>
7362 _ACEOF
7363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7364 $EGREP "memchr" >/dev/null 2>&1; then :
7366 else
7367 ac_cv_header_stdc=no
7369 rm -f conftest*
7373 if test $ac_cv_header_stdc = yes; then
7374 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7377 #include <stdlib.h>
7379 _ACEOF
7380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7381 $EGREP "free" >/dev/null 2>&1; then :
7383 else
7384 ac_cv_header_stdc=no
7386 rm -f conftest*
7390 if test $ac_cv_header_stdc = yes; then
7391 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7392 if test "$cross_compiling" = yes; then :
7394 else
7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7396 /* end confdefs.h. */
7397 #include <ctype.h>
7398 #include <stdlib.h>
7399 #if ((' ' & 0x0FF) == 0x020)
7400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7402 #else
7403 # define ISLOWER(c) \
7404 (('a' <= (c) && (c) <= 'i') \
7405 || ('j' <= (c) && (c) <= 'r') \
7406 || ('s' <= (c) && (c) <= 'z'))
7407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7408 #endif
7410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7412 main ()
7414 int i;
7415 for (i = 0; i < 256; i++)
7416 if (XOR (islower (i), ISLOWER (i))
7417 || toupper (i) != TOUPPER (i))
7418 return 2;
7419 return 0;
7421 _ACEOF
7422 if ac_fn_c_try_run "$LINENO"; then :
7424 else
7425 ac_cv_header_stdc=no
7427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7428 conftest.$ac_objext conftest.beam conftest.$ac_ext
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7434 $as_echo "$ac_cv_header_stdc" >&6; }
7435 if test $ac_cv_header_stdc = yes; then
7437 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7441 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7442 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7443 inttypes.h stdint.h unistd.h
7444 do :
7445 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7446 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7448 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7449 cat >>confdefs.h <<_ACEOF
7450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7451 _ACEOF
7455 done
7458 for ac_header in \
7459 AL/al.h \
7460 ApplicationServices/ApplicationServices.h \
7461 CL/cl.h \
7462 Carbon/Carbon.h \
7463 CoreAudio/CoreAudio.h \
7464 DiskArbitration/DiskArbitration.h \
7465 EGL/egl.h \
7466 IOKit/IOKitLib.h \
7467 IOKit/hid/IOHIDLib.h \
7468 OpenAL/al.h \
7469 OpenCL/opencl.h \
7470 QuickTime/ImageCompression.h \
7471 Security/Security.h \
7472 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7473 SystemConfiguration/SCNetworkConfiguration.h \
7474 alias.h \
7475 arpa/inet.h \
7476 arpa/nameser.h \
7477 asm/types.h \
7478 asm/user.h \
7479 dirent.h \
7480 dlfcn.h \
7481 elf.h \
7482 float.h \
7483 gettext-po.h \
7484 grp.h \
7485 gsm.h \
7486 gsm/gsm.h \
7487 ieeefp.h \
7488 libproc.h \
7489 link.h \
7490 linux/cdrom.h \
7491 linux/filter.h \
7492 linux/hdreg.h \
7493 linux/hidraw.h \
7494 linux/input.h \
7495 linux/ioctl.h \
7496 linux/joystick.h \
7497 linux/major.h \
7498 linux/param.h \
7499 linux/serial.h \
7500 linux/types.h \
7501 linux/ucdrom.h \
7502 lwp.h \
7503 mach-o/loader.h \
7504 mach/mach.h \
7505 machine/cpu.h \
7506 machine/sysarch.h \
7507 mntent.h \
7508 netdb.h \
7509 netinet/in.h \
7510 netinet/in_systm.h \
7511 netinet/tcp.h \
7512 netinet/tcp_fsm.h \
7513 pcap/pcap.h \
7514 poll.h \
7515 port.h \
7516 pthread.h \
7517 pwd.h \
7518 sasl/sasl.h \
7519 sched.h \
7520 scsi/scsi.h \
7521 scsi/scsi_ioctl.h \
7522 scsi/sg.h \
7523 stdint.h \
7524 sys/attr.h \
7525 sys/auxv.h \
7526 sys/cdio.h \
7527 sys/epoll.h \
7528 sys/event.h \
7529 sys/filio.h \
7530 sys/ioctl.h \
7531 sys/ipc.h \
7532 sys/link.h \
7533 sys/mman.h \
7534 sys/modem.h \
7535 sys/mtio.h \
7536 sys/param.h \
7537 sys/poll.h \
7538 sys/prctl.h \
7539 sys/protosw.h \
7540 sys/ptrace.h \
7541 sys/queue.h \
7542 sys/random.h \
7543 sys/resource.h \
7544 sys/scsiio.h \
7545 sys/shm.h \
7546 sys/signal.h \
7547 sys/socket.h \
7548 sys/socketvar.h \
7549 sys/sockio.h \
7550 sys/statvfs.h \
7551 sys/strtio.h \
7552 sys/syscall.h \
7553 sys/sysinfo.h \
7554 sys/time.h \
7555 sys/timeout.h \
7556 sys/times.h \
7557 sys/uio.h \
7558 sys/user.h \
7559 sys/utsname.h \
7560 sys/vnode.h \
7561 sys/wait.h \
7562 syscall.h \
7563 termios.h \
7564 unistd.h \
7565 utime.h \
7566 valgrind/memcheck.h \
7567 valgrind/valgrind.h
7569 do :
7570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7571 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7581 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7582 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7584 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7589 if test $ac_cv_header_sys_mkdev_h = no; then
7590 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7591 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7593 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7600 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7601 if ${ac_cv_header_stat_broken+:} false; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7606 #include <sys/types.h>
7607 #include <sys/stat.h>
7609 #if defined S_ISBLK && defined S_IFDIR
7610 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7611 #endif
7613 #if defined S_ISBLK && defined S_IFCHR
7614 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7615 #endif
7617 #if defined S_ISLNK && defined S_IFREG
7618 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7619 #endif
7621 #if defined S_ISSOCK && defined S_IFREG
7622 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7623 #endif
7625 _ACEOF
7626 if ac_fn_c_try_compile "$LINENO"; then :
7627 ac_cv_header_stat_broken=no
7628 else
7629 ac_cv_header_stat_broken=yes
7631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7634 $as_echo "$ac_cv_header_stat_broken" >&6; }
7635 if test $ac_cv_header_stat_broken = yes; then
7637 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7643 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7644 do :
7645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7646 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7647 #ifdef HAVE_SYS_PARAM_H
7648 # include <sys/param.h>
7649 #endif
7651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 _ACEOF
7658 done
7661 saved_sysctl_h_CFLAGS=$CFLAGS
7662 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7663 for ac_header in sys/sysctl.h
7664 do :
7665 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7666 #ifdef HAVE_SYS_PARAM_H
7667 # include <sys/param.h>
7668 #endif
7670 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define HAVE_SYS_SYSCTL_H 1
7673 _ACEOF
7677 done
7679 CFLAGS=$saved_sysctl_h_CFLAGS
7681 for ac_header in \
7682 netinet/ip.h \
7683 net/if.h \
7684 net/if_arp.h \
7685 net/if_dl.h \
7686 net/if_types.h \
7687 net/route.h \
7688 netinet/if_ether.h \
7689 netinet/if_inarp.h \
7690 netinet/in_pcb.h \
7691 netinet/ip_icmp.h \
7692 netinet/ip_var.h \
7693 netinet/udp.h \
7694 netipx/ipx.h \
7695 sys/un.h \
7697 do :
7698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7700 #ifdef HAVE_SYS_SOCKET_H
7701 # include <sys/socket.h>
7702 #endif
7703 #ifdef HAVE_SYS_SOCKETVAR_H
7704 # include <sys/socketvar.h>
7705 #endif
7706 #ifdef HAVE_NET_ROUTE_H
7707 # include <net/route.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IN_H
7710 # include <netinet/in.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_SYSTM_H
7713 # include <netinet/in_systm.h>
7714 #endif
7715 #ifdef HAVE_NET_IF_H
7716 # include <net/if.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IP_H
7719 # include <netinet/ip.h>
7720 #endif
7722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 _ACEOF
7729 done
7732 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7733 do :
7734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7736 #ifdef HAVE_ALIAS_H
7737 # include <alias.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKET_H
7740 # include <sys/socket.h>
7741 #endif
7742 #ifdef HAVE_SYS_SOCKETVAR_H
7743 # include <sys/socketvar.h>
7744 #endif
7745 #ifdef HAVE_SYS_TIMEOUT_H
7746 # include <sys/timeout.h>
7747 #endif
7748 #ifdef HAVE_NETINET_IN_H
7749 # include <netinet/in.h>
7750 #endif
7751 #ifdef HAVE_NETINET_IN_SYSTM_H
7752 # include <netinet/in_systm.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IP_H
7755 # include <netinet/ip.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IP_VAR_H
7758 # include <netinet/ip_var.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IP_ICMP_H
7761 # include <netinet/ip_icmp.h>
7762 #endif
7763 #ifdef HAVE_NETINET_UDP_H
7764 # include <netinet/udp.h>
7765 #endif
7766 #ifdef HAVE_NETINET_TCP_H
7767 # include <netinet/tcp.h>
7768 #endif
7769 #ifdef HAVE_NETINET_TCP_TIMER_H
7770 #include <netinet/tcp_timer.h>
7771 #endif
7773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7774 cat >>confdefs.h <<_ACEOF
7775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7776 _ACEOF
7780 done
7783 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7784 do :
7785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7786 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7787 #ifdef HAVE_ASM_TYPES_H
7788 # include <asm/types.h>
7789 #endif
7790 #ifdef HAVE_SYS_SOCKET_H
7791 # include <sys/socket.h>
7792 #endif
7793 #ifdef HAVE_LINUX_TYPES_H
7794 # include <linux/types.h>
7795 #endif
7797 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7800 _ACEOF
7804 done
7807 for ac_header in resolv.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7810 #ifdef HAVE_SYS_SOCKET_H
7811 # include <sys/socket.h>
7812 #endif
7813 #ifdef HAVE_NETINET_IN_H
7814 # include <netinet/in.h>
7815 #endif
7816 #ifdef HAVE_ARPA_NAMESER_H
7817 # include <arpa/nameser.h>
7818 #endif
7820 if test "x$ac_cv_header_resolv_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_RESOLV_H 1
7823 _ACEOF
7827 done
7830 for ac_header in ifaddrs.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7834 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7835 cat >>confdefs.h <<_ACEOF
7836 #define HAVE_IFADDRS_H 1
7837 _ACEOF
7841 done
7844 for ac_header in sys/ucontext.h
7845 do :
7846 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7848 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7849 cat >>confdefs.h <<_ACEOF
7850 #define HAVE_SYS_UCONTEXT_H 1
7851 _ACEOF
7855 done
7858 for ac_header in sys/thr.h
7859 do :
7860 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7861 #ifdef HAVE_SYS_UCONTEXT_H
7862 #include <sys/ucontext.h>
7863 #endif
7865 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7866 cat >>confdefs.h <<_ACEOF
7867 #define HAVE_SYS_THR_H 1
7868 _ACEOF
7872 done
7875 for ac_header in pthread_np.h
7876 do :
7877 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7878 #include <pthread.h>
7879 #endif
7881 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7882 cat >>confdefs.h <<_ACEOF
7883 #define HAVE_PTHREAD_NP_H 1
7884 _ACEOF
7888 done
7891 for ac_header in linux/videodev2.h
7892 do :
7893 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7894 #include <sys/time.h>
7895 #endif
7896 #include <sys/types.h>
7897 #ifdef HAVE_ASM_TYPES_H
7898 #include <asm/types.h>
7899 #endif
7901 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7902 cat >>confdefs.h <<_ACEOF
7903 #define HAVE_LINUX_VIDEODEV2_H 1
7904 _ACEOF
7908 done
7911 for ac_header in libprocstat.h
7912 do :
7913 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7914 #include <sys/param.h>
7915 #endif
7916 #ifdef HAVE_SYS_QUEUE_H
7917 #include <sys/queue.h>
7918 #endif
7919 #ifdef HAVE_SYS_SOCKET_H
7920 #include <sys/socket.h>
7921 #endif
7923 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define HAVE_LIBPROCSTAT_H 1
7926 _ACEOF
7930 done
7934 DLLFLAGS=""
7936 LDDLLFLAGS=""
7938 LDEXECFLAGS=""
7940 UNIXDLLFLAGS="-fPIC"
7942 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7944 TOP_INSTALL_LIB=""
7946 TOP_INSTALL_DEV=""
7948 WINELOADER_LDFLAGS=""
7950 WINEPRELOADER_LDFLAGS=""
7952 LIBEXT="so"
7953 # Extract the first word of "ldd", so it can be a program name with args.
7954 set dummy ldd; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_path_LDD+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 case $LDD in
7961 [\\/]* | ?:[\\/]*)
7962 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 as_dummy="/sbin:/usr/sbin:$PATH"
7967 for as_dir in $as_dummy
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7981 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7983 esac
7985 LDD=$ac_cv_path_LDD
7986 if test -n "$LDD"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7988 $as_echo "$LDD" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7997 set dummy ${ac_tool_prefix}otool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_OTOOL+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$OTOOL"; then
8004 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 OTOOL=$ac_cv_prog_OTOOL
8024 if test -n "$OTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8026 $as_echo "$OTOOL" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8034 if test -z "$ac_cv_prog_OTOOL"; then
8035 ac_ct_OTOOL=$OTOOL
8036 # Extract the first word of "otool", so it can be a program name with args.
8037 set dummy otool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$ac_ct_OTOOL"; then
8044 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_ac_ct_OTOOL="otool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8064 if test -n "$ac_ct_OTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8066 $as_echo "$ac_ct_OTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8072 if test "x$ac_ct_OTOOL" = x; then
8073 OTOOL="otool"
8074 else
8075 case $cross_compiling:$ac_tool_warned in
8076 yes:)
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079 ac_tool_warned=yes ;;
8080 esac
8081 OTOOL=$ac_ct_OTOOL
8083 else
8084 OTOOL="$ac_cv_prog_OTOOL"
8087 if test -n "$ac_tool_prefix"; then
8088 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8089 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091 $as_echo_n "checking for $ac_word... " >&6; }
8092 if ${ac_cv_prog_READELF+:} false; then :
8093 $as_echo_n "(cached) " >&6
8094 else
8095 if test -n "$READELF"; then
8096 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8097 else
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 for as_dir in $PATH
8101 IFS=$as_save_IFS
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8105 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 break 2
8109 done
8110 done
8111 IFS=$as_save_IFS
8115 READELF=$ac_cv_prog_READELF
8116 if test -n "$READELF"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8118 $as_echo "$READELF" >&6; }
8119 else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8126 if test -z "$ac_cv_prog_READELF"; then
8127 ac_ct_READELF=$READELF
8128 # Extract the first word of "readelf", so it can be a program name with args.
8129 set dummy readelf; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 if test -n "$ac_ct_READELF"; then
8136 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_ac_ct_READELF="readelf"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8149 done
8150 done
8151 IFS=$as_save_IFS
8155 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8156 if test -n "$ac_ct_READELF"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8158 $as_echo "$ac_ct_READELF" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8164 if test "x$ac_ct_READELF" = x; then
8165 READELF="true"
8166 else
8167 case $cross_compiling:$ac_tool_warned in
8168 yes:)
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned=yes ;;
8172 esac
8173 READELF=$ac_ct_READELF
8175 else
8176 READELF="$ac_cv_prog_READELF"
8179 wine_rules_file=conf$$rules.make
8180 rm -f $wine_rules_file
8181 SUBDIRS=""
8183 DISABLED_SUBDIRS=""
8185 CONFIGURE_TARGETS=""
8188 wine_fn_append_file ()
8190 as_fn_append $1 " \\$as_nl $2"
8193 wine_fn_append_rule ()
8195 $as_echo "$1" >>$wine_rules_file
8198 wine_fn_config_makefile ()
8200 wine_fn_append_file SUBDIRS $1
8201 if eval test \"x\$"$2"\" = x"no"; then :
8202 wine_fn_append_file DISABLED_SUBDIRS $1
8206 wine_fn_config_symlink ()
8208 ac_links=$@
8209 wine_fn_append_rule \
8210 "$ac_links:
8211 @./config.status \$@"
8212 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8215 wine_binary="wine"
8216 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8217 WINELOADER_PROGRAMS="$wine_binary"
8219 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8221 case $host_os in
8222 cygwin*|mingw32*)
8223 if test -n "$ac_tool_prefix"; then
8224 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8225 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if ${ac_cv_prog_DLLTOOL+:} false; then :
8229 $as_echo_n "(cached) " >&6
8230 else
8231 if test -n "$DLLTOOL"; then
8232 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8233 else
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 for as_dir in $PATH
8237 IFS=$as_save_IFS
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 break 2
8245 done
8246 done
8247 IFS=$as_save_IFS
8251 DLLTOOL=$ac_cv_prog_DLLTOOL
8252 if test -n "$DLLTOOL"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8254 $as_echo "$DLLTOOL" >&6; }
8255 else
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8262 if test -z "$ac_cv_prog_DLLTOOL"; then
8263 ac_ct_DLLTOOL=$DLLTOOL
8264 # Extract the first word of "dlltool", so it can be a program name with args.
8265 set dummy dlltool; ac_word=$2
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8267 $as_echo_n "checking for $ac_word... " >&6; }
8268 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 if test -n "$ac_ct_DLLTOOL"; then
8272 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8273 else
8274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 for as_dir in $PATH
8277 IFS=$as_save_IFS
8278 test -z "$as_dir" && as_dir=.
8279 for ac_exec_ext in '' $ac_executable_extensions; do
8280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8281 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 break 2
8285 done
8286 done
8287 IFS=$as_save_IFS
8291 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8292 if test -n "$ac_ct_DLLTOOL"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8294 $as_echo "$ac_ct_DLLTOOL" >&6; }
8295 else
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8300 if test "x$ac_ct_DLLTOOL" = x; then
8301 DLLTOOL="false"
8302 else
8303 case $cross_compiling:$ac_tool_warned in
8304 yes:)
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8307 ac_tool_warned=yes ;;
8308 esac
8309 DLLTOOL=$ac_ct_DLLTOOL
8311 else
8312 DLLTOOL="$ac_cv_prog_DLLTOOL"
8315 LIBEXT="dll"
8316 case $host_cpu in
8317 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8318 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8319 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 ac_wine_try_cflags_saved=$CFLAGS
8323 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8330 else
8331 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 CFLAGS=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8338 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8339 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8340 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8341 fi ;;
8342 esac
8343 enable_iphlpapi=${enable_iphlpapi:-no}
8344 enable_loader=${enable_loader:-no}
8345 enable_server=${enable_server:-no}
8346 with_x=${with_x:-no}
8347 with_pthread=${with_pthread:-no}
8350 darwin*|macosx*)
8351 ac_ext=m
8352 ac_cpp='$OBJCPP $CPPFLAGS'
8353 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8354 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8355 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8362 if test -n "$ac_tool_prefix"; then
8363 for ac_prog in gcc objcc objc cc CC
8365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if ${ac_cv_prog_OBJC+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 if test -n "$OBJC"; then
8373 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8374 else
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 for as_dir in $PATH
8378 IFS=$as_save_IFS
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 break 2
8386 done
8387 done
8388 IFS=$as_save_IFS
8392 OBJC=$ac_cv_prog_OBJC
8393 if test -n "$OBJC"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8395 $as_echo "$OBJC" >&6; }
8396 else
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8402 test -n "$OBJC" && break
8403 done
8405 if test -z "$OBJC"; then
8406 ac_ct_OBJC=$OBJC
8407 for ac_prog in gcc objcc objc cc CC
8409 # Extract the first word of "$ac_prog", so it can be a program name with args.
8410 set dummy $ac_prog; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8412 $as_echo_n "checking for $ac_word... " >&6; }
8413 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 if test -n "$ac_ct_OBJC"; then
8417 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8418 else
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 for as_dir in $PATH
8422 IFS=$as_save_IFS
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8426 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8428 break 2
8430 done
8431 done
8432 IFS=$as_save_IFS
8436 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8437 if test -n "$ac_ct_OBJC"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8439 $as_echo "$ac_ct_OBJC" >&6; }
8440 else
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8446 test -n "$ac_ct_OBJC" && break
8447 done
8449 if test "x$ac_ct_OBJC" = x; then
8450 OBJC="gcc"
8451 else
8452 case $cross_compiling:$ac_tool_warned in
8453 yes:)
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8456 ac_tool_warned=yes ;;
8457 esac
8458 OBJC=$ac_ct_OBJC
8462 # Provide some information about the compiler.
8463 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8464 set X $ac_compile
8465 ac_compiler=$2
8466 for ac_option in --version -v -V -qversion; do
8467 { { ac_try="$ac_compiler $ac_option >&5"
8468 case "(($ac_try" in
8469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8470 *) ac_try_echo=$ac_try;;
8471 esac
8472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8473 $as_echo "$ac_try_echo"; } >&5
8474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8475 ac_status=$?
8476 if test -s conftest.err; then
8477 sed '10a\
8478 ... rest of stderr output deleted ...
8479 10q' conftest.err >conftest.er1
8480 cat conftest.er1 >&5
8482 rm -f conftest.er1 conftest.err
8483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8484 test $ac_status = 0; }
8485 done
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8488 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8489 if ${ac_cv_objc_compiler_gnu+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8496 main ()
8498 #ifndef __GNUC__
8499 choke me
8500 #endif
8503 return 0;
8505 _ACEOF
8506 if ac_fn_objc_try_compile "$LINENO"; then :
8507 ac_compiler_gnu=yes
8508 else
8509 ac_compiler_gnu=no
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8512 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8516 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8517 if test $ac_compiler_gnu = yes; then
8518 GOBJC=yes
8519 else
8520 GOBJC=
8522 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8523 ac_save_OBJCFLAGS=$OBJCFLAGS
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8525 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8526 if ${ac_cv_prog_objc_g+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_save_objc_werror_flag=$ac_objc_werror_flag
8530 ac_objc_werror_flag=yes
8531 ac_cv_prog_objc_g=no
8532 OBJCFLAGS="-g"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8537 main ()
8541 return 0;
8543 _ACEOF
8544 if ac_fn_objc_try_compile "$LINENO"; then :
8545 ac_cv_prog_objc_g=yes
8546 else
8547 OBJCFLAGS=""
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8552 main ()
8556 return 0;
8558 _ACEOF
8559 if ac_fn_objc_try_compile "$LINENO"; then :
8561 else
8562 ac_objc_werror_flag=$ac_save_objc_werror_flag
8563 OBJCFLAGS="-g"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8568 main ()
8572 return 0;
8574 _ACEOF
8575 if ac_fn_objc_try_compile "$LINENO"; then :
8576 ac_cv_prog_objc_g=yes
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 ac_objc_werror_flag=$ac_save_objc_werror_flag
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8586 $as_echo "$ac_cv_prog_objc_g" >&6; }
8587 if test "$ac_test_OBJCFLAGS" = set; then
8588 OBJCFLAGS=$ac_save_OBJCFLAGS
8589 elif test $ac_cv_prog_objc_g = yes; then
8590 if test "$GOBJC" = yes; then
8591 OBJCFLAGS="-g -O2"
8592 else
8593 OBJCFLAGS="-g"
8595 else
8596 if test "$GOBJC" = yes; then
8597 OBJCFLAGS="-O2"
8598 else
8599 OBJCFLAGS=
8602 ac_ext=m
8603 ac_cpp='$OBJCPP $CPPFLAGS'
8604 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8605 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8606 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8609 ac_ext=m
8610 ac_cpp='$OBJCPP $CPPFLAGS'
8611 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8612 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8613 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8615 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8616 if test -z "$OBJCPP"; then
8617 if ${ac_cv_prog_OBJCPP+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 # Double quotes because OBJCPP needs to be expanded
8621 for OBJCPP in "$OBJC -E" "/lib/cpp"
8623 ac_preproc_ok=false
8624 for ac_objc_preproc_warn_flag in '' yes
8626 # Use a header file that comes with gcc, so configuring glibc
8627 # with a fresh cross-compiler works.
8628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8629 # <limits.h> exists even on freestanding compilers.
8630 # On the NeXT, cc -E runs the code through the compiler's parser,
8631 # not just through cpp. "Syntax error" is here to catch this case.
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 #ifdef __STDC__
8635 # include <limits.h>
8636 #else
8637 # include <assert.h>
8638 #endif
8639 Syntax error
8640 _ACEOF
8641 if ac_fn_objc_try_cpp "$LINENO"; then :
8643 else
8644 # Broken: fails on valid input.
8645 continue
8647 rm -f conftest.err conftest.i conftest.$ac_ext
8649 # OK, works on sane cases. Now check whether nonexistent headers
8650 # can be detected and how.
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 #include <ac_nonexistent.h>
8654 _ACEOF
8655 if ac_fn_objc_try_cpp "$LINENO"; then :
8656 # Broken: success on invalid input.
8657 continue
8658 else
8659 # Passes both tests.
8660 ac_preproc_ok=:
8661 break
8663 rm -f conftest.err conftest.i conftest.$ac_ext
8665 done
8666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8667 rm -f conftest.i conftest.err conftest.$ac_ext
8668 if $ac_preproc_ok; then :
8669 break
8672 done
8673 ac_cv_prog_OBJCPP=$OBJCPP
8676 OBJCPP=$ac_cv_prog_OBJCPP
8677 else
8678 ac_cv_prog_OBJCPP=$OBJCPP
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8681 $as_echo "$OBJCPP" >&6; }
8682 ac_preproc_ok=false
8683 for ac_objc_preproc_warn_flag in '' yes
8685 # Use a header file that comes with gcc, so configuring glibc
8686 # with a fresh cross-compiler works.
8687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8688 # <limits.h> exists even on freestanding compilers.
8689 # On the NeXT, cc -E runs the code through the compiler's parser,
8690 # not just through cpp. "Syntax error" is here to catch this case.
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 #ifdef __STDC__
8694 # include <limits.h>
8695 #else
8696 # include <assert.h>
8697 #endif
8698 Syntax error
8699 _ACEOF
8700 if ac_fn_objc_try_cpp "$LINENO"; then :
8702 else
8703 # Broken: fails on valid input.
8704 continue
8706 rm -f conftest.err conftest.i conftest.$ac_ext
8708 # OK, works on sane cases. Now check whether nonexistent headers
8709 # can be detected and how.
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #include <ac_nonexistent.h>
8713 _ACEOF
8714 if ac_fn_objc_try_cpp "$LINENO"; then :
8715 # Broken: success on invalid input.
8716 continue
8717 else
8718 # Passes both tests.
8719 ac_preproc_ok=:
8720 break
8722 rm -f conftest.err conftest.i conftest.$ac_ext
8724 done
8725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8726 rm -f conftest.i conftest.err conftest.$ac_ext
8727 if $ac_preproc_ok; then :
8729 else
8730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8732 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8733 See \`config.log' for more details" "$LINENO" 5; }
8736 ac_ext=m
8737 ac_cpp='$OBJCPP $CPPFLAGS'
8738 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8743 for ac_header in Metal/Metal.h
8744 do :
8745 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8746 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8747 cat >>confdefs.h <<_ACEOF
8748 #define HAVE_METAL_METAL_H 1
8749 _ACEOF
8753 done
8755 ac_ext=c
8756 ac_cpp='$CPP $CPPFLAGS'
8757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8761 LIBEXT="dylib"
8762 DLLFLAGS="$DLLFLAGS -fPIC"
8763 LDDLLFLAGS="-fPIC"
8764 COREFOUNDATION_LIBS="-framework CoreFoundation"
8766 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8768 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8770 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8772 CORESERVICES_LIBS="-framework CoreServices"
8774 APPKIT_LIBS="-framework AppKit"
8776 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8779 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8781 wine_can_build_preloader=yes
8782 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"
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8784 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8785 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 int main(int argc, char **argv) { return 0; }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_cflags__Wl__no_new_main__e__main=yes
8796 else
8797 ac_cv_cflags__Wl__no_new_main__e__main=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8804 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8805 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8806 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8808 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8809 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8820 else
8821 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8828 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8829 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8830 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8831 else
8832 { $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
8833 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8834 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8841 int main(int argc, char **argv) { return 0; }
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8845 else
8846 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 CFLAGS=$ac_wine_try_cflags_saved
8852 { $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
8853 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8854 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8855 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8856 else
8857 wine_can_build_preloader=no
8860 else
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8862 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8863 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_wine_try_cflags_saved=$CFLAGS
8867 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8870 int main(int argc, char **argv) { return 0; }
8871 _ACEOF
8872 if ac_fn_c_try_link "$LINENO"; then :
8873 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8874 else
8875 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8877 rm -f core conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8882 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8883 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8884 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8885 else
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8887 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8888 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8889 $as_echo_n "(cached) " >&6
8890 else
8891 ac_wine_try_cflags_saved=$CFLAGS
8892 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8894 /* end confdefs.h. */
8895 int main(int argc, char **argv) { return 0; }
8896 _ACEOF
8897 if ac_fn_c_try_link "$LINENO"; then :
8898 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8899 else
8900 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8902 rm -f core conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8904 CFLAGS=$ac_wine_try_cflags_saved
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8907 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8908 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8909 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8910 else
8911 wine_can_build_preloader=no
8915 if test "$wine_can_build_preloader" = "yes"
8916 then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8918 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8919 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8920 $as_echo_n "(cached) " >&6
8921 else
8922 ac_wine_try_cflags_saved=$CFLAGS
8923 CFLAGS="$CFLAGS -Wl,-no_pie"
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8926 int main(int argc, char **argv) { return 0; }
8927 _ACEOF
8928 if ac_fn_c_try_link "$LINENO"; then :
8929 ac_cv_cflags__Wl__no_pie=yes
8930 else
8931 ac_cv_cflags__Wl__no_pie=no
8933 rm -f core conftest.err conftest.$ac_objext \
8934 conftest$ac_exeext conftest.$ac_ext
8935 CFLAGS=$ac_wine_try_cflags_saved
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8938 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8939 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8940 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8942 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8943 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8944 else
8945 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8948 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8949 then
8950 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8953 if test "$ac_cv_header_Security_Security_h" = "yes"
8954 then
8955 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8958 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8959 then
8960 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8962 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8964 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8965 then
8966 OPENAL_LIBS="-framework OpenAL"
8969 cat >>confdefs.h <<_ACEOF
8970 #define HAVE_OPENAL 1
8971 _ACEOF
8973 ac_cv_lib_openal=yes
8975 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8976 then
8977 OPENCL_LIBS="-framework OpenCL"
8979 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8981 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8982 then
8983 ac_save_LIBS="$LIBS"
8984 LIBS="$LIBS $IOKIT_LIBS"
8985 for ac_func in IOHIDManagerCreate
8986 do :
8987 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8988 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8989 cat >>confdefs.h <<_ACEOF
8990 #define HAVE_IOHIDMANAGERCREATE 1
8991 _ACEOF
8994 done
8996 LIBS="$ac_save_LIBS"
8999 if test "x$with_quicktime" != "xno"
9000 then
9001 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9002 then
9003 ac_save_LIBS="$LIBS"
9004 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9006 $as_echo_n "checking for the QuickTime framework... " >&6; }
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9009 #include <QuickTime/ImageCompression.h>
9011 main ()
9013 CodecManagerVersion(NULL);
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9020 $as_echo "yes" >&6; }
9021 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9023 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9027 ac_cv_header_QuickTime_ImageCompression_h=no
9029 rm -f core conftest.err conftest.$ac_objext \
9030 conftest$ac_exeext conftest.$ac_ext
9031 LIBS="$ac_save_LIBS"
9034 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9035 case "x$with_quicktime" in
9036 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9037 xno) ;;
9038 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9039 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9040 esac
9044 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9045 then
9046 CARBON_LIBS="-framework Carbon"
9049 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9050 then
9051 METAL_LIBS="-framework Metal -framework QuartzCore"
9055 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9056 then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9058 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9059 ac_ext=m
9060 ac_cpp='$OBJCPP $CPPFLAGS'
9061 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9062 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9063 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9067 #include <Metal/Metal.h>
9069 main ()
9071 id<MTLDevice> device; device.registryID;
9073 return 0;
9075 _ACEOF
9076 if ac_fn_objc_try_compile "$LINENO"; then :
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9078 $as_echo "yes" >&6; }
9080 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9082 else
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9087 ac_ext=c
9088 ac_cpp='$CPP $CPPFLAGS'
9089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9095 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9096 then
9097 ac_save_LIBS="$LIBS"
9098 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9099 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9100 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9101 enable_winemac_drv=${enable_winemac_drv:-yes}
9104 LIBS="$ac_save_LIBS"
9107 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9108 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9110 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9112 WINELOADER_DEPENDS="wine_info.plist"
9114 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9117 linux-android*)
9118 DLLFLAGS="$DLLFLAGS -fPIC"
9119 LDDLLFLAGS="-fPIC"
9120 LDEXECFLAGS="-Wl,-pie"
9121 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9123 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9124 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9125 $as_echo_n "(cached) " >&6
9126 else
9127 ac_wine_try_cflags_saved=$CFLAGS
9128 CFLAGS="$CFLAGS -Wl,-z,defs"
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9131 int main(int argc, char **argv) { return 0; }
9132 _ACEOF
9133 if ac_fn_c_try_link "$LINENO"; then :
9134 ac_cv_cflags__Wl__z_defs=yes
9135 else
9136 ac_cv_cflags__Wl__z_defs=no
9138 rm -f core conftest.err conftest.$ac_objext \
9139 conftest$ac_exeext conftest.$ac_ext
9140 CFLAGS=$ac_wine_try_cflags_saved
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9143 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9144 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9145 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9148 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9149 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 int main(int argc, char **argv) { return 0; }
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9160 else
9161 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 CFLAGS=$ac_wine_try_cflags_saved
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9168 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9169 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9170 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9172 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9175 $as_echo_n "checking for -lEGL... " >&6; }
9176 if ${ac_cv_lib_soname_EGL+:} false; then :
9177 $as_echo_n "(cached) " >&6
9178 else
9179 ac_check_soname_save_LIBS=$LIBS
9180 LIBS="-lEGL $LIBS"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9187 #ifdef __cplusplus
9188 extern "C"
9189 #endif
9190 char eglGetProcAddress ();
9192 main ()
9194 return eglGetProcAddress ();
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 case "$LIBEXT" in
9201 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9202 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'` ;;
9203 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9204 if ${ac_cv_lib_soname_EGL:+false} :; then :
9205 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9206 fi ;;
9207 esac
9208 else
9209 ac_cv_lib_soname_EGL=
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 LIBS=$ac_check_soname_save_LIBS
9215 if ${ac_cv_lib_soname_EGL:+false} :; then :
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9217 $as_echo "not found" >&6; }
9219 else
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9221 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9223 cat >>confdefs.h <<_ACEOF
9224 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9225 _ACEOF
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9230 $as_echo_n "checking for -lGLESv2... " >&6; }
9231 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_soname_save_LIBS=$LIBS
9235 LIBS="-lGLESv2 $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char glFlush ();
9247 main ()
9249 return glFlush ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 case "$LIBEXT" in
9256 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9257 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'` ;;
9258 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9259 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9260 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9261 fi ;;
9262 esac
9263 else
9264 ac_cv_lib_soname_GLESv2=
9266 rm -f core conftest.err conftest.$ac_objext \
9267 conftest$ac_exeext conftest.$ac_ext
9268 LIBS=$ac_check_soname_save_LIBS
9270 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9272 $as_echo "not found" >&6; }
9274 else
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9276 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9278 cat >>confdefs.h <<_ACEOF
9279 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9280 _ACEOF
9285 if test "x$exec_prefix" = xNONE
9286 then
9287 case $host_cpu in
9288 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9289 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9290 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9291 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9292 esac
9297 case $host_cpu in
9298 *i[3456789]86*)
9299 DLLFLAGS="$DLLFLAGS -fno-PIC"
9300 LDDLLFLAGS="-fno-PIC"
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9302 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9303 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_wine_try_cflags_saved=$CFLAGS
9307 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9310 int main(int argc, char **argv) { return 0; }
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9314 else
9315 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 CFLAGS=$ac_wine_try_cflags_saved
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9322 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9323 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9324 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9328 DLLFLAGS="$DLLFLAGS -fPIC"
9329 LDDLLFLAGS="-fPIC" ;;
9330 esac
9331 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9333 echo '{ global: *; };' >conftest.map
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9335 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9336 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_wine_try_cflags_saved=$CFLAGS
9340 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9343 int main(int argc, char **argv) { return 0; }
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9347 else
9348 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 CFLAGS=$ac_wine_try_cflags_saved
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9355 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9356 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9357 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9359 rm -f conftest.map
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9362 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9363 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 ac_wine_try_cflags_saved=$CFLAGS
9367 CFLAGS="$CFLAGS -Wl,-z,defs"
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9370 int main(int argc, char **argv) { return 0; }
9371 _ACEOF
9372 if ac_fn_c_try_link "$LINENO"; then :
9373 ac_cv_cflags__Wl__z_defs=yes
9374 else
9375 ac_cv_cflags__Wl__z_defs=no
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 CFLAGS=$ac_wine_try_cflags_saved
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9382 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9383 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9384 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9387 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9388 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_wine_try_cflags_saved=$CFLAGS
9392 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9395 int main(int argc, char **argv) { return 0; }
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 ac_cv_cflags__Wl___export_dynamic=yes
9399 else
9400 ac_cv_cflags__Wl___export_dynamic=no
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 CFLAGS=$ac_wine_try_cflags_saved
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9407 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9408 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9409 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9411 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9413 case $host_cpu in
9414 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9416 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9417 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_wine_try_cflags_saved=$CFLAGS
9421 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9424 int main(int argc, char **argv) { return 0; }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9428 else
9429 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 CFLAGS=$ac_wine_try_cflags_saved
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9436 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9437 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9438 case $host_os in
9439 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9440 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9441 esac
9442 else
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9444 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9445 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_wine_try_cflags_saved=$CFLAGS
9449 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9456 else
9457 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 CFLAGS=$ac_wine_try_cflags_saved
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9464 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9465 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9466 case $host_os in
9467 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9468 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9469 esac
9471 # Extract the first word of "prelink", so it can be a program name with args.
9472 set dummy prelink; ac_word=$2
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9474 $as_echo_n "checking for $ac_word... " >&6; }
9475 if ${ac_cv_path_PRELINK+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 case $PRELINK in
9479 [\\/]* | ?:[\\/]*)
9480 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 for as_dir in /sbin /usr/sbin $PATH
9486 IFS=$as_save_IFS
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9490 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9492 break 2
9494 done
9495 done
9496 IFS=$as_save_IFS
9498 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9500 esac
9502 PRELINK=$ac_cv_path_PRELINK
9503 if test -n "$PRELINK"; then
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9505 $as_echo "$PRELINK" >&6; }
9506 else
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9508 $as_echo "no" >&6; }
9512 if test "x$PRELINK" = xfalse
9513 then
9514 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9518 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9519 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_wine_try_cflags_saved=$CFLAGS
9523 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9530 else
9531 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 CFLAGS=$ac_wine_try_cflags_saved
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9538 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9539 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9540 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9543 esac
9544 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9546 LIBWINE_DEPENDS="wine.map"
9548 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9550 esac
9552 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9553 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9554 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9555 enable_winemac_drv=${enable_winemac_drv:-no}
9556 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9559 if test "x$with_mingw" != xno
9560 then
9561 case "x$with_mingw" in
9562 x|xyes) case "$host_cpu" in
9563 aarch64*)
9564 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9565 arm*)
9566 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9567 i[3456789]86*)
9568 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
9569 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9570 mingw32-gcc clang" ;;
9571 x86_64)
9572 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
9573 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9575 ac_prefix_list="" ;;
9576 esac
9577 for ac_prog in $ac_prefix_list
9579 # Extract the first word of "$ac_prog", so it can be a program name with args.
9580 set dummy $ac_prog; ac_word=$2
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 $as_echo_n "checking for $ac_word... " >&6; }
9583 if ${ac_cv_prog_CROSSCC+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 if test -n "$CROSSCC"; then
9587 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9588 else
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in $PATH
9592 IFS=$as_save_IFS
9593 test -z "$as_dir" && as_dir=.
9594 for ac_exec_ext in '' $ac_executable_extensions; do
9595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9596 ac_cv_prog_CROSSCC="$ac_prog"
9597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9598 break 2
9600 done
9601 done
9602 IFS=$as_save_IFS
9606 CROSSCC=$ac_cv_prog_CROSSCC
9607 if test -n "$CROSSCC"; then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9609 $as_echo "$CROSSCC" >&6; }
9610 else
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612 $as_echo "no" >&6; }
9616 test -n "$CROSSCC" && break
9617 done
9618 test -n "$CROSSCC" || CROSSCC="false"
9620 *) CROSSCC=$with_mingw ;;
9621 esac
9622 if test "$CROSSCC" != "false"
9623 then
9624 ac_save_CC="$CC"
9625 saved_CFLAGS=$CFLAGS
9626 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9628 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9632 CC="$CROSSCC"
9633 CFLAGS=$CROSSCFLAGS
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9635 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9636 if ${wine_cv_crosscc+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9643 main ()
9647 return 0;
9649 _ACEOF
9650 if ac_fn_c_try_compile "$LINENO"; then :
9651 wine_cv_crosscc=yes
9652 else
9653 wine_cv_crosscc=no
9655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9658 $as_echo "$wine_cv_crosscc" >&6; }
9659 if test $wine_cv_crosscc = yes
9660 then
9661 set x $CROSSCC
9662 shift
9663 while test $# -ge 1
9665 case "$1" in
9666 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9667 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9668 esac
9669 shift
9670 done
9672 llvm_target=$CROSSTARGET
9673 llvm_cflags="-fuse-ld=lld"
9674 if test -z "$llvm_target"
9675 then
9676 case $host_cpu in
9677 *i[3456789]86*) llvm_target=i686-windows ;;
9678 *) llvm_target=$host_cpu-windows ;;
9679 esac
9681 case $llvm_target in
9682 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9683 esac
9684 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9686 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9687 if eval \${$as_ac_var+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_wine_try_cflags_saved=$CFLAGS
9691 ac_wine_try_cflags_saved_cc=$CC
9692 ac_wine_try_cflags_saved_exeext=$ac_exeext
9693 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9694 CC="$CROSSCC"
9695 ac_exeext=".exe"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9698 int __cdecl mainCRTStartup(void) { return 0; }
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 eval "$as_ac_var=yes"
9702 else
9703 eval "$as_ac_var=no"
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 CFLAGS=$ac_wine_try_cflags_saved
9708 CC=$ac_wine_try_cflags_saved_cc
9709 ac_exeext=$ac_wine_try_cflags_saved_exeext
9711 eval ac_res=\$$as_ac_var
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9713 $as_echo "$ac_res" >&6; }
9714 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9715 CROSSTARGET=$llvm_target
9716 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9717 DELAYLOADFLAG="-Wl,-delayload,"
9719 CFLAGS="$CFLAGS $llvm_cflags"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9723 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9724 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 ac_wine_try_cflags_saved=$CFLAGS
9728 ac_wine_try_cflags_saved_cc=$CC
9729 ac_wine_try_cflags_saved_exeext=$ac_exeext
9730 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9731 CC="$CROSSCC"
9732 ac_exeext=".exe"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9735 int __cdecl mainCRTStartup(void) { return 0; }
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 ac_cv_crosscflags__fno_strict_aliasing=yes
9739 else
9740 ac_cv_crosscflags__fno_strict_aliasing=no
9742 rm -f core conftest.err conftest.$ac_objext \
9743 conftest$ac_exeext conftest.$ac_ext
9744 CFLAGS=$ac_wine_try_cflags_saved
9745 CC=$ac_wine_try_cflags_saved_cc
9746 ac_exeext=$ac_wine_try_cflags_saved_exeext
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9749 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9750 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9751 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9754 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9755 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9756 $as_echo_n "(cached) " >&6
9757 else
9758 ac_wine_try_cflags_saved=$CFLAGS
9759 ac_wine_try_cflags_saved_cc=$CC
9760 ac_wine_try_cflags_saved_exeext=$ac_exeext
9761 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9762 CC="$CROSSCC"
9763 ac_exeext=".exe"
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9766 int __cdecl mainCRTStartup(void) { return 0; }
9767 _ACEOF
9768 if ac_fn_c_try_link "$LINENO"; then :
9769 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9770 else
9771 ac_cv_crosscflags__Werror_unknown_warning_option=no
9773 rm -f core conftest.err conftest.$ac_objext \
9774 conftest$ac_exeext conftest.$ac_ext
9775 CFLAGS=$ac_wine_try_cflags_saved
9776 CC=$ac_wine_try_cflags_saved_cc
9777 ac_exeext=$ac_wine_try_cflags_saved_exeext
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9780 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9781 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9782 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9785 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9786 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9787 $as_echo_n "(cached) " >&6
9788 else
9789 ac_wine_try_cflags_saved=$CFLAGS
9790 ac_wine_try_cflags_saved_cc=$CC
9791 ac_wine_try_cflags_saved_exeext=$ac_exeext
9792 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9793 CC="$CROSSCC"
9794 ac_exeext=".exe"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9797 int __cdecl mainCRTStartup(void) { return 0; }
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9801 else
9802 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 CFLAGS=$ac_wine_try_cflags_saved
9807 CC=$ac_wine_try_cflags_saved_cc
9808 ac_exeext=$ac_wine_try_cflags_saved_exeext
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9811 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9812 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9813 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9816 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9817 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9818 $as_echo_n "(cached) " >&6
9819 else
9820 ac_wine_try_cflags_saved=$CFLAGS
9821 ac_wine_try_cflags_saved_cc=$CC
9822 ac_wine_try_cflags_saved_exeext=$ac_exeext
9823 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9824 CC="$CROSSCC"
9825 ac_exeext=".exe"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9828 int __cdecl mainCRTStartup(void) { return 0; }
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9832 else
9833 ac_cv_crosscflags__Wdeclaration_after_statement=no
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 CFLAGS=$ac_wine_try_cflags_saved
9838 CC=$ac_wine_try_cflags_saved_cc
9839 ac_exeext=$ac_wine_try_cflags_saved_exeext
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9842 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9843 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9844 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9847 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9848 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
9851 ac_wine_try_cflags_saved=$CFLAGS
9852 ac_wine_try_cflags_saved_cc=$CC
9853 ac_wine_try_cflags_saved_exeext=$ac_exeext
9854 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9855 CC="$CROSSCC"
9856 ac_exeext=".exe"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9859 int __cdecl mainCRTStartup(void) { return 0; }
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_crosscflags__Wempty_body=yes
9863 else
9864 ac_cv_crosscflags__Wempty_body=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 CFLAGS=$ac_wine_try_cflags_saved
9869 CC=$ac_wine_try_cflags_saved_cc
9870 ac_exeext=$ac_wine_try_cflags_saved_exeext
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9873 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9874 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9875 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9878 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9879 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9880 $as_echo_n "(cached) " >&6
9881 else
9882 ac_wine_try_cflags_saved=$CFLAGS
9883 ac_wine_try_cflags_saved_cc=$CC
9884 ac_wine_try_cflags_saved_exeext=$ac_exeext
9885 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9886 CC="$CROSSCC"
9887 ac_exeext=".exe"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int __cdecl mainCRTStartup(void) { return 0; }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 ac_cv_crosscflags__Wignored_qualifiers=yes
9894 else
9895 ac_cv_crosscflags__Wignored_qualifiers=no
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 CFLAGS=$ac_wine_try_cflags_saved
9900 CC=$ac_wine_try_cflags_saved_cc
9901 ac_exeext=$ac_wine_try_cflags_saved_exeext
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9904 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9905 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9906 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9909 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9910 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 ac_wine_try_cflags_saved_cc=$CC
9915 ac_wine_try_cflags_saved_exeext=$ac_exeext
9916 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9917 CC="$CROSSCC"
9918 ac_exeext=".exe"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 int __cdecl mainCRTStartup(void) { return 0; }
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"; then :
9924 ac_cv_crosscflags__Winit_self=yes
9925 else
9926 ac_cv_crosscflags__Winit_self=no
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 CFLAGS=$ac_wine_try_cflags_saved
9931 CC=$ac_wine_try_cflags_saved_cc
9932 ac_exeext=$ac_wine_try_cflags_saved_exeext
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9935 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9936 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9937 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9940 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9941 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 ac_wine_try_cflags_saved=$CFLAGS
9945 ac_wine_try_cflags_saved_cc=$CC
9946 ac_wine_try_cflags_saved_exeext=$ac_exeext
9947 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9948 CC="$CROSSCC"
9949 ac_exeext=".exe"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int __cdecl mainCRTStartup(void) { return 0; }
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 ac_cv_crosscflags__Wpacked_not_aligned=yes
9956 else
9957 ac_cv_crosscflags__Wpacked_not_aligned=no
9959 rm -f core conftest.err conftest.$ac_objext \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9962 CC=$ac_wine_try_cflags_saved_cc
9963 ac_exeext=$ac_wine_try_cflags_saved_exeext
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9966 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9967 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9968 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9971 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9972 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 ac_wine_try_cflags_saved_cc=$CC
9977 ac_wine_try_cflags_saved_exeext=$ac_exeext
9978 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9979 CC="$CROSSCC"
9980 ac_exeext=".exe"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9983 int __cdecl mainCRTStartup(void) { return 0; }
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"; then :
9986 ac_cv_crosscflags__Wpragma_pack=yes
9987 else
9988 ac_cv_crosscflags__Wpragma_pack=no
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 CFLAGS=$ac_wine_try_cflags_saved
9993 CC=$ac_wine_try_cflags_saved_cc
9994 ac_exeext=$ac_wine_try_cflags_saved_exeext
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9997 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9998 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9999 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10002 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10003 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_wine_try_cflags_saved=$CFLAGS
10007 ac_wine_try_cflags_saved_cc=$CC
10008 ac_wine_try_cflags_saved_exeext=$ac_exeext
10009 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10010 CC="$CROSSCC"
10011 ac_exeext=".exe"
10012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10014 int __cdecl mainCRTStartup(void) { return 0; }
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"; then :
10017 ac_cv_crosscflags__Wshift_overflow_2=yes
10018 else
10019 ac_cv_crosscflags__Wshift_overflow_2=no
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10023 CFLAGS=$ac_wine_try_cflags_saved
10024 CC=$ac_wine_try_cflags_saved_cc
10025 ac_exeext=$ac_wine_try_cflags_saved_exeext
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10028 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10029 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10030 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10033 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10034 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_wine_try_cflags_saved=$CFLAGS
10038 ac_wine_try_cflags_saved_cc=$CC
10039 ac_wine_try_cflags_saved_exeext=$ac_exeext
10040 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10041 CC="$CROSSCC"
10042 ac_exeext=".exe"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10045 int __cdecl mainCRTStartup(void) { return 0; }
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_crosscflags__Wstrict_prototypes=yes
10049 else
10050 ac_cv_crosscflags__Wstrict_prototypes=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 CFLAGS=$ac_wine_try_cflags_saved
10055 CC=$ac_wine_try_cflags_saved_cc
10056 ac_exeext=$ac_wine_try_cflags_saved_exeext
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10059 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10060 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10061 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10064 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10065 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_wine_try_cflags_saved=$CFLAGS
10069 ac_wine_try_cflags_saved_cc=$CC
10070 ac_wine_try_cflags_saved_exeext=$ac_exeext
10071 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10072 CC="$CROSSCC"
10073 ac_exeext=".exe"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 int __cdecl mainCRTStartup(void) { return 0; }
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_crosscflags__Wtype_limits=yes
10080 else
10081 ac_cv_crosscflags__Wtype_limits=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 CFLAGS=$ac_wine_try_cflags_saved
10086 CC=$ac_wine_try_cflags_saved_cc
10087 ac_exeext=$ac_wine_try_cflags_saved_exeext
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10090 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10091 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10092 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10095 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10096 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10097 $as_echo_n "(cached) " >&6
10098 else
10099 ac_wine_try_cflags_saved=$CFLAGS
10100 ac_wine_try_cflags_saved_cc=$CC
10101 ac_wine_try_cflags_saved_exeext=$ac_exeext
10102 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10103 CC="$CROSSCC"
10104 ac_exeext=".exe"
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10107 int __cdecl mainCRTStartup(void) { return 0; }
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10111 else
10112 ac_cv_crosscflags__Wunused_but_set_parameter=no
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 CFLAGS=$ac_wine_try_cflags_saved
10117 CC=$ac_wine_try_cflags_saved_cc
10118 ac_exeext=$ac_wine_try_cflags_saved_exeext
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10121 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10122 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10123 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10126 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10127 if ${ac_cv_crosscflags__Wvla+:} false; then :
10128 $as_echo_n "(cached) " >&6
10129 else
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 ac_wine_try_cflags_saved_cc=$CC
10132 ac_wine_try_cflags_saved_exeext=$ac_exeext
10133 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10134 CC="$CROSSCC"
10135 ac_exeext=".exe"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 int __cdecl mainCRTStartup(void) { return 0; }
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"; then :
10141 ac_cv_crosscflags__Wvla=yes
10142 else
10143 ac_cv_crosscflags__Wvla=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 CFLAGS=$ac_wine_try_cflags_saved
10148 CC=$ac_wine_try_cflags_saved_cc
10149 ac_exeext=$ac_wine_try_cflags_saved_exeext
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10152 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10153 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10154 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10157 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10158 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_wine_try_cflags_saved=$CFLAGS
10162 ac_wine_try_cflags_saved_cc=$CC
10163 ac_wine_try_cflags_saved_exeext=$ac_exeext
10164 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10165 CC="$CROSSCC"
10166 ac_exeext=".exe"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10169 int __cdecl mainCRTStartup(void) { return 0; }
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 ac_cv_crosscflags__Wwrite_strings=yes
10173 else
10174 ac_cv_crosscflags__Wwrite_strings=no
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10179 CC=$ac_wine_try_cflags_saved_cc
10180 ac_exeext=$ac_wine_try_cflags_saved_exeext
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10183 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10184 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10185 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10188 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10189 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 ac_wine_try_cflags_saved=$CFLAGS
10193 ac_wine_try_cflags_saved_cc=$CC
10194 ac_wine_try_cflags_saved_exeext=$ac_exeext
10195 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10196 CC="$CROSSCC"
10197 ac_exeext=".exe"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10200 int __cdecl mainCRTStartup(void) { return 0; }
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"; then :
10203 ac_cv_crosscflags__Wpointer_arith=yes
10204 else
10205 ac_cv_crosscflags__Wpointer_arith=no
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 CFLAGS=$ac_wine_try_cflags_saved
10210 CC=$ac_wine_try_cflags_saved_cc
10211 ac_exeext=$ac_wine_try_cflags_saved_exeext
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10214 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10215 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10216 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10219 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10220 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10221 $as_echo_n "(cached) " >&6
10222 else
10223 ac_wine_try_cflags_saved=$CFLAGS
10224 ac_wine_try_cflags_saved_cc=$CC
10225 ac_wine_try_cflags_saved_exeext=$ac_exeext
10226 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10227 CC="$CROSSCC"
10228 ac_exeext=".exe"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10231 int __cdecl mainCRTStartup(void) { return 0; }
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 ac_cv_crosscflags__Wlogical_op=yes
10235 else
10236 ac_cv_crosscflags__Wlogical_op=no
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10241 CC=$ac_wine_try_cflags_saved_cc
10242 ac_exeext=$ac_wine_try_cflags_saved_exeext
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10245 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10246 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10247 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10250 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10251 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10252 $as_echo_n "(cached) " >&6
10253 else
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 ac_wine_try_cflags_saved_cc=$CC
10256 ac_wine_try_cflags_saved_exeext=$ac_exeext
10257 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10258 CC="$CROSSCC"
10259 ac_exeext=".exe"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10262 int __cdecl mainCRTStartup(void) { return 0; }
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_crosscflags__Wabsolute_value=yes
10266 else
10267 ac_cv_crosscflags__Wabsolute_value=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 CFLAGS=$ac_wine_try_cflags_saved
10272 CC=$ac_wine_try_cflags_saved_cc
10273 ac_exeext=$ac_wine_try_cflags_saved_exeext
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10276 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10277 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10278 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10281 case $host_cpu in
10282 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10283 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10284 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 ac_wine_try_cflags_saved=$CFLAGS
10288 ac_wine_try_cflags_saved_cc=$CC
10289 ac_wine_try_cflags_saved_exeext=$ac_exeext
10290 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10291 CC="$CROSSCC"
10292 ac_exeext=".exe"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 int __cdecl mainCRTStartup(void) { return 0; }
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10299 else
10300 ac_cv_crosscflags__fno_omit_frame_pointer=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 CFLAGS=$ac_wine_try_cflags_saved
10305 CC=$ac_wine_try_cflags_saved_cc
10306 ac_exeext=$ac_wine_try_cflags_saved_exeext
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10309 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10310 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10311 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10312 fi ;;
10313 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10314 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10315 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10316 $as_echo_n "(cached) " >&6
10317 else
10318 ac_wine_try_cflags_saved=$CFLAGS
10319 ac_wine_try_cflags_saved_cc=$CC
10320 ac_wine_try_cflags_saved_exeext=$ac_exeext
10321 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10322 CC="$CROSSCC"
10323 ac_exeext=".exe"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 int __cdecl mainCRTStartup(void) { return 0; }
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 ac_cv_crosscflags__Wno_format=yes
10330 else
10331 ac_cv_crosscflags__Wno_format=no
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10336 CC=$ac_wine_try_cflags_saved_cc
10337 ac_exeext=$ac_wine_try_cflags_saved_exeext
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10340 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10341 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10342 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10345 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10346 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_wine_try_cflags_saved=$CFLAGS
10350 ac_wine_try_cflags_saved_cc=$CC
10351 ac_wine_try_cflags_saved_exeext=$ac_exeext
10352 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10353 CC="$CROSSCC"
10354 ac_exeext=".exe"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int __cdecl mainCRTStartup(void) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 ac_cv_crosscflags__Wformat_overflow=yes
10361 else
10362 ac_cv_crosscflags__Wformat_overflow=no
10364 rm -f core conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10367 CC=$ac_wine_try_cflags_saved_cc
10368 ac_exeext=$ac_wine_try_cflags_saved_exeext
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10371 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10372 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10373 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10376 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10377 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10378 $as_echo_n "(cached) " >&6
10379 else
10380 ac_wine_try_cflags_saved=$CFLAGS
10381 ac_wine_try_cflags_saved_cc=$CC
10382 ac_wine_try_cflags_saved_exeext=$ac_exeext
10383 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10384 CC="$CROSSCC"
10385 ac_exeext=".exe"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 int __cdecl mainCRTStartup(void) { return 0; }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 ac_cv_crosscflags__Wnonnull=yes
10392 else
10393 ac_cv_crosscflags__Wnonnull=no
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 CFLAGS=$ac_wine_try_cflags_saved
10398 CC=$ac_wine_try_cflags_saved_cc
10399 ac_exeext=$ac_wine_try_cflags_saved_exeext
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10402 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10403 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10404 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10407 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10408 if ${ac_cv_crosscflags__mcx16+:} false; then :
10409 $as_echo_n "(cached) " >&6
10410 else
10411 ac_wine_try_cflags_saved=$CFLAGS
10412 ac_wine_try_cflags_saved_cc=$CC
10413 ac_wine_try_cflags_saved_exeext=$ac_exeext
10414 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10415 CC="$CROSSCC"
10416 ac_exeext=".exe"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 int __cdecl mainCRTStartup(void) { return 0; }
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 ac_cv_crosscflags__mcx16=yes
10423 else
10424 ac_cv_crosscflags__mcx16=no
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 CFLAGS=$ac_wine_try_cflags_saved
10429 CC=$ac_wine_try_cflags_saved_cc
10430 ac_exeext=$ac_wine_try_cflags_saved_exeext
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10433 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10434 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10435 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10436 fi ;;
10437 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10438 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10439 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_wine_try_cflags_saved=$CFLAGS
10443 ac_wine_try_cflags_saved_cc=$CC
10444 ac_wine_try_cflags_saved_exeext=$ac_exeext
10445 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10446 CC="$CROSSCC"
10447 ac_exeext=".exe"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10450 int __cdecl mainCRTStartup(void) { return 0; }
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 ac_cv_crosscflags__Wno_format=yes
10454 else
10455 ac_cv_crosscflags__Wno_format=no
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10460 CC=$ac_wine_try_cflags_saved_cc
10461 ac_exeext=$ac_wine_try_cflags_saved_exeext
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10464 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10465 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10466 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10467 fi ;;
10468 esac
10471 if test -z "$CROSSDEBUG"
10472 then
10473 for ac_flag in $CROSSCFLAGS; do
10474 case $ac_flag in
10475 -gdwarf*) CROSSDEBUG=dwarf ;;
10476 -gcodeview) CROSSDEBUG=pdb ;;
10477 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10478 esac
10479 done
10481 case $CROSSDEBUG in
10482 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10483 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10484 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10485 $as_echo_n "(cached) " >&6
10486 else
10487 ac_wine_try_cflags_saved=$CFLAGS
10488 ac_wine_try_cflags_saved_cc=$CC
10489 ac_wine_try_cflags_saved_exeext=$ac_exeext
10490 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10491 CC="$CROSSCC"
10492 ac_exeext=".exe"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10495 int __cdecl mainCRTStartup(void) { return 0; }
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_crosscflags__gdwarf_2=yes
10499 else
10500 ac_cv_crosscflags__gdwarf_2=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 CFLAGS=$ac_wine_try_cflags_saved
10505 CC=$ac_wine_try_cflags_saved_cc
10506 ac_exeext=$ac_wine_try_cflags_saved_exeext
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10509 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10510 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10511 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10514 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10515 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_wine_try_cflags_saved=$CFLAGS
10519 ac_wine_try_cflags_saved_cc=$CC
10520 ac_wine_try_cflags_saved_exeext=$ac_exeext
10521 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10522 CC="$CROSSCC"
10523 ac_exeext=".exe"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10526 int __cdecl mainCRTStartup(void) { return 0; }
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_crosscflags__gstrict_dwarf=yes
10530 else
10531 ac_cv_crosscflags__gstrict_dwarf=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 CFLAGS=$ac_wine_try_cflags_saved
10536 CC=$ac_wine_try_cflags_saved_cc
10537 ac_exeext=$ac_wine_try_cflags_saved_exeext
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10540 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10541 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10542 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10543 fi ;;
10544 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10545 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10546 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10547 $as_echo_n "(cached) " >&6
10548 else
10549 ac_wine_try_cflags_saved=$CFLAGS
10550 ac_wine_try_cflags_saved_cc=$CC
10551 ac_wine_try_cflags_saved_exeext=$ac_exeext
10552 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10553 CC="$CROSSCC"
10554 ac_exeext=".exe"
10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10557 int __cdecl mainCRTStartup(void) { return 0; }
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 ac_cv_crosscflags__gcodeview=yes
10561 else
10562 ac_cv_crosscflags__gcodeview=no
10564 rm -f core conftest.err conftest.$ac_objext \
10565 conftest$ac_exeext conftest.$ac_ext
10566 CFLAGS=$ac_wine_try_cflags_saved
10567 CC=$ac_wine_try_cflags_saved_cc
10568 ac_exeext=$ac_wine_try_cflags_saved_exeext
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10571 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10572 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10573 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10574 fi ;;
10575 esac
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10578 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10579 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10580 $as_echo_n "(cached) " >&6
10581 else
10582 ac_wine_try_cflags_saved=$CFLAGS
10583 ac_wine_try_cflags_saved_cc=$CC
10584 ac_wine_try_cflags_saved_exeext=$ac_exeext
10585 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10586 CC="$CROSSCC"
10587 ac_exeext=".exe"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10590 int __cdecl mainCRTStartup(void) { return 0; }
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 ac_cv_crosscflags__fexcess_precision_standard=yes
10594 else
10595 ac_cv_crosscflags__fexcess_precision_standard=no
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 CFLAGS=$ac_wine_try_cflags_saved
10600 CC=$ac_wine_try_cflags_saved_cc
10601 ac_exeext=$ac_wine_try_cflags_saved_exeext
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10604 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10605 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10606 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10610 if test "x$enable_werror" = "xyes"
10611 then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10613 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10614 if ${ac_cv_crosscflags__Werror+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_wine_try_cflags_saved=$CFLAGS
10618 ac_wine_try_cflags_saved_cc=$CC
10619 ac_wine_try_cflags_saved_exeext=$ac_exeext
10620 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10621 CC="$CROSSCC"
10622 ac_exeext=".exe"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10625 int __cdecl mainCRTStartup(void) { return 0; }
10626 _ACEOF
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 ac_cv_crosscflags__Werror=yes
10629 else
10630 ac_cv_crosscflags__Werror=no
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 CFLAGS=$ac_wine_try_cflags_saved
10635 CC=$ac_wine_try_cflags_saved_cc
10636 ac_exeext=$ac_wine_try_cflags_saved_exeext
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10639 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10640 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10641 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10644 if test "x$enable_build_id" = "xyes"
10645 then
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10647 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10648 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10649 $as_echo_n "(cached) " >&6
10650 else
10651 ac_wine_try_cflags_saved=$CFLAGS
10652 ac_wine_try_cflags_saved_cc=$CC
10653 ac_wine_try_cflags_saved_exeext=$ac_exeext
10654 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10655 CC="$CROSSCC"
10656 ac_exeext=".exe"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 int __cdecl mainCRTStartup(void) { return 0; }
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 ac_cv_crosscflags__Wl___build_id=yes
10663 else
10664 ac_cv_crosscflags__Wl___build_id=no
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 CFLAGS=$ac_wine_try_cflags_saved
10669 CC=$ac_wine_try_cflags_saved_cc
10670 ac_exeext=$ac_wine_try_cflags_saved_exeext
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10673 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10674 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10675 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10676 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10680 CFLAGS=$saved_CFLAGS
10681 CC="$ac_save_CC"
10684 if test "x$CROSSTARGET" = "x"; then :
10685 case "x$with_mingw" in
10686 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10687 xno) ;;
10688 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10689 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10690 esac
10695 if test "$ac_cv_header_pthread_h" = "yes"
10696 then
10697 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10698 if test "x$ac_cv_func_pthread_create" = xyes; then :
10700 else
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10702 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10703 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-lpthread $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char pthread_create ();
10719 main ()
10721 return pthread_create ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_pthread_pthread_create=yes
10728 else
10729 ac_cv_lib_pthread_pthread_create=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10736 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10737 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10738 PTHREAD_LIBS="-lpthread"
10745 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10746 case "x$with_pthread" in
10747 xno) ;;
10748 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10749 Wine cannot support threads without libpthread.
10750 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10751 esac
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10757 $as_echo_n "checking for X... " >&6; }
10760 # Check whether --with-x was given.
10761 if test "${with_x+set}" = set; then :
10762 withval=$with_x;
10765 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10766 if test "x$with_x" = xno; then
10767 # The user explicitly disabled X.
10768 have_x=disabled
10769 else
10770 case $x_includes,$x_libraries in #(
10771 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10772 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10773 $as_echo_n "(cached) " >&6
10774 else
10775 # One or both of the vars are not set, and there is no cached value.
10776 ac_x_includes=no ac_x_libraries=no
10777 rm -f -r conftest.dir
10778 if mkdir conftest.dir; then
10779 cd conftest.dir
10780 cat >Imakefile <<'_ACEOF'
10781 incroot:
10782 @echo incroot='${INCROOT}'
10783 usrlibdir:
10784 @echo usrlibdir='${USRLIBDIR}'
10785 libdir:
10786 @echo libdir='${LIBDIR}'
10787 _ACEOF
10788 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10789 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10790 for ac_var in incroot usrlibdir libdir; do
10791 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10792 done
10793 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10794 for ac_extension in a so sl dylib la dll; do
10795 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10796 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10797 ac_im_usrlibdir=$ac_im_libdir; break
10799 done
10800 # Screen out bogus values from the imake configuration. They are
10801 # bogus both because they are the default anyway, and because
10802 # using them would break gcc on systems where it needs fixed includes.
10803 case $ac_im_incroot in
10804 /usr/include) ac_x_includes= ;;
10805 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10806 esac
10807 case $ac_im_usrlibdir in
10808 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10809 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10810 esac
10812 cd ..
10813 rm -f -r conftest.dir
10816 # Standard set of common directories for X headers.
10817 # Check X11 before X11Rn because it is often a symlink to the current release.
10818 ac_x_header_dirs='
10819 /usr/X11/include
10820 /usr/X11R7/include
10821 /usr/X11R6/include
10822 /usr/X11R5/include
10823 /usr/X11R4/include
10825 /usr/include/X11
10826 /usr/include/X11R7
10827 /usr/include/X11R6
10828 /usr/include/X11R5
10829 /usr/include/X11R4
10831 /usr/local/X11/include
10832 /usr/local/X11R7/include
10833 /usr/local/X11R6/include
10834 /usr/local/X11R5/include
10835 /usr/local/X11R4/include
10837 /usr/local/include/X11
10838 /usr/local/include/X11R7
10839 /usr/local/include/X11R6
10840 /usr/local/include/X11R5
10841 /usr/local/include/X11R4
10843 /usr/X386/include
10844 /usr/x386/include
10845 /usr/XFree86/include/X11
10847 /usr/include
10848 /usr/local/include
10849 /usr/unsupported/include
10850 /usr/athena/include
10851 /usr/local/x11r5/include
10852 /usr/lpp/Xamples/include
10854 /usr/openwin/include
10855 /usr/openwin/share/include'
10857 if test "$ac_x_includes" = no; then
10858 # Guess where to find include files, by looking for Xlib.h.
10859 # First, try using that file with no special directory specified.
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 #include <X11/Xlib.h>
10863 _ACEOF
10864 if ac_fn_c_try_cpp "$LINENO"; then :
10865 # We can compile using X headers with no special include directory.
10866 ac_x_includes=
10867 else
10868 for ac_dir in $ac_x_header_dirs; do
10869 if test -r "$ac_dir/X11/Xlib.h"; then
10870 ac_x_includes=$ac_dir
10871 break
10873 done
10875 rm -f conftest.err conftest.i conftest.$ac_ext
10876 fi # $ac_x_includes = no
10878 if test "$ac_x_libraries" = no; then
10879 # Check for the libraries.
10880 # See if we find them without any special options.
10881 # Don't add to $LIBS permanently.
10882 ac_save_LIBS=$LIBS
10883 LIBS="-lX11 $LIBS"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10886 #include <X11/Xlib.h>
10888 main ()
10890 XrmInitialize ()
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 LIBS=$ac_save_LIBS
10897 # We can link X programs with no special library path.
10898 ac_x_libraries=
10899 else
10900 LIBS=$ac_save_LIBS
10901 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10903 # Don't even attempt the hair of trying to link an X program!
10904 for ac_extension in a so sl dylib la dll; do
10905 if test -r "$ac_dir/libX11.$ac_extension"; then
10906 ac_x_libraries=$ac_dir
10907 break 2
10909 done
10910 done
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 fi # $ac_x_libraries = no
10916 case $ac_x_includes,$ac_x_libraries in #(
10917 no,* | *,no | *\'*)
10918 # Didn't find X, or a directory has "'" in its name.
10919 ac_cv_have_x="have_x=no";; #(
10921 # Record where we found X for the cache.
10922 ac_cv_have_x="have_x=yes\
10923 ac_x_includes='$ac_x_includes'\
10924 ac_x_libraries='$ac_x_libraries'"
10925 esac
10927 ;; #(
10928 *) have_x=yes;;
10929 esac
10930 eval "$ac_cv_have_x"
10931 fi # $with_x != no
10933 if test "$have_x" != yes; then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10935 $as_echo "$have_x" >&6; }
10936 no_x=yes
10937 else
10938 # If each of the values was on the command line, it overrides each guess.
10939 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10940 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10941 # Update the cache value to reflect the command line values.
10942 ac_cv_have_x="have_x=yes\
10943 ac_x_includes='$x_includes'\
10944 ac_x_libraries='$x_libraries'"
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10946 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10949 if test "$no_x" = yes; then
10950 # Not all programs may use this symbol, but it does not hurt to define it.
10952 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10954 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10955 else
10956 if test -n "$x_includes"; then
10957 X_CFLAGS="$X_CFLAGS -I$x_includes"
10960 # It would also be nice to do this for all -L options, not just this one.
10961 if test -n "$x_libraries"; then
10962 X_LIBS="$X_LIBS -L$x_libraries"
10963 # For Solaris; some versions of Sun CC require a space after -R and
10964 # others require no space. Words are not sufficient . . . .
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10966 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10967 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10968 ac_xsave_c_werror_flag=$ac_c_werror_flag
10969 ac_c_werror_flag=yes
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10974 main ()
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983 $as_echo "no" >&6; }
10984 X_LIBS="$X_LIBS -R$x_libraries"
10985 else
10986 LIBS="$ac_xsave_LIBS -R $x_libraries"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10991 main ()
10995 return 0;
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"; then :
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11000 $as_echo "yes" >&6; }
11001 X_LIBS="$X_LIBS -R $x_libraries"
11002 else
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11004 $as_echo "neither works" >&6; }
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 ac_c_werror_flag=$ac_xsave_c_werror_flag
11012 LIBS=$ac_xsave_LIBS
11015 # Check for system-dependent libraries X programs must link with.
11016 # Do this before checking for the system-independent R6 libraries
11017 # (-lICE), since we may need -lsocket or whatever for X linking.
11019 if test "$ISC" = yes; then
11020 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11021 else
11022 # Martyn Johnson says this is needed for Ultrix, if the X
11023 # libraries were built with DECnet support. And Karl Berry says
11024 # the Alpha needs dnet_stub (dnet does not exist).
11025 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char XOpenDisplay ();
11037 main ()
11039 return XOpenDisplay ();
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11046 else
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11048 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11049 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11050 $as_echo_n "(cached) " >&6
11051 else
11052 ac_check_lib_save_LIBS=$LIBS
11053 LIBS="-ldnet $LIBS"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11060 #ifdef __cplusplus
11061 extern "C"
11062 #endif
11063 char dnet_ntoa ();
11065 main ()
11067 return dnet_ntoa ();
11069 return 0;
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 ac_cv_lib_dnet_dnet_ntoa=yes
11074 else
11075 ac_cv_lib_dnet_dnet_ntoa=no
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_lib_save_LIBS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11082 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11083 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11084 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11087 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11089 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11090 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11091 $as_echo_n "(cached) " >&6
11092 else
11093 ac_check_lib_save_LIBS=$LIBS
11094 LIBS="-ldnet_stub $LIBS"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11101 #ifdef __cplusplus
11102 extern "C"
11103 #endif
11104 char dnet_ntoa ();
11106 main ()
11108 return dnet_ntoa ();
11110 return 0;
11112 _ACEOF
11113 if ac_fn_c_try_link "$LINENO"; then :
11114 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11115 else
11116 ac_cv_lib_dnet_stub_dnet_ntoa=no
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11123 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11124 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11125 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS="$ac_xsave_LIBS"
11134 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11135 # to get the SysV transport functions.
11136 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11137 # needs -lnsl.
11138 # The nsl library prevents programs from opening the X display
11139 # on Irix 5.2, according to T.E. Dickey.
11140 # The functions gethostbyname, getservbyname, and inet_addr are
11141 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11142 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11143 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11147 if test $ac_cv_func_gethostbyname = no; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11149 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11150 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-lnsl $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char gethostbyname ();
11166 main ()
11168 return gethostbyname ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_nsl_gethostbyname=yes
11175 else
11176 ac_cv_lib_nsl_gethostbyname=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11183 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11184 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11185 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11188 if test $ac_cv_lib_nsl_gethostbyname = no; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11190 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11191 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lbsd $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char gethostbyname ();
11207 main ()
11209 return gethostbyname ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_bsd_gethostbyname=yes
11216 else
11217 ac_cv_lib_bsd_gethostbyname=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11224 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11225 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11232 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11233 # socket/setsockopt and other routines are undefined under SCO ODT
11234 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11235 # on later versions), says Simon Leinen: it contains gethostby*
11236 # variants that don't use the name server (or something). -lsocket
11237 # must be given before -lnsl if both are needed. We assume that
11238 # if connect needs -lnsl, so does gethostbyname.
11239 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11240 if test "x$ac_cv_func_connect" = xyes; then :
11244 if test $ac_cv_func_connect = no; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11246 $as_echo_n "checking for connect in -lsocket... " >&6; }
11247 if ${ac_cv_lib_socket_connect+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char connect ();
11263 main ()
11265 return connect ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_socket_connect=yes
11272 else
11273 ac_cv_lib_socket_connect=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11280 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11281 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11282 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11287 # Guillermo Gomez says -lposix is necessary on A/UX.
11288 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11289 if test "x$ac_cv_func_remove" = xyes; then :
11293 if test $ac_cv_func_remove = no; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11295 $as_echo_n "checking for remove in -lposix... " >&6; }
11296 if ${ac_cv_lib_posix_remove+:} false; then :
11297 $as_echo_n "(cached) " >&6
11298 else
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-lposix $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char remove ();
11312 main ()
11314 return remove ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_posix_remove=yes
11321 else
11322 ac_cv_lib_posix_remove=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11329 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11330 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11337 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11338 if test "x$ac_cv_func_shmat" = xyes; then :
11342 if test $ac_cv_func_shmat = no; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11344 $as_echo_n "checking for shmat in -lipc... " >&6; }
11345 if ${ac_cv_lib_ipc_shmat+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lipc $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char shmat ();
11361 main ()
11363 return shmat ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_ipc_shmat=yes
11370 else
11371 ac_cv_lib_ipc_shmat=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11378 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11379 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11380 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11386 # Check for libraries that X11R6 Xt/Xaw programs need.
11387 ac_save_LDFLAGS=$LDFLAGS
11388 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11389 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11390 # check for ICE first), but we must link in the order -lSM -lICE or
11391 # we get undefined symbols. So assume we have SM if we have ICE.
11392 # These have to be linked with before -lX11, unlike the other
11393 # libraries we check for below, so use a different variable.
11394 # John Interrante, Karl Berry
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11396 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11397 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_lib_save_LIBS=$LIBS
11401 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char IceConnectionNumber ();
11413 main ()
11415 return IceConnectionNumber ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_ICE_IceConnectionNumber=yes
11422 else
11423 ac_cv_lib_ICE_IceConnectionNumber=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11430 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11431 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11432 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11435 LDFLAGS=$ac_save_LDFLAGS
11440 if test "$have_x" = "yes"
11441 then
11442 ac_save_CPPFLAGS="$CPPFLAGS"
11443 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11446 $as_echo_n "checking for -lX11... " >&6; }
11447 if ${ac_cv_lib_soname_X11+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char XCreateWindow ();
11463 main ()
11465 return XCreateWindow ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_X11:+false} :; then :
11476 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11479 else
11480 ac_cv_lib_soname_X11=
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if ${ac_cv_lib_soname_X11:+false} :; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11490 else
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11492 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11496 _ACEOF
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11501 $as_echo_n "checking for -lXext... " >&6; }
11502 if ${ac_cv_lib_soname_Xext+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504 else
11505 ac_check_soname_save_LIBS=$LIBS
11506 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11513 #ifdef __cplusplus
11514 extern "C"
11515 #endif
11516 char XextCreateExtension ();
11518 main ()
11520 return XextCreateExtension ();
11522 return 0;
11524 _ACEOF
11525 if ac_fn_c_try_link "$LINENO"; then :
11526 case "$LIBEXT" in
11527 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11530 if ${ac_cv_lib_soname_Xext:+false} :; then :
11531 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11532 fi ;;
11533 esac
11534 else
11535 ac_cv_lib_soname_Xext=
11537 rm -f core conftest.err conftest.$ac_objext \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_soname_save_LIBS
11541 if ${ac_cv_lib_soname_Xext:+false} :; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11543 $as_echo "not found" >&6; }
11545 else
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11547 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11549 cat >>confdefs.h <<_ACEOF
11550 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11551 _ACEOF
11553 X_LIBS="$X_LIBS -lXext"
11555 X_LIBS="$X_LIBS -lX11"
11557 for ac_header in X11/Xlib.h \
11558 X11/XKBlib.h \
11559 X11/Xutil.h \
11560 X11/Xcursor/Xcursor.h \
11561 X11/extensions/shape.h \
11562 X11/extensions/XInput.h \
11563 X11/extensions/XInput2.h \
11564 X11/extensions/XShm.h \
11565 X11/extensions/Xcomposite.h \
11566 X11/extensions/Xfixes.h \
11567 X11/extensions/Xinerama.h \
11568 X11/extensions/Xrandr.h \
11569 X11/extensions/Xrender.h \
11570 X11/extensions/xf86vmode.h \
11571 X11/extensions/xf86vmproto.h
11572 do :
11573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11575 # include <X11/Xlib.h>
11576 #endif
11577 #ifdef HAVE_X11_XUTIL_H
11578 # include <X11/Xutil.h>
11579 #endif
11581 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11582 cat >>confdefs.h <<_ACEOF
11583 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11584 _ACEOF
11588 done
11591 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11592 then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11594 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11595 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_lib_save_LIBS=$LIBS
11599 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char XkbQueryExtension ();
11611 main ()
11613 return XkbQueryExtension ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 ac_cv_lib_X11_XkbQueryExtension=yes
11620 else
11621 ac_cv_lib_X11_XkbQueryExtension=no
11623 rm -f core conftest.err conftest.$ac_objext \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11628 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11629 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11631 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11637 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11638 then
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11640 $as_echo_n "checking for -lXcursor... " >&6; }
11641 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11642 $as_echo_n "(cached) " >&6
11643 else
11644 ac_check_soname_save_LIBS=$LIBS
11645 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11652 #ifdef __cplusplus
11653 extern "C"
11654 #endif
11655 char XcursorImageLoadCursor ();
11657 main ()
11659 return XcursorImageLoadCursor ();
11661 return 0;
11663 _ACEOF
11664 if ac_fn_c_try_link "$LINENO"; then :
11665 case "$LIBEXT" in
11666 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11667 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'` ;;
11668 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11669 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11670 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11671 fi ;;
11672 esac
11673 else
11674 ac_cv_lib_soname_Xcursor=
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_soname_save_LIBS
11680 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11682 $as_echo "not found" >&6; }
11684 else
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11686 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11688 cat >>confdefs.h <<_ACEOF
11689 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11690 _ACEOF
11695 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11696 case "x$with_xcursor" in
11697 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11698 xno) ;;
11699 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11700 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11701 esac
11705 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11706 then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11708 $as_echo_n "checking for -lXi... " >&6; }
11709 if ${ac_cv_lib_soname_Xi+:} false; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 ac_check_soname_save_LIBS=$LIBS
11713 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 char XOpenDevice ();
11725 main ()
11727 return XOpenDevice ();
11729 return 0;
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"; then :
11733 case "$LIBEXT" in
11734 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11737 if ${ac_cv_lib_soname_Xi:+false} :; then :
11738 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11739 fi ;;
11740 esac
11741 else
11742 ac_cv_lib_soname_Xi=
11744 rm -f core conftest.err conftest.$ac_objext \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_soname_save_LIBS
11748 if ${ac_cv_lib_soname_Xi:+false} :; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11750 $as_echo "not found" >&6; }
11752 else
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11754 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11756 cat >>confdefs.h <<_ACEOF
11757 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11758 _ACEOF
11763 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11764 case "x$with_xinput" in
11765 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11766 xno) ;;
11767 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11768 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11769 esac
11773 if test "x$ac_cv_lib_soname_Xi" != x
11774 then
11775 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11776 case "x$with_xinput2" in
11777 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11780 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11781 esac
11786 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11789 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11790 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char XShmQueryExtension ();
11806 main ()
11808 return XShmQueryExtension ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 ac_cv_lib_Xext_XShmQueryExtension=yes
11815 else
11816 ac_cv_lib_Xext_XShmQueryExtension=no
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11823 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11824 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11826 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11831 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11832 case "x$with_xshm" in
11833 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11834 xno) ;;
11835 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11836 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11837 esac
11841 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11844 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11845 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_lib_save_LIBS=$LIBS
11849 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char XShapeQueryExtension ();
11861 main ()
11863 return XShapeQueryExtension ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_Xext_XShapeQueryExtension=yes
11870 else
11871 ac_cv_lib_Xext_XShapeQueryExtension=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11878 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11879 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11881 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11886 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11887 case "x$with_xshape" in
11888 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11889 xno) ;;
11890 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11891 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11892 esac
11896 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11897 then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11899 $as_echo_n "checking for -lXxf86vm... " >&6; }
11900 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11901 $as_echo_n "(cached) " >&6
11902 else
11903 ac_check_soname_save_LIBS=$LIBS
11904 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11908 /* Override any GCC internal prototype to avoid an error.
11909 Use char because int might match the return type of a GCC
11910 builtin and then its argument prototype would still apply. */
11911 #ifdef __cplusplus
11912 extern "C"
11913 #endif
11914 char XF86VidModeQueryExtension ();
11916 main ()
11918 return XF86VidModeQueryExtension ();
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 case "$LIBEXT" in
11925 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11926 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'` ;;
11927 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11928 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11929 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11930 fi ;;
11931 esac
11932 else
11933 ac_cv_lib_soname_Xxf86vm=
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_soname_save_LIBS
11939 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11941 $as_echo "not found" >&6; }
11943 else
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11945 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11947 cat >>confdefs.h <<_ACEOF
11948 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11949 _ACEOF
11954 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11955 case "x$with_xxf86vm" in
11956 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11957 xno) ;;
11958 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11959 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11960 esac
11964 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11965 then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11967 $as_echo_n "checking for -lXrender... " >&6; }
11968 if ${ac_cv_lib_soname_Xrender+:} false; then :
11969 $as_echo_n "(cached) " >&6
11970 else
11971 ac_check_soname_save_LIBS=$LIBS
11972 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 #ifdef __cplusplus
11980 extern "C"
11981 #endif
11982 char XRenderQueryExtension ();
11984 main ()
11986 return XRenderQueryExtension ();
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 case "$LIBEXT" in
11993 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11996 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11997 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11998 fi ;;
11999 esac
12000 else
12001 ac_cv_lib_soname_Xrender=
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_soname_save_LIBS
12007 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12009 $as_echo "not found" >&6; }
12011 else
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12013 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12015 cat >>confdefs.h <<_ACEOF
12016 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12017 _ACEOF
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12020 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12021 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12022 $as_echo_n "(cached) " >&6
12023 else
12024 ac_check_lib_save_LIBS=$LIBS
12025 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12032 #ifdef __cplusplus
12033 extern "C"
12034 #endif
12035 char XRenderSetPictureTransform ();
12037 main ()
12039 return XRenderSetPictureTransform ();
12041 return 0;
12043 _ACEOF
12044 if ac_fn_c_try_link "$LINENO"; then :
12045 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12046 else
12047 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12049 rm -f core conftest.err conftest.$ac_objext \
12050 conftest$ac_exeext conftest.$ac_ext
12051 LIBS=$ac_check_lib_save_LIBS
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12054 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12055 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12057 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12062 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12063 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_lib_save_LIBS=$LIBS
12067 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char XRenderCreateLinearGradient ();
12079 main ()
12081 return XRenderCreateLinearGradient ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12088 else
12089 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12096 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12097 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12099 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12106 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12107 case "x$with_xrender" in
12108 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12109 xno) ;;
12110 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12111 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12112 esac
12116 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12117 then
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 #include <X11/Xlib.h>
12121 #include <X11/extensions/Xrandr.h>
12123 main ()
12125 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_compile "$LINENO"; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12132 $as_echo_n "checking for -lXrandr... " >&6; }
12133 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12134 $as_echo_n "(cached) " >&6
12135 else
12136 ac_check_soname_save_LIBS=$LIBS
12137 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 char XRRQueryExtension ();
12149 main ()
12151 return XRRQueryExtension ();
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"; then :
12157 case "$LIBEXT" in
12158 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12159 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'` ;;
12160 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12161 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12162 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12163 fi ;;
12164 esac
12165 else
12166 ac_cv_lib_soname_Xrandr=
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_soname_save_LIBS
12172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12174 $as_echo "not found" >&6; }
12176 else
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12178 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12180 cat >>confdefs.h <<_ACEOF
12181 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12182 _ACEOF
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12186 #include <X11/Xlib.h>
12187 #include <X11/extensions/Xrandr.h>
12189 main ()
12191 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_compile "$LINENO"; then :
12198 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12200 else
12201 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12208 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12209 case "x$with_xrandr" in
12210 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12211 xno) ;;
12212 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12213 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12214 esac
12218 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12219 then
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 #include <X11/Xlib.h>
12223 #include <X11/extensions/Xfixes.h>
12225 main ()
12227 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12229 return 0;
12231 _ACEOF
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12234 $as_echo_n "checking for -lXfixes... " >&6; }
12235 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char XFixesQueryVersion ();
12251 main ()
12253 return XFixesQueryVersion ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 case "$LIBEXT" in
12260 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12261 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'` ;;
12262 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12263 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12264 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12265 fi ;;
12266 esac
12267 else
12268 ac_cv_lib_soname_Xfixes=
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12280 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12284 _ACEOF
12289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12291 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12292 case "x$with_xfixes" in
12293 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12294 xno) ;;
12295 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12296 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12297 esac
12301 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12302 then
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12305 #include <X11/Xlib.h>
12306 #include <X11/extensions/Xinerama.h>
12308 main ()
12310 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_compile "$LINENO"; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12317 $as_echo_n "checking for -lXinerama... " >&6; }
12318 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char XineramaQueryScreens ();
12334 main ()
12336 return XineramaQueryScreens ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 case "$LIBEXT" in
12343 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12346 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12347 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12348 fi ;;
12349 esac
12350 else
12351 ac_cv_lib_soname_Xinerama=
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_soname_save_LIBS
12357 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12359 $as_echo "not found" >&6; }
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12363 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12365 cat >>confdefs.h <<_ACEOF
12366 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12367 _ACEOF
12372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12375 case "x$with_xinerama" in
12376 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12377 xno) ;;
12378 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12379 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12380 esac
12384 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12385 then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12387 $as_echo_n "checking for -lXcomposite... " >&6; }
12388 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12389 $as_echo_n "(cached) " >&6
12390 else
12391 ac_check_soname_save_LIBS=$LIBS
12392 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12399 #ifdef __cplusplus
12400 extern "C"
12401 #endif
12402 char XCompositeRedirectWindow ();
12404 main ()
12406 return XCompositeRedirectWindow ();
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_link "$LINENO"; then :
12412 case "$LIBEXT" in
12413 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12414 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'` ;;
12415 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12416 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12417 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12418 fi ;;
12419 esac
12420 else
12421 ac_cv_lib_soname_Xcomposite=
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_soname_save_LIBS
12427 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12429 $as_echo "not found" >&6; }
12431 else
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12433 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12435 cat >>confdefs.h <<_ACEOF
12436 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12437 _ACEOF
12442 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12443 case "x$with_xcomposite" in
12444 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12445 xno) ;;
12446 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12447 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12448 esac
12452 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12453 #include <X11/Xlib.h>
12454 #endif
12456 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12458 cat >>confdefs.h <<_ACEOF
12459 #define HAVE_XICCALLBACK_CALLBACK 1
12460 _ACEOF
12464 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12465 #include <X11/Xlib.h>
12466 #endif
12468 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12470 cat >>confdefs.h <<_ACEOF
12471 #define HAVE_XEVENT_XCOOKIE 1
12472 _ACEOF
12479 opengl_msg=""
12480 if test "x$with_opengl" != "xno"
12481 then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12483 $as_echo_n "checking for -lGL... " >&6; }
12484 if ${ac_cv_lib_soname_GL+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_soname_save_LIBS=$LIBS
12488 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char glXCreateContext ();
12500 main ()
12502 return glXCreateContext ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 case "$LIBEXT" in
12509 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12510 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'` ;;
12511 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12512 if ${ac_cv_lib_soname_GL:+false} :; then :
12513 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 fi ;;
12515 esac
12516 else
12517 ac_cv_lib_soname_GL=
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if ${ac_cv_lib_soname_GL:+false} :; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12527 $as_echo_n "checking for -lGL... " >&6; }
12528 if ${ac_cv_lib_soname_GL+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_check_soname_save_LIBS=$LIBS
12532 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"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char glXCreateContext ();
12544 main ()
12546 return glXCreateContext ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 case "$LIBEXT" in
12553 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12554 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'` ;;
12555 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12556 if ${ac_cv_lib_soname_GL:+false} :; then :
12557 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12558 fi ;;
12559 esac
12560 else
12561 ac_cv_lib_soname_GL=
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_soname_save_LIBS
12567 if ${ac_cv_lib_soname_GL:+false} :; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12569 $as_echo "not found" >&6; }
12570 if test -f /usr/X11R6/lib/libGL.a
12571 then
12572 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12573 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12574 else
12575 opengl_msg="No OpenGL library found on this system."
12577 else
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12579 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12581 cat >>confdefs.h <<_ACEOF
12582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12583 _ACEOF
12585 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"
12587 else
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12589 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12591 cat >>confdefs.h <<_ACEOF
12592 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12593 _ACEOF
12595 OPENGL_LIBS="-lGL"
12597 if test "x$with_osmesa" != "xno"
12598 then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12600 $as_echo_n "checking for -lOSMesa... " >&6; }
12601 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12602 $as_echo_n "(cached) " >&6
12603 else
12604 ac_check_soname_save_LIBS=$LIBS
12605 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 /* Override any GCC internal prototype to avoid an error.
12610 Use char because int might match the return type of a GCC
12611 builtin and then its argument prototype would still apply. */
12612 #ifdef __cplusplus
12613 extern "C"
12614 #endif
12615 char OSMesaGetProcAddress ();
12617 main ()
12619 return OSMesaGetProcAddress ();
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_link "$LINENO"; then :
12625 case "$LIBEXT" in
12626 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12627 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'` ;;
12628 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12629 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12630 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12631 fi ;;
12632 esac
12633 else
12634 ac_cv_lib_soname_OSMesa=
12636 rm -f core conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LIBS=$ac_check_soname_save_LIBS
12640 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12642 $as_echo "not found" >&6; }
12644 else
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12646 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12648 cat >>confdefs.h <<_ACEOF
12649 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12650 _ACEOF
12654 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12655 case "x$with_osmesa" in
12656 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12657 xno) ;;
12658 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12659 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12660 esac
12665 if test -n "$opengl_msg"; then :
12666 case "x$with_opengl" in
12667 x) as_fn_append wine_warnings "|$opengl_msg
12668 OpenGL and Direct3D won't be supported." ;;
12669 xno) ;;
12670 *) as_fn_error $? "$opengl_msg
12671 OpenGL and Direct3D won't be supported.
12672 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12673 esac
12677 CPPFLAGS="$ac_save_CPPFLAGS"
12678 else
12679 X_CFLAGS=""
12680 X_LIBS=""
12683 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12684 then
12685 if test "x$X_LIBS" = "x"; then :
12686 case "x$with_x" in
12687 xno) ;;
12688 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12689 without X support, which probably isn't what you want. You will need
12690 to install ${notice_platform}development packages of Xlib at the very least.
12691 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12692 esac
12693 enable_winex11_drv=${enable_winex11_drv:-no}
12695 else
12696 if test "x$X_LIBS" = "x"; then :
12697 case "x$with_x" in
12698 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12699 xno) ;;
12700 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12701 This is an error since --with-x was requested." "$LINENO" 5 ;;
12702 esac
12703 enable_winex11_drv=${enable_winex11_drv:-no}
12707 if test "$ac_cv_header_CL_cl_h" = "yes"
12708 then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12710 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12711 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12712 $as_echo_n "(cached) " >&6
12713 else
12714 ac_check_lib_save_LIBS=$LIBS
12715 LIBS="-lOpenCL $LIBS"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 char clGetPlatformInfo ();
12727 main ()
12729 return clGetPlatformInfo ();
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12736 else
12737 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12739 rm -f core conftest.err conftest.$ac_objext \
12740 conftest$ac_exeext conftest.$ac_ext
12741 LIBS=$ac_check_lib_save_LIBS
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12744 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12745 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12746 OPENCL_LIBS="-lOpenCL"
12751 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12752 case "x$with_opencl" in
12753 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12756 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12757 esac
12758 enable_opencl=${enable_opencl:-no}
12761 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12762 then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12764 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12765 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12766 $as_echo_n "(cached) " >&6
12767 else
12768 ac_check_lib_save_LIBS=$LIBS
12769 LIBS="-lpcap $LIBS"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 /* Override any GCC internal prototype to avoid an error.
12774 Use char because int might match the return type of a GCC
12775 builtin and then its argument prototype would still apply. */
12776 #ifdef __cplusplus
12777 extern "C"
12778 #endif
12779 char pcap_create ();
12781 main ()
12783 return pcap_create ();
12785 return 0;
12787 _ACEOF
12788 if ac_fn_c_try_link "$LINENO"; then :
12789 ac_cv_lib_pcap_pcap_create=yes
12790 else
12791 ac_cv_lib_pcap_pcap_create=no
12793 rm -f core conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LIBS=$ac_check_lib_save_LIBS
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12798 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12799 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12800 PCAP_LIBS="-lpcap"
12805 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12806 case "x$with_pcap" in
12807 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12808 xno) ;;
12809 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12810 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12811 esac
12812 enable_wpcap=${enable_wpcap:-no}
12816 if test "x$with_xml" != "xno"
12817 then
12818 if ${XML2_CFLAGS:+false} :; then :
12819 if ${PKG_CONFIG+:} false; then :
12820 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12823 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12824 if ${XML2_LIBS:+false} :; then :
12825 if ${PKG_CONFIG+:} false; then :
12826 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12829 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12830 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12831 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12832 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12833 ac_save_CPPFLAGS=$CPPFLAGS
12834 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12835 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12836 do :
12837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12838 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12840 cat >>confdefs.h <<_ACEOF
12841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12842 _ACEOF
12846 done
12848 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"
12849 then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12851 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12852 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lxml2 $XML2_LIBS $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12863 #ifdef __cplusplus
12864 extern "C"
12865 #endif
12866 char xmlParseMemory ();
12868 main ()
12870 return xmlParseMemory ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 ac_cv_lib_xml2_xmlParseMemory=yes
12877 else
12878 ac_cv_lib_xml2_xmlParseMemory=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12885 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12886 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12888 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12890 else
12891 XML2_LIBS=""
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12895 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12896 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12897 $as_echo_n "(cached) " >&6
12898 else
12899 ac_check_lib_save_LIBS=$LIBS
12900 LIBS="-lxml2 $XML2_LIBS $LIBS"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 /* Override any GCC internal prototype to avoid an error.
12905 Use char because int might match the return type of a GCC
12906 builtin and then its argument prototype would still apply. */
12907 #ifdef __cplusplus
12908 extern "C"
12909 #endif
12910 char xmlReadMemory ();
12912 main ()
12914 return xmlReadMemory ();
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_link "$LINENO"; then :
12920 ac_cv_lib_xml2_xmlReadMemory=yes
12921 else
12922 ac_cv_lib_xml2_xmlReadMemory=no
12924 rm -f core conftest.err conftest.$ac_objext \
12925 conftest$ac_exeext conftest.$ac_ext
12926 LIBS=$ac_check_lib_save_LIBS
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12929 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12930 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12932 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12937 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12938 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 ac_check_lib_save_LIBS=$LIBS
12942 LIBS="-lxml2 $XML2_LIBS $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 #ifdef __cplusplus
12950 extern "C"
12951 #endif
12952 char xmlNewDocPI ();
12954 main ()
12956 return xmlNewDocPI ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 ac_cv_lib_xml2_xmlNewDocPI=yes
12963 else
12964 ac_cv_lib_xml2_xmlNewDocPI=no
12966 rm -f core conftest.err conftest.$ac_objext \
12967 conftest$ac_exeext conftest.$ac_ext
12968 LIBS=$ac_check_lib_save_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12971 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12972 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12974 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12979 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12980 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lxml2 $XML2_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char xmlSchemaSetParserStructuredErrors ();
12996 main ()
12998 return xmlSchemaSetParserStructuredErrors ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13005 else
13006 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13013 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13014 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13016 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13021 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13022 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13023 $as_echo_n "(cached) " >&6
13024 else
13025 ac_check_lib_save_LIBS=$LIBS
13026 LIBS="-lxml2 $XML2_LIBS $LIBS"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13033 #ifdef __cplusplus
13034 extern "C"
13035 #endif
13036 char xmlSchemaSetValidStructuredErrors ();
13038 main ()
13040 return xmlSchemaSetValidStructuredErrors ();
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_link "$LINENO"; then :
13046 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13047 else
13048 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_lib_save_LIBS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13055 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13056 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13058 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13063 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13064 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lxml2 $XML2_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char xmlFirstElementChild ();
13080 main ()
13082 return xmlFirstElementChild ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_xml2_xmlFirstElementChild=yes
13089 else
13090 ac_cv_lib_xml2_xmlFirstElementChild=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13097 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13098 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13100 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13104 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13106 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13108 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13112 else
13113 XML2_CFLAGS=""
13114 XML2_LIBS=""
13116 CPPFLAGS=$ac_save_CPPFLAGS
13119 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13120 case "x$with_xml" in
13121 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13122 xno) ;;
13123 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13124 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13125 esac
13129 if test "x$with_xslt" != "xno"
13130 then
13131 if ${XSLT_CFLAGS:+false} :; then :
13132 if ${PKG_CONFIG+:} false; then :
13133 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13136 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13137 if ${XSLT_LIBS:+false} :; then :
13138 if ${PKG_CONFIG+:} false; then :
13139 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13142 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13143 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13144 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13145 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13146 ac_save_CPPFLAGS=$CPPFLAGS
13147 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13148 for ac_header in libxslt/pattern.h libxslt/transform.h
13149 do :
13150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13151 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13152 # include <libxslt/pattern.h>
13153 #endif
13155 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13156 cat >>confdefs.h <<_ACEOF
13157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13158 _ACEOF
13162 done
13164 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13165 then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13167 $as_echo_n "checking for -lxslt... " >&6; }
13168 if ${ac_cv_lib_soname_xslt+:} false; then :
13169 $as_echo_n "(cached) " >&6
13170 else
13171 ac_check_soname_save_LIBS=$LIBS
13172 LIBS="-lxslt $XSLT_LIBS $LIBS"
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13179 #ifdef __cplusplus
13180 extern "C"
13181 #endif
13182 char xsltCompilePattern ();
13184 main ()
13186 return xsltCompilePattern ();
13188 return 0;
13190 _ACEOF
13191 if ac_fn_c_try_link "$LINENO"; then :
13192 case "$LIBEXT" in
13193 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13194 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'` ;;
13195 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13196 if ${ac_cv_lib_soname_xslt:+false} :; then :
13197 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13198 fi ;;
13199 esac
13200 else
13201 ac_cv_lib_soname_xslt=
13203 rm -f core conftest.err conftest.$ac_objext \
13204 conftest$ac_exeext conftest.$ac_ext
13205 LIBS=$ac_check_soname_save_LIBS
13207 if ${ac_cv_lib_soname_xslt:+false} :; then :
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13209 $as_echo "not found" >&6; }
13211 else
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13213 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13215 cat >>confdefs.h <<_ACEOF
13216 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13217 _ACEOF
13221 else
13222 XSLT_CFLAGS=""
13224 CPPFLAGS=$ac_save_CPPFLAGS
13227 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13228 case "x$with_xslt" in
13229 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13230 xno) ;;
13231 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13232 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13233 esac
13237 if test "x$with_inotify" != "xno"
13238 then
13239 if ${INOTIFY_CFLAGS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13245 if ${INOTIFY_LIBS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13252 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13253 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13254 ac_save_CPPFLAGS=$CPPFLAGS
13255 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13256 for ac_header in sys/inotify.h
13257 do :
13258 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13259 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13260 cat >>confdefs.h <<_ACEOF
13261 #define HAVE_SYS_INOTIFY_H 1
13262 _ACEOF
13266 done
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13269 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13270 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13271 $as_echo_n "(cached) " >&6
13272 else
13273 ac_check_lib_save_LIBS=$LIBS
13274 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13281 #ifdef __cplusplus
13282 extern "C"
13283 #endif
13284 char inotify_add_watch ();
13286 main ()
13288 return inotify_add_watch ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 ac_cv_lib_inotify_inotify_add_watch=yes
13295 else
13296 ac_cv_lib_inotify_inotify_add_watch=no
13298 rm -f core conftest.err conftest.$ac_objext \
13299 conftest$ac_exeext conftest.$ac_ext
13300 LIBS=$ac_check_lib_save_LIBS
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13303 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13304 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13306 else
13307 INOTIFY_LIBS=""
13310 CPPFLAGS=$ac_save_CPPFLAGS
13313 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13314 case "x$with_inotify" in
13315 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13316 xno) ;;
13317 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13318 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13319 esac
13323 if test "x$with_dbus" != "xno"
13324 then
13325 if ${DBUS_CFLAGS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13331 if ${DBUS_LIBS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13338 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13339 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13340 ac_save_CPPFLAGS=$CPPFLAGS
13341 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13342 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13343 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13345 $as_echo_n "checking for -ldbus-1... " >&6; }
13346 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_soname_save_LIBS=$LIBS
13350 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char dbus_connection_close ();
13362 main ()
13364 return dbus_connection_close ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 case "$LIBEXT" in
13371 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13372 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'` ;;
13373 *) 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'`
13374 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13375 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13376 fi ;;
13377 esac
13378 else
13379 ac_cv_lib_soname_dbus_1=
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_soname_save_LIBS
13385 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13387 $as_echo "not found" >&6; }
13388 DBUS_CFLAGS=""
13389 else
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13391 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13393 cat >>confdefs.h <<_ACEOF
13394 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13395 _ACEOF
13399 else
13400 DBUS_CFLAGS=""
13404 CPPFLAGS=$ac_save_CPPFLAGS
13407 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13408 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13409 case "x$with_dbus" in
13410 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13411 xno) ;;
13412 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13413 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13414 esac
13418 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13419 then
13420 if ${HAL_CFLAGS:+false} :; then :
13421 if ${PKG_CONFIG+:} false; then :
13422 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13426 if ${HAL_LIBS:+false} :; then :
13427 if ${PKG_CONFIG+:} false; then :
13428 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13432 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13433 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13434 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13435 ac_save_CPPFLAGS=$CPPFLAGS
13436 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13437 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13438 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13440 $as_echo_n "checking for -lhal... " >&6; }
13441 if ${ac_cv_lib_soname_hal+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_check_soname_save_LIBS=$LIBS
13445 LIBS="-lhal $HAL_LIBS $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char libhal_ctx_new ();
13457 main ()
13459 return libhal_ctx_new ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 case "$LIBEXT" in
13466 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13467 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'` ;;
13468 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13469 if ${ac_cv_lib_soname_hal:+false} :; then :
13470 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13471 fi ;;
13472 esac
13473 else
13474 ac_cv_lib_soname_hal=
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_hal:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13483 HAL_CFLAGS=""
13484 else
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13486 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13488 cat >>confdefs.h <<_ACEOF
13489 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13490 _ACEOF
13494 else
13495 HAL_CFLAGS=""
13499 CPPFLAGS=$ac_save_CPPFLAGS
13501 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13502 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13503 case "x$with_hal" in
13504 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13505 xno) ;;
13506 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13507 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13508 esac
13513 if test "x$with_gnutls" != "xno"
13514 then
13515 if ${GNUTLS_CFLAGS:+false} :; then :
13516 if ${PKG_CONFIG+:} false; then :
13517 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13521 if ${GNUTLS_LIBS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13527 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13528 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13529 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13530 ac_save_CPPFLAGS=$CPPFLAGS
13531 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13532 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13533 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <gnutls/gnutls.h>
13537 #include <gnutls/crypto.h>
13539 main ()
13541 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_compile "$LINENO"; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13548 $as_echo_n "checking for -lgnutls... " >&6; }
13549 if ${ac_cv_lib_soname_gnutls+:} false; then :
13550 $as_echo_n "(cached) " >&6
13551 else
13552 ac_check_soname_save_LIBS=$LIBS
13553 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13557 /* Override any GCC internal prototype to avoid an error.
13558 Use char because int might match the return type of a GCC
13559 builtin and then its argument prototype would still apply. */
13560 #ifdef __cplusplus
13561 extern "C"
13562 #endif
13563 char gnutls_global_init ();
13565 main ()
13567 return gnutls_global_init ();
13569 return 0;
13571 _ACEOF
13572 if ac_fn_c_try_link "$LINENO"; then :
13573 case "$LIBEXT" in
13574 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13575 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'` ;;
13576 *) 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'`
13577 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13578 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'`
13579 fi ;;
13580 esac
13581 else
13582 ac_cv_lib_soname_gnutls=
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_soname_save_LIBS
13588 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13590 $as_echo "not found" >&6; }
13591 GNUTLS_CFLAGS=""
13592 else
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13594 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13596 cat >>confdefs.h <<_ACEOF
13597 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13598 _ACEOF
13602 ac_wine_check_funcs_save_LIBS="$LIBS"
13603 LIBS="$LIBS $GNUTLS_LIBS"
13604 for ac_func in gnutls_cipher_init
13605 do :
13606 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13607 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13608 cat >>confdefs.h <<_ACEOF
13609 #define HAVE_GNUTLS_CIPHER_INIT 1
13610 _ACEOF
13612 else
13613 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13615 done
13617 LIBS="$ac_wine_check_funcs_save_LIBS"
13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13620 else
13621 GNUTLS_CFLAGS=""
13625 CPPFLAGS=$ac_save_CPPFLAGS
13628 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13629 case "x$with_gnutls" in
13630 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13631 xno) ;;
13632 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13633 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13634 esac
13638 if test "x$with_sane" != "xno"
13639 then
13640 if ${SANE_CFLAGS:+false} :; then :
13641 if ${PKG_CONFIG+:} false; then :
13642 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13645 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13646 if ${SANE_LIBS:+false} :; then :
13647 if ${PKG_CONFIG+:} false; then :
13648 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13651 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13653 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13654 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13655 ac_save_CPPFLAGS=$CPPFLAGS
13656 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13657 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13658 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13660 $as_echo_n "checking for -lsane... " >&6; }
13661 if ${ac_cv_lib_soname_sane+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664 ac_check_soname_save_LIBS=$LIBS
13665 LIBS="-lsane $SANE_LIBS $LIBS"
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13672 #ifdef __cplusplus
13673 extern "C"
13674 #endif
13675 char sane_init ();
13677 main ()
13679 return sane_init ();
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 case "$LIBEXT" in
13686 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13687 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'` ;;
13688 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13689 if ${ac_cv_lib_soname_sane:+false} :; then :
13690 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13691 fi ;;
13692 esac
13693 else
13694 ac_cv_lib_soname_sane=
13696 rm -f core conftest.err conftest.$ac_objext \
13697 conftest$ac_exeext conftest.$ac_ext
13698 LIBS=$ac_check_soname_save_LIBS
13700 if ${ac_cv_lib_soname_sane:+false} :; then :
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13702 $as_echo "not found" >&6; }
13703 SANE_CFLAGS=""
13704 else
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13706 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13708 cat >>confdefs.h <<_ACEOF
13709 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13710 _ACEOF
13714 else
13715 SANE_CFLAGS=""
13719 CPPFLAGS=$ac_save_CPPFLAGS
13722 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13723 case "x$with_sane" in
13724 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13725 xno) ;;
13726 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13727 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13728 esac
13732 if test "x$with_usb" != "xno"
13733 then
13734 if ${USB_CFLAGS:+false} :; then :
13735 if ${PKG_CONFIG+:} false; then :
13736 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13740 if ${USB_LIBS:+false} :; then :
13741 if ${PKG_CONFIG+:} false; then :
13742 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13746 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13747 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13748 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13749 ac_save_CPPFLAGS=$CPPFLAGS
13750 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13751 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13752 if test "x$ac_cv_header_libusb_h" = xyes; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13754 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13755 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 ac_check_lib_save_LIBS=$LIBS
13759 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 /* Override any GCC internal prototype to avoid an error.
13764 Use char because int might match the return type of a GCC
13765 builtin and then its argument prototype would still apply. */
13766 #ifdef __cplusplus
13767 extern "C"
13768 #endif
13769 char libusb_interrupt_event_handler ();
13771 main ()
13773 return libusb_interrupt_event_handler ();
13775 return 0;
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"; then :
13779 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13780 else
13781 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 LIBS=$ac_check_lib_save_LIBS
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13788 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13789 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13791 else
13792 USB_LIBS=""
13795 else
13796 USB_LIBS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13803 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13804 case "x$with_usb" in
13805 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13806 xno) ;;
13807 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13808 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13809 esac
13810 enable_wineusb_sys=${enable_wineusb_sys:-no}
13813 if test "x$with_v4l2" != "xno"
13814 then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13816 $as_echo_n "checking for -lv4l2... " >&6; }
13817 if ${ac_cv_lib_soname_v4l2+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_check_soname_save_LIBS=$LIBS
13821 LIBS="-lv4l2 $LIBS"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char v4l2_open ();
13833 main ()
13835 return v4l2_open ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 case "$LIBEXT" in
13842 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13843 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'` ;;
13844 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13845 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13846 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13847 fi ;;
13848 esac
13849 else
13850 ac_cv_lib_soname_v4l2=
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 LIBS=$ac_check_soname_save_LIBS
13856 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13858 $as_echo "not found" >&6; }
13860 else
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13862 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13864 cat >>confdefs.h <<_ACEOF
13865 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13866 _ACEOF
13871 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13872 case "x$with_v4l2" in
13873 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13874 xno) ;;
13875 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13876 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13877 esac
13881 if test "x$with_gphoto" != "xno"
13882 then
13883 if ${GPHOTO2_CFLAGS:+false} :; then :
13884 if ${PKG_CONFIG+:} false; then :
13885 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13888 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13889 if ${GPHOTO2_LIBS:+false} :; then :
13890 if ${PKG_CONFIG+:} false; then :
13891 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13894 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13895 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13896 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13897 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13898 ac_save_CPPFLAGS=$CPPFLAGS
13899 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13900 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13901 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13903 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13904 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 ac_check_lib_save_LIBS=$LIBS
13908 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13915 #ifdef __cplusplus
13916 extern "C"
13917 #endif
13918 char gp_camera_new ();
13920 main ()
13922 return gp_camera_new ();
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 ac_cv_lib_gphoto2_gp_camera_new=yes
13929 else
13930 ac_cv_lib_gphoto2_gp_camera_new=no
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_lib_save_LIBS
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13937 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13938 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13940 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13942 else
13943 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13946 else
13947 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13951 CPPFLAGS=$ac_save_CPPFLAGS
13953 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13954 if ${PKG_CONFIG+:} false; then :
13955 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13958 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13959 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13960 if ${PKG_CONFIG+:} false; then :
13961 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13964 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13965 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13966 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13967 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13968 ac_save_CPPFLAGS=$CPPFLAGS
13969 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13970 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13971 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13973 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13974 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13975 $as_echo_n "(cached) " >&6
13976 else
13977 ac_check_lib_save_LIBS=$LIBS
13978 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13982 /* Override any GCC internal prototype to avoid an error.
13983 Use char because int might match the return type of a GCC
13984 builtin and then its argument prototype would still apply. */
13985 #ifdef __cplusplus
13986 extern "C"
13987 #endif
13988 char gp_port_info_list_new ();
13990 main ()
13992 return gp_port_info_list_new ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"; then :
13998 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13999 else
14000 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14002 rm -f core conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_lib_save_LIBS
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14007 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14008 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14010 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14012 else
14013 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14016 else
14017 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14021 CPPFLAGS=$ac_save_CPPFLAGS
14024 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14025 case "x$with_gphoto" in
14026 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14027 xno) ;;
14028 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14029 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14030 esac
14033 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14034 case "x$with_gphoto" in
14035 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14036 xno) ;;
14037 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14038 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14039 esac
14044 if test "$ac_cv_header_resolv_h" = "yes"
14045 then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14047 $as_echo_n "checking for resolver library... " >&6; }
14048 if ${ac_cv_have_resolv+:} false; then :
14049 $as_echo_n "(cached) " >&6
14050 else
14051 ac_save_LIBS="$LIBS"
14052 for lib in '' -lresolv
14054 LIBS="$lib $ac_save_LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 #ifdef HAVE_NETINET_IN_H
14058 #include <netinet/in.h>
14059 #endif
14060 #include <resolv.h>
14062 main ()
14064 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
14066 return 0;
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"; then :
14070 ac_cv_have_resolv=${lib:-"none required"}
14071 else
14072 ac_cv_have_resolv="not found"
14074 rm -f core conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 test "x$ac_cv_have_resolv" = "xnot found" || break
14077 done
14078 LIBS="$ac_save_LIBS"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14081 $as_echo "$ac_cv_have_resolv" >&6; }
14083 case "$ac_cv_have_resolv" in
14084 "not found") ;;
14085 "none required")
14087 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14090 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14092 RESOLV_LIBS=$ac_cv_have_resolv
14094 esac
14096 if test "x$ac_cv_have_resolv" != "xnot found"
14097 then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14099 $as_echo_n "checking for res_getservers... " >&6; }
14100 if ${ac_cv_have_res_getservers+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_save_LIBS="$LIBS"
14104 LIBS="$RESOLV_LIBS $LIBS"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 #include <resolv.h>
14109 main ()
14111 res_getservers(NULL, NULL, 0);
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 ac_cv_have_res_getservers=yes
14118 else
14119 ac_cv_have_res_getservers=no
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS="$ac_save_LIBS"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14126 $as_echo "$ac_cv_have_res_getservers" >&6; }
14127 if test "$ac_cv_have_res_getservers" = "yes"
14128 then
14130 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14136 if test "x$with_cms" != "xno"
14137 then
14138 if ${LCMS2_CFLAGS:+false} :; then :
14139 if ${PKG_CONFIG+:} false; then :
14140 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14144 if ${LCMS2_LIBS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14150 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14151 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14152 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14153 ac_save_CPPFLAGS=$CPPFLAGS
14154 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14155 for ac_header in lcms2.h
14156 do :
14157 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14158 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_LCMS2_H 1
14161 _ACEOF
14165 done
14167 if test "$ac_cv_header_lcms2_h" = "yes"
14168 then
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14170 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14171 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_check_lib_save_LIBS=$LIBS
14175 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 #ifdef __cplusplus
14183 extern "C"
14184 #endif
14185 char cmsOpenProfileFromFile ();
14187 main ()
14189 return cmsOpenProfileFromFile ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14196 else
14197 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS=$ac_check_lib_save_LIBS
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14204 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14205 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14207 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14209 else
14210 LCMS2_LIBS=""
14213 else
14214 LCMS2_CFLAGS=""
14215 LCMS2_LIBS=""
14217 CPPFLAGS=$ac_save_CPPFLAGS
14220 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14221 case "x$with_cms" in
14222 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14223 xno) ;;
14224 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14225 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14226 esac
14230 if test "x$with_freetype" != "xno"
14231 then
14232 if ${FREETYPE_CFLAGS:+false} :; then :
14233 if ${PKG_CONFIG+:} false; then :
14234 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14237 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14238 if ${FREETYPE_LIBS:+false} :; then :
14239 if ${PKG_CONFIG+:} false; then :
14240 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14243 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14244 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14245 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14247 ac_save_CPPFLAGS=$CPPFLAGS
14248 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14249 for ac_header in ft2build.h
14250 do :
14251 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14252 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14253 cat >>confdefs.h <<_ACEOF
14254 #define HAVE_FT2BUILD_H 1
14255 _ACEOF
14259 done
14261 if test "$ac_cv_header_ft2build_h" = "yes"
14262 then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14264 $as_echo_n "checking for -lfreetype... " >&6; }
14265 if ${ac_cv_lib_soname_freetype+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_check_soname_save_LIBS=$LIBS
14269 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 char FT_Init_FreeType ();
14281 main ()
14283 return FT_Init_FreeType ();
14285 return 0;
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 case "$LIBEXT" in
14290 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14291 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'` ;;
14292 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14293 if ${ac_cv_lib_soname_freetype:+false} :; then :
14294 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14295 fi ;;
14296 esac
14297 else
14298 ac_cv_lib_soname_freetype=
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_soname_save_LIBS
14304 if ${ac_cv_lib_soname_freetype:+false} :; then :
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14306 $as_echo "not found" >&6; }
14307 FREETYPE_LIBS=""
14308 else
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14310 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14312 cat >>confdefs.h <<_ACEOF
14313 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14314 _ACEOF
14317 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14319 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14320 #include FT_MODULE_H
14322 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14324 cat >>confdefs.h <<_ACEOF
14325 #define HAVE_FT_TRUETYPEENGINETYPE 1
14326 _ACEOF
14332 else
14333 FREETYPE_CFLAGS=""
14334 FREETYPE_LIBS=""
14336 CPPFLAGS=$ac_save_CPPFLAGS
14339 if test "x$ac_cv_lib_soname_freetype" = x; then :
14340 case "x$with_freetype" in
14341 xno) ;;
14342 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14343 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14344 esac
14345 enable_fonts=${enable_fonts:-no}
14348 ac_wine_check_funcs_save_LIBS="$LIBS"
14349 LIBS="$LIBS $PTHREAD_LIBS"
14350 for ac_func in \
14351 pthread_getthreadid_np
14352 do :
14353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14356 cat >>confdefs.h <<_ACEOF
14357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14358 _ACEOF
14361 done
14363 LIBS="$ac_wine_check_funcs_save_LIBS"
14365 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14366 then
14367 if test "$ac_cv_header_gettext_po_h" = "yes"
14368 then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14370 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14371 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 ac_check_lib_save_LIBS=$LIBS
14375 LIBS="-lgettextpo $LIBS"
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14379 /* Override any GCC internal prototype to avoid an error.
14380 Use char because int might match the return type of a GCC
14381 builtin and then its argument prototype would still apply. */
14382 #ifdef __cplusplus
14383 extern "C"
14384 #endif
14385 char po_message_msgctxt ();
14387 main ()
14389 return po_message_msgctxt ();
14391 return 0;
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14396 else
14397 ac_cv_lib_gettextpo_po_message_msgctxt=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 LIBS=$ac_check_lib_save_LIBS
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14404 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14405 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14407 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14409 GETTEXTPO_LIBS="-lgettextpo"
14414 if test "x$GETTEXTPO_LIBS" = "x"; then :
14415 case "x$with_gettextpo" in
14416 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14417 xno) ;;
14418 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14419 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14420 esac
14423 if test "$srcdir" != .; then :
14424 case "x$with_gettextpo" in
14425 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14426 xno) ;;
14427 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14428 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14429 esac
14434 if test "x$with_pulse" != "xno";
14435 then
14436 if ${PULSE_CFLAGS:+false} :; then :
14437 if ${PKG_CONFIG+:} false; then :
14438 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14442 if ${PULSE_LIBS:+false} :; then :
14443 if ${PKG_CONFIG+:} false; then :
14444 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14449 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14450 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14451 ac_save_CPPFLAGS=$CPPFLAGS
14452 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14453 for ac_header in pulse/pulseaudio.h
14454 do :
14455 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14456 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14457 cat >>confdefs.h <<_ACEOF
14458 #define HAVE_PULSE_PULSEAUDIO_H 1
14459 _ACEOF
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14461 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14462 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14463 $as_echo_n "(cached) " >&6
14464 else
14465 ac_check_lib_save_LIBS=$LIBS
14466 LIBS="-lpulse $PULSE_LIBS $LIBS"
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14470 /* Override any GCC internal prototype to avoid an error.
14471 Use char because int might match the return type of a GCC
14472 builtin and then its argument prototype would still apply. */
14473 #ifdef __cplusplus
14474 extern "C"
14475 #endif
14476 char pa_stream_is_corked ();
14478 main ()
14480 return pa_stream_is_corked ();
14482 return 0;
14484 _ACEOF
14485 if ac_fn_c_try_link "$LINENO"; then :
14486 ac_cv_lib_pulse_pa_stream_is_corked=yes
14487 else
14488 ac_cv_lib_pulse_pa_stream_is_corked=no
14490 rm -f core conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LIBS=$ac_check_lib_save_LIBS
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14495 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14496 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14498 else
14499 PULSE_LIBS=""
14502 else
14503 PULSE_LIBS=""
14506 done
14508 CPPFLAGS=$ac_save_CPPFLAGS
14511 if test -z "$PULSE_LIBS"; then :
14512 case "x$with_pulse" in
14513 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14514 xno) ;;
14515 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14516 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14517 esac
14518 enable_winepulse_drv=${enable_winepulse_drv:-no}
14521 if test "x$with_gstreamer" != "xno"
14522 then
14523 if ${GSTREAMER_CFLAGS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14529 if ${GSTREAMER_LIBS:+false} :; then :
14530 if ${PKG_CONFIG+:} false; then :
14531 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14536 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14537 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14538 ac_save_CPPFLAGS=$CPPFLAGS
14539 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14540 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14541 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14543 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 #include <gst/gst.h>
14548 main ()
14550 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14552 return 0;
14554 _ACEOF
14555 if ac_fn_c_try_compile "$LINENO"; then :
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14557 $as_echo "yes" >&6; }
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14559 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14560 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 ac_check_lib_save_LIBS=$LIBS
14564 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14568 /* Override any GCC internal prototype to avoid an error.
14569 Use char because int might match the return type of a GCC
14570 builtin and then its argument prototype would still apply. */
14571 #ifdef __cplusplus
14572 extern "C"
14573 #endif
14574 char gst_pad_new ();
14576 main ()
14578 return gst_pad_new ();
14580 return 0;
14582 _ACEOF
14583 if ac_fn_c_try_link "$LINENO"; then :
14584 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14585 else
14586 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_lib_save_LIBS
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14593 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14594 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14598 else
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14600 $as_echo "no" >&6; }
14601 ac_glib2_broken=yes
14602 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14608 CPPFLAGS=$ac_save_CPPFLAGS
14611 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14612 then
14613 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14614 case "x$with_gstreamer" in
14615 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14616 xno) ;;
14617 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14618 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14619 esac
14623 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14625 ALSA_LIBS=""
14627 if test "x$with_alsa" != "xno"
14628 then
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14630 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14631 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 ac_check_lib_save_LIBS=$LIBS
14635 LIBS="-lasound $LIBS"
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 #ifdef __cplusplus
14643 extern "C"
14644 #endif
14645 char snd_pcm_hw_params_get_access_mask ();
14647 main ()
14649 return snd_pcm_hw_params_get_access_mask ();
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14656 else
14657 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_lib_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14664 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14665 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 #include <alsa/asoundlib.h>
14670 main ()
14672 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14674 return 0;
14676 _ACEOF
14677 if ac_fn_c_try_compile "$LINENO"; then :
14678 ALSA_LIBS="-lasound"
14680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14684 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14686 if test "x$with_oss" != xno
14687 then
14688 ac_save_CPPFLAGS="$CPPFLAGS"
14689 if test -f /etc/oss.conf
14690 then
14691 . /etc/oss.conf
14693 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14694 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14695 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14696 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14697 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14699 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14701 cat >>confdefs.h <<_ACEOF
14702 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14703 _ACEOF
14705 OSS4_CFLAGS="$ac_oss_incl"
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14708 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14709 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14710 $as_echo_n "(cached) " >&6
14711 else
14712 ac_check_lib_save_LIBS=$LIBS
14713 LIBS="-lossaudio $LIBS"
14714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 #ifdef __cplusplus
14721 extern "C"
14722 #endif
14723 char _oss_ioctl ();
14725 main ()
14727 return _oss_ioctl ();
14729 return 0;
14731 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"; then :
14733 ac_cv_lib_ossaudio__oss_ioctl=yes
14734 else
14735 ac_cv_lib_ossaudio__oss_ioctl=no
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 LIBS=$ac_check_lib_save_LIBS
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14742 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14743 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14744 OSS4_LIBS="-lossaudio"
14753 CPPFLAGS="$ac_save_CPPFLAGS"
14755 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14756 case "x$with_oss" in
14757 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14758 xno) ;;
14759 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14760 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14761 esac
14762 enable_wineoss_drv=${enable_wineoss_drv:-no}
14765 if test "x$with_udev" != "xno"
14766 then
14767 if ${UDEV_CFLAGS:+false} :; then :
14768 if ${PKG_CONFIG+:} false; then :
14769 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14773 if ${UDEV_LIBS:+false} :; then :
14774 if ${PKG_CONFIG+:} false; then :
14775 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14779 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14780 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14781 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14782 ac_save_CPPFLAGS=$CPPFLAGS
14783 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14784 for ac_header in libudev.h
14785 do :
14786 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14787 if test "x$ac_cv_header_libudev_h" = xyes; then :
14788 cat >>confdefs.h <<_ACEOF
14789 #define HAVE_LIBUDEV_H 1
14790 _ACEOF
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14792 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14793 if ${ac_cv_lib_udev_udev_new+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-ludev $UDEV_LIBS $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char udev_new ();
14809 main ()
14811 return udev_new ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_udev_udev_new=yes
14818 else
14819 ac_cv_lib_udev_udev_new=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14826 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14827 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14829 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14831 else
14832 UDEV_LIBS=""
14835 else
14836 UDEV_LIBS=""
14839 done
14841 CPPFLAGS=$ac_save_CPPFLAGS
14844 if test "x$UDEV_LIBS" = "x"; then :
14845 case "x$with_udev" in
14846 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14847 xno) ;;
14848 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14849 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14850 esac
14854 if test "x$with_unwind" != xno
14855 then
14856 if ${UNWIND_CFLAGS:+false} :; then :
14857 if ${PKG_CONFIG+:} false; then :
14858 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14862 if ${UNWIND_LIBS:+false} :; then :
14863 if ${PKG_CONFIG+:} false; then :
14864 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14868 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14869 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14870 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14871 ac_save_CPPFLAGS=$CPPFLAGS
14872 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14874 $as_echo_n "checking for unw_step... " >&6; }
14875 if ${wine_cv_have_unw_step+:} false; then :
14876 $as_echo_n "(cached) " >&6
14877 else
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 #define UNW_LOCAL_ONLY
14881 #include <libunwind.h>
14883 main ()
14885 unw_cursor_t cursor; unw_step( &cursor );
14887 return 0;
14889 _ACEOF
14890 if ac_fn_c_try_link "$LINENO"; then :
14891 wine_cv_have_unw_step="yes"
14892 else
14893 wine_cv_have_unw_step="no"
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14899 $as_echo "$wine_cv_have_unw_step" >&6; }
14900 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14901 then
14902 save_libs=$LIBS
14903 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14904 LIBS="$UNWIND_LIBS $LIBS"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14906 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14907 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14912 #define UNW_LOCAL_ONLY
14913 #include <libunwind.h>
14915 main ()
14917 unw_cursor_t cursor; unw_step( &cursor );
14919 return 0;
14921 _ACEOF
14922 if ac_fn_c_try_link "$LINENO"; then :
14923 wine_cv_have_libunwind_unw_step="yes"
14924 else
14925 wine_cv_have_libunwind_unw_step="no"
14927 rm -f core conftest.err conftest.$ac_objext \
14928 conftest$ac_exeext conftest.$ac_ext
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14931 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14932 LIBS=$save_libs
14934 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14935 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14936 then
14938 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14941 CPPFLAGS=$ac_save_CPPFLAGS
14944 case $host in
14945 aarch64*|*-darwin*)
14946 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14947 case "x$with_unwind" in
14948 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14949 xno) ;;
14950 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14951 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14952 esac
14954 fi ;;
14955 esac
14957 if test "x$with_sdl" != "xno"
14958 then
14959 if ${SDL2_CFLAGS:+false} :; then :
14960 if ${PKG_CONFIG+:} false; then :
14961 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14965 if ${SDL2_LIBS:+false} :; then :
14966 if ${PKG_CONFIG+:} false; then :
14967 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14971 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14972 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14973 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14974 ac_save_CPPFLAGS=$CPPFLAGS
14975 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14976 for ac_header in SDL.h
14977 do :
14978 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14979 if test "x$ac_cv_header_SDL_h" = xyes; then :
14980 cat >>confdefs.h <<_ACEOF
14981 #define HAVE_SDL_H 1
14982 _ACEOF
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14984 $as_echo_n "checking for -lSDL2... " >&6; }
14985 if ${ac_cv_lib_soname_SDL2+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 ac_check_soname_save_LIBS=$LIBS
14989 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 /* Override any GCC internal prototype to avoid an error.
14994 Use char because int might match the return type of a GCC
14995 builtin and then its argument prototype would still apply. */
14996 #ifdef __cplusplus
14997 extern "C"
14998 #endif
14999 char SDL_Init ();
15001 main ()
15003 return SDL_Init ();
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 case "$LIBEXT" in
15010 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15011 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'` ;;
15012 *) 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'`
15013 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15014 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15015 fi ;;
15016 esac
15017 else
15018 ac_cv_lib_soname_SDL2=
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_soname_save_LIBS
15024 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15026 $as_echo "not found" >&6; }
15028 else
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15030 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15032 cat >>confdefs.h <<_ACEOF
15033 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15034 _ACEOF
15040 done
15042 CPPFLAGS=$ac_save_CPPFLAGS
15045 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15046 case "x$with_sdl" in
15047 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15048 xno) ;;
15049 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15050 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15051 esac
15055 if test "x$with_faudio" != "xno"
15056 then
15057 if ${FAUDIO_CFLAGS:+false} :; then :
15058 if ${PKG_CONFIG+:} false; then :
15059 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15063 if ${FAUDIO_LIBS:+false} :; then :
15064 if ${PKG_CONFIG+:} false; then :
15065 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15069 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15070 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15071 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15072 ac_save_CPPFLAGS=$CPPFLAGS
15073 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15074 for ac_header in FAudio.h
15075 do :
15076 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15077 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15078 cat >>confdefs.h <<_ACEOF
15079 #define HAVE_FAUDIO_H 1
15080 _ACEOF
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15082 $as_echo_n "checking for -lFAudio... " >&6; }
15083 if ${ac_cv_lib_soname_FAudio+:} false; then :
15084 $as_echo_n "(cached) " >&6
15085 else
15086 ac_check_soname_save_LIBS=$LIBS
15087 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15091 /* Override any GCC internal prototype to avoid an error.
15092 Use char because int might match the return type of a GCC
15093 builtin and then its argument prototype would still apply. */
15094 #ifdef __cplusplus
15095 extern "C"
15096 #endif
15097 char FAudioCreate ();
15099 main ()
15101 return FAudioCreate ();
15103 return 0;
15105 _ACEOF
15106 if ac_fn_c_try_link "$LINENO"; then :
15107 case "$LIBEXT" in
15108 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15109 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'` ;;
15110 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15111 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15112 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15113 fi ;;
15114 esac
15115 else
15116 ac_cv_lib_soname_FAudio=
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15120 LIBS=$ac_check_soname_save_LIBS
15122 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15124 $as_echo "not found" >&6; }
15126 else
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15128 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15130 cat >>confdefs.h <<_ACEOF
15131 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15132 _ACEOF
15138 done
15140 ac_wine_check_funcs_save_LIBS="$LIBS"
15141 LIBS="$LIBS $FAUDIO_LIBS"
15142 for ac_func in FAudio_CommitOperationSet \
15143 F3DAudioInitialize8 \
15144 FAudioLinkedVersion \
15145 FAudioCreateReverb9WithCustomAllocatorEXT
15146 do :
15147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15150 cat >>confdefs.h <<_ACEOF
15151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15152 _ACEOF
15155 done
15157 LIBS="$ac_wine_check_funcs_save_LIBS"
15159 CPPFLAGS=$ac_save_CPPFLAGS
15162 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15163 case "x$with_faudio" in
15164 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15165 xno) ;;
15166 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15167 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15168 esac
15172 if test "x$with_capi" != "xno"
15173 then
15174 if ${CAPI20_CFLAGS:+false} :; then :
15175 if ${PKG_CONFIG+:} false; then :
15176 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15180 if ${CAPI20_LIBS:+false} :; then :
15181 if ${PKG_CONFIG+:} false; then :
15182 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15187 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15188 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15189 ac_save_CPPFLAGS=$CPPFLAGS
15190 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15191 for ac_header in capi20.h linux/capi.h
15192 do :
15193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15194 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15196 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15197 cat >>confdefs.h <<_ACEOF
15198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15199 _ACEOF
15203 done
15205 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15206 then
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15208 $as_echo_n "checking for -lcapi20... " >&6; }
15209 if ${ac_cv_lib_soname_capi20+:} false; then :
15210 $as_echo_n "(cached) " >&6
15211 else
15212 ac_check_soname_save_LIBS=$LIBS
15213 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 /* Override any GCC internal prototype to avoid an error.
15218 Use char because int might match the return type of a GCC
15219 builtin and then its argument prototype would still apply. */
15220 #ifdef __cplusplus
15221 extern "C"
15222 #endif
15223 char capi20_register ();
15225 main ()
15227 return capi20_register ();
15229 return 0;
15231 _ACEOF
15232 if ac_fn_c_try_link "$LINENO"; then :
15233 case "$LIBEXT" in
15234 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15235 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'` ;;
15236 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15237 if ${ac_cv_lib_soname_capi20:+false} :; then :
15238 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15239 fi ;;
15240 esac
15241 else
15242 ac_cv_lib_soname_capi20=
15244 rm -f core conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext conftest.$ac_ext
15246 LIBS=$ac_check_soname_save_LIBS
15248 if ${ac_cv_lib_soname_capi20:+false} :; then :
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15250 $as_echo "not found" >&6; }
15252 else
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15254 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15256 cat >>confdefs.h <<_ACEOF
15257 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15258 _ACEOF
15263 CPPFLAGS=$ac_save_CPPFLAGS
15266 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15267 case "x$with_capi" in
15268 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15269 xno) ;;
15270 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15271 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15272 esac
15276 if test "x$with_cups" != "xno"
15277 then
15278 if ${CUPS_CFLAGS:+false} :; then :
15279 if ${PKG_CONFIG+:} false; then :
15280 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15283 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15284 if ${CUPS_LIBS:+false} :; then :
15285 if ${PKG_CONFIG+:} false; then :
15286 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15289 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15290 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15291 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15292 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15293 ac_save_CPPFLAGS=$CPPFLAGS
15294 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15295 for ac_header in cups/cups.h cups/ppd.h
15296 do :
15297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15298 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15299 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15302 _ACEOF
15306 done
15308 if test "$ac_cv_header_cups_cups_h" = "yes"
15309 then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15311 $as_echo_n "checking for -lcups... " >&6; }
15312 if ${ac_cv_lib_soname_cups+:} false; then :
15313 $as_echo_n "(cached) " >&6
15314 else
15315 ac_check_soname_save_LIBS=$LIBS
15316 LIBS="-lcups $CUPS_LIBS $LIBS"
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15320 /* Override any GCC internal prototype to avoid an error.
15321 Use char because int might match the return type of a GCC
15322 builtin and then its argument prototype would still apply. */
15323 #ifdef __cplusplus
15324 extern "C"
15325 #endif
15326 char cupsGetDefault ();
15328 main ()
15330 return cupsGetDefault ();
15332 return 0;
15334 _ACEOF
15335 if ac_fn_c_try_link "$LINENO"; then :
15336 case "$LIBEXT" in
15337 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15338 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'` ;;
15339 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15340 if ${ac_cv_lib_soname_cups:+false} :; then :
15341 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15342 fi ;;
15343 esac
15344 else
15345 ac_cv_lib_soname_cups=
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15349 LIBS=$ac_check_soname_save_LIBS
15351 if ${ac_cv_lib_soname_cups:+false} :; then :
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15353 $as_echo "not found" >&6; }
15354 CUPS_LIBS=""
15355 else
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15357 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15359 cat >>confdefs.h <<_ACEOF
15360 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15361 _ACEOF
15365 else
15366 CUPS_CFLAGS=""
15367 CUPS_LIBS=""
15369 CPPFLAGS=$ac_save_CPPFLAGS
15372 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15373 case "x$with_cups" in
15374 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15375 xno) ;;
15376 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15377 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15378 esac
15382 if test "x$with_fontconfig" != "xno"
15383 then
15384 if ${FONTCONFIG_CFLAGS:+false} :; then :
15385 if ${PKG_CONFIG+:} false; then :
15386 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15389 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15390 if ${FONTCONFIG_LIBS:+false} :; then :
15391 if ${PKG_CONFIG+:} false; then :
15392 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15395 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15397 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15398 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15399 ac_save_CPPFLAGS=$CPPFLAGS
15400 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15401 for ac_header in fontconfig/fontconfig.h
15402 do :
15403 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15404 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15405 cat >>confdefs.h <<_ACEOF
15406 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15407 _ACEOF
15411 done
15413 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15414 then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15416 $as_echo_n "checking for -lfontconfig... " >&6; }
15417 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 ac_check_soname_save_LIBS=$LIBS
15421 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char FcInit ();
15433 main ()
15435 return FcInit ();
15437 return 0;
15439 _ACEOF
15440 if ac_fn_c_try_link "$LINENO"; then :
15441 case "$LIBEXT" in
15442 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15443 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'` ;;
15444 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15445 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15446 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15447 fi ;;
15448 esac
15449 else
15450 ac_cv_lib_soname_fontconfig=
15452 rm -f core conftest.err conftest.$ac_objext \
15453 conftest$ac_exeext conftest.$ac_ext
15454 LIBS=$ac_check_soname_save_LIBS
15456 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15458 $as_echo "not found" >&6; }
15459 FONTCONFIG_CFLAGS=""
15460 else
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15462 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15464 cat >>confdefs.h <<_ACEOF
15465 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15466 _ACEOF
15470 else
15471 FONTCONFIG_CFLAGS=""
15473 CPPFLAGS=$ac_save_CPPFLAGS
15476 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15477 case "x$with_fontconfig" in
15478 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15479 xno) ;;
15480 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15481 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15482 esac
15486 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15487 then
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15489 $as_echo_n "checking for -lgsm... " >&6; }
15490 if ${ac_cv_lib_soname_gsm+:} false; then :
15491 $as_echo_n "(cached) " >&6
15492 else
15493 ac_check_soname_save_LIBS=$LIBS
15494 LIBS="-lgsm $LIBS"
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15498 /* Override any GCC internal prototype to avoid an error.
15499 Use char because int might match the return type of a GCC
15500 builtin and then its argument prototype would still apply. */
15501 #ifdef __cplusplus
15502 extern "C"
15503 #endif
15504 char gsm_create ();
15506 main ()
15508 return gsm_create ();
15510 return 0;
15512 _ACEOF
15513 if ac_fn_c_try_link "$LINENO"; then :
15514 case "$LIBEXT" in
15515 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15516 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'` ;;
15517 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15518 if ${ac_cv_lib_soname_gsm:+false} :; then :
15519 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15520 fi ;;
15521 esac
15522 else
15523 ac_cv_lib_soname_gsm=
15525 rm -f core conftest.err conftest.$ac_objext \
15526 conftest$ac_exeext conftest.$ac_ext
15527 LIBS=$ac_check_soname_save_LIBS
15529 if ${ac_cv_lib_soname_gsm:+false} :; then :
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15531 $as_echo "not found" >&6; }
15533 else
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15535 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15537 cat >>confdefs.h <<_ACEOF
15538 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15539 _ACEOF
15544 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15545 case "x$with_gsm" in
15546 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15547 xno) ;;
15548 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15549 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15550 esac
15554 if test "x$with_krb5" != "xno"
15555 then
15556 if ${KRB5_CFLAGS:+false} :; then :
15557 if ${PKG_CONFIG+:} false; then :
15558 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15561 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15562 if ${KRB5_LIBS:+false} :; then :
15563 if ${PKG_CONFIG+:} false; then :
15564 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15567 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15569 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15570 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15571 ac_save_CPPFLAGS=$CPPFLAGS
15572 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15573 for ac_header in krb5/krb5.h
15574 do :
15575 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15576 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define HAVE_KRB5_KRB5_H 1
15579 _ACEOF
15583 done
15585 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15586 then
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15588 $as_echo_n "checking for -lkrb5... " >&6; }
15589 if ${ac_cv_lib_soname_krb5+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_check_soname_save_LIBS=$LIBS
15593 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 #ifdef __cplusplus
15601 extern "C"
15602 #endif
15603 char krb5_is_config_principal ();
15605 main ()
15607 return krb5_is_config_principal ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 case "$LIBEXT" in
15614 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15615 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'` ;;
15616 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15617 if ${ac_cv_lib_soname_krb5:+false} :; then :
15618 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15619 fi ;;
15620 esac
15621 else
15622 ac_cv_lib_soname_krb5=
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_check_soname_save_LIBS
15628 if ${ac_cv_lib_soname_krb5:+false} :; then :
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 $as_echo "not found" >&6; }
15631 KRB5_CFLAGS=""
15632 else
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15634 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15636 cat >>confdefs.h <<_ACEOF
15637 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15638 _ACEOF
15642 else
15643 KRB5_CFLAGS=""
15645 CPPFLAGS=$ac_save_CPPFLAGS
15648 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15649 case "x$with_krb5" in
15650 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15651 xno) ;;
15652 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15653 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15654 esac
15657 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15659 if test "x$with_gssapi" != "xno"
15660 then
15661 if ${GSSAPI_CFLAGS:+false} :; then :
15662 if ${PKG_CONFIG+:} false; then :
15663 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15666 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15667 if ${GSSAPI_LIBS:+false} :; then :
15668 if ${PKG_CONFIG+:} false; then :
15669 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15672 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15674 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15675 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15676 ac_save_CPPFLAGS=$CPPFLAGS
15677 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15678 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15679 do :
15680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15681 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15683 cat >>confdefs.h <<_ACEOF
15684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15685 _ACEOF
15689 done
15691 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15692 then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15694 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15695 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15696 $as_echo_n "(cached) " >&6
15697 else
15698 ac_check_soname_save_LIBS=$LIBS
15699 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15706 #ifdef __cplusplus
15707 extern "C"
15708 #endif
15709 char gss_init_sec_context ();
15711 main ()
15713 return gss_init_sec_context ();
15715 return 0;
15717 _ACEOF
15718 if ac_fn_c_try_link "$LINENO"; then :
15719 case "$LIBEXT" in
15720 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15721 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'` ;;
15722 *) 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'`
15723 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15724 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15725 fi ;;
15726 esac
15727 else
15728 ac_cv_lib_soname_gssapi_krb5=
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15732 LIBS=$ac_check_soname_save_LIBS
15734 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15736 $as_echo "not found" >&6; }
15737 GSSAPI_CFLAGS=""
15738 else
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15740 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15742 cat >>confdefs.h <<_ACEOF
15743 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15744 _ACEOF
15748 else
15749 GSSAPI_CFLAGS=""
15751 CPPFLAGS=$ac_save_CPPFLAGS
15754 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15755 case "x$with_gssapi" in
15756 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15757 xno) ;;
15758 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15759 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15760 esac
15764 if test "x$with_jpeg" != "xno"
15765 then
15766 if ${JPEG_CFLAGS:+false} :; then :
15767 if ${PKG_CONFIG+:} false; then :
15768 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15772 if ${JPEG_LIBS:+false} :; then :
15773 if ${PKG_CONFIG+:} false; then :
15774 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15779 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15780 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15781 ac_save_CPPFLAGS=$CPPFLAGS
15782 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15783 for ac_header in jpeglib.h
15784 do :
15785 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15786 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_JPEGLIB_H 1
15789 _ACEOF
15793 done
15795 if test "$ac_cv_header_jpeglib_h" = "yes"
15796 then
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15798 $as_echo_n "checking for -ljpeg... " >&6; }
15799 if ${ac_cv_lib_soname_jpeg+:} false; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 ac_check_soname_save_LIBS=$LIBS
15803 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15807 /* Override any GCC internal prototype to avoid an error.
15808 Use char because int might match the return type of a GCC
15809 builtin and then its argument prototype would still apply. */
15810 #ifdef __cplusplus
15811 extern "C"
15812 #endif
15813 char jpeg_start_decompress ();
15815 main ()
15817 return jpeg_start_decompress ();
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"; then :
15823 case "$LIBEXT" in
15824 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15825 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'` ;;
15826 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15827 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15828 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15829 fi ;;
15830 esac
15831 else
15832 ac_cv_lib_soname_jpeg=
15834 rm -f core conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_soname_save_LIBS
15838 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15840 $as_echo "not found" >&6; }
15841 JPEG_CFLAGS=""
15842 else
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15844 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15846 cat >>confdefs.h <<_ACEOF
15847 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15848 _ACEOF
15852 else
15853 JPEG_CFLAGS=""
15855 CPPFLAGS=$ac_save_CPPFLAGS
15858 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15859 case "x$with_jpeg" in
15860 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15861 xno) ;;
15862 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15863 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15864 esac
15868 if test "x$with_jxrlib" != "xno"
15869 then
15870 if ${JXRLIB_CFLAGS:+false} :; then :
15871 if ${PKG_CONFIG+:} false; then :
15872 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15875 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15876 if ${JXRLIB_LIBS:+false} :; then :
15877 if ${PKG_CONFIG+:} false; then :
15878 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15883 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15884 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15885 ac_save_CPPFLAGS=$CPPFLAGS
15886 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15887 for ac_header in JXRGlue.h
15888 do :
15889 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15891 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_JXRGLUE_H 1
15894 _ACEOF
15898 done
15900 if test "$ac_cv_header_JXRGlue_h" = "yes"
15901 then
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15903 $as_echo_n "checking for -ljxrglue... " >&6; }
15904 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15905 $as_echo_n "(cached) " >&6
15906 else
15907 ac_check_soname_save_LIBS=$LIBS
15908 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15912 /* Override any GCC internal prototype to avoid an error.
15913 Use char because int might match the return type of a GCC
15914 builtin and then its argument prototype would still apply. */
15915 #ifdef __cplusplus
15916 extern "C"
15917 #endif
15918 char PKImageDecode_Create_WMP ();
15920 main ()
15922 return PKImageDecode_Create_WMP ();
15924 return 0;
15926 _ACEOF
15927 if ac_fn_c_try_link "$LINENO"; then :
15928 case "$LIBEXT" in
15929 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15930 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'` ;;
15931 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15932 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15933 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15934 fi ;;
15935 esac
15936 else
15937 ac_cv_lib_soname_jxrglue=
15939 rm -f core conftest.err conftest.$ac_objext \
15940 conftest$ac_exeext conftest.$ac_ext
15941 LIBS=$ac_check_soname_save_LIBS
15943 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15945 $as_echo "not found" >&6; }
15946 JXRLIB_CFLAGS=""
15947 else
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15949 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
15951 cat >>confdefs.h <<_ACEOF
15952 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
15953 _ACEOF
15957 else
15958 JXRLIB_CFLAGS=""
15960 CPPFLAGS=$ac_save_CPPFLAGS
15963 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
15964 case "x$with_jxrlib" in
15965 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
15966 xno) ;;
15967 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
15968 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
15969 esac
15973 if test "x$with_png" != "xno"
15974 then
15975 if ${PNG_CFLAGS:+false} :; then :
15976 if ${PKG_CONFIG+:} false; then :
15977 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15980 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15981 if ${PNG_LIBS:+false} :; then :
15982 if ${PKG_CONFIG+:} false; then :
15983 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15986 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15988 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15989 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15990 ac_save_CPPFLAGS=$CPPFLAGS
15991 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15992 for ac_header in png.h
15993 do :
15994 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15995 if test "x$ac_cv_header_png_h" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_PNG_H 1
15998 _ACEOF
16002 done
16004 if test "$ac_cv_header_png_h" = "yes"
16005 then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16007 $as_echo_n "checking for -lpng... " >&6; }
16008 if ${ac_cv_lib_soname_png+:} false; then :
16009 $as_echo_n "(cached) " >&6
16010 else
16011 ac_check_soname_save_LIBS=$LIBS
16012 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16019 #ifdef __cplusplus
16020 extern "C"
16021 #endif
16022 char png_create_read_struct ();
16024 main ()
16026 return png_create_read_struct ();
16028 return 0;
16030 _ACEOF
16031 if ac_fn_c_try_link "$LINENO"; then :
16032 case "$LIBEXT" in
16033 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16034 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'` ;;
16035 *) 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'`
16036 if ${ac_cv_lib_soname_png:+false} :; then :
16037 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16038 fi ;;
16039 esac
16040 else
16041 ac_cv_lib_soname_png=
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_soname_save_LIBS
16047 if ${ac_cv_lib_soname_png:+false} :; then :
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16049 $as_echo "not found" >&6; }
16050 PNG_CFLAGS=""
16051 else
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16053 $as_echo "$ac_cv_lib_soname_png" >&6; }
16055 cat >>confdefs.h <<_ACEOF
16056 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16057 _ACEOF
16061 else
16062 PNG_CFLAGS=""
16064 CPPFLAGS=$ac_save_CPPFLAGS
16067 if test "x$ac_cv_lib_soname_png" = "x"; then :
16068 case "x$with_png" in
16069 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16070 xno) ;;
16071 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16072 This is an error since --with-png was requested." "$LINENO" 5 ;;
16073 esac
16077 if test "x$with_tiff" != "xno"
16078 then
16079 if ${TIFF_CFLAGS:+false} :; then :
16080 if ${PKG_CONFIG+:} false; then :
16081 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16085 if ${TIFF_LIBS:+false} :; then :
16086 if ${PKG_CONFIG+:} false; then :
16087 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16092 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16093 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16094 ac_save_CPPFLAGS=$CPPFLAGS
16095 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16096 for ac_header in tiffio.h
16097 do :
16098 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16099 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_TIFFIO_H 1
16102 _ACEOF
16106 done
16108 if test "$ac_cv_header_tiffio_h" = "yes"
16109 then
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16111 $as_echo_n "checking for -ltiff... " >&6; }
16112 if ${ac_cv_lib_soname_tiff+:} false; then :
16113 $as_echo_n "(cached) " >&6
16114 else
16115 ac_check_soname_save_LIBS=$LIBS
16116 LIBS="-ltiff $TIFF_LIBS $LIBS"
16117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h. */
16120 /* Override any GCC internal prototype to avoid an error.
16121 Use char because int might match the return type of a GCC
16122 builtin and then its argument prototype would still apply. */
16123 #ifdef __cplusplus
16124 extern "C"
16125 #endif
16126 char TIFFClientOpen ();
16128 main ()
16130 return TIFFClientOpen ();
16132 return 0;
16134 _ACEOF
16135 if ac_fn_c_try_link "$LINENO"; then :
16136 case "$LIBEXT" in
16137 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16138 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'` ;;
16139 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16140 if ${ac_cv_lib_soname_tiff:+false} :; then :
16141 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16142 fi ;;
16143 esac
16144 else
16145 ac_cv_lib_soname_tiff=
16147 rm -f core conftest.err conftest.$ac_objext \
16148 conftest$ac_exeext conftest.$ac_ext
16149 LIBS=$ac_check_soname_save_LIBS
16151 if ${ac_cv_lib_soname_tiff:+false} :; then :
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16153 $as_echo "not found" >&6; }
16155 else
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16157 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16159 cat >>confdefs.h <<_ACEOF
16160 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16161 _ACEOF
16166 CPPFLAGS=$ac_save_CPPFLAGS
16169 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16170 case "x$with_tiff" in
16171 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16172 xno) ;;
16173 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16174 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16175 esac
16179 if test "x$with_mpg123" != "xno"
16180 then
16181 if ${MPG123_CFLAGS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16187 if ${MPG123_LIBS:+false} :; then :
16188 if ${PKG_CONFIG+:} false; then :
16189 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16193 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16194 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16195 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16196 ac_save_CPPFLAGS=$CPPFLAGS
16197 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16198 for ac_header in mpg123.h
16199 do :
16200 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16201 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_MPG123_H 1
16204 _ACEOF
16208 done
16210 if test "$ac_cv_header_mpg123_h" = "yes"
16211 then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16213 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16214 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 ac_check_lib_save_LIBS=$LIBS
16218 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 char mpg123_feed ();
16230 main ()
16232 return mpg123_feed ();
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 ac_cv_lib_mpg123_mpg123_feed=yes
16239 else
16240 ac_cv_lib_mpg123_mpg123_feed=no
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_lib_save_LIBS
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16247 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16248 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16250 else
16251 MPG123_LIBS=""
16254 else
16255 MPG123_CFLAGS=""
16256 MPG123_LIBS=""
16258 CPPFLAGS=$ac_save_CPPFLAGS
16261 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16262 case "x$with_mpg123" in
16263 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16264 xno) ;;
16265 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16266 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16267 esac
16268 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16270 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16272 if test "$ac_cv_header_AL_al_h" = "yes"
16273 then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16275 $as_echo_n "checking for -lopenal... " >&6; }
16276 if ${ac_cv_lib_soname_openal+:} false; then :
16277 $as_echo_n "(cached) " >&6
16278 else
16279 ac_check_soname_save_LIBS=$LIBS
16280 LIBS="-lopenal $LIBS"
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16284 /* Override any GCC internal prototype to avoid an error.
16285 Use char because int might match the return type of a GCC
16286 builtin and then its argument prototype would still apply. */
16287 #ifdef __cplusplus
16288 extern "C"
16289 #endif
16290 char alGetSource3i ();
16292 main ()
16294 return alGetSource3i ();
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"; then :
16300 case "$LIBEXT" in
16301 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16302 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'` ;;
16303 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16304 if ${ac_cv_lib_soname_openal:+false} :; then :
16305 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16306 fi ;;
16307 esac
16308 else
16309 ac_cv_lib_soname_openal=
16311 rm -f core conftest.err conftest.$ac_objext \
16312 conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_soname_save_LIBS
16315 if ${ac_cv_lib_soname_openal:+false} :; then :
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16317 $as_echo "not found" >&6; }
16319 else
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16321 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16323 cat >>confdefs.h <<_ACEOF
16324 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16325 _ACEOF
16327 OPENAL_LIBS="-lopenal"
16329 ac_cv_lib_openal=yes
16331 cat >>confdefs.h <<_ACEOF
16332 #define HAVE_OPENAL 1
16333 _ACEOF
16337 if test "x$ac_cv_lib_openal" != xyes; then :
16338 case "x$with_openal" in
16339 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16340 xno) ;;
16341 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16342 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16343 esac
16344 enable_openal32=${enable_openal32:-no}
16347 if test "x$ac_cv_lib_soname_FAudio" = "x"
16348 then
16349 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16350 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16351 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16352 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16353 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16354 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16355 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16356 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16357 enable_xactengine2_0=${enable_xactengine2_0:-no}
16358 enable_xactengine2_4=${enable_xactengine2_4:-no}
16359 enable_xactengine2_7=${enable_xactengine2_7:-no}
16360 enable_xactengine2_9=${enable_xactengine2_9:-no}
16361 enable_xactengine3_0=${enable_xactengine3_0:-no}
16362 enable_xactengine3_1=${enable_xactengine3_1:-no}
16363 enable_xactengine3_2=${enable_xactengine3_2:-no}
16364 enable_xactengine3_3=${enable_xactengine3_3:-no}
16365 enable_xactengine3_4=${enable_xactengine3_4:-no}
16366 enable_xactengine3_5=${enable_xactengine3_5:-no}
16367 enable_xactengine3_6=${enable_xactengine3_6:-no}
16368 enable_xactengine3_7=${enable_xactengine3_7:-no}
16369 enable_xapofx1_1=${enable_xapofx1_1:-no}
16370 enable_xapofx1_2=${enable_xapofx1_2:-no}
16371 enable_xapofx1_3=${enable_xapofx1_3:-no}
16372 enable_xapofx1_4=${enable_xapofx1_4:-no}
16373 enable_xapofx1_5=${enable_xapofx1_5:-no}
16374 enable_xaudio2_0=${enable_xaudio2_0:-no}
16375 enable_xaudio2_1=${enable_xaudio2_1:-no}
16376 enable_xaudio2_2=${enable_xaudio2_2:-no}
16377 enable_xaudio2_3=${enable_xaudio2_3:-no}
16378 enable_xaudio2_4=${enable_xaudio2_4:-no}
16379 enable_xaudio2_5=${enable_xaudio2_5:-no}
16380 enable_xaudio2_6=${enable_xaudio2_6:-no}
16381 enable_xaudio2_7=${enable_xaudio2_7:-no}
16382 enable_xaudio2_8=${enable_xaudio2_8:-no}
16383 enable_xaudio2_9=${enable_xaudio2_9:-no}
16386 if test "$ac_cv_header_libprocstat_h" = "yes"
16387 then
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16389 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16390 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16393 ac_check_lib_save_LIBS=$LIBS
16394 LIBS="-lprocstat $LIBS"
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16398 /* Override any GCC internal prototype to avoid an error.
16399 Use char because int might match the return type of a GCC
16400 builtin and then its argument prototype would still apply. */
16401 #ifdef __cplusplus
16402 extern "C"
16403 #endif
16404 char procstat_open_sysctl ();
16406 main ()
16408 return procstat_open_sysctl ();
16410 return 0;
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"; then :
16414 ac_cv_lib_procstat_procstat_open_sysctl=yes
16415 else
16416 ac_cv_lib_procstat_procstat_open_sysctl=no
16418 rm -f core conftest.err conftest.$ac_objext \
16419 conftest$ac_exeext conftest.$ac_ext
16420 LIBS=$ac_check_lib_save_LIBS
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16423 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16424 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16426 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16428 PROCSTAT_LIBS="-lprocstat"
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16435 $as_echo_n "checking for -lodbc... " >&6; }
16436 if ${ac_cv_lib_soname_odbc+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 ac_check_soname_save_LIBS=$LIBS
16440 LIBS="-lodbc $LIBS"
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16444 /* Override any GCC internal prototype to avoid an error.
16445 Use char because int might match the return type of a GCC
16446 builtin and then its argument prototype would still apply. */
16447 #ifdef __cplusplus
16448 extern "C"
16449 #endif
16450 char SQLConnect ();
16452 main ()
16454 return SQLConnect ();
16456 return 0;
16458 _ACEOF
16459 if ac_fn_c_try_link "$LINENO"; then :
16460 case "$LIBEXT" in
16461 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16462 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'` ;;
16463 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16464 if ${ac_cv_lib_soname_odbc:+false} :; then :
16465 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16466 fi ;;
16467 esac
16468 else
16469 ac_cv_lib_soname_odbc=
16471 rm -f core conftest.err conftest.$ac_objext \
16472 conftest$ac_exeext conftest.$ac_ext
16473 LIBS=$ac_check_soname_save_LIBS
16475 if ${ac_cv_lib_soname_odbc:+false} :; then :
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16477 $as_echo "not found" >&6; }
16478 cat >>confdefs.h <<_ACEOF
16479 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16480 _ACEOF
16482 else
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16484 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16486 cat >>confdefs.h <<_ACEOF
16487 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16488 _ACEOF
16493 if test "x$with_netapi" != "xno"
16494 then
16495 if ${NETAPI_CFLAGS:+false} :; then :
16496 if ${PKG_CONFIG+:} false; then :
16497 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16501 if ${NETAPI_LIBS:+false} :; then :
16502 if ${PKG_CONFIG+:} false; then :
16503 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16508 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16509 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16510 ac_save_CPPFLAGS=$CPPFLAGS
16511 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16513 $as_echo_n "checking for -lnetapi... " >&6; }
16514 if ${ac_cv_lib_soname_netapi+:} false; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16517 ac_check_soname_save_LIBS=$LIBS
16518 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16522 /* Override any GCC internal prototype to avoid an error.
16523 Use char because int might match the return type of a GCC
16524 builtin and then its argument prototype would still apply. */
16525 #ifdef __cplusplus
16526 extern "C"
16527 #endif
16528 char libnetapi_init ();
16530 main ()
16532 return libnetapi_init ();
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"; then :
16538 case "$LIBEXT" in
16539 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16540 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'` ;;
16541 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16542 if ${ac_cv_lib_soname_netapi:+false} :; then :
16543 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16544 fi ;;
16545 esac
16546 else
16547 ac_cv_lib_soname_netapi=
16549 rm -f core conftest.err conftest.$ac_objext \
16550 conftest$ac_exeext conftest.$ac_ext
16551 LIBS=$ac_check_soname_save_LIBS
16553 if ${ac_cv_lib_soname_netapi:+false} :; then :
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16555 $as_echo "not found" >&6; }
16556 cat >>confdefs.h <<_ACEOF
16557 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16558 _ACEOF
16560 else
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16562 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16564 cat >>confdefs.h <<_ACEOF
16565 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16566 _ACEOF
16570 CPPFLAGS=$ac_save_CPPFLAGS
16574 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16575 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16576 then
16577 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16580 if test "x$with_vulkan" != "xno"
16581 then
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16583 $as_echo_n "checking for -lvulkan... " >&6; }
16584 if ${ac_cv_lib_soname_vulkan+:} false; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 ac_check_soname_save_LIBS=$LIBS
16588 LIBS="-lvulkan $LIBS"
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16592 /* Override any GCC internal prototype to avoid an error.
16593 Use char because int might match the return type of a GCC
16594 builtin and then its argument prototype would still apply. */
16595 #ifdef __cplusplus
16596 extern "C"
16597 #endif
16598 char vkGetInstanceProcAddr ();
16600 main ()
16602 return vkGetInstanceProcAddr ();
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 case "$LIBEXT" in
16609 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16610 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'` ;;
16611 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16612 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16613 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16614 fi ;;
16615 esac
16616 else
16617 ac_cv_lib_soname_vulkan=
16619 rm -f core conftest.err conftest.$ac_objext \
16620 conftest$ac_exeext conftest.$ac_ext
16621 LIBS=$ac_check_soname_save_LIBS
16623 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16625 $as_echo "not found" >&6; }
16627 else
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16629 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16631 cat >>confdefs.h <<_ACEOF
16632 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16633 _ACEOF
16637 if test "x$ac_cv_lib_soname_vulkan" = "x"
16638 then
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16640 $as_echo_n "checking for -lMoltenVK... " >&6; }
16641 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 ac_check_soname_save_LIBS=$LIBS
16645 LIBS="-lMoltenVK $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16649 /* Override any GCC internal prototype to avoid an error.
16650 Use char because int might match the return type of a GCC
16651 builtin and then its argument prototype would still apply. */
16652 #ifdef __cplusplus
16653 extern "C"
16654 #endif
16655 char vkGetInstanceProcAddr ();
16657 main ()
16659 return vkGetInstanceProcAddr ();
16661 return 0;
16663 _ACEOF
16664 if ac_fn_c_try_link "$LINENO"; then :
16665 case "$LIBEXT" in
16666 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16667 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'` ;;
16668 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16669 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16670 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16671 fi ;;
16672 esac
16673 else
16674 ac_cv_lib_soname_MoltenVK=
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_soname_save_LIBS
16680 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16682 $as_echo "not found" >&6; }
16684 else
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16686 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16688 cat >>confdefs.h <<_ACEOF
16689 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16690 _ACEOF
16696 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16697 case "x$with_vulkan" in
16698 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16699 xno) ;;
16700 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16701 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16702 esac
16706 if test "x$with_vkd3d" != "xno"
16707 then
16708 if ${VKD3D_CFLAGS:+false} :; then :
16709 if ${PKG_CONFIG+:} false; then :
16710 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16714 if ${VKD3D_LIBS:+false} :; then :
16715 if ${PKG_CONFIG+:} false; then :
16716 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16721 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16722 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16723 ac_save_CPPFLAGS=$CPPFLAGS
16724 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16726 $as_echo_n "checking for -lvkd3d... " >&6; }
16727 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 ac_check_soname_save_LIBS=$LIBS
16731 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16738 #ifdef __cplusplus
16739 extern "C"
16740 #endif
16741 char vkd3d_serialize_versioned_root_signature ();
16743 main ()
16745 return vkd3d_serialize_versioned_root_signature ();
16747 return 0;
16749 _ACEOF
16750 if ac_fn_c_try_link "$LINENO"; then :
16751 case "$LIBEXT" in
16752 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16753 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'` ;;
16754 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16755 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16756 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16757 fi ;;
16758 esac
16759 else
16760 ac_cv_lib_soname_vkd3d=
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 LIBS=$ac_check_soname_save_LIBS
16766 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16768 $as_echo "not found" >&6; }
16770 else
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16772 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16774 cat >>confdefs.h <<_ACEOF
16775 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16776 _ACEOF
16780 CPPFLAGS=$ac_save_CPPFLAGS
16782 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16783 if ${PKG_CONFIG+:} false; then :
16784 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16788 if ${VKD3D_SHADER_LIBS:+false} :; then :
16789 if ${PKG_CONFIG+:} false; then :
16790 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16795 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16796 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16797 ac_save_CPPFLAGS=$CPPFLAGS
16798 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16800 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16801 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 ac_check_soname_save_LIBS=$LIBS
16805 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 /* Override any GCC internal prototype to avoid an error.
16810 Use char because int might match the return type of a GCC
16811 builtin and then its argument prototype would still apply. */
16812 #ifdef __cplusplus
16813 extern "C"
16814 #endif
16815 char vkd3d_shader_compile ();
16817 main ()
16819 return vkd3d_shader_compile ();
16821 return 0;
16823 _ACEOF
16824 if ac_fn_c_try_link "$LINENO"; then :
16825 case "$LIBEXT" in
16826 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16827 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'` ;;
16828 *) 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'`
16829 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16830 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16831 fi ;;
16832 esac
16833 else
16834 ac_cv_lib_soname_vkd3d_shader=
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_soname_save_LIBS
16840 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16842 $as_echo "not found" >&6; }
16844 else
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16846 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16848 cat >>confdefs.h <<_ACEOF
16849 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16850 _ACEOF
16854 CPPFLAGS=$ac_save_CPPFLAGS
16857 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16858 case "x$with_vkd3d" in
16859 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16860 xno) ;;
16861 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16862 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16863 esac
16866 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16869 EXTRACFLAGS=""
16871 if test "x${GCC}" = "xyes"
16872 then
16873 EXTRACFLAGS="-Wall -pipe"
16875 saved_CFLAGS=$CFLAGS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16877 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16878 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 ac_wine_try_cflags_saved=$CFLAGS
16882 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 int main(int argc, char **argv) { return 0; }
16886 _ACEOF
16887 if ac_fn_c_try_link "$LINENO"; then :
16888 ac_cv_cflags__Werror_unknown_warning_option=yes
16889 else
16890 ac_cv_cflags__Werror_unknown_warning_option=no
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16894 CFLAGS=$ac_wine_try_cflags_saved
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16897 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16898 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16899 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16902 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16903 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16904 $as_echo_n "(cached) " >&6
16905 else
16906 ac_wine_try_cflags_saved=$CFLAGS
16907 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16910 int main(int argc, char **argv) { return 0; }
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"; then :
16913 ac_cv_cflags__Werror_unused_command_line_argument=yes
16914 else
16915 ac_cv_cflags__Werror_unused_command_line_argument=no
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16919 CFLAGS=$ac_wine_try_cflags_saved
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16922 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16923 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16924 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16927 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16928 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_wine_try_cflags_saved=$CFLAGS
16932 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 int main(int argc, char **argv) { return 0; }
16936 _ACEOF
16937 if ac_fn_c_try_link "$LINENO"; then :
16938 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16939 else
16940 ac_cv_cflags__Werror_ignored_optimization_argument=no
16942 rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext conftest.$ac_ext
16944 CFLAGS=$ac_wine_try_cflags_saved
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16947 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16948 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16949 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16952 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16953 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 ac_wine_try_cflags_saved=$CFLAGS
16957 CFLAGS="$CFLAGS -fcf-protection=none"
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 int main(int argc, char **argv) { return 0; }
16961 _ACEOF
16962 if ac_fn_c_try_link "$LINENO"; then :
16963 ac_cv_cflags__fcf_protection_none=yes
16964 else
16965 ac_cv_cflags__fcf_protection_none=no
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16969 CFLAGS=$ac_wine_try_cflags_saved
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16972 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16973 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16974 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16977 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16978 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 ac_wine_try_cflags_saved=$CFLAGS
16982 CFLAGS="$CFLAGS -fno-stack-protector"
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 int main(int argc, char **argv) { return 0; }
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"; then :
16988 ac_cv_cflags__fno_stack_protector=yes
16989 else
16990 ac_cv_cflags__fno_stack_protector=no
16992 rm -f core conftest.err conftest.$ac_objext \
16993 conftest$ac_exeext conftest.$ac_ext
16994 CFLAGS=$ac_wine_try_cflags_saved
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16997 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16998 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16999 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17002 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17003 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17004 $as_echo_n "(cached) " >&6
17005 else
17006 ac_wine_try_cflags_saved=$CFLAGS
17007 CFLAGS="$CFLAGS -fno-strict-aliasing"
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 int main(int argc, char **argv) { return 0; }
17011 _ACEOF
17012 if ac_fn_c_try_link "$LINENO"; then :
17013 ac_cv_cflags__fno_strict_aliasing=yes
17014 else
17015 ac_cv_cflags__fno_strict_aliasing=no
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17019 CFLAGS=$ac_wine_try_cflags_saved
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17022 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17023 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17024 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17027 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17028 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 ac_wine_try_cflags_saved=$CFLAGS
17032 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 int main(int argc, char **argv) { return 0; }
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"; then :
17038 ac_cv_cflags__Wdeclaration_after_statement=yes
17039 else
17040 ac_cv_cflags__Wdeclaration_after_statement=no
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 CFLAGS=$ac_wine_try_cflags_saved
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17047 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17048 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17049 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17052 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17053 if ${ac_cv_cflags__Wempty_body+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 ac_wine_try_cflags_saved=$CFLAGS
17057 CFLAGS="$CFLAGS -Wempty-body"
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 int main(int argc, char **argv) { return 0; }
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_cflags__Wempty_body=yes
17064 else
17065 ac_cv_cflags__Wempty_body=no
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17069 CFLAGS=$ac_wine_try_cflags_saved
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17072 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17073 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17074 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17077 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17078 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 ac_wine_try_cflags_saved=$CFLAGS
17082 CFLAGS="$CFLAGS -Wignored-qualifiers"
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 int main(int argc, char **argv) { return 0; }
17086 _ACEOF
17087 if ac_fn_c_try_link "$LINENO"; then :
17088 ac_cv_cflags__Wignored_qualifiers=yes
17089 else
17090 ac_cv_cflags__Wignored_qualifiers=no
17092 rm -f core conftest.err conftest.$ac_objext \
17093 conftest$ac_exeext conftest.$ac_ext
17094 CFLAGS=$ac_wine_try_cflags_saved
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17097 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17098 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17099 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17102 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17103 if ${ac_cv_cflags__Winit_self+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_wine_try_cflags_saved=$CFLAGS
17107 CFLAGS="$CFLAGS -Winit-self"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 int main(int argc, char **argv) { return 0; }
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_cflags__Winit_self=yes
17114 else
17115 ac_cv_cflags__Winit_self=no
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 CFLAGS=$ac_wine_try_cflags_saved
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17122 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17123 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17124 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17127 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17128 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__Wpacked_not_aligned=yes
17139 else
17140 ac_cv_cflags__Wpacked_not_aligned=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17147 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17148 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17149 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17152 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17153 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 ac_wine_try_cflags_saved=$CFLAGS
17157 CFLAGS="$CFLAGS -Wpragma-pack"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 int main(int argc, char **argv) { return 0; }
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_cflags__Wpragma_pack=yes
17164 else
17165 ac_cv_cflags__Wpragma_pack=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 CFLAGS=$ac_wine_try_cflags_saved
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17172 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17173 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17174 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17177 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17178 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_wine_try_cflags_saved=$CFLAGS
17182 CFLAGS="$CFLAGS -Wshift-overflow=2"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 int main(int argc, char **argv) { return 0; }
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_cflags__Wshift_overflow_2=yes
17189 else
17190 ac_cv_cflags__Wshift_overflow_2=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 CFLAGS=$ac_wine_try_cflags_saved
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17197 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17198 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17199 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17202 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17203 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -Wstrict-prototypes"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__Wstrict_prototypes=yes
17214 else
17215 ac_cv_cflags__Wstrict_prototypes=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17222 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17223 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17227 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17228 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -Wtype-limits"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__Wtype_limits=yes
17239 else
17240 ac_cv_cflags__Wtype_limits=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17247 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17248 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17252 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17253 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_wine_try_cflags_saved=$CFLAGS
17257 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 int main(int argc, char **argv) { return 0; }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_cflags__Wunused_but_set_parameter=yes
17264 else
17265 ac_cv_cflags__Wunused_but_set_parameter=no
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 CFLAGS=$ac_wine_try_cflags_saved
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17272 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17273 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17274 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17277 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17278 if ${ac_cv_cflags__Wvla+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 ac_wine_try_cflags_saved=$CFLAGS
17282 CFLAGS="$CFLAGS -Wvla"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 int main(int argc, char **argv) { return 0; }
17286 _ACEOF
17287 if ac_fn_c_try_link "$LINENO"; then :
17288 ac_cv_cflags__Wvla=yes
17289 else
17290 ac_cv_cflags__Wvla=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 CFLAGS=$ac_wine_try_cflags_saved
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17297 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17298 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17299 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17302 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17303 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 ac_wine_try_cflags_saved=$CFLAGS
17307 CFLAGS="$CFLAGS -Wwrite-strings"
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 int main(int argc, char **argv) { return 0; }
17311 _ACEOF
17312 if ac_fn_c_try_link "$LINENO"; then :
17313 ac_cv_cflags__Wwrite_strings=yes
17314 else
17315 ac_cv_cflags__Wwrite_strings=no
17317 rm -f core conftest.err conftest.$ac_objext \
17318 conftest$ac_exeext conftest.$ac_ext
17319 CFLAGS=$ac_wine_try_cflags_saved
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17322 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17323 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17324 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17327 if test -z "$CROSSTARGET"
17328 then
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17330 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17331 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 ac_wine_try_cflags_saved=$CFLAGS
17335 CFLAGS="$CFLAGS -fexcess-precision=standard"
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 int main(int argc, char **argv) { return 0; }
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"; then :
17341 ac_cv_cflags__fexcess_precision_standard=yes
17342 else
17343 ac_cv_cflags__fexcess_precision_standard=no
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17347 CFLAGS=$ac_wine_try_cflags_saved
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17350 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17351 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17352 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17358 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17359 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 ac_wine_try_cflags_saved=$CFLAGS
17363 CFLAGS="$CFLAGS -Wpointer-arith"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 int main(int argc, char **argv) { return 0; }
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_cflags__Wpointer_arith=yes
17370 else
17371 ac_cv_cflags__Wpointer_arith=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 CFLAGS=$ac_wine_try_cflags_saved
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17378 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17379 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17380 saved_string_h_CFLAGS=$CFLAGS
17381 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17383 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17384 if ${ac_cv_c_string_h_warnings+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 #include <string.h>
17391 main ()
17395 return 0;
17397 _ACEOF
17398 if ac_fn_c_try_compile "$LINENO"; then :
17399 ac_cv_c_string_h_warnings=no
17400 else
17401 ac_cv_c_string_h_warnings=yes
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17406 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17407 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17408 CFLAGS=$saved_string_h_CFLAGS
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17412 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17413 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17414 $as_echo_n "(cached) " >&6
17415 else
17416 ac_wine_try_cflags_saved=$CFLAGS
17417 CFLAGS="$CFLAGS -Wlogical-op"
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 int main(int argc, char **argv) { return 0; }
17421 _ACEOF
17422 if ac_fn_c_try_link "$LINENO"; then :
17423 ac_cv_cflags__Wlogical_op=yes
17424 else
17425 ac_cv_cflags__Wlogical_op=no
17427 rm -f core conftest.err conftest.$ac_objext \
17428 conftest$ac_exeext conftest.$ac_ext
17429 CFLAGS=$ac_wine_try_cflags_saved
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17432 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17433 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17434 saved_string_h_CFLAGS=$CFLAGS
17435 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17437 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17438 if ${ac_cv_c_logicalop_noisy+:} false; then :
17439 $as_echo_n "(cached) " >&6
17440 else
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <string.h>
17444 char*f(const char *h,char n) {return strchr(h,n);}
17446 main ()
17450 return 0;
17452 _ACEOF
17453 if ac_fn_c_try_compile "$LINENO"; then :
17454 ac_cv_c_logicalop_noisy=no
17455 else
17456 ac_cv_c_logicalop_noisy=yes
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17461 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17462 CFLAGS=$saved_string_h_CFLAGS
17463 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17467 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17468 if ${wine_cv_64bit_compare_swap+:} false; then :
17469 $as_echo_n "(cached) " >&6
17470 else
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17474 #error no
17475 #endif
17477 main ()
17481 return 0;
17483 _ACEOF
17484 if ac_fn_c_try_compile "$LINENO"; then :
17485 wine_cv_64bit_compare_swap="none needed"
17486 else
17487 case $host_cpu in
17488 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17489 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17490 *) wine_cv_64bit_compare_swap="unknown" ;;
17491 esac
17492 if test "x$wine_cv_64bit_compare_swap" != xunknown
17493 then
17494 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17497 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17498 #error no
17499 #endif
17501 main ()
17505 return 0;
17507 _ACEOF
17508 if ac_fn_c_try_compile "$LINENO"; then :
17510 else
17511 wine_cv_64bit_compare_swap="unknown"
17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514 CFLAGS=$saved_CFLAGS
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17520 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17521 case "$wine_cv_64bit_compare_swap" in
17522 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17523 "none needed") ;;
17524 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17525 esac
17527 for ac_flag in $CFLAGS; do
17528 case $ac_flag in
17529 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17530 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17531 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 ac_wine_try_cflags_saved=$CFLAGS
17535 CFLAGS="$CFLAGS -gdwarf-2"
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 int main(int argc, char **argv) { return 0; }
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_cflags__gdwarf_2=yes
17542 else
17543 ac_cv_cflags__gdwarf_2=no
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17547 CFLAGS=$ac_wine_try_cflags_saved
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17550 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17551 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17552 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17555 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17556 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 ac_wine_try_cflags_saved=$CFLAGS
17560 CFLAGS="$CFLAGS -gstrict-dwarf"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 int main(int argc, char **argv) { return 0; }
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_cflags__gstrict_dwarf=yes
17567 else
17568 ac_cv_cflags__gstrict_dwarf=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 CFLAGS=$ac_wine_try_cflags_saved
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17575 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17576 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17577 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17578 fi ;;
17579 esac
17580 done
17582 MSVCRTFLAGS=""
17584 case $host_os in
17585 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17586 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17587 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17590 ac_wine_try_cflags_saved=$CFLAGS
17591 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17593 /* end confdefs.h. */
17594 int main(int argc, char **argv) { return 0; }
17595 _ACEOF
17596 if ac_fn_c_try_link "$LINENO"; then :
17597 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17598 else
17599 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17601 rm -f core conftest.err conftest.$ac_objext \
17602 conftest$ac_exeext conftest.$ac_ext
17603 CFLAGS=$ac_wine_try_cflags_saved
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17606 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17607 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17608 DELAYLOADFLAG="-Wl,-delayload,"
17610 fi ;;
17611 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17612 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17613 if ${ac_cv_cflags__fno_builtin+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -fno-builtin"
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 int main(int argc, char **argv) { return 0; }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_cflags__fno_builtin=yes
17624 else
17625 ac_cv_cflags__fno_builtin=no
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 CFLAGS=$ac_wine_try_cflags_saved
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17632 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17633 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17634 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17637 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17638 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17641 ac_wine_try_cflags_saved=$CFLAGS
17642 CFLAGS="$CFLAGS -fshort-wchar"
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 int main(int argc, char **argv) { return 0; }
17646 _ACEOF
17647 if ac_fn_c_try_link "$LINENO"; then :
17648 ac_cv_cflags__fshort_wchar=yes
17649 else
17650 ac_cv_cflags__fshort_wchar=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17654 CFLAGS=$ac_wine_try_cflags_saved
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17657 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17658 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17659 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17660 fi ;;
17661 esac
17663 case $host_cpu in
17664 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17665 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17666 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17669 ac_wine_try_cflags_saved=$CFLAGS
17670 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 int main(int argc, char **argv) { return 0; }
17674 _ACEOF
17675 if ac_fn_c_try_link "$LINENO"; then :
17676 ac_cv_cflags__fno_omit_frame_pointer=yes
17677 else
17678 ac_cv_cflags__fno_omit_frame_pointer=no
17680 rm -f core conftest.err conftest.$ac_objext \
17681 conftest$ac_exeext conftest.$ac_ext
17682 CFLAGS=$ac_wine_try_cflags_saved
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17685 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17686 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17687 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17688 fi ;;
17689 *x86_64*)
17690 case $host_os in
17691 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17692 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17693 if ${ac_cv_cflags__Wno_format+:} false; then :
17694 $as_echo_n "(cached) " >&6
17695 else
17696 ac_wine_try_cflags_saved=$CFLAGS
17697 CFLAGS="$CFLAGS -Wno-format"
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 int main(int argc, char **argv) { return 0; }
17701 _ACEOF
17702 if ac_fn_c_try_link "$LINENO"; then :
17703 ac_cv_cflags__Wno_format=yes
17704 else
17705 ac_cv_cflags__Wno_format=no
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 CFLAGS=$ac_wine_try_cflags_saved
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17712 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17713 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17714 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17715 fi ;;
17716 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17717 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17718 if ${ac_cv_cflags__mabi_ms+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 ac_wine_try_cflags_saved=$CFLAGS
17722 CFLAGS="$CFLAGS -mabi=ms"
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 int main(int argc, char **argv) { return 0; }
17726 _ACEOF
17727 if ac_fn_c_try_link "$LINENO"; then :
17728 ac_cv_cflags__mabi_ms=yes
17729 else
17730 ac_cv_cflags__mabi_ms=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 CFLAGS=$ac_wine_try_cflags_saved
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17737 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17738 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17739 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17740 fi ;;
17741 esac ;;
17742 esac
17744 CFLAGS=$saved_CFLAGS
17746 if test "x$enable_werror" = "xyes"
17747 then
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17749 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17750 if ${ac_cv_cflags__Werror+:} false; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17753 ac_wine_try_cflags_saved=$CFLAGS
17754 CFLAGS="$CFLAGS -Werror"
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 int main(int argc, char **argv) { return 0; }
17758 _ACEOF
17759 if ac_fn_c_try_link "$LINENO"; then :
17760 ac_cv_cflags__Werror=yes
17761 else
17762 ac_cv_cflags__Werror=no
17764 rm -f core conftest.err conftest.$ac_objext \
17765 conftest$ac_exeext conftest.$ac_ext
17766 CFLAGS=$ac_wine_try_cflags_saved
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17769 $as_echo "$ac_cv_cflags__Werror" >&6; }
17770 if test "x$ac_cv_cflags__Werror" = xyes; then :
17771 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17774 if test "x$enable_build_id" = "xyes"
17775 then
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17777 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17778 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17779 $as_echo_n "(cached) " >&6
17780 else
17781 ac_wine_try_cflags_saved=$CFLAGS
17782 CFLAGS="$CFLAGS -Wl,--build-id"
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17785 int main(int argc, char **argv) { return 0; }
17786 _ACEOF
17787 if ac_fn_c_try_link "$LINENO"; then :
17788 ac_cv_cflags__Wl___build_id=yes
17789 else
17790 ac_cv_cflags__Wl___build_id=no
17792 rm -f core conftest.err conftest.$ac_objext \
17793 conftest$ac_exeext conftest.$ac_ext
17794 CFLAGS=$ac_wine_try_cflags_saved
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17797 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17798 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17799 CFLAGS="$CFLAGS -Wl,--build-id"
17800 LDFLAGS="$LDFLAGS -Wl,--build-id"
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17807 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17808 if ${ac_cv_c_fortify_enabled+:} false; then :
17809 $as_echo_n "(cached) " >&6
17810 else
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812 /* end confdefs.h. */
17813 #include <string.h>
17815 main ()
17817 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17818 #error Fortify enabled
17819 #endif
17821 return 0;
17823 _ACEOF
17824 if ac_fn_c_try_compile "$LINENO"; then :
17825 ac_cv_c_fortify_enabled=no
17826 else
17827 ac_cv_c_fortify_enabled=yes
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17832 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17833 if test "$ac_cv_c_fortify_enabled" = yes
17834 then
17835 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17840 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17841 if ${ac_cv_c_cfi_support+:} false; then :
17842 $as_echo_n "(cached) " >&6
17843 else
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17848 main ()
17852 return 0;
17854 _ACEOF
17855 if ac_fn_c_try_compile "$LINENO"; then :
17856 ac_cv_c_cfi_support="yes"
17857 else
17858 ac_cv_c_cfi_support="no"
17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17863 $as_echo "$ac_cv_c_cfi_support" >&6; }
17864 if test "$ac_cv_c_cfi_support" = "yes"
17865 then
17866 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17867 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17868 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
17869 else
17870 if test "x$enable_win64" = "xyes"
17871 then
17872 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17877 case $build_os in
17878 cygwin*|mingw32*) TOOLSEXT=".exe"
17880 esac
17882 case $host_os in
17883 linux*)
17884 case $host_cpu in
17885 *i[3456789]86*|x86_64*|*aarch64*|arm*)
17886 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17887 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17889 esac
17891 esac
17894 ac_save_CFLAGS="$CFLAGS"
17895 CFLAGS="$CFLAGS $BUILTINFLAG"
17896 for ac_func in \
17897 __res_get_state \
17898 __res_getservers \
17899 epoll_create \
17900 fork \
17901 fstatfs \
17902 futimens \
17903 futimes \
17904 futimesat \
17905 getattrlist \
17906 getauxval \
17907 getifaddrs \
17908 getrandom \
17909 kqueue \
17910 lstat \
17911 mach_continuous_time \
17912 pipe2 \
17913 port_create \
17914 posix_fadvise \
17915 posix_fallocate \
17916 prctl \
17917 proc_pidinfo \
17918 readlink \
17919 sched_yield \
17920 setproctitle \
17921 setprogname \
17922 sigprocmask \
17923 symlink \
17924 sysinfo \
17925 tcdrain \
17926 thr_kill2
17928 do :
17929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17932 cat >>confdefs.h <<_ACEOF
17933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17934 _ACEOF
17937 done
17939 CFLAGS="$ac_save_CFLAGS"
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17942 $as_echo_n "checking for library containing dlopen... " >&6; }
17943 if ${ac_cv_search_dlopen+:} false; then :
17944 $as_echo_n "(cached) " >&6
17945 else
17946 ac_func_search_save_LIBS=$LIBS
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17950 /* Override any GCC internal prototype to avoid an error.
17951 Use char because int might match the return type of a GCC
17952 builtin and then its argument prototype would still apply. */
17953 #ifdef __cplusplus
17954 extern "C"
17955 #endif
17956 char dlopen ();
17958 main ()
17960 return dlopen ();
17962 return 0;
17964 _ACEOF
17965 for ac_lib in '' dl; do
17966 if test -z "$ac_lib"; then
17967 ac_res="none required"
17968 else
17969 ac_res=-l$ac_lib
17970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17972 if ac_fn_c_try_link "$LINENO"; then :
17973 ac_cv_search_dlopen=$ac_res
17975 rm -f core conftest.err conftest.$ac_objext \
17976 conftest$ac_exeext
17977 if ${ac_cv_search_dlopen+:} false; then :
17978 break
17980 done
17981 if ${ac_cv_search_dlopen+:} false; then :
17983 else
17984 ac_cv_search_dlopen=no
17986 rm conftest.$ac_ext
17987 LIBS=$ac_func_search_save_LIBS
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17990 $as_echo "$ac_cv_search_dlopen" >&6; }
17991 ac_res=$ac_cv_search_dlopen
17992 if test "$ac_res" != no; then :
17993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17997 ac_wine_check_funcs_save_LIBS="$LIBS"
17998 LIBS="$LIBS $DL_LIBS"
17999 for ac_func in dladdr dlinfo
18000 do :
18001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18003 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18004 cat >>confdefs.h <<_ACEOF
18005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18006 _ACEOF
18009 done
18011 LIBS="$ac_wine_check_funcs_save_LIBS"
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18014 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18015 if ${ac_cv_search_gethostbyname+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 ac_func_search_save_LIBS=$LIBS
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18022 /* Override any GCC internal prototype to avoid an error.
18023 Use char because int might match the return type of a GCC
18024 builtin and then its argument prototype would still apply. */
18025 #ifdef __cplusplus
18026 extern "C"
18027 #endif
18028 char gethostbyname ();
18030 main ()
18032 return gethostbyname ();
18034 return 0;
18036 _ACEOF
18037 for ac_lib in '' nsl; do
18038 if test -z "$ac_lib"; then
18039 ac_res="none required"
18040 else
18041 ac_res=-l$ac_lib
18042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18044 if ac_fn_c_try_link "$LINENO"; then :
18045 ac_cv_search_gethostbyname=$ac_res
18047 rm -f core conftest.err conftest.$ac_objext \
18048 conftest$ac_exeext
18049 if ${ac_cv_search_gethostbyname+:} false; then :
18050 break
18052 done
18053 if ${ac_cv_search_gethostbyname+:} false; then :
18055 else
18056 ac_cv_search_gethostbyname=no
18058 rm conftest.$ac_ext
18059 LIBS=$ac_func_search_save_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18062 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18063 ac_res=$ac_cv_search_gethostbyname
18064 if test "$ac_res" != no; then :
18065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18071 $as_echo_n "checking for library containing connect... " >&6; }
18072 if ${ac_cv_search_connect+:} false; then :
18073 $as_echo_n "(cached) " >&6
18074 else
18075 ac_func_search_save_LIBS=$LIBS
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18082 #ifdef __cplusplus
18083 extern "C"
18084 #endif
18085 char connect ();
18087 main ()
18089 return connect ();
18091 return 0;
18093 _ACEOF
18094 for ac_lib in '' socket; do
18095 if test -z "$ac_lib"; then
18096 ac_res="none required"
18097 else
18098 ac_res=-l$ac_lib
18099 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_search_connect=$ac_res
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext
18106 if ${ac_cv_search_connect+:} false; then :
18107 break
18109 done
18110 if ${ac_cv_search_connect+:} false; then :
18112 else
18113 ac_cv_search_connect=no
18115 rm conftest.$ac_ext
18116 LIBS=$ac_func_search_save_LIBS
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18119 $as_echo "$ac_cv_search_connect" >&6; }
18120 ac_res=$ac_cv_search_connect
18121 if test "$ac_res" != no; then :
18122 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18128 $as_echo_n "checking for library containing inet_aton... " >&6; }
18129 if ${ac_cv_search_inet_aton+:} false; then :
18130 $as_echo_n "(cached) " >&6
18131 else
18132 ac_func_search_save_LIBS=$LIBS
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18136 /* Override any GCC internal prototype to avoid an error.
18137 Use char because int might match the return type of a GCC
18138 builtin and then its argument prototype would still apply. */
18139 #ifdef __cplusplus
18140 extern "C"
18141 #endif
18142 char inet_aton ();
18144 main ()
18146 return inet_aton ();
18148 return 0;
18150 _ACEOF
18151 for ac_lib in '' resolv; do
18152 if test -z "$ac_lib"; then
18153 ac_res="none required"
18154 else
18155 ac_res=-l$ac_lib
18156 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18158 if ac_fn_c_try_link "$LINENO"; then :
18159 ac_cv_search_inet_aton=$ac_res
18161 rm -f core conftest.err conftest.$ac_objext \
18162 conftest$ac_exeext
18163 if ${ac_cv_search_inet_aton+:} false; then :
18164 break
18166 done
18167 if ${ac_cv_search_inet_aton+:} false; then :
18169 else
18170 ac_cv_search_inet_aton=no
18172 rm conftest.$ac_ext
18173 LIBS=$ac_func_search_save_LIBS
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18176 $as_echo "$ac_cv_search_inet_aton" >&6; }
18177 ac_res=$ac_cv_search_inet_aton
18178 if test "$ac_res" != no; then :
18179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18184 for ac_func in getaddrinfo
18185 do :
18186 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18187 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18188 cat >>confdefs.h <<_ACEOF
18189 #define HAVE_GETADDRINFO 1
18190 _ACEOF
18193 done
18196 case $host_os in
18197 darwin*|macosx*) ;;
18198 *) ac_save_LIBS=$LIBS
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18200 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18201 if ${ac_cv_search_clock_gettime+:} false; then :
18202 $as_echo_n "(cached) " >&6
18203 else
18204 ac_func_search_save_LIBS=$LIBS
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18208 /* Override any GCC internal prototype to avoid an error.
18209 Use char because int might match the return type of a GCC
18210 builtin and then its argument prototype would still apply. */
18211 #ifdef __cplusplus
18212 extern "C"
18213 #endif
18214 char clock_gettime ();
18216 main ()
18218 return clock_gettime ();
18220 return 0;
18222 _ACEOF
18223 for ac_lib in '' rt; do
18224 if test -z "$ac_lib"; then
18225 ac_res="none required"
18226 else
18227 ac_res=-l$ac_lib
18228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18230 if ac_fn_c_try_link "$LINENO"; then :
18231 ac_cv_search_clock_gettime=$ac_res
18233 rm -f core conftest.err conftest.$ac_objext \
18234 conftest$ac_exeext
18235 if ${ac_cv_search_clock_gettime+:} false; then :
18236 break
18238 done
18239 if ${ac_cv_search_clock_gettime+:} false; then :
18241 else
18242 ac_cv_search_clock_gettime=no
18244 rm conftest.$ac_ext
18245 LIBS=$ac_func_search_save_LIBS
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18248 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18249 ac_res=$ac_cv_search_clock_gettime
18250 if test "$ac_res" != no; then :
18251 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18253 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18255 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18259 LIBS=$ac_save_LIBS
18261 esac
18263 if test "x$with_ldap" != "xno"
18264 then
18265 if ${LDAP_CFLAGS:+false} :; then :
18266 if ${PKG_CONFIG+:} false; then :
18267 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18271 if ${LDAP_LIBS:+false} :; then :
18272 if ${PKG_CONFIG+:} false; then :
18273 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18277 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18278 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18279 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18280 ac_save_CPPFLAGS=$CPPFLAGS
18281 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18282 for ac_header in ldap.h lber.h
18283 do :
18284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18285 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18287 cat >>confdefs.h <<_ACEOF
18288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18289 _ACEOF
18293 done
18295 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18296 then
18297 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18299 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18301 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18302 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18305 ac_check_lib_save_LIBS=$LIBS
18306 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18310 /* Override any GCC internal prototype to avoid an error.
18311 Use char because int might match the return type of a GCC
18312 builtin and then its argument prototype would still apply. */
18313 #ifdef __cplusplus
18314 extern "C"
18315 #endif
18316 char ldap_initialize ();
18318 main ()
18320 return ldap_initialize ();
18322 return 0;
18324 _ACEOF
18325 if ac_fn_c_try_link "$LINENO"; then :
18326 ac_cv_lib_ldap_r_ldap_initialize=yes
18327 else
18328 ac_cv_lib_ldap_r_ldap_initialize=no
18330 rm -f core conftest.err conftest.$ac_objext \
18331 conftest$ac_exeext conftest.$ac_ext
18332 LIBS=$ac_check_lib_save_LIBS
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18335 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18336 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18338 $as_echo_n "checking for ber_init in -llber... " >&6; }
18339 if ${ac_cv_lib_lber_ber_init+:} false; then :
18340 $as_echo_n "(cached) " >&6
18341 else
18342 ac_check_lib_save_LIBS=$LIBS
18343 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18347 /* Override any GCC internal prototype to avoid an error.
18348 Use char because int might match the return type of a GCC
18349 builtin and then its argument prototype would still apply. */
18350 #ifdef __cplusplus
18351 extern "C"
18352 #endif
18353 char ber_init ();
18355 main ()
18357 return ber_init ();
18359 return 0;
18361 _ACEOF
18362 if ac_fn_c_try_link "$LINENO"; then :
18363 ac_cv_lib_lber_ber_init=yes
18364 else
18365 ac_cv_lib_lber_ber_init=no
18367 rm -f core conftest.err conftest.$ac_objext \
18368 conftest$ac_exeext conftest.$ac_ext
18369 LIBS=$ac_check_lib_save_LIBS
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18372 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18373 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18375 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18377 else
18378 LDAP_LIBS=""
18381 else
18382 LDAP_LIBS=""
18385 else
18386 LDAP_LIBS=""
18389 ac_wine_check_funcs_save_LIBS="$LIBS"
18390 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18391 for ac_func in \
18392 ldap_count_references \
18393 ldap_first_reference \
18394 ldap_next_reference \
18395 ldap_parse_reference \
18396 ldap_parse_sort_control \
18397 ldap_parse_sortresponse_control \
18398 ldap_parse_vlv_control \
18399 ldap_parse_vlvresponse_control
18400 do :
18401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18404 cat >>confdefs.h <<_ACEOF
18405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18406 _ACEOF
18409 done
18411 LIBS="$ac_wine_check_funcs_save_LIBS"
18412 else
18413 LDAP_LIBS=""
18415 CPPFLAGS=$ac_save_CPPFLAGS
18418 if test "x$LDAP_LIBS" = "x"; then :
18419 case "x$with_ldap" in
18420 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18421 xno) ;;
18422 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18423 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18424 esac
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18429 $as_echo_n "checking for sched_setaffinity... " >&6; }
18430 if ${wine_cv_have_sched_setaffinity+:} false; then :
18431 $as_echo_n "(cached) " >&6
18432 else
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #define _GNU_SOURCE
18436 #include <sched.h>
18438 main ()
18440 sched_setaffinity(0, 0, 0);
18442 return 0;
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 wine_cv_have_sched_setaffinity=yes
18447 else
18448 wine_cv_have_sched_setaffinity=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18454 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18455 if test "$wine_cv_have_sched_setaffinity" = "yes"
18456 then
18458 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18464 $as_echo_n "checking for inline... " >&6; }
18465 if ${ac_cv_c_inline+:} false; then :
18466 $as_echo_n "(cached) " >&6
18467 else
18468 ac_cv_c_inline=no
18469 for ac_kw in inline __inline__ __inline; do
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18472 #ifndef __cplusplus
18473 typedef int foo_t;
18474 static $ac_kw foo_t static_foo () {return 0; }
18475 $ac_kw foo_t foo () {return 0; }
18476 #endif
18478 _ACEOF
18479 if ac_fn_c_try_compile "$LINENO"; then :
18480 ac_cv_c_inline=$ac_kw
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 test "$ac_cv_c_inline" != no && break
18484 done
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18488 $as_echo "$ac_cv_c_inline" >&6; }
18490 case $ac_cv_c_inline in
18491 inline | yes) ;;
18493 case $ac_cv_c_inline in
18494 no) ac_val=;;
18495 *) ac_val=$ac_cv_c_inline;;
18496 esac
18497 cat >>confdefs.h <<_ACEOF
18498 #ifndef __cplusplus
18499 #define inline $ac_val
18500 #endif
18501 _ACEOF
18503 esac
18505 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18506 #include <signal.h>
18508 if test "x$ac_cv_type_sigset_t" = xyes; then :
18510 cat >>confdefs.h <<_ACEOF
18511 #define HAVE_SIGSET_T 1
18512 _ACEOF
18517 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18519 if test "x$ac_cv_type_request_sense" = xyes; then :
18521 cat >>confdefs.h <<_ACEOF
18522 #define HAVE_REQUEST_SENSE 1
18523 _ACEOF
18529 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18530 #ifdef HAVE_SYS_SOCKET_H
18531 #include <sys/socket.h>
18532 #endif
18533 #ifdef HAVE_SYS_SOCKETVAR_H
18534 #include <sys/socketvar.h>
18535 #endif
18536 #ifdef HAVE_NET_ROUTE_H
18537 #include <net/route.h>
18538 #endif
18539 #ifdef HAVE_NETINET_IN_H
18540 #include <netinet/in.h>
18541 #endif
18542 #ifdef HAVE_NETINET_IN_SYSTM_H
18543 #include <netinet/in_systm.h>
18544 #endif
18545 #ifdef HAVE_NETINET_IP_H
18546 #include <netinet/ip.h>
18547 #endif
18548 #ifdef HAVE_NETINET_IN_PCB_H
18549 #include <netinet/in_pcb.h>
18550 #endif
18552 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18554 cat >>confdefs.h <<_ACEOF
18555 #define HAVE_STRUCT_XINPGEN 1
18556 _ACEOF
18562 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18563 #include <linux/input.h>
18564 #endif
18566 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18568 cat >>confdefs.h <<_ACEOF
18569 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18570 _ACEOF
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18577 $as_echo_n "checking for if_nameindex... " >&6; }
18578 if ${wine_cv_have_if_nameindex+:} false; then :
18579 $as_echo_n "(cached) " >&6
18580 else
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18583 #ifdef HAVE_SYS_TYPES_H
18584 #include <sys/types.h>
18585 #endif
18586 #ifdef HAVE_SYS_SOCKET_H
18587 #include <sys/socket.h>
18588 #endif
18589 #ifdef HAVE_NET_IF_H
18590 # include <net/if.h>
18591 #endif
18593 main ()
18595 struct if_nameindex *p = if_nameindex(); return p->if_index;
18597 return 0;
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"; then :
18601 wine_cv_have_if_nameindex=yes
18602 else
18603 wine_cv_have_if_nameindex=no
18605 rm -f core conftest.err conftest.$ac_objext \
18606 conftest$ac_exeext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18609 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18610 if test "$wine_cv_have_if_nameindex" = "yes"
18611 then
18613 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18618 $as_echo_n "checking for sigaddset... " >&6; }
18619 if ${wine_cv_have_sigaddset+:} false; then :
18620 $as_echo_n "(cached) " >&6
18621 else
18622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18623 /* end confdefs.h. */
18624 #include <signal.h>
18626 main ()
18628 sigset_t set; sigaddset(&set,SIGTERM);
18630 return 0;
18632 _ACEOF
18633 if ac_fn_c_try_link "$LINENO"; then :
18634 wine_cv_have_sigaddset=yes
18635 else
18636 wine_cv_have_sigaddset=no
18638 rm -f core conftest.err conftest.$ac_objext \
18639 conftest$ac_exeext conftest.$ac_ext
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18642 $as_echo "$wine_cv_have_sigaddset" >&6; }
18643 if test "$wine_cv_have_sigaddset" = "yes"
18644 then
18646 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18652 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18653 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18658 #include <netdb.h>
18660 main ()
18663 char *name=0;
18664 struct hostent he;
18665 struct hostent *result;
18666 char *buf=0;
18667 int bufsize=0;
18668 int errnr;
18669 char *addr=0;
18670 int addrlen=0;
18671 int addrtype=0;
18672 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18673 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18676 return 0;
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"; then :
18680 wine_cv_linux_gethostbyname_r_6=yes
18681 else
18682 wine_cv_linux_gethostbyname_r_6=no
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18690 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18691 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18692 then
18694 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18698 if test "$ac_cv_header_linux_joystick_h" = "yes"
18699 then
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18701 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18702 if ${wine_cv_linux_joystick_22_api+:} false; then :
18703 $as_echo_n "(cached) " >&6
18704 else
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18708 #include <sys/ioctl.h>
18709 #include <sys/types.h>
18710 #include <linux/joystick.h>
18712 struct js_event blub;
18713 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18714 #error "no 2.2 header"
18715 #endif
18718 main ()
18720 /*empty*/
18722 return 0;
18724 _ACEOF
18725 if ac_fn_c_try_compile "$LINENO"; then :
18726 wine_cv_linux_joystick_22_api=yes
18727 else
18728 wine_cv_linux_joystick_22_api=no
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18734 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18735 if test "$wine_cv_linux_joystick_22_api" = "yes"
18736 then
18738 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18743 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18744 #ifdef HAVE_SYS_SOCKET_H
18745 # include <sys/socket.h>
18746 #endif
18747 #ifdef HAVE_SYS_UN_H
18748 # include <sys/un.h>
18749 #endif
18751 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18753 cat >>confdefs.h <<_ACEOF
18754 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18755 _ACEOF
18759 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18760 #ifdef HAVE_SYS_SOCKET_H
18761 # include <sys/socket.h>
18762 #endif
18763 #ifdef HAVE_SYS_UN_H
18764 # include <sys/un.h>
18765 #endif
18767 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18769 cat >>confdefs.h <<_ACEOF
18770 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18771 _ACEOF
18775 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18776 #ifdef HAVE_SYS_SOCKET_H
18777 # include <sys/socket.h>
18778 #endif
18779 #ifdef HAVE_SYS_UN_H
18780 # include <sys/un.h>
18781 #endif
18783 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18787 _ACEOF
18793 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18794 #ifdef HAVE_SCSI_SG_H
18795 #include <scsi/sg.h>
18796 #endif
18798 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18800 cat >>confdefs.h <<_ACEOF
18801 #define HAVE_SCSIREQ_T_CMD 1
18802 _ACEOF
18806 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>
18807 #ifdef HAVE_SCSI_SG_H
18808 #include <scsi/sg.h>
18809 #endif
18811 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18815 _ACEOF
18821 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18823 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_SIGINFO_T_SI_FD 1
18827 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18834 #ifdef HAVE_SYS_MTIO_H
18835 #include <sys/mtio.h>
18836 #endif
18838 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18840 cat >>confdefs.h <<_ACEOF
18841 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18842 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18847 #ifdef HAVE_SYS_MTIO_H
18848 #include <sys/mtio.h>
18849 #endif
18851 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18855 _ACEOF
18859 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18860 #ifdef HAVE_SYS_MTIO_H
18861 #include <sys/mtio.h>
18862 #endif
18864 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18866 cat >>confdefs.h <<_ACEOF
18867 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18868 _ACEOF
18874 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18875 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18877 cat >>confdefs.h <<_ACEOF
18878 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18879 _ACEOF
18883 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18884 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18886 cat >>confdefs.h <<_ACEOF
18887 #define HAVE_STRUCT_STAT_ST_MTIM 1
18888 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18893 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18897 _ACEOF
18901 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18902 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18904 cat >>confdefs.h <<_ACEOF
18905 #define HAVE_STRUCT_STAT_ST_CTIM 1
18906 _ACEOF
18910 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18911 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18915 _ACEOF
18919 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18920 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_STRUCT_STAT_ST_ATIM 1
18924 _ACEOF
18928 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18929 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18933 _ACEOF
18937 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18938 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18942 _ACEOF
18946 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18947 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18951 _ACEOF
18955 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18956 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18960 _ACEOF
18964 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18965 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18974 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18978 _ACEOF
18984 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
18985 #include <sys/types.h>
18986 #endif
18987 #ifdef HAVE_NETINET_IN_H
18988 #include <netinet/in.h>
18989 #endif
18991 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18995 _ACEOF
19001 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19002 #include <sys/types.h>
19003 #endif
19004 #ifdef HAVE_NETINET_IN_H
19005 #include <netinet/in.h>
19006 #endif
19007 #ifdef HAVE_RESOLV_H
19008 #include <resolv.h>
19009 #endif
19011 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT___RES_STATE 1
19015 _ACEOF
19021 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
19022 #include <resolv.h>
19023 #endif
19025 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19036 #include <sys/types.h>
19037 #endif
19038 #ifdef HAVE_NETINET_IN_H
19039 # include <netinet/in.h>
19040 #endif
19041 #ifdef HAVE_ARPA_NAMESER_H
19042 # include <arpa/nameser.h>
19043 #endif
19045 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_NS_MSG__MSG_PTR 1
19049 _ACEOF
19055 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19056 #include <sys/types.h>
19057 #endif
19058 #ifdef HAVE_NETINET_IN_H
19059 #include <netinet/in.h>
19060 #endif
19061 #ifdef HAVE_NETINET_IP_H
19062 #include <netinet/ip.h>
19063 #endif
19064 #ifdef HAVE_NETINET_IP_ICMP_H
19065 #include <netinet/ip_icmp.h>
19066 #endif
19067 #ifdef HAVE_NETINET_ICMP_VAR_H
19068 #include <netinet/icmp_var.h>
19069 #endif
19071 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19075 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19082 #include <sys/types.h>
19083 #endif
19084 #ifdef HAVE_ALIAS_H
19085 #include <alias.h>
19086 #endif
19087 #ifdef HAVE_SYS_SOCKET_H
19088 #include <sys/socket.h>
19089 #endif
19090 #ifdef HAVE_SYS_SOCKETVAR_H
19091 #include <sys/socketvar.h>
19092 #endif
19093 #ifdef HAVE_SYS_TIMEOUT_H
19094 #include <sys/timeout.h>
19095 #endif
19096 #ifdef HAVE_NETINET_IN_H
19097 #include <netinet/in.h>
19098 #endif
19099 #ifdef HAVE_NETINET_IN_SYSTM_H
19100 #include <netinet/in_systm.h>
19101 #endif
19102 #ifdef HAVE_NETINET_IP_H
19103 #include <netinet/ip.h>
19104 #endif
19105 #ifdef HAVE_NETINET_IP_VAR_H
19106 #include <netinet/ip_var.h>
19107 #endif
19108 #ifdef HAVE_NETINET_IP_ICMP_H
19109 #include <netinet/ip_icmp.h>
19110 #endif
19111 #ifdef HAVE_NETINET_ICMP_VAR_H
19112 #include <netinet/icmp_var.h>
19113 #endif
19115 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19119 _ACEOF
19125 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19126 #define _GNU_SOURCE
19127 #include <netinet/in.h>
19128 #endif
19130 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19134 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19141 #include <sys/types.h>
19142 #endif
19143 #ifdef HAVE_SYS_SOCKETVAR_H
19144 #include <sys/socketvar.h>
19145 #endif
19146 #ifdef HAVE_NETINET_IN_H
19147 #include <netinet/in.h>
19148 #endif
19149 #ifdef HAVE_NETINET_IP_VAR_H
19150 #include <netinet/ip_var.h>
19151 #endif
19153 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19157 _ACEOF
19163 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
19164 #include <netinet/ip_var.h>
19165 #endif
19167 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19171 _ACEOF
19177 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19178 #include <sys/types.h>
19179 #endif
19180 #ifdef HAVE_SYS_SOCKETVAR_H
19181 #include <sys/socketvar.h>
19182 #endif
19183 #ifdef HAVE_NETINET_IN_H
19184 #include <netinet/in.h>
19185 #endif
19186 #ifdef HAVE_NETINET_TCP_H
19187 #include <netinet/tcp.h>
19188 #endif
19189 #ifdef HAVE_NETINET_TCP_VAR_H
19190 #include <netinet/tcp_var.h>
19191 #endif
19193 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19197 _ACEOF
19203 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
19204 #include <netinet/tcp_var.h>
19205 #endif
19207 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19211 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19218 #include <sys/types.h>
19219 #endif
19220 #ifdef HAVE_NETINET_IN_H
19221 #include <netinet/in.h>
19222 #endif
19223 #ifdef HAVE_NETINET_IP_VAR_H
19224 #include <netinet/ip_var.h>
19225 #endif
19226 #ifdef HAVE_NETINET_UDP_H
19227 #include <netinet/udp.h>
19228 #endif
19229 #ifdef HAVE_NETINET_UDP_VAR_H
19230 #include <netinet/udp_var.h>
19231 #endif
19233 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19237 _ACEOF
19243 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19244 #include <sys/types.h>
19245 #endif
19246 #ifdef HAVE_NET_IF_H
19247 # include <net/if.h>
19248 #endif
19250 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19254 _ACEOF
19260 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19261 # include <sys/sysinfo.h>
19262 #endif
19264 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19266 cat >>confdefs.h <<_ACEOF
19267 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19268 _ACEOF
19272 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19273 # include <sys/sysinfo.h>
19274 #endif
19276 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19280 _ACEOF
19286 ac_save_LIBS="$LIBS"
19287 LIBS="$LIBS -lm"
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19289 $as_echo_n "checking for isfinite... " >&6; }
19290 if ${ac_cv_have_isfinite+:} false; then :
19291 $as_echo_n "(cached) " >&6
19292 else
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #define _GNU_SOURCE
19296 #include <math.h>
19298 main ()
19300 float f = 0.0; return isfinite(f)
19302 return 0;
19304 _ACEOF
19305 if ac_fn_c_try_link "$LINENO"; then :
19306 ac_cv_have_isfinite="yes"
19307 else
19308 ac_cv_have_isfinite="no"
19310 rm -f core conftest.err conftest.$ac_objext \
19311 conftest$ac_exeext conftest.$ac_ext
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19314 $as_echo "$ac_cv_have_isfinite" >&6; }
19315 if test "$ac_cv_have_isfinite" = "yes"
19316 then
19318 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19323 $as_echo_n "checking for isinf... " >&6; }
19324 if ${ac_cv_have_isinf+:} false; then :
19325 $as_echo_n "(cached) " >&6
19326 else
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19329 #include <math.h>
19331 main ()
19333 float f = 0.0; return isinf(f)
19335 return 0;
19337 _ACEOF
19338 if ac_fn_c_try_link "$LINENO"; then :
19339 ac_cv_have_isinf="yes"
19340 else
19341 ac_cv_have_isinf="no"
19343 rm -f core conftest.err conftest.$ac_objext \
19344 conftest$ac_exeext conftest.$ac_ext
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19347 $as_echo "$ac_cv_have_isinf" >&6; }
19348 if test "$ac_cv_have_isinf" = "yes"
19349 then
19351 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19356 $as_echo_n "checking for isnan... " >&6; }
19357 if ${ac_cv_have_isnan+:} false; then :
19358 $as_echo_n "(cached) " >&6
19359 else
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <math.h>
19364 main ()
19366 float f = 0.0; return isnan(f)
19368 return 0;
19370 _ACEOF
19371 if ac_fn_c_try_link "$LINENO"; then :
19372 ac_cv_have_isnan="yes"
19373 else
19374 ac_cv_have_isnan="no"
19376 rm -f core conftest.err conftest.$ac_objext \
19377 conftest$ac_exeext conftest.$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19380 $as_echo "$ac_cv_have_isnan" >&6; }
19381 if test "$ac_cv_have_isnan" = "yes"
19382 then
19384 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19388 LIBS="$ac_save_LIBS"
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19391 $as_echo_n "checking for __builtin_popcount... " >&6; }
19392 if ${ac_cv_have___builtin_popcount+:} false; then :
19393 $as_echo_n "(cached) " >&6
19394 else
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19399 main ()
19401 return __builtin_popcount(1)
19403 return 0;
19405 _ACEOF
19406 if ac_fn_c_try_link "$LINENO"; then :
19407 ac_cv_have___builtin_popcount="yes"
19408 else
19409 ac_cv_have___builtin_popcount="no"
19411 rm -f core conftest.err conftest.$ac_objext \
19412 conftest$ac_exeext conftest.$ac_ext
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19415 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19416 if test "$ac_cv_have___builtin_popcount" = "yes"
19417 then
19419 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19424 $as_echo_n "checking for __clear_cache... " >&6; }
19425 if ${ac_cv_have___clear_cache+:} false; then :
19426 $as_echo_n "(cached) " >&6
19427 else
19428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19432 main ()
19434 __clear_cache((void*)0, (void*)0); return 0;
19436 return 0;
19438 _ACEOF
19439 if ac_fn_c_try_link "$LINENO"; then :
19440 ac_cv_have___clear_cache="yes"
19441 else
19442 ac_cv_have___clear_cache="no"
19444 rm -f core conftest.err conftest.$ac_objext \
19445 conftest$ac_exeext conftest.$ac_ext
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19448 $as_echo "$ac_cv_have___clear_cache" >&6; }
19449 if test "$ac_cv_have___clear_cache" = "yes"
19450 then
19452 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19457 case $host_cpu in
19458 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19459 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19460 if ${ac_cv_cpp_def___i386__+:} false; then :
19461 $as_echo_n "(cached) " >&6
19462 else
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 #ifndef __i386__
19467 #endif
19468 _ACEOF
19469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19470 $EGREP "yes" >/dev/null 2>&1; then :
19471 ac_cv_cpp_def___i386__=yes
19472 else
19473 ac_cv_cpp_def___i386__=no
19475 rm -f conftest*
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19479 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19480 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19481 CFLAGS="$CFLAGS -D__i386__"
19482 LINTFLAGS="$LINTFLAGS -D__i386__"
19483 fi ;;
19484 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19485 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19486 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 #ifndef __x86_64__
19493 #endif
19494 _ACEOF
19495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19496 $EGREP "yes" >/dev/null 2>&1; then :
19497 ac_cv_cpp_def___x86_64__=yes
19498 else
19499 ac_cv_cpp_def___x86_64__=no
19501 rm -f conftest*
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19505 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19506 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19507 CFLAGS="$CFLAGS -D__x86_64__"
19508 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19509 fi ;;
19510 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19511 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19512 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19513 $as_echo_n "(cached) " >&6
19514 else
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #ifndef __sparc64__
19519 #endif
19520 _ACEOF
19521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19522 $EGREP "yes" >/dev/null 2>&1; then :
19523 ac_cv_cpp_def___sparc64__=yes
19524 else
19525 ac_cv_cpp_def___sparc64__=no
19527 rm -f conftest*
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19531 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19532 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19533 CFLAGS="$CFLAGS -D__sparc64__"
19534 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19535 fi ;;
19536 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19537 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19538 if ${ac_cv_cpp_def___sparc__+:} false; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 #ifndef __sparc__
19545 #endif
19546 _ACEOF
19547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19548 $EGREP "yes" >/dev/null 2>&1; then :
19549 ac_cv_cpp_def___sparc__=yes
19550 else
19551 ac_cv_cpp_def___sparc__=no
19553 rm -f conftest*
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19557 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19558 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19559 CFLAGS="$CFLAGS -D__sparc__"
19560 LINTFLAGS="$LINTFLAGS -D__sparc__"
19561 fi ;;
19562 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19563 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19564 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #ifndef __powerpc64__
19571 #endif
19572 _ACEOF
19573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19574 $EGREP "yes" >/dev/null 2>&1; then :
19575 ac_cv_cpp_def___powerpc64__=yes
19576 else
19577 ac_cv_cpp_def___powerpc64__=no
19579 rm -f conftest*
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19583 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19584 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19585 CFLAGS="$CFLAGS -D__powerpc64__"
19586 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19587 fi ;;
19588 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19589 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19590 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19591 $as_echo_n "(cached) " >&6
19592 else
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19595 #ifndef __powerpc__
19597 #endif
19598 _ACEOF
19599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19600 $EGREP "yes" >/dev/null 2>&1; then :
19601 ac_cv_cpp_def___powerpc__=yes
19602 else
19603 ac_cv_cpp_def___powerpc__=no
19605 rm -f conftest*
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19609 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19610 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19611 CFLAGS="$CFLAGS -D__powerpc__"
19612 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19613 fi ;;
19614 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19615 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19616 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19617 $as_echo_n "(cached) " >&6
19618 else
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621 #ifndef __aarch64__
19623 #endif
19624 _ACEOF
19625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19626 $EGREP "yes" >/dev/null 2>&1; then :
19627 ac_cv_cpp_def___aarch64__=yes
19628 else
19629 ac_cv_cpp_def___aarch64__=no
19631 rm -f conftest*
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19635 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19636 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19637 CFLAGS="$CFLAGS -D__aarch64__"
19638 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19639 fi ;;
19640 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19641 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19642 if ${ac_cv_cpp_def___arm__+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19647 #ifndef __arm__
19649 #endif
19650 _ACEOF
19651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19652 $EGREP "yes" >/dev/null 2>&1; then :
19653 ac_cv_cpp_def___arm__=yes
19654 else
19655 ac_cv_cpp_def___arm__=no
19657 rm -f conftest*
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19661 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19662 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19663 CFLAGS="$CFLAGS -D__arm__"
19664 LINTFLAGS="$LINTFLAGS -D__arm__"
19665 fi ;;
19666 esac
19668 case $host_vendor in
19669 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19670 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19671 if ${ac_cv_cpp_def___sun__+:} false; then :
19672 $as_echo_n "(cached) " >&6
19673 else
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676 #ifndef __sun__
19678 #endif
19679 _ACEOF
19680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19681 $EGREP "yes" >/dev/null 2>&1; then :
19682 ac_cv_cpp_def___sun__=yes
19683 else
19684 ac_cv_cpp_def___sun__=no
19686 rm -f conftest*
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19690 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19691 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19692 CFLAGS="$CFLAGS -D__sun__"
19693 LINTFLAGS="$LINTFLAGS -D__sun__"
19694 fi ;;
19695 esac
19701 ac_config_commands="$ac_config_commands include/stamp-h"
19703 $as_echo_n "creating Makefile rules..." >&6
19705 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19706 OPENGL_LIBS = $OPENGL_LIBS
19707 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19708 IOKIT_LIBS = $IOKIT_LIBS
19709 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19710 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19711 CORESERVICES_LIBS = $CORESERVICES_LIBS
19712 APPKIT_LIBS = $APPKIT_LIBS
19713 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19714 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19715 SECURITY_LIBS = $SECURITY_LIBS
19716 COREAUDIO_LIBS = $COREAUDIO_LIBS
19717 OPENAL_LIBS = $OPENAL_LIBS
19718 OPENCL_LIBS = $OPENCL_LIBS
19719 QUICKTIME_LIBS = $QUICKTIME_LIBS
19720 CARBON_LIBS = $CARBON_LIBS
19721 METAL_LIBS = $METAL_LIBS
19722 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19723 PTHREAD_LIBS = $PTHREAD_LIBS
19724 X_CFLAGS = $X_CFLAGS
19725 X_PRE_LIBS = $X_PRE_LIBS
19726 X_LIBS = $X_LIBS
19727 X_EXTRA_LIBS = $X_EXTRA_LIBS
19728 PCAP_LIBS = $PCAP_LIBS
19729 XML2_CFLAGS = $XML2_CFLAGS
19730 XML2_LIBS = $XML2_LIBS
19731 XSLT_CFLAGS = $XSLT_CFLAGS
19732 XSLT_LIBS = $XSLT_LIBS
19733 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19734 INOTIFY_LIBS = $INOTIFY_LIBS
19735 DBUS_CFLAGS = $DBUS_CFLAGS
19736 DBUS_LIBS = $DBUS_LIBS
19737 HAL_CFLAGS = $HAL_CFLAGS
19738 HAL_LIBS = $HAL_LIBS
19739 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19740 GNUTLS_LIBS = $GNUTLS_LIBS
19741 SANE_CFLAGS = $SANE_CFLAGS
19742 SANE_LIBS = $SANE_LIBS
19743 USB_CFLAGS = $USB_CFLAGS
19744 USB_LIBS = $USB_LIBS
19745 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19746 GPHOTO2_LIBS = $GPHOTO2_LIBS
19747 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19748 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19749 RESOLV_LIBS = $RESOLV_LIBS
19750 LCMS2_CFLAGS = $LCMS2_CFLAGS
19751 LCMS2_LIBS = $LCMS2_LIBS
19752 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19753 FREETYPE_LIBS = $FREETYPE_LIBS
19754 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19755 PULSE_CFLAGS = $PULSE_CFLAGS
19756 PULSE_LIBS = $PULSE_LIBS
19757 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19758 GSTREAMER_LIBS = $GSTREAMER_LIBS
19759 ALSA_LIBS = $ALSA_LIBS
19760 OSS4_CFLAGS = $OSS4_CFLAGS
19761 OSS4_LIBS = $OSS4_LIBS
19762 UDEV_CFLAGS = $UDEV_CFLAGS
19763 UDEV_LIBS = $UDEV_LIBS
19764 UNWIND_CFLAGS = $UNWIND_CFLAGS
19765 UNWIND_LIBS = $UNWIND_LIBS
19766 SDL2_CFLAGS = $SDL2_CFLAGS
19767 SDL2_LIBS = $SDL2_LIBS
19768 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19769 FAUDIO_LIBS = $FAUDIO_LIBS
19770 CAPI20_CFLAGS = $CAPI20_CFLAGS
19771 CAPI20_LIBS = $CAPI20_LIBS
19772 CUPS_CFLAGS = $CUPS_CFLAGS
19773 CUPS_LIBS = $CUPS_LIBS
19774 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19775 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19776 KRB5_CFLAGS = $KRB5_CFLAGS
19777 KRB5_LIBS = $KRB5_LIBS
19778 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19779 GSSAPI_LIBS = $GSSAPI_LIBS
19780 JPEG_CFLAGS = $JPEG_CFLAGS
19781 JPEG_LIBS = $JPEG_LIBS
19782 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19783 JXRLIB_LIBS = $JXRLIB_LIBS
19784 PNG_CFLAGS = $PNG_CFLAGS
19785 PNG_LIBS = $PNG_LIBS
19786 TIFF_CFLAGS = $TIFF_CFLAGS
19787 TIFF_LIBS = $TIFF_LIBS
19788 MPG123_CFLAGS = $MPG123_CFLAGS
19789 MPG123_LIBS = $MPG123_LIBS
19790 PROCSTAT_LIBS = $PROCSTAT_LIBS
19791 NETAPI_CFLAGS = $NETAPI_CFLAGS
19792 NETAPI_LIBS = $NETAPI_LIBS
19793 VKD3D_CFLAGS = $VKD3D_CFLAGS
19794 VKD3D_LIBS = $VKD3D_LIBS
19795 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19796 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19797 RT_LIBS = $RT_LIBS
19798 LDAP_CFLAGS = $LDAP_CFLAGS
19799 LDAP_LIBS = $LDAP_LIBS
19803 makedep_flags=""
19804 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19807 wine_fn_append_rule "
19808 # Rules automatically generated by configure
19810 .INIT: Makefile
19811 .MAKEFILEDEPS:
19812 all: Makefile
19813 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19814 @./config.status Make.tmp Makefile
19815 depend: \$(MAKEDEP)
19816 \$(MAKEDEP)$makedep_flags
19817 dummy:
19818 .PHONY: depend dummy"
19820 ac_config_links="$ac_config_links wine:tools/winewrapper"
19821 wine_fn_config_symlink wine
19822 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19823 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19824 wine_fn_config_symlink wine64
19827 wine_fn_config_makefile dlls/acledit enable_acledit
19828 wine_fn_config_makefile dlls/aclui enable_aclui
19829 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19830 wine_fn_config_makefile dlls/activeds enable_activeds
19831 wine_fn_config_makefile dlls/activeds/tests enable_tests
19832 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19833 wine_fn_config_makefile dlls/adsiid enable_adsiid
19834 wine_fn_config_makefile dlls/adsldp enable_adsldp
19835 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19836 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19837 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19838 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19839 wine_fn_config_makefile dlls/advpack enable_advpack
19840 wine_fn_config_makefile dlls/advpack/tests enable_tests
19841 wine_fn_config_makefile dlls/amsi enable_amsi
19842 wine_fn_config_makefile dlls/amstream enable_amstream
19843 wine_fn_config_makefile dlls/amstream/tests enable_tests
19844 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19846 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19847 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19849 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19854 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19864 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19866 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19868 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19870 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19871 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19872 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19874 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19875 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19880 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19881 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19883 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19884 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19897 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
19898 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
19899 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19900 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19903 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19904 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19905 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19906 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19910 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19911 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19919 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19920 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19921 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19922 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19930 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19932 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19934 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19935 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19936 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19961 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19965 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19968 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19979 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19984 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19985 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19990 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19992 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20011 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20012 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20033 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20044 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20048 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20052 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20053 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20058 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20060 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20071 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20079 wine_fn_config_makefile dlls/apphelp enable_apphelp
20080 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20081 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20082 wine_fn_config_makefile dlls/atl enable_atl
20083 wine_fn_config_makefile dlls/atl/tests enable_tests
20084 wine_fn_config_makefile dlls/atl100 enable_atl100
20085 wine_fn_config_makefile dlls/atl100/tests enable_tests
20086 wine_fn_config_makefile dlls/atl110 enable_atl110
20087 wine_fn_config_makefile dlls/atl80 enable_atl80
20088 wine_fn_config_makefile dlls/atl80/tests enable_tests
20089 wine_fn_config_makefile dlls/atl90 enable_atl90
20090 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20091 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20092 wine_fn_config_makefile dlls/atmlib enable_atmlib
20093 wine_fn_config_makefile dlls/authz enable_authz
20094 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20095 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20096 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20097 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20098 wine_fn_config_makefile dlls/avrt enable_avrt
20099 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20100 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20101 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20102 wine_fn_config_makefile dlls/browseui enable_browseui
20103 wine_fn_config_makefile dlls/browseui/tests enable_tests
20104 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20105 wine_fn_config_makefile dlls/cabinet enable_cabinet
20106 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20107 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20108 wine_fn_config_makefile dlls/cards enable_cards
20109 wine_fn_config_makefile dlls/cdosys enable_cdosys
20110 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20111 wine_fn_config_makefile dlls/clusapi enable_clusapi
20112 wine_fn_config_makefile dlls/combase enable_combase
20113 wine_fn_config_makefile dlls/combase/tests enable_tests
20114 wine_fn_config_makefile dlls/comcat enable_comcat
20115 wine_fn_config_makefile dlls/comcat/tests enable_tests
20116 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20117 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20118 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20119 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20120 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20121 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20122 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20123 wine_fn_config_makefile dlls/compstui enable_compstui
20124 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20125 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20126 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20127 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20128 wine_fn_config_makefile dlls/connect enable_connect
20129 wine_fn_config_makefile dlls/credui enable_credui
20130 wine_fn_config_makefile dlls/credui/tests enable_tests
20131 wine_fn_config_makefile dlls/crtdll enable_crtdll
20132 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20133 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20134 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20135 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20136 wine_fn_config_makefile dlls/cryptext enable_cryptext
20137 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20138 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20139 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20140 wine_fn_config_makefile dlls/cryptui enable_cryptui
20141 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20142 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20143 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20144 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20145 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20146 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20147 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20148 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20149 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20150 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20151 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20152 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20153 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20154 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20155 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20156 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20157 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20158 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20159 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20160 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20161 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20162 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20163 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20164 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20165 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20166 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20167 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20168 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20169 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20170 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20171 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20172 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20173 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20174 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20175 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20176 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
20177 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20178 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20179 wine_fn_config_makefile dlls/d3dim enable_d3dim
20180 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20181 wine_fn_config_makefile dlls/d3drm enable_d3drm
20182 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20183 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20184 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20185 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
20186 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20187 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
20188 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20189 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
20190 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20191 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
20192 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20193 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
20194 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20195 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
20196 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20197 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
20198 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20199 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
20200 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20201 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
20202 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20203 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20204 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20205 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20206 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20207 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20208 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20209 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20210 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20211 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20212 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20213 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20214 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20215 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20216 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20217 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20218 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20219 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20220 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20221 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20222 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20223 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20224 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20225 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20226 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20227 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20228 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20229 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20230 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20231 wine_fn_config_makefile dlls/davclnt enable_davclnt
20232 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20233 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20234 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20235 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20236 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20237 wine_fn_config_makefile dlls/dcomp enable_dcomp
20238 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20239 wine_fn_config_makefile dlls/ddraw enable_ddraw
20240 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20241 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20242 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20243 wine_fn_config_makefile dlls/devenum enable_devenum
20244 wine_fn_config_makefile dlls/devenum/tests enable_tests
20245 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20246 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20247 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20248 wine_fn_config_makefile dlls/difxapi enable_difxapi
20249 wine_fn_config_makefile dlls/dinput enable_dinput
20250 wine_fn_config_makefile dlls/dinput/tests enable_tests
20251 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20252 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20253 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20254 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20255 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20256 wine_fn_config_makefile dlls/dispex enable_dispex
20257 wine_fn_config_makefile dlls/dispex/tests enable_tests
20258 wine_fn_config_makefile dlls/display.drv16 enable_win16
20259 wine_fn_config_makefile dlls/dmband enable_dmband
20260 wine_fn_config_makefile dlls/dmband/tests enable_tests
20261 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20262 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20263 wine_fn_config_makefile dlls/dmime enable_dmime
20264 wine_fn_config_makefile dlls/dmime/tests enable_tests
20265 wine_fn_config_makefile dlls/dmloader enable_dmloader
20266 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20267 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20268 wine_fn_config_makefile dlls/dmscript enable_dmscript
20269 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20270 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20271 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20272 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20273 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20274 wine_fn_config_makefile dlls/dmusic enable_dmusic
20275 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20276 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20277 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20278 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20279 wine_fn_config_makefile dlls/dplay enable_dplay
20280 wine_fn_config_makefile dlls/dplayx enable_dplayx
20281 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20282 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20283 wine_fn_config_makefile dlls/dpnet enable_dpnet
20284 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20285 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20286 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20287 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20288 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20289 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20290 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20291 wine_fn_config_makefile dlls/drmclien enable_drmclien
20292 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20293 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20294 wine_fn_config_makefile dlls/dsound enable_dsound
20295 wine_fn_config_makefile dlls/dsound/tests enable_tests
20296 wine_fn_config_makefile dlls/dsquery enable_dsquery
20297 wine_fn_config_makefile dlls/dssenh enable_dssenh
20298 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20299 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20300 wine_fn_config_makefile dlls/dswave enable_dswave
20301 wine_fn_config_makefile dlls/dswave/tests enable_tests
20302 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20303 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20304 wine_fn_config_makefile dlls/dwrite enable_dwrite
20305 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20306 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20307 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20308 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20309 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20310 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20311 wine_fn_config_makefile dlls/dxgi enable_dxgi
20312 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20313 wine_fn_config_makefile dlls/dxguid enable_dxguid
20314 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20315 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20316 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20317 wine_fn_config_makefile dlls/esent enable_esent
20318 wine_fn_config_makefile dlls/evr enable_evr
20319 wine_fn_config_makefile dlls/evr/tests enable_tests
20320 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20321 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20322 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20323 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20324 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20325 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20326 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20327 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20328 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20329 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20330 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20331 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20332 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20333 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20334 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20335 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20336 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20337 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20339 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20340 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20341 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20342 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20343 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20344 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20345 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20346 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20347 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20348 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20349 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20350 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20351 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20352 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20353 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20354 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20355 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20356 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20357 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20358 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20359 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20360 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20361 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20362 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
20363 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20364 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20365 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20366 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20367 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20368 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20369 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20370 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20371 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20372 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20373 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20374 wine_fn_config_makefile dlls/faultrep enable_faultrep
20375 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20376 wine_fn_config_makefile dlls/feclient enable_feclient
20377 wine_fn_config_makefile dlls/fltlib enable_fltlib
20378 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20379 wine_fn_config_makefile dlls/fntcache enable_fntcache
20380 wine_fn_config_makefile dlls/fontsub enable_fontsub
20381 wine_fn_config_makefile dlls/fusion enable_fusion
20382 wine_fn_config_makefile dlls/fusion/tests enable_tests
20383 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20384 wine_fn_config_makefile dlls/gameux enable_gameux
20385 wine_fn_config_makefile dlls/gameux/tests enable_tests
20386 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20387 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20388 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20389 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20390 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20391 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20392 wine_fn_config_makefile dlls/glu32 enable_glu32
20393 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20394 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20395 wine_fn_config_makefile dlls/hal enable_hal
20396 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20397 wine_fn_config_makefile dlls/hid enable_hid
20398 wine_fn_config_makefile dlls/hid/tests enable_tests
20399 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20400 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20401 wine_fn_config_makefile dlls/hlink enable_hlink
20402 wine_fn_config_makefile dlls/hlink/tests enable_tests
20403 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20404 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20405 wine_fn_config_makefile dlls/http.sys enable_http_sys
20406 wine_fn_config_makefile dlls/httpapi enable_httpapi
20407 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20408 wine_fn_config_makefile dlls/iccvid enable_iccvid
20409 wine_fn_config_makefile dlls/icmp enable_icmp
20410 wine_fn_config_makefile dlls/ieframe enable_ieframe
20411 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20412 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20413 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20414 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20415 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20416 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20417 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20418 wine_fn_config_makefile dlls/imm32 enable_imm32
20419 wine_fn_config_makefile dlls/imm32/tests enable_tests
20420 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20421 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20422 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20423 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20424 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20425 wine_fn_config_makefile dlls/infosoft enable_infosoft
20426 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20427 wine_fn_config_makefile dlls/initpki enable_initpki
20428 wine_fn_config_makefile dlls/inkobj enable_inkobj
20429 wine_fn_config_makefile dlls/inseng enable_inseng
20430 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20431 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20432 wine_fn_config_makefile dlls/iprop enable_iprop
20433 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20434 wine_fn_config_makefile dlls/itircl enable_itircl
20435 wine_fn_config_makefile dlls/itss enable_itss
20436 wine_fn_config_makefile dlls/itss/tests enable_tests
20437 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20438 wine_fn_config_makefile dlls/jscript enable_jscript
20439 wine_fn_config_makefile dlls/jscript/tests enable_tests
20440 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20441 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20442 wine_fn_config_makefile dlls/kerberos enable_kerberos
20443 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20444 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20445 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20446 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20447 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20448 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20449 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20450 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20451 wine_fn_config_makefile dlls/ksuser enable_ksuser
20452 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20453 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20454 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20455 wine_fn_config_makefile dlls/loadperf enable_loadperf
20456 wine_fn_config_makefile dlls/localspl enable_localspl
20457 wine_fn_config_makefile dlls/localspl/tests enable_tests
20458 wine_fn_config_makefile dlls/localui enable_localui
20459 wine_fn_config_makefile dlls/localui/tests enable_tests
20460 wine_fn_config_makefile dlls/lz32 enable_lz32
20461 wine_fn_config_makefile dlls/lz32/tests enable_tests
20462 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20463 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20464 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20465 wine_fn_config_makefile dlls/mapistub enable_mapistub
20466 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20467 wine_fn_config_makefile dlls/mcicda enable_mcicda
20468 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20469 wine_fn_config_makefile dlls/mciseq enable_mciseq
20470 wine_fn_config_makefile dlls/mciwave enable_mciwave
20471 wine_fn_config_makefile dlls/mf enable_mf
20472 wine_fn_config_makefile dlls/mf/tests enable_tests
20473 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20474 wine_fn_config_makefile dlls/mferror enable_mferror
20475 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20476 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20477 wine_fn_config_makefile dlls/mfplat enable_mfplat
20478 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20479 wine_fn_config_makefile dlls/mfplay enable_mfplay
20480 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20481 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20482 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20483 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20484 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20485 wine_fn_config_makefile dlls/midimap enable_midimap
20486 wine_fn_config_makefile dlls/mlang enable_mlang
20487 wine_fn_config_makefile dlls/mlang/tests enable_tests
20488 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20489 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20490 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20491 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20492 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20493 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20494 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20495 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20496 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20497 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20498 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20499 wine_fn_config_makefile dlls/mpr enable_mpr
20500 wine_fn_config_makefile dlls/mpr/tests enable_tests
20501 wine_fn_config_makefile dlls/mprapi enable_mprapi
20502 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20503 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20504 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20505 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20506 wine_fn_config_makefile dlls/msado15 enable_msado15
20507 wine_fn_config_makefile dlls/msado15/tests enable_tests
20508 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20509 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20510 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20511 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20512 wine_fn_config_makefile dlls/mscms enable_mscms
20513 wine_fn_config_makefile dlls/mscms/tests enable_tests
20514 wine_fn_config_makefile dlls/mscoree enable_mscoree
20515 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20516 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20517 wine_fn_config_makefile dlls/msctf enable_msctf
20518 wine_fn_config_makefile dlls/msctf/tests enable_tests
20519 wine_fn_config_makefile dlls/msctfp enable_msctfp
20520 wine_fn_config_makefile dlls/msdaps enable_msdaps
20521 wine_fn_config_makefile dlls/msdelta enable_msdelta
20522 wine_fn_config_makefile dlls/msdmo enable_msdmo
20523 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20524 wine_fn_config_makefile dlls/msdrm enable_msdrm
20525 wine_fn_config_makefile dlls/msftedit enable_msftedit
20526 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20527 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20528 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20529 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20530 wine_fn_config_makefile dlls/mshtml enable_mshtml
20531 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20532 wine_fn_config_makefile dlls/msi enable_msi
20533 wine_fn_config_makefile dlls/msi/tests enable_tests
20534 wine_fn_config_makefile dlls/msident enable_msident
20535 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20536 wine_fn_config_makefile dlls/msimsg enable_msimsg
20537 wine_fn_config_makefile dlls/msimtf enable_msimtf
20538 wine_fn_config_makefile dlls/msisip enable_msisip
20539 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20540 wine_fn_config_makefile dlls/msls31 enable_msls31
20541 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20542 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20543 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20544 wine_fn_config_makefile dlls/msports enable_msports
20545 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20546 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20547 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20548 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20549 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20550 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20551 wine_fn_config_makefile dlls/mstask enable_mstask
20552 wine_fn_config_makefile dlls/mstask/tests enable_tests
20553 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20554 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20555 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20556 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20557 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20558 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20559 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20560 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20561 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20562 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20563 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20564 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20565 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20566 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20567 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20568 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20569 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20570 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20571 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20572 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20573 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20574 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20575 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20576 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20577 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20578 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20579 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20580 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20581 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20582 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20583 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20584 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20585 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20586 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20587 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20588 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20589 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20590 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20591 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20592 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20593 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20594 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20595 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20596 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20597 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20598 wine_fn_config_makefile dlls/mswsock enable_mswsock
20599 wine_fn_config_makefile dlls/msxml enable_msxml
20600 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20601 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20602 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20603 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20604 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20605 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20606 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20607 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20608 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20609 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20610 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20611 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20612 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20613 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20614 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20615 wine_fn_config_makefile dlls/netprofm enable_netprofm
20616 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20617 wine_fn_config_makefile dlls/netutils enable_netutils
20618 wine_fn_config_makefile dlls/newdev enable_newdev
20619 wine_fn_config_makefile dlls/ninput enable_ninput
20620 wine_fn_config_makefile dlls/ninput/tests enable_tests
20621 wine_fn_config_makefile dlls/normaliz enable_normaliz
20622 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20623 wine_fn_config_makefile dlls/npptools enable_npptools
20624 wine_fn_config_makefile dlls/nsi enable_nsi
20625 wine_fn_config_makefile dlls/nsi/tests enable_tests
20626 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20627 wine_fn_config_makefile dlls/ntdll enable_ntdll
20628 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20629 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20630 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20631 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20632 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20633 wine_fn_config_makefile dlls/ntprint enable_ntprint
20634 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20635 wine_fn_config_makefile dlls/objsel enable_objsel
20636 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20637 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20638 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20639 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20640 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20641 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20642 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20643 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20644 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20645 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20646 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20647 wine_fn_config_makefile dlls/ole32 enable_ole32
20648 wine_fn_config_makefile dlls/ole32/tests enable_tests
20649 wine_fn_config_makefile dlls/oleacc enable_oleacc
20650 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20651 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20652 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20653 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20654 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20655 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20656 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20657 wine_fn_config_makefile dlls/oledlg enable_oledlg
20658 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20659 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20660 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20661 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20662 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20663 wine_fn_config_makefile dlls/opcservices enable_opcservices
20664 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20665 wine_fn_config_makefile dlls/openal32 enable_openal32
20666 wine_fn_config_makefile dlls/opencl enable_opencl
20667 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20668 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20669 wine_fn_config_makefile dlls/packager enable_packager
20670 wine_fn_config_makefile dlls/packager/tests enable_tests
20671 wine_fn_config_makefile dlls/pdh enable_pdh
20672 wine_fn_config_makefile dlls/pdh/tests enable_tests
20673 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20674 wine_fn_config_makefile dlls/pidgen enable_pidgen
20675 wine_fn_config_makefile dlls/powrprof enable_powrprof
20676 wine_fn_config_makefile dlls/printui enable_printui
20677 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20678 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20679 wine_fn_config_makefile dlls/propsys enable_propsys
20680 wine_fn_config_makefile dlls/propsys/tests enable_tests
20681 wine_fn_config_makefile dlls/psapi enable_psapi
20682 wine_fn_config_makefile dlls/psapi/tests enable_tests
20683 wine_fn_config_makefile dlls/pstorec enable_pstorec
20684 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20685 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20686 wine_fn_config_makefile dlls/qasf enable_qasf
20687 wine_fn_config_makefile dlls/qasf/tests enable_tests
20688 wine_fn_config_makefile dlls/qcap enable_qcap
20689 wine_fn_config_makefile dlls/qcap/tests enable_tests
20690 wine_fn_config_makefile dlls/qdvd enable_qdvd
20691 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20692 wine_fn_config_makefile dlls/qedit enable_qedit
20693 wine_fn_config_makefile dlls/qedit/tests enable_tests
20694 wine_fn_config_makefile dlls/qmgr enable_qmgr
20695 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20696 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20697 wine_fn_config_makefile dlls/quartz enable_quartz
20698 wine_fn_config_makefile dlls/quartz/tests enable_tests
20699 wine_fn_config_makefile dlls/query enable_query
20700 wine_fn_config_makefile dlls/qwave enable_qwave
20701 wine_fn_config_makefile dlls/qwave/tests enable_tests
20702 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20703 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20704 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20705 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20706 wine_fn_config_makefile dlls/regapi enable_regapi
20707 wine_fn_config_makefile dlls/resutils enable_resutils
20708 wine_fn_config_makefile dlls/riched20 enable_riched20
20709 wine_fn_config_makefile dlls/riched20/tests enable_tests
20710 wine_fn_config_makefile dlls/riched32 enable_riched32
20711 wine_fn_config_makefile dlls/riched32/tests enable_tests
20712 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20713 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20714 wine_fn_config_makefile dlls/rsabase enable_rsabase
20715 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20716 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20717 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20718 wine_fn_config_makefile dlls/rtutils enable_rtutils
20719 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20720 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20721 wine_fn_config_makefile dlls/samlib enable_samlib
20722 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20723 wine_fn_config_makefile dlls/sapi enable_sapi
20724 wine_fn_config_makefile dlls/sapi/tests enable_tests
20725 wine_fn_config_makefile dlls/sas enable_sas
20726 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20727 wine_fn_config_makefile dlls/sccbase enable_sccbase
20728 wine_fn_config_makefile dlls/schannel enable_schannel
20729 wine_fn_config_makefile dlls/schannel/tests enable_tests
20730 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20731 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20732 wine_fn_config_makefile dlls/scrobj enable_scrobj
20733 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20734 wine_fn_config_makefile dlls/scrrun enable_scrrun
20735 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20736 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20737 wine_fn_config_makefile dlls/sechost enable_sechost
20738 wine_fn_config_makefile dlls/secur32 enable_secur32
20739 wine_fn_config_makefile dlls/secur32/tests enable_tests
20740 wine_fn_config_makefile dlls/security enable_security
20741 wine_fn_config_makefile dlls/sensapi enable_sensapi
20742 wine_fn_config_makefile dlls/serialui enable_serialui
20743 wine_fn_config_makefile dlls/serialui/tests enable_tests
20744 wine_fn_config_makefile dlls/setupapi enable_setupapi
20745 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20746 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20747 wine_fn_config_makefile dlls/sfc enable_sfc
20748 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20749 wine_fn_config_makefile dlls/shcore enable_shcore
20750 wine_fn_config_makefile dlls/shcore/tests enable_tests
20751 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20752 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20753 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20754 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20755 wine_fn_config_makefile dlls/shell32 enable_shell32
20756 wine_fn_config_makefile dlls/shell32/tests enable_tests
20757 wine_fn_config_makefile dlls/shfolder enable_shfolder
20758 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20759 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20760 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20761 wine_fn_config_makefile dlls/slc enable_slc
20762 wine_fn_config_makefile dlls/slc/tests enable_tests
20763 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20764 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20765 wine_fn_config_makefile dlls/softpub enable_softpub
20766 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20767 wine_fn_config_makefile dlls/spoolss enable_spoolss
20768 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20769 wine_fn_config_makefile dlls/sppc enable_sppc
20770 wine_fn_config_makefile dlls/srclient enable_srclient
20771 wine_fn_config_makefile dlls/srvcli enable_srvcli
20772 wine_fn_config_makefile dlls/sspicli enable_sspicli
20773 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20774 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20775 wine_fn_config_makefile dlls/sti enable_sti
20776 wine_fn_config_makefile dlls/sti/tests enable_tests
20777 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20778 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20779 wine_fn_config_makefile dlls/strmbase enable_strmbase
20780 wine_fn_config_makefile dlls/strmdll enable_strmdll
20781 wine_fn_config_makefile dlls/strmiids enable_strmiids
20782 wine_fn_config_makefile dlls/svrapi enable_svrapi
20783 wine_fn_config_makefile dlls/sxs enable_sxs
20784 wine_fn_config_makefile dlls/sxs/tests enable_tests
20785 wine_fn_config_makefile dlls/system.drv16 enable_win16
20786 wine_fn_config_makefile dlls/t2embed enable_t2embed
20787 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20788 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20789 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20790 wine_fn_config_makefile dlls/taskschd enable_taskschd
20791 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20792 wine_fn_config_makefile dlls/tbs enable_tbs
20793 wine_fn_config_makefile dlls/tdh enable_tdh
20794 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20795 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20796 wine_fn_config_makefile dlls/traffic enable_traffic
20797 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20798 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20799 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20800 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20801 wine_fn_config_makefile dlls/tzres enable_tzres
20802 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20803 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20804 wine_fn_config_makefile dlls/uianimation enable_uianimation
20805 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20806 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20807 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20808 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20809 wine_fn_config_makefile dlls/unicows enable_unicows
20810 wine_fn_config_makefile dlls/updspapi enable_updspapi
20811 wine_fn_config_makefile dlls/url enable_url
20812 wine_fn_config_makefile dlls/urlmon enable_urlmon
20813 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20814 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20815 wine_fn_config_makefile dlls/user.exe16 enable_win16
20816 wine_fn_config_makefile dlls/user32 enable_user32
20817 wine_fn_config_makefile dlls/user32/tests enable_tests
20818 wine_fn_config_makefile dlls/userenv enable_userenv
20819 wine_fn_config_makefile dlls/userenv/tests enable_tests
20820 wine_fn_config_makefile dlls/usp10 enable_usp10
20821 wine_fn_config_makefile dlls/usp10/tests enable_tests
20822 wine_fn_config_makefile dlls/utildll enable_utildll
20823 wine_fn_config_makefile dlls/uuid enable_uuid
20824 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20825 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20826 wine_fn_config_makefile dlls/vbscript enable_vbscript
20827 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20828 wine_fn_config_makefile dlls/vcomp enable_vcomp
20829 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20830 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20831 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20832 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
20833 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20834 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20835 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20836 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20837 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20838 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20839 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20840 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20841 wine_fn_config_makefile dlls/version enable_version
20842 wine_fn_config_makefile dlls/version/tests enable_tests
20843 wine_fn_config_makefile dlls/vga enable_vga
20844 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20845 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20846 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20847 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20848 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20849 wine_fn_config_makefile dlls/vssapi enable_vssapi
20850 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20851 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20852 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20853 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20854 wine_fn_config_makefile dlls/w32skrnl enable_win16
20855 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20856 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20857 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20858 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20859 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20860 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20861 wine_fn_config_makefile dlls/wdscore enable_wdscore
20862 wine_fn_config_makefile dlls/webservices enable_webservices
20863 wine_fn_config_makefile dlls/webservices/tests enable_tests
20864 wine_fn_config_makefile dlls/websocket enable_websocket
20865 wine_fn_config_makefile dlls/wer enable_wer
20866 wine_fn_config_makefile dlls/wer/tests enable_tests
20867 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20868 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20869 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20870 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20871 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20872 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20873 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20874 wine_fn_config_makefile dlls/win32u enable_win32u
20875 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20876 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20877 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20878 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
20879 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
20880 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
20881 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
20882 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
20883 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
20884 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
20885 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
20886 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20887 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20888 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20889 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20890 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20891 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20892 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20893 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20894 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20895 wine_fn_config_makefile dlls/wined3d enable_wined3d
20896 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20897 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20898 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20899 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20900 wine_fn_config_makefile dlls/winemapi enable_winemapi
20901 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20902 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20903 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20904 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20905 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20906 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20907 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20908 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20909 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
20910 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20911 wine_fn_config_makefile dlls/wing32 enable_wing32
20912 wine_fn_config_makefile dlls/winhttp enable_winhttp
20913 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20914 wine_fn_config_makefile dlls/wininet enable_wininet
20915 wine_fn_config_makefile dlls/wininet/tests enable_tests
20916 wine_fn_config_makefile dlls/winmm enable_winmm
20917 wine_fn_config_makefile dlls/winmm/tests enable_tests
20918 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20919 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20920 wine_fn_config_makefile dlls/winscard enable_winscard
20921 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20922 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20923 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20924 wine_fn_config_makefile dlls/winsta enable_winsta
20925 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20926 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20927 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20928 wine_fn_config_makefile dlls/wintrust enable_wintrust
20929 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20930 wine_fn_config_makefile dlls/winusb enable_winusb
20931 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20932 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20933 wine_fn_config_makefile dlls/wlanui enable_wlanui
20934 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20935 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20936 wine_fn_config_makefile dlls/wmasf enable_wmasf
20937 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20938 wine_fn_config_makefile dlls/wmi enable_wmi
20939 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20940 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20941 wine_fn_config_makefile dlls/wmp enable_wmp
20942 wine_fn_config_makefile dlls/wmp/tests enable_tests
20943 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20944 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20945 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20946 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20947 wine_fn_config_makefile dlls/wow32 enable_win16
20948 wine_fn_config_makefile dlls/wow64 enable_wow64
20949 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
20950 wine_fn_config_makefile dlls/wow64win enable_wow64win
20951 wine_fn_config_makefile dlls/wpc enable_wpc
20952 wine_fn_config_makefile dlls/wpc/tests enable_tests
20953 wine_fn_config_makefile dlls/wpcap enable_wpcap
20954 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20955 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20956 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20957 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20958 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20959 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20960 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20961 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20962 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20963 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20964 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20965 wine_fn_config_makefile dlls/wuapi enable_wuapi
20966 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20967 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20968 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20969 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20970 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20971 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20972 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20973 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20974 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20975 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
20976 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
20977 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
20978 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
20979 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20980 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20981 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20982 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20983 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20984 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20985 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20986 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20987 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20988 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20989 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20990 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20991 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20992 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20993 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20994 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20995 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20996 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20997 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20998 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20999 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21000 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21001 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21002 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21003 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21004 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21005 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21006 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21007 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21008 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21009 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21010 wine_fn_config_makefile dlls/xmllite enable_xmllite
21011 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21012 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21013 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21014 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21015 wine_fn_config_makefile fonts enable_fonts
21016 wine_fn_config_makefile include enable_include
21017 wine_fn_config_makefile libs/port enable_port
21018 wine_fn_config_makefile libs/wine enable_wine
21019 wine_fn_config_makefile loader enable_loader
21020 wine_fn_config_makefile nls enable_nls
21021 wine_fn_config_makefile po enable_po
21022 wine_fn_config_makefile programs/arp enable_arp
21023 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21024 wine_fn_config_makefile programs/attrib enable_attrib
21025 wine_fn_config_makefile programs/cabarc enable_cabarc
21026 wine_fn_config_makefile programs/cacls enable_cacls
21027 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21028 wine_fn_config_makefile programs/clock enable_clock
21029 wine_fn_config_makefile programs/cmd enable_cmd
21030 wine_fn_config_makefile programs/cmd/tests enable_tests
21031 wine_fn_config_makefile programs/conhost enable_conhost
21032 wine_fn_config_makefile programs/conhost/tests enable_tests
21033 wine_fn_config_makefile programs/control enable_control
21034 wine_fn_config_makefile programs/cscript enable_cscript
21035 wine_fn_config_makefile programs/dism enable_dism
21036 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21037 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21038 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21039 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21040 wine_fn_config_makefile programs/eject enable_eject
21041 wine_fn_config_makefile programs/expand enable_expand
21042 wine_fn_config_makefile programs/explorer enable_explorer
21043 wine_fn_config_makefile programs/extrac32 enable_extrac32
21044 wine_fn_config_makefile programs/fc enable_fc
21045 wine_fn_config_makefile programs/find enable_find
21046 wine_fn_config_makefile programs/find/tests enable_tests
21047 wine_fn_config_makefile programs/findstr enable_findstr
21048 wine_fn_config_makefile programs/fsutil enable_fsutil
21049 wine_fn_config_makefile programs/fsutil/tests enable_tests
21050 wine_fn_config_makefile programs/hh enable_hh
21051 wine_fn_config_makefile programs/hostname enable_hostname
21052 wine_fn_config_makefile programs/icacls enable_icacls
21053 wine_fn_config_makefile programs/icinfo enable_icinfo
21054 wine_fn_config_makefile programs/iexplore enable_iexplore
21055 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21056 wine_fn_config_makefile programs/lodctr enable_lodctr
21057 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21058 wine_fn_config_makefile programs/mshta enable_mshta
21059 wine_fn_config_makefile programs/msidb enable_msidb
21060 wine_fn_config_makefile programs/msiexec enable_msiexec
21061 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21062 wine_fn_config_makefile programs/net enable_net
21063 wine_fn_config_makefile programs/netsh enable_netsh
21064 wine_fn_config_makefile programs/netstat enable_netstat
21065 wine_fn_config_makefile programs/ngen enable_ngen
21066 wine_fn_config_makefile programs/notepad enable_notepad
21067 wine_fn_config_makefile programs/oleview enable_oleview
21068 wine_fn_config_makefile programs/ping enable_ping
21069 wine_fn_config_makefile programs/plugplay enable_plugplay
21070 wine_fn_config_makefile programs/powershell enable_powershell
21071 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21072 wine_fn_config_makefile programs/progman enable_progman
21073 wine_fn_config_makefile programs/reg enable_reg
21074 wine_fn_config_makefile programs/reg/tests enable_tests
21075 wine_fn_config_makefile programs/regasm enable_regasm
21076 wine_fn_config_makefile programs/regedit enable_regedit
21077 wine_fn_config_makefile programs/regedit/tests enable_tests
21078 wine_fn_config_makefile programs/regini enable_regini
21079 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21080 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21081 wine_fn_config_makefile programs/rpcss enable_rpcss
21082 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21083 wine_fn_config_makefile programs/rundll32 enable_rundll32
21084 wine_fn_config_makefile programs/sc enable_sc
21085 wine_fn_config_makefile programs/schtasks enable_schtasks
21086 wine_fn_config_makefile programs/schtasks/tests enable_tests
21087 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21088 wine_fn_config_makefile programs/secedit enable_secedit
21089 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21090 wine_fn_config_makefile programs/services enable_services
21091 wine_fn_config_makefile programs/services/tests enable_tests
21092 wine_fn_config_makefile programs/shutdown enable_shutdown
21093 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21094 wine_fn_config_makefile programs/start enable_start
21095 wine_fn_config_makefile programs/subst enable_subst
21096 wine_fn_config_makefile programs/svchost enable_svchost
21097 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21098 wine_fn_config_makefile programs/taskkill enable_taskkill
21099 wine_fn_config_makefile programs/tasklist enable_tasklist
21100 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21101 wine_fn_config_makefile programs/termsv enable_termsv
21102 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21103 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21104 wine_fn_config_makefile programs/view enable_view
21105 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21106 wine_fn_config_makefile programs/where enable_where
21107 wine_fn_config_makefile programs/whoami enable_whoami
21108 wine_fn_config_makefile programs/wineboot enable_wineboot
21109 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21110 wine_fn_config_makefile programs/winecfg enable_winecfg
21111 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21112 wine_fn_config_makefile programs/winedbg enable_winedbg
21113 wine_fn_config_makefile programs/winedevice enable_winedevice
21114 wine_fn_config_makefile programs/winefile enable_winefile
21115 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21116 wine_fn_config_makefile programs/winemine enable_winemine
21117 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21118 wine_fn_config_makefile programs/winepath enable_winepath
21119 wine_fn_config_makefile programs/winetest enable_winetest
21120 wine_fn_config_makefile programs/winevdm enable_win16
21121 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21122 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21123 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21124 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21125 wine_fn_config_makefile programs/winver enable_winver
21126 wine_fn_config_makefile programs/wmic enable_wmic
21127 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21128 wine_fn_config_makefile programs/wordpad enable_wordpad
21129 wine_fn_config_makefile programs/write enable_write
21130 wine_fn_config_makefile programs/wscript enable_wscript
21131 wine_fn_config_makefile programs/wscript/tests enable_tests
21132 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21133 wine_fn_config_makefile programs/wusa enable_wusa
21134 wine_fn_config_makefile programs/xcopy enable_xcopy
21135 wine_fn_config_makefile programs/xcopy/tests enable_tests
21136 wine_fn_config_makefile server enable_server
21137 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21138 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21139 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21140 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21142 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21143 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21144 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21145 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21148 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21149 wine_fn_append_file CONFIGURE_TARGETS "tags"
21150 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21151 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21152 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21153 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21154 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21155 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21157 if test "x$enable_tools" != xno
21158 then
21159 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21160 ac_config_commands="$ac_config_commands tools/makedep"
21164 ac_config_commands="$ac_config_commands Makefile"
21167 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21171 if test "x$enable_maintainer_mode" = xyes
21172 then
21173 wine_fn_append_rule "configure: configure.ac aclocal.m4
21174 autoconf --warnings=all
21175 include/config.h.in: include/stamp-h.in
21176 include/stamp-h.in: configure.ac aclocal.m4
21177 autoheader --warnings=all
21178 @echo timestamp > \$@"
21181 if test "x$enable_tools" != xno
21182 then
21183 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21184 @./config.status tools/makedep
21185 Makefile: tools/makedep$ac_exeext"
21186 else
21187 wine_fn_append_rule "\$(MAKEDEP):
21188 @echo \"You need to run make in $TOOLSDIR first\" && false"
21191 if test -n "$with_wine64"
21192 then
21193 case "$with_wine64" in
21194 /*) reldir="" ;;
21195 *) reldir="../" ;;
21196 esac
21197 rm -f fonts server 2>/dev/null
21198 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21199 loader/wine64 loader/wine64-preloader:
21200 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21201 $with_wine64/loader/wine:
21202 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21203 $with_wine64/loader/wine-preloader:
21204 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21205 clean::
21206 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21207 else
21208 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21209 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21210 fonts \
21211 loader/wine.inf \
21212 nls \
21213 programs/msidb/msidb \
21214 programs/msiexec/msiexec \
21215 programs/notepad/notepad \
21216 programs/regedit/regedit \
21217 programs/regsvr32/regsvr32 \
21218 programs/wineboot/wineboot \
21219 programs/winecfg/winecfg \
21220 programs/wineconsole/wineconsole \
21221 programs/winedbg/winedbg \
21222 programs/winefile/winefile \
21223 programs/winemine/winemine \
21224 programs/winepath/winepath \
21225 server/wineserver"
21227 case $host_os in
21228 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21229 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21230 esac
21233 $as_echo " done" >&6
21234 cat >confcache <<\_ACEOF
21235 # This file is a shell script that caches the results of configure
21236 # tests run on this system so they can be shared between configure
21237 # scripts and configure runs, see configure's option --config-cache.
21238 # It is not useful on other systems. If it contains results you don't
21239 # want to keep, you may remove or edit it.
21241 # config.status only pays attention to the cache file if you give it
21242 # the --recheck option to rerun configure.
21244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21246 # following values.
21248 _ACEOF
21250 # The following way of writing the cache mishandles newlines in values,
21251 # but we know of no workaround that is simple, portable, and efficient.
21252 # So, we kill variables containing newlines.
21253 # Ultrix sh set writes to stderr and can't be redirected directly,
21254 # and sets the high bit in the cache file unless we assign to the vars.
21256 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21257 eval ac_val=\$$ac_var
21258 case $ac_val in #(
21259 *${as_nl}*)
21260 case $ac_var in #(
21261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21263 esac
21264 case $ac_var in #(
21265 _ | IFS | as_nl) ;; #(
21266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21267 *) { eval $ac_var=; unset $ac_var;} ;;
21268 esac ;;
21269 esac
21270 done
21272 (set) 2>&1 |
21273 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21274 *${as_nl}ac_space=\ *)
21275 # `set' does not quote correctly, so add quotes: double-quote
21276 # substitution turns \\\\ into \\, and sed turns \\ into \.
21277 sed -n \
21278 "s/'/'\\\\''/g;
21279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21280 ;; #(
21282 # `set' quotes correctly as required by POSIX, so do not add quotes.
21283 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21285 esac |
21286 sort
21288 sed '
21289 /^ac_cv_env_/b end
21290 t clear
21291 :clear
21292 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21293 t end
21294 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21295 :end' >>confcache
21296 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21297 if test -w "$cache_file"; then
21298 if test "x$cache_file" != "x/dev/null"; then
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21300 $as_echo "$as_me: updating cache $cache_file" >&6;}
21301 if test ! -f "$cache_file" || test -h "$cache_file"; then
21302 cat confcache >"$cache_file"
21303 else
21304 case $cache_file in #(
21305 */* | ?:*)
21306 mv -f confcache "$cache_file"$$ &&
21307 mv -f "$cache_file"$$ "$cache_file" ;; #(
21309 mv -f confcache "$cache_file" ;;
21310 esac
21313 else
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21315 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21318 rm -f confcache
21320 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21321 # Let make expand exec_prefix.
21322 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21324 DEFS=-DHAVE_CONFIG_H
21326 ac_libobjs=
21327 ac_ltlibobjs=
21329 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21330 # 1. Remove the extension, and $U if already installed.
21331 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21332 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21333 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21334 # will be set to the directory where LIBOBJS objects are built.
21335 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21336 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21337 done
21338 LIBOBJS=$ac_libobjs
21340 LTLIBOBJS=$ac_ltlibobjs
21344 : "${CONFIG_STATUS=./config.status}"
21345 ac_write_fail=0
21346 ac_clean_files_save=$ac_clean_files
21347 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21349 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21350 as_write_fail=0
21351 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21352 #! $SHELL
21353 # Generated by $as_me.
21354 # Run this file to recreate the current configuration.
21355 # Compiler output produced by configure, useful for debugging
21356 # configure, is in config.log if it exists.
21358 debug=false
21359 ac_cs_recheck=false
21360 ac_cs_silent=false
21362 SHELL=\${CONFIG_SHELL-$SHELL}
21363 export SHELL
21364 _ASEOF
21365 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21366 ## -------------------- ##
21367 ## M4sh Initialization. ##
21368 ## -------------------- ##
21370 # Be more Bourne compatible
21371 DUALCASE=1; export DUALCASE # for MKS sh
21372 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21373 emulate sh
21374 NULLCMD=:
21375 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21376 # is contrary to our usage. Disable this feature.
21377 alias -g '${1+"$@"}'='"$@"'
21378 setopt NO_GLOB_SUBST
21379 else
21380 case `(set -o) 2>/dev/null` in #(
21381 *posix*) :
21382 set -o posix ;; #(
21383 *) :
21385 esac
21389 as_nl='
21391 export as_nl
21392 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21393 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21394 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21395 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21396 # Prefer a ksh shell builtin over an external printf program on Solaris,
21397 # but without wasting forks for bash or zsh.
21398 if test -z "$BASH_VERSION$ZSH_VERSION" \
21399 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21400 as_echo='print -r --'
21401 as_echo_n='print -rn --'
21402 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21403 as_echo='printf %s\n'
21404 as_echo_n='printf %s'
21405 else
21406 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21407 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21408 as_echo_n='/usr/ucb/echo -n'
21409 else
21410 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21411 as_echo_n_body='eval
21412 arg=$1;
21413 case $arg in #(
21414 *"$as_nl"*)
21415 expr "X$arg" : "X\\(.*\\)$as_nl";
21416 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21417 esac;
21418 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21420 export as_echo_n_body
21421 as_echo_n='sh -c $as_echo_n_body as_echo'
21423 export as_echo_body
21424 as_echo='sh -c $as_echo_body as_echo'
21427 # The user is always right.
21428 if test "${PATH_SEPARATOR+set}" != set; then
21429 PATH_SEPARATOR=:
21430 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21431 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21432 PATH_SEPARATOR=';'
21437 # IFS
21438 # We need space, tab and new line, in precisely that order. Quoting is
21439 # there to prevent editors from complaining about space-tab.
21440 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21441 # splitting by setting IFS to empty value.)
21442 IFS=" "" $as_nl"
21444 # Find who we are. Look in the path if we contain no directory separator.
21445 as_myself=
21446 case $0 in #((
21447 *[\\/]* ) as_myself=$0 ;;
21448 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21449 for as_dir in $PATH
21451 IFS=$as_save_IFS
21452 test -z "$as_dir" && as_dir=.
21453 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21454 done
21455 IFS=$as_save_IFS
21458 esac
21459 # We did not find ourselves, most probably we were run as `sh COMMAND'
21460 # in which case we are not to be found in the path.
21461 if test "x$as_myself" = x; then
21462 as_myself=$0
21464 if test ! -f "$as_myself"; then
21465 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21466 exit 1
21469 # Unset variables that we do not need and which cause bugs (e.g. in
21470 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21471 # suppresses any "Segmentation fault" message there. '((' could
21472 # trigger a bug in pdksh 5.2.14.
21473 for as_var in BASH_ENV ENV MAIL MAILPATH
21474 do eval test x\${$as_var+set} = xset \
21475 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21476 done
21477 PS1='$ '
21478 PS2='> '
21479 PS4='+ '
21481 # NLS nuisances.
21482 LC_ALL=C
21483 export LC_ALL
21484 LANGUAGE=C
21485 export LANGUAGE
21487 # CDPATH.
21488 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21491 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21492 # ----------------------------------------
21493 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21494 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21495 # script with STATUS, using 1 if that was 0.
21496 as_fn_error ()
21498 as_status=$1; test $as_status -eq 0 && as_status=1
21499 if test "$4"; then
21500 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21501 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21503 $as_echo "$as_me: error: $2" >&2
21504 as_fn_exit $as_status
21505 } # as_fn_error
21508 # as_fn_set_status STATUS
21509 # -----------------------
21510 # Set $? to STATUS, without forking.
21511 as_fn_set_status ()
21513 return $1
21514 } # as_fn_set_status
21516 # as_fn_exit STATUS
21517 # -----------------
21518 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21519 as_fn_exit ()
21521 set +e
21522 as_fn_set_status $1
21523 exit $1
21524 } # as_fn_exit
21526 # as_fn_unset VAR
21527 # ---------------
21528 # Portably unset VAR.
21529 as_fn_unset ()
21531 { eval $1=; unset $1;}
21533 as_unset=as_fn_unset
21534 # as_fn_append VAR VALUE
21535 # ----------------------
21536 # Append the text in VALUE to the end of the definition contained in VAR. Take
21537 # advantage of any shell optimizations that allow amortized linear growth over
21538 # repeated appends, instead of the typical quadratic growth present in naive
21539 # implementations.
21540 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21541 eval 'as_fn_append ()
21543 eval $1+=\$2
21545 else
21546 as_fn_append ()
21548 eval $1=\$$1\$2
21550 fi # as_fn_append
21552 # as_fn_arith ARG...
21553 # ------------------
21554 # Perform arithmetic evaluation on the ARGs, and store the result in the
21555 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21556 # must be portable across $(()) and expr.
21557 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21558 eval 'as_fn_arith ()
21560 as_val=$(( $* ))
21562 else
21563 as_fn_arith ()
21565 as_val=`expr "$@" || test $? -eq 1`
21567 fi # as_fn_arith
21570 if expr a : '\(a\)' >/dev/null 2>&1 &&
21571 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21572 as_expr=expr
21573 else
21574 as_expr=false
21577 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21578 as_basename=basename
21579 else
21580 as_basename=false
21583 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21584 as_dirname=dirname
21585 else
21586 as_dirname=false
21589 as_me=`$as_basename -- "$0" ||
21590 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21591 X"$0" : 'X\(//\)$' \| \
21592 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21593 $as_echo X/"$0" |
21594 sed '/^.*\/\([^/][^/]*\)\/*$/{
21595 s//\1/
21598 /^X\/\(\/\/\)$/{
21599 s//\1/
21602 /^X\/\(\/\).*/{
21603 s//\1/
21606 s/.*/./; q'`
21608 # Avoid depending upon Character Ranges.
21609 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21610 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21611 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21612 as_cr_digits='0123456789'
21613 as_cr_alnum=$as_cr_Letters$as_cr_digits
21615 ECHO_C= ECHO_N= ECHO_T=
21616 case `echo -n x` in #(((((
21617 -n*)
21618 case `echo 'xy\c'` in
21619 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21620 xy) ECHO_C='\c';;
21621 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21622 ECHO_T=' ';;
21623 esac;;
21625 ECHO_N='-n';;
21626 esac
21628 rm -f conf$$ conf$$.exe conf$$.file
21629 if test -d conf$$.dir; then
21630 rm -f conf$$.dir/conf$$.file
21631 else
21632 rm -f conf$$.dir
21633 mkdir conf$$.dir 2>/dev/null
21635 if (echo >conf$$.file) 2>/dev/null; then
21636 if ln -s conf$$.file conf$$ 2>/dev/null; then
21637 as_ln_s='ln -s'
21638 # ... but there are two gotchas:
21639 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21640 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21641 # In both cases, we have to default to `cp -pR'.
21642 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21643 as_ln_s='cp -pR'
21644 elif ln conf$$.file conf$$ 2>/dev/null; then
21645 as_ln_s=ln
21646 else
21647 as_ln_s='cp -pR'
21649 else
21650 as_ln_s='cp -pR'
21652 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21653 rmdir conf$$.dir 2>/dev/null
21656 # as_fn_mkdir_p
21657 # -------------
21658 # Create "$as_dir" as a directory, including parents if necessary.
21659 as_fn_mkdir_p ()
21662 case $as_dir in #(
21663 -*) as_dir=./$as_dir;;
21664 esac
21665 test -d "$as_dir" || eval $as_mkdir_p || {
21666 as_dirs=
21667 while :; do
21668 case $as_dir in #(
21669 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21670 *) as_qdir=$as_dir;;
21671 esac
21672 as_dirs="'$as_qdir' $as_dirs"
21673 as_dir=`$as_dirname -- "$as_dir" ||
21674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21675 X"$as_dir" : 'X\(//\)[^/]' \| \
21676 X"$as_dir" : 'X\(//\)$' \| \
21677 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21678 $as_echo X"$as_dir" |
21679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21680 s//\1/
21683 /^X\(\/\/\)[^/].*/{
21684 s//\1/
21687 /^X\(\/\/\)$/{
21688 s//\1/
21691 /^X\(\/\).*/{
21692 s//\1/
21695 s/.*/./; q'`
21696 test -d "$as_dir" && break
21697 done
21698 test -z "$as_dirs" || eval "mkdir $as_dirs"
21699 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21702 } # as_fn_mkdir_p
21703 if mkdir -p . 2>/dev/null; then
21704 as_mkdir_p='mkdir -p "$as_dir"'
21705 else
21706 test -d ./-p && rmdir ./-p
21707 as_mkdir_p=false
21711 # as_fn_executable_p FILE
21712 # -----------------------
21713 # Test if FILE is an executable regular file.
21714 as_fn_executable_p ()
21716 test -f "$1" && test -x "$1"
21717 } # as_fn_executable_p
21718 as_test_x='test -x'
21719 as_executable_p=as_fn_executable_p
21721 # Sed expression to map a string onto a valid CPP name.
21722 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21724 # Sed expression to map a string onto a valid variable name.
21725 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21728 exec 6>&1
21729 ## ----------------------------------- ##
21730 ## Main body of $CONFIG_STATUS script. ##
21731 ## ----------------------------------- ##
21732 _ASEOF
21733 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21736 # Save the log message, to keep $0 and so on meaningful, and to
21737 # report actual input values of CONFIG_FILES etc. instead of their
21738 # values after options handling.
21739 ac_log="
21740 This file was extended by Wine $as_me 6.18, which was
21741 generated by GNU Autoconf 2.69. Invocation command line was
21743 CONFIG_FILES = $CONFIG_FILES
21744 CONFIG_HEADERS = $CONFIG_HEADERS
21745 CONFIG_LINKS = $CONFIG_LINKS
21746 CONFIG_COMMANDS = $CONFIG_COMMANDS
21747 $ $0 $@
21749 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21752 _ACEOF
21754 case $ac_config_files in *"
21755 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21756 esac
21758 case $ac_config_headers in *"
21759 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21760 esac
21763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21764 # Files that config.status was made for.
21765 config_files="$ac_config_files"
21766 config_headers="$ac_config_headers"
21767 config_links="$ac_config_links"
21768 config_commands="$ac_config_commands"
21770 _ACEOF
21772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21773 ac_cs_usage="\
21774 \`$as_me' instantiates files and other configuration actions
21775 from templates according to the current configuration. Unless the files
21776 and actions are specified as TAGs, all are instantiated by default.
21778 Usage: $0 [OPTION]... [TAG]...
21780 -h, --help print this help, then exit
21781 -V, --version print version number and configuration settings, then exit
21782 --config print configuration, then exit
21783 -q, --quiet, --silent
21784 do not print progress messages
21785 -d, --debug don't remove temporary files
21786 --recheck update $as_me by reconfiguring in the same conditions
21787 --file=FILE[:TEMPLATE]
21788 instantiate the configuration file FILE
21789 --header=FILE[:TEMPLATE]
21790 instantiate the configuration header FILE
21792 Configuration files:
21793 $config_files
21795 Configuration headers:
21796 $config_headers
21798 Configuration links:
21799 $config_links
21801 Configuration commands:
21802 $config_commands
21804 Report bugs to <wine-devel@winehq.org>.
21805 Wine home page: <https://www.winehq.org>."
21807 _ACEOF
21808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21809 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21810 ac_cs_version="\\
21811 Wine config.status 6.18
21812 configured by $0, generated by GNU Autoconf 2.69,
21813 with options \\"\$ac_cs_config\\"
21815 Copyright (C) 2012 Free Software Foundation, Inc.
21816 This config.status script is free software; the Free Software Foundation
21817 gives unlimited permission to copy, distribute and modify it."
21819 ac_pwd='$ac_pwd'
21820 srcdir='$srcdir'
21821 test -n "\$AWK" || AWK=awk
21822 _ACEOF
21824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21825 # The default lists apply if the user does not specify any file.
21826 ac_need_defaults=:
21827 while test $# != 0
21829 case $1 in
21830 --*=?*)
21831 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21832 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21833 ac_shift=:
21835 --*=)
21836 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21837 ac_optarg=
21838 ac_shift=:
21841 ac_option=$1
21842 ac_optarg=$2
21843 ac_shift=shift
21845 esac
21847 case $ac_option in
21848 # Handling of the options.
21849 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21850 ac_cs_recheck=: ;;
21851 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21852 $as_echo "$ac_cs_version"; exit ;;
21853 --config | --confi | --conf | --con | --co | --c )
21854 $as_echo "$ac_cs_config"; exit ;;
21855 --debug | --debu | --deb | --de | --d | -d )
21856 debug=: ;;
21857 --file | --fil | --fi | --f )
21858 $ac_shift
21859 case $ac_optarg in
21860 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21861 '') as_fn_error $? "missing file argument" ;;
21862 esac
21863 as_fn_append CONFIG_FILES " '$ac_optarg'"
21864 ac_need_defaults=false;;
21865 --header | --heade | --head | --hea )
21866 $ac_shift
21867 case $ac_optarg in
21868 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21869 esac
21870 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21871 ac_need_defaults=false;;
21872 --he | --h)
21873 # Conflict between --help and --header
21874 as_fn_error $? "ambiguous option: \`$1'
21875 Try \`$0 --help' for more information.";;
21876 --help | --hel | -h )
21877 $as_echo "$ac_cs_usage"; exit ;;
21878 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21879 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21880 ac_cs_silent=: ;;
21882 # This is an error.
21883 -*) as_fn_error $? "unrecognized option: \`$1'
21884 Try \`$0 --help' for more information." ;;
21886 *) as_fn_append ac_config_targets " $1"
21887 ac_need_defaults=false ;;
21889 esac
21890 shift
21891 done
21893 ac_configure_extra_args=
21895 if $ac_cs_silent; then
21896 exec 6>/dev/null
21897 ac_configure_extra_args="$ac_configure_extra_args --silent"
21900 _ACEOF
21901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21902 if \$ac_cs_recheck; then
21903 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21904 shift
21905 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21906 CONFIG_SHELL='$SHELL'
21907 export CONFIG_SHELL
21908 exec "\$@"
21911 _ACEOF
21912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21913 exec 5>>config.log
21915 echo
21916 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21917 ## Running $as_me. ##
21918 _ASBOX
21919 $as_echo "$ac_log"
21920 } >&5
21922 _ACEOF
21923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21925 # INIT-COMMANDS
21927 wine_fn_output_makedep ()
21929 as_dir=tools; as_fn_mkdir_p
21930 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21932 wine_fn_output_makefile ()
21934 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
21935 `cat $wine_rules_file`
21936 _WINE_EOF
21937 as_fn_error $? "could not create Makefile" "$LINENO" 5
21940 _ACEOF
21942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21944 # Handling of arguments.
21945 for ac_config_target in $ac_config_targets
21947 case $ac_config_target in
21948 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21949 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21950 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21951 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21952 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21953 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21954 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21956 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21957 esac
21958 done
21961 # If the user did not use the arguments to specify the items to instantiate,
21962 # then the envvar interface is used. Set only those that are not.
21963 # We use the long form for the default assignment because of an extremely
21964 # bizarre bug on SunOS 4.1.3.
21965 if $ac_need_defaults; then
21966 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21967 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21968 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21969 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21972 # Have a temporary directory for convenience. Make it in the build tree
21973 # simply because there is no reason against having it here, and in addition,
21974 # creating and moving files from /tmp can sometimes cause problems.
21975 # Hook for its removal unless debugging.
21976 # Note that there is a small window in which the directory will not be cleaned:
21977 # after its creation but before its name has been assigned to `$tmp'.
21978 $debug ||
21980 tmp= ac_tmp=
21981 trap 'exit_status=$?
21982 : "${ac_tmp:=$tmp}"
21983 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21985 trap 'as_fn_exit 1' 1 2 13 15
21987 # Create a (secure) tmp directory for tmp files.
21990 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21991 test -d "$tmp"
21992 } ||
21994 tmp=./conf$$-$RANDOM
21995 (umask 077 && mkdir "$tmp")
21996 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21997 ac_tmp=$tmp
21999 # Set up the scripts for CONFIG_FILES section.
22000 # No need to generate them if there are no CONFIG_FILES.
22001 # This happens for instance with `./config.status config.h'.
22002 if test -n "$CONFIG_FILES"; then
22005 ac_cr=`echo X | tr X '\015'`
22006 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22007 # But we know of no other shell where ac_cr would be empty at this
22008 # point, so we can use a bashism as a fallback.
22009 if test "x$ac_cr" = x; then
22010 eval ac_cr=\$\'\\r\'
22012 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22013 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22014 ac_cs_awk_cr='\\r'
22015 else
22016 ac_cs_awk_cr=$ac_cr
22019 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22020 _ACEOF
22024 echo "cat >conf$$subs.awk <<_ACEOF" &&
22025 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22026 echo "_ACEOF"
22027 } >conf$$subs.sh ||
22028 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22030 ac_delim='%!_!# '
22031 for ac_last_try in false false false false false :; do
22032 . ./conf$$subs.sh ||
22033 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22035 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22036 if test $ac_delim_n = $ac_delim_num; then
22037 break
22038 elif $ac_last_try; then
22039 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22040 else
22041 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22043 done
22044 rm -f conf$$subs.sh
22046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22047 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22048 _ACEOF
22049 sed -n '
22051 s/^/S["/; s/!.*/"]=/
22054 s/^[^!]*!//
22055 :repl
22056 t repl
22057 s/'"$ac_delim"'$//
22058 t delim
22061 s/\(.\{148\}\)..*/\1/
22062 t more1
22063 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22066 b repl
22067 :more1
22068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22071 s/.\{148\}//
22072 t nl
22073 :delim
22075 s/\(.\{148\}\)..*/\1/
22076 t more2
22077 s/["\\]/\\&/g; s/^/"/; s/$/"/
22080 :more2
22081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22084 s/.\{148\}//
22085 t delim
22086 ' <conf$$subs.awk | sed '
22087 /^[^""]/{
22089 s/\n//
22091 ' >>$CONFIG_STATUS || ac_write_fail=1
22092 rm -f conf$$subs.awk
22093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22094 _ACAWK
22095 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22096 for (key in S) S_is_set[key] = 1
22097 FS = "\a"
22101 line = $ 0
22102 nfields = split(line, field, "@")
22103 substed = 0
22104 len = length(field[1])
22105 for (i = 2; i < nfields; i++) {
22106 key = field[i]
22107 keylen = length(key)
22108 if (S_is_set[key]) {
22109 value = S[key]
22110 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22111 len += length(value) + length(field[++i])
22112 substed = 1
22113 } else
22114 len += 1 + keylen
22117 print line
22120 _ACAWK
22121 _ACEOF
22122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22123 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22124 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22125 else
22127 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22128 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22129 _ACEOF
22131 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22132 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22133 # trailing colons and then remove the whole line if VPATH becomes empty
22134 # (actually we leave an empty line to preserve line numbers).
22135 if test "x$srcdir" = x.; then
22136 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22138 s///
22139 s/^/:/
22140 s/[ ]*$/:/
22141 s/:\$(srcdir):/:/g
22142 s/:\${srcdir}:/:/g
22143 s/:@srcdir@:/:/g
22144 s/^:*//
22145 s/:*$//
22147 s/\(=[ ]*\).*/\1/
22149 s/\n//
22150 s/^[^=]*=[ ]*$//
22154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22155 fi # test -n "$CONFIG_FILES"
22157 # Set up the scripts for CONFIG_HEADERS section.
22158 # No need to generate them if there are no CONFIG_HEADERS.
22159 # This happens for instance with `./config.status Makefile'.
22160 if test -n "$CONFIG_HEADERS"; then
22161 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22162 BEGIN {
22163 _ACEOF
22165 # Transform confdefs.h into an awk script `defines.awk', embedded as
22166 # here-document in config.status, that substitutes the proper values into
22167 # config.h.in to produce config.h.
22169 # Create a delimiter string that does not exist in confdefs.h, to ease
22170 # handling of long lines.
22171 ac_delim='%!_!# '
22172 for ac_last_try in false false :; do
22173 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22174 if test -z "$ac_tt"; then
22175 break
22176 elif $ac_last_try; then
22177 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22178 else
22179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22181 done
22183 # For the awk script, D is an array of macro values keyed by name,
22184 # likewise P contains macro parameters if any. Preserve backslash
22185 # newline sequences.
22187 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22188 sed -n '
22189 s/.\{148\}/&'"$ac_delim"'/g
22190 t rset
22191 :rset
22192 s/^[ ]*#[ ]*define[ ][ ]*/ /
22193 t def
22195 :def
22196 s/\\$//
22197 t bsnl
22198 s/["\\]/\\&/g
22199 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22200 D["\1"]=" \3"/p
22201 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22203 :bsnl
22204 s/["\\]/\\&/g
22205 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22206 D["\1"]=" \3\\\\\\n"\\/p
22207 t cont
22208 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22209 t cont
22211 :cont
22213 s/.\{148\}/&'"$ac_delim"'/g
22214 t clear
22215 :clear
22216 s/\\$//
22217 t bsnlc
22218 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22220 :bsnlc
22221 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22222 b cont
22223 ' <confdefs.h | sed '
22224 s/'"$ac_delim"'/"\\\
22225 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22228 for (key in D) D_is_set[key] = 1
22229 FS = "\a"
22231 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22232 line = \$ 0
22233 split(line, arg, " ")
22234 if (arg[1] == "#") {
22235 defundef = arg[2]
22236 mac1 = arg[3]
22237 } else {
22238 defundef = substr(arg[1], 2)
22239 mac1 = arg[2]
22241 split(mac1, mac2, "(") #)
22242 macro = mac2[1]
22243 prefix = substr(line, 1, index(line, defundef) - 1)
22244 if (D_is_set[macro]) {
22245 # Preserve the white space surrounding the "#".
22246 print prefix "define", macro P[macro] D[macro]
22247 next
22248 } else {
22249 # Replace #undef with comments. This is necessary, for example,
22250 # in the case of _POSIX_SOURCE, which is predefined and required
22251 # on some systems where configure will not decide to define it.
22252 if (defundef == "undef") {
22253 print "/*", prefix defundef, macro, "*/"
22254 next
22258 { print }
22259 _ACAWK
22260 _ACEOF
22261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22262 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22263 fi # test -n "$CONFIG_HEADERS"
22266 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22267 shift
22268 for ac_tag
22270 case $ac_tag in
22271 :[FHLC]) ac_mode=$ac_tag; continue;;
22272 esac
22273 case $ac_mode$ac_tag in
22274 :[FHL]*:*);;
22275 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22276 :[FH]-) ac_tag=-:-;;
22277 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22278 esac
22279 ac_save_IFS=$IFS
22280 IFS=:
22281 set x $ac_tag
22282 IFS=$ac_save_IFS
22283 shift
22284 ac_file=$1
22285 shift
22287 case $ac_mode in
22288 :L) ac_source=$1;;
22289 :[FH])
22290 ac_file_inputs=
22291 for ac_f
22293 case $ac_f in
22294 -) ac_f="$ac_tmp/stdin";;
22295 *) # Look for the file first in the build tree, then in the source tree
22296 # (if the path is not absolute). The absolute path cannot be DOS-style,
22297 # because $ac_f cannot contain `:'.
22298 test -f "$ac_f" ||
22299 case $ac_f in
22300 [\\/$]*) false;;
22301 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22302 esac ||
22303 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22304 esac
22305 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22306 as_fn_append ac_file_inputs " '$ac_f'"
22307 done
22309 # Let's still pretend it is `configure' which instantiates (i.e., don't
22310 # use $as_me), people would be surprised to read:
22311 # /* config.h. Generated by config.status. */
22312 configure_input='Generated from '`
22313 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22314 `' by configure.'
22315 if test x"$ac_file" != x-; then
22316 configure_input="$ac_file. $configure_input"
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22318 $as_echo "$as_me: creating $ac_file" >&6;}
22320 # Neutralize special characters interpreted by sed in replacement strings.
22321 case $configure_input in #(
22322 *\&* | *\|* | *\\* )
22323 ac_sed_conf_input=`$as_echo "$configure_input" |
22324 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22325 *) ac_sed_conf_input=$configure_input;;
22326 esac
22328 case $ac_tag in
22329 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22330 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22331 esac
22333 esac
22335 ac_dir=`$as_dirname -- "$ac_file" ||
22336 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22337 X"$ac_file" : 'X\(//\)[^/]' \| \
22338 X"$ac_file" : 'X\(//\)$' \| \
22339 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22340 $as_echo X"$ac_file" |
22341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22342 s//\1/
22345 /^X\(\/\/\)[^/].*/{
22346 s//\1/
22349 /^X\(\/\/\)$/{
22350 s//\1/
22353 /^X\(\/\).*/{
22354 s//\1/
22357 s/.*/./; q'`
22358 as_dir="$ac_dir"; as_fn_mkdir_p
22359 ac_builddir=.
22361 case "$ac_dir" in
22362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22365 # A ".." for each directory in $ac_dir_suffix.
22366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22367 case $ac_top_builddir_sub in
22368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22370 esac ;;
22371 esac
22372 ac_abs_top_builddir=$ac_pwd
22373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22374 # for backward compatibility:
22375 ac_top_builddir=$ac_top_build_prefix
22377 case $srcdir in
22378 .) # We are building in place.
22379 ac_srcdir=.
22380 ac_top_srcdir=$ac_top_builddir_sub
22381 ac_abs_top_srcdir=$ac_pwd ;;
22382 [\\/]* | ?:[\\/]* ) # Absolute name.
22383 ac_srcdir=$srcdir$ac_dir_suffix;
22384 ac_top_srcdir=$srcdir
22385 ac_abs_top_srcdir=$srcdir ;;
22386 *) # Relative name.
22387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22388 ac_top_srcdir=$ac_top_build_prefix$srcdir
22389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22390 esac
22391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22394 case $ac_mode in
22397 # CONFIG_FILE
22400 _ACEOF
22402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22403 # If the template does not know about datarootdir, expand it.
22404 # FIXME: This hack should be removed a few years after 2.60.
22405 ac_datarootdir_hack=; ac_datarootdir_seen=
22406 ac_sed_dataroot='
22407 /datarootdir/ {
22411 /@datadir@/p
22412 /@docdir@/p
22413 /@infodir@/p
22414 /@localedir@/p
22415 /@mandir@/p'
22416 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22417 *datarootdir*) ac_datarootdir_seen=yes;;
22418 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22420 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22421 _ACEOF
22422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22423 ac_datarootdir_hack='
22424 s&@datadir@&$datadir&g
22425 s&@docdir@&$docdir&g
22426 s&@infodir@&$infodir&g
22427 s&@localedir@&$localedir&g
22428 s&@mandir@&$mandir&g
22429 s&\\\${datarootdir}&$datarootdir&g' ;;
22430 esac
22431 _ACEOF
22433 # Neutralize VPATH when `$srcdir' = `.'.
22434 # Shell code in configure.ac might set extrasub.
22435 # FIXME: do we really want to maintain this feature?
22436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22437 ac_sed_extra="$ac_vpsub
22438 $extrasub
22439 _ACEOF
22440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22442 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22443 s|@configure_input@|$ac_sed_conf_input|;t t
22444 s&@top_builddir@&$ac_top_builddir_sub&;t t
22445 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22446 s&@srcdir@&$ac_srcdir&;t t
22447 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22448 s&@top_srcdir@&$ac_top_srcdir&;t t
22449 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22450 s&@builddir@&$ac_builddir&;t t
22451 s&@abs_builddir@&$ac_abs_builddir&;t t
22452 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22453 $ac_datarootdir_hack
22455 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22456 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22458 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22459 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22460 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22461 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22463 which seems to be undefined. Please make sure it is defined" >&5
22464 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22465 which seems to be undefined. Please make sure it is defined" >&2;}
22467 rm -f "$ac_tmp/stdin"
22468 case $ac_file in
22469 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22470 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22471 esac \
22472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22476 # CONFIG_HEADER
22478 if test x"$ac_file" != x-; then
22480 $as_echo "/* $configure_input */" \
22481 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22482 } >"$ac_tmp/config.h" \
22483 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22484 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22486 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22487 else
22488 rm -f "$ac_file"
22489 mv "$ac_tmp/config.h" "$ac_file" \
22490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22492 else
22493 $as_echo "/* $configure_input */" \
22494 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22495 || as_fn_error $? "could not create -" "$LINENO" 5
22500 # CONFIG_LINK
22503 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22505 else
22506 # Prefer the file from the source tree if names are identical.
22507 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22508 ac_source=$srcdir/$ac_source
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22512 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22514 if test ! -r "$ac_source"; then
22515 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22517 rm -f "$ac_file"
22519 # Try a relative symlink, then a hard link, then a copy.
22520 case $ac_source in
22521 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22522 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22523 esac
22524 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22525 ln "$ac_source" "$ac_file" 2>/dev/null ||
22526 cp -p "$ac_source" "$ac_file" ||
22527 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22530 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22531 $as_echo "$as_me: executing $ac_file commands" >&6;}
22533 esac
22536 case $ac_file$ac_mode in
22537 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22538 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22539 "Makefile":C) wine_fn_output_makefile Makefile ;;
22541 esac
22542 done # for ac_tag
22545 as_fn_exit 0
22546 _ACEOF
22547 ac_clean_files=$ac_clean_files_save
22549 test $ac_write_fail = 0 ||
22550 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22553 # configure is writing to config.log, and then calls config.status.
22554 # config.status does its own redirection, appending to config.log.
22555 # Unfortunately, on DOS this fails, as config.log is still kept open
22556 # by configure, so config.status won't be able to write to it; its
22557 # output is simply discarded. So we exec the FD to /dev/null,
22558 # effectively closing config.log, so it can be properly (re)opened and
22559 # appended to by config.status. When coming back to configure, we
22560 # need to make the FD available again.
22561 if test "$no_create" != yes; then
22562 ac_cs_success=:
22563 ac_config_status_args=
22564 test "$silent" = yes &&
22565 ac_config_status_args="$ac_config_status_args --quiet"
22566 exec 5>/dev/null
22567 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22568 exec 5>>config.log
22569 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22570 # would make configure fail if this is the last instruction.
22571 $ac_cs_success || as_fn_exit 1
22573 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22575 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22579 if test "$no_create" = "yes"
22580 then
22581 exit 0
22584 ac_save_IFS="$IFS"
22585 if test "x$wine_notices" != x; then
22586 echo >&6
22587 IFS="|"
22588 for msg in $wine_notices; do
22589 IFS="$ac_save_IFS"
22590 if ${msg:+false} :; then :
22592 else
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22594 $as_echo "$as_me: $msg" >&6;}
22596 done
22598 IFS="|"
22599 for msg in $wine_warnings; do
22600 IFS="$ac_save_IFS"
22601 if ${msg:+false} :; then :
22603 else
22604 echo >&2
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22606 $as_echo "$as_me: WARNING: $msg" >&2;}
22608 done
22609 IFS="$ac_save_IFS"
22611 $as_echo "
22612 $as_me: Finished. Do '${ac_make}' to compile Wine.
22613 " >&6