widl: Support WinRT parameterized delegate type.
[wine/zf.git] / configure
blobfc6c7dede2f45e8b59ec490479eef4a1937e5156
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.2.
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.2'
584 PACKAGE_STRING='Wine 6.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
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_maintainer_mode
846 enable_silent_rules
847 enable_werror
848 with_alsa
849 with_capi
850 with_cms
851 with_coreaudio
852 with_cups
853 with_dbus
854 with_faudio
855 with_float_abi
856 with_fontconfig
857 with_freetype
858 with_gettext
859 with_gettextpo
860 with_gphoto
861 with_gnutls
862 with_gsm
863 with_gssapi
864 with_gstreamer
865 with_hal
866 with_inotify
867 with_jpeg
868 with_jxrlib
869 with_krb5
870 with_ldap
871 with_mingw
872 with_mpg123
873 with_netapi
874 with_openal
875 with_opencl
876 with_opengl
877 with_osmesa
878 with_oss
879 with_pcap
880 with_png
881 with_pthread
882 with_pulse
883 with_quicktime
884 with_sane
885 with_sdl
886 with_tiff
887 with_udev
888 with_unwind
889 with_usb
890 with_v4l2
891 with_vkd3d
892 with_vulkan
893 with_xcomposite
894 with_xcursor
895 with_xfixes
896 with_xinerama
897 with_xinput
898 with_xinput2
899 with_xml
900 with_xrandr
901 with_xrender
902 with_xshape
903 with_xshm
904 with_xslt
905 with_xxf86vm
906 with_wine_tools
907 with_wine64
908 enable_largefile
909 with_x
910 enable_acledit
911 enable_aclui
912 enable_activeds_tlb
913 enable_activeds
914 enable_actxprxy
915 enable_adsiid
916 enable_adsldp
917 enable_adsldpc
918 enable_advapi32
919 enable_advpack
920 enable_amsi
921 enable_amstream
922 enable_api_ms_win_appmodel_identity_l1_1_0
923 enable_api_ms_win_appmodel_runtime_l1_1_1
924 enable_api_ms_win_appmodel_runtime_l1_1_2
925 enable_api_ms_win_core_apiquery_l1_1_0
926 enable_api_ms_win_core_appcompat_l1_1_1
927 enable_api_ms_win_core_appinit_l1_1_0
928 enable_api_ms_win_core_atoms_l1_1_0
929 enable_api_ms_win_core_bem_l1_1_0
930 enable_api_ms_win_core_com_l1_1_0
931 enable_api_ms_win_core_com_l1_1_1
932 enable_api_ms_win_core_com_private_l1_1_0
933 enable_api_ms_win_core_comm_l1_1_0
934 enable_api_ms_win_core_console_l1_1_0
935 enable_api_ms_win_core_console_l2_1_0
936 enable_api_ms_win_core_crt_l1_1_0
937 enable_api_ms_win_core_crt_l2_1_0
938 enable_api_ms_win_core_datetime_l1_1_0
939 enable_api_ms_win_core_datetime_l1_1_1
940 enable_api_ms_win_core_debug_l1_1_0
941 enable_api_ms_win_core_debug_l1_1_1
942 enable_api_ms_win_core_delayload_l1_1_0
943 enable_api_ms_win_core_delayload_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_0
945 enable_api_ms_win_core_errorhandling_l1_1_1
946 enable_api_ms_win_core_errorhandling_l1_1_2
947 enable_api_ms_win_core_errorhandling_l1_1_3
948 enable_api_ms_win_core_fibers_l1_1_0
949 enable_api_ms_win_core_fibers_l1_1_1
950 enable_api_ms_win_core_file_ansi_l2_1_0
951 enable_api_ms_win_core_file_fromapp_l1_1_0
952 enable_api_ms_win_core_file_l1_1_0
953 enable_api_ms_win_core_file_l1_2_0
954 enable_api_ms_win_core_file_l1_2_1
955 enable_api_ms_win_core_file_l1_2_2
956 enable_api_ms_win_core_file_l2_1_0
957 enable_api_ms_win_core_file_l2_1_1
958 enable_api_ms_win_core_file_l2_1_2
959 enable_api_ms_win_core_handle_l1_1_0
960 enable_api_ms_win_core_heap_l1_1_0
961 enable_api_ms_win_core_heap_l1_2_0
962 enable_api_ms_win_core_heap_l2_1_0
963 enable_api_ms_win_core_heap_obsolete_l1_1_0
964 enable_api_ms_win_core_interlocked_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_2_0
966 enable_api_ms_win_core_io_l1_1_0
967 enable_api_ms_win_core_io_l1_1_1
968 enable_api_ms_win_core_job_l1_1_0
969 enable_api_ms_win_core_job_l2_1_0
970 enable_api_ms_win_core_kernel32_legacy_l1_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_1
972 enable_api_ms_win_core_kernel32_private_l1_1_1
973 enable_api_ms_win_core_largeinteger_l1_1_0
974 enable_api_ms_win_core_libraryloader_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_1
976 enable_api_ms_win_core_libraryloader_l1_2_0
977 enable_api_ms_win_core_libraryloader_l1_2_1
978 enable_api_ms_win_core_libraryloader_l1_2_2
979 enable_api_ms_win_core_libraryloader_l2_1_0
980 enable_api_ms_win_core_localization_l1_1_0
981 enable_api_ms_win_core_localization_l1_2_0
982 enable_api_ms_win_core_localization_l1_2_1
983 enable_api_ms_win_core_localization_l1_2_2
984 enable_api_ms_win_core_localization_l2_1_0
985 enable_api_ms_win_core_localization_obsolete_l1_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_2_0
987 enable_api_ms_win_core_localization_obsolete_l1_3_0
988 enable_api_ms_win_core_localization_private_l1_1_0
989 enable_api_ms_win_core_localregistry_l1_1_0
990 enable_api_ms_win_core_memory_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_1
992 enable_api_ms_win_core_memory_l1_1_2
993 enable_api_ms_win_core_memory_l1_1_3
994 enable_api_ms_win_core_memory_l1_1_4
995 enable_api_ms_win_core_misc_l1_1_0
996 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
997 enable_api_ms_win_core_namedpipe_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_2_0
999 enable_api_ms_win_core_namespace_l1_1_0
1000 enable_api_ms_win_core_normalization_l1_1_0
1001 enable_api_ms_win_core_path_l1_1_0
1002 enable_api_ms_win_core_privateprofile_l1_1_1
1003 enable_api_ms_win_core_processenvironment_l1_1_0
1004 enable_api_ms_win_core_processenvironment_l1_2_0
1005 enable_api_ms_win_core_processthreads_l1_1_0
1006 enable_api_ms_win_core_processthreads_l1_1_1
1007 enable_api_ms_win_core_processthreads_l1_1_2
1008 enable_api_ms_win_core_processthreads_l1_1_3
1009 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1010 enable_api_ms_win_core_profile_l1_1_0
1011 enable_api_ms_win_core_psapi_ansi_l1_1_0
1012 enable_api_ms_win_core_psapi_l1_1_0
1013 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_quirks_l1_1_0
1015 enable_api_ms_win_core_realtime_l1_1_0
1016 enable_api_ms_win_core_registry_l1_1_0
1017 enable_api_ms_win_core_registry_l2_1_0
1018 enable_api_ms_win_core_registry_l2_2_0
1019 enable_api_ms_win_core_registryuserspecific_l1_1_0
1020 enable_api_ms_win_core_rtlsupport_l1_1_0
1021 enable_api_ms_win_core_rtlsupport_l1_2_0
1022 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1023 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1024 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1025 enable_api_ms_win_core_shutdown_l1_1_0
1026 enable_api_ms_win_core_sidebyside_l1_1_0
1027 enable_api_ms_win_core_string_l1_1_0
1028 enable_api_ms_win_core_string_l2_1_0
1029 enable_api_ms_win_core_string_obsolete_l1_1_0
1030 enable_api_ms_win_core_stringansi_l1_1_0
1031 enable_api_ms_win_core_stringloader_l1_1_1
1032 enable_api_ms_win_core_synch_ansi_l1_1_0
1033 enable_api_ms_win_core_synch_l1_1_0
1034 enable_api_ms_win_core_synch_l1_2_0
1035 enable_api_ms_win_core_synch_l1_2_1
1036 enable_api_ms_win_core_sysinfo_l1_1_0
1037 enable_api_ms_win_core_sysinfo_l1_2_0
1038 enable_api_ms_win_core_sysinfo_l1_2_1
1039 enable_api_ms_win_core_systemtopology_l1_1_0
1040 enable_api_ms_win_core_threadpool_l1_1_0
1041 enable_api_ms_win_core_threadpool_l1_2_0
1042 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1043 enable_api_ms_win_core_threadpool_private_l1_1_0
1044 enable_api_ms_win_core_timezone_l1_1_0
1045 enable_api_ms_win_core_toolhelp_l1_1_0
1046 enable_api_ms_win_core_url_l1_1_0
1047 enable_api_ms_win_core_util_l1_1_0
1048 enable_api_ms_win_core_version_l1_1_0
1049 enable_api_ms_win_core_version_l1_1_1
1050 enable_api_ms_win_core_version_private_l1_1_0
1051 enable_api_ms_win_core_versionansi_l1_1_0
1052 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1053 enable_api_ms_win_core_winrt_error_l1_1_0
1054 enable_api_ms_win_core_winrt_error_l1_1_1
1055 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1056 enable_api_ms_win_core_winrt_l1_1_0
1057 enable_api_ms_win_core_winrt_registration_l1_1_0
1058 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1059 enable_api_ms_win_core_winrt_string_l1_1_0
1060 enable_api_ms_win_core_winrt_string_l1_1_1
1061 enable_api_ms_win_core_wow64_l1_1_0
1062 enable_api_ms_win_core_wow64_l1_1_1
1063 enable_api_ms_win_core_xstate_l1_1_0
1064 enable_api_ms_win_core_xstate_l2_1_0
1065 enable_api_ms_win_crt_conio_l1_1_0
1066 enable_api_ms_win_crt_convert_l1_1_0
1067 enable_api_ms_win_crt_environment_l1_1_0
1068 enable_api_ms_win_crt_filesystem_l1_1_0
1069 enable_api_ms_win_crt_heap_l1_1_0
1070 enable_api_ms_win_crt_locale_l1_1_0
1071 enable_api_ms_win_crt_math_l1_1_0
1072 enable_api_ms_win_crt_multibyte_l1_1_0
1073 enable_api_ms_win_crt_private_l1_1_0
1074 enable_api_ms_win_crt_process_l1_1_0
1075 enable_api_ms_win_crt_runtime_l1_1_0
1076 enable_api_ms_win_crt_stdio_l1_1_0
1077 enable_api_ms_win_crt_string_l1_1_0
1078 enable_api_ms_win_crt_time_l1_1_0
1079 enable_api_ms_win_crt_utility_l1_1_0
1080 enable_api_ms_win_devices_config_l1_1_0
1081 enable_api_ms_win_devices_config_l1_1_1
1082 enable_api_ms_win_devices_query_l1_1_1
1083 enable_api_ms_win_downlevel_advapi32_l1_1_0
1084 enable_api_ms_win_downlevel_advapi32_l2_1_0
1085 enable_api_ms_win_downlevel_kernel32_l2_1_0
1086 enable_api_ms_win_downlevel_normaliz_l1_1_0
1087 enable_api_ms_win_downlevel_ole32_l1_1_0
1088 enable_api_ms_win_downlevel_shell32_l1_1_0
1089 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1090 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1091 enable_api_ms_win_downlevel_user32_l1_1_0
1092 enable_api_ms_win_downlevel_version_l1_1_0
1093 enable_api_ms_win_dx_d3dkmt_l1_1_0
1094 enable_api_ms_win_eventing_classicprovider_l1_1_0
1095 enable_api_ms_win_eventing_consumer_l1_1_0
1096 enable_api_ms_win_eventing_controller_l1_1_0
1097 enable_api_ms_win_eventing_legacy_l1_1_0
1098 enable_api_ms_win_eventing_provider_l1_1_0
1099 enable_api_ms_win_eventlog_legacy_l1_1_0
1100 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1101 enable_api_ms_win_mm_joystick_l1_1_0
1102 enable_api_ms_win_mm_misc_l1_1_1
1103 enable_api_ms_win_mm_mme_l1_1_0
1104 enable_api_ms_win_mm_time_l1_1_0
1105 enable_api_ms_win_ntuser_dc_access_l1_1_0
1106 enable_api_ms_win_ntuser_rectangle_l1_1_0
1107 enable_api_ms_win_ntuser_sysparams_l1_1_0
1108 enable_api_ms_win_perf_legacy_l1_1_0
1109 enable_api_ms_win_power_base_l1_1_0
1110 enable_api_ms_win_power_setting_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1114 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1118 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1119 enable_api_ms_win_security_audit_l1_1_1
1120 enable_api_ms_win_security_base_l1_1_0
1121 enable_api_ms_win_security_base_l1_2_0
1122 enable_api_ms_win_security_base_private_l1_1_1
1123 enable_api_ms_win_security_credentials_l1_1_0
1124 enable_api_ms_win_security_cryptoapi_l1_1_0
1125 enable_api_ms_win_security_grouppolicy_l1_1_0
1126 enable_api_ms_win_security_lsalookup_l1_1_0
1127 enable_api_ms_win_security_lsalookup_l1_1_1
1128 enable_api_ms_win_security_lsalookup_l2_1_0
1129 enable_api_ms_win_security_lsalookup_l2_1_1
1130 enable_api_ms_win_security_lsapolicy_l1_1_0
1131 enable_api_ms_win_security_provider_l1_1_0
1132 enable_api_ms_win_security_sddl_l1_1_0
1133 enable_api_ms_win_security_systemfunctions_l1_1_0
1134 enable_api_ms_win_service_core_l1_1_0
1135 enable_api_ms_win_service_core_l1_1_1
1136 enable_api_ms_win_service_management_l1_1_0
1137 enable_api_ms_win_service_management_l2_1_0
1138 enable_api_ms_win_service_private_l1_1_1
1139 enable_api_ms_win_service_winsvc_l1_1_0
1140 enable_api_ms_win_service_winsvc_l1_2_0
1141 enable_api_ms_win_shcore_obsolete_l1_1_0
1142 enable_api_ms_win_shcore_scaling_l1_1_1
1143 enable_api_ms_win_shcore_stream_l1_1_0
1144 enable_api_ms_win_shcore_thread_l1_1_0
1145 enable_api_ms_win_shell_shellcom_l1_1_0
1146 enable_api_ms_win_shell_shellfolders_l1_1_0
1147 enable_apphelp
1148 enable_appwiz_cpl
1149 enable_atl
1150 enable_atl100
1151 enable_atl110
1152 enable_atl80
1153 enable_atl90
1154 enable_atlthunk
1155 enable_atmlib
1156 enable_authz
1157 enable_avicap32
1158 enable_avifil32
1159 enable_avrt
1160 enable_bcrypt
1161 enable_bluetoothapis
1162 enable_browseui
1163 enable_bthprops_cpl
1164 enable_cabinet
1165 enable_capi2032
1166 enable_cards
1167 enable_cdosys
1168 enable_cfgmgr32
1169 enable_clusapi
1170 enable_combase
1171 enable_comcat
1172 enable_comctl32
1173 enable_comdlg32
1174 enable_compstui
1175 enable_comsvcs
1176 enable_concrt140
1177 enable_connect
1178 enable_credui
1179 enable_crtdll
1180 enable_crypt32
1181 enable_cryptdlg
1182 enable_cryptdll
1183 enable_cryptext
1184 enable_cryptnet
1185 enable_cryptsp
1186 enable_cryptui
1187 enable_ctapi32
1188 enable_ctl3d32
1189 enable_d2d1
1190 enable_d3d10
1191 enable_d3d10_1
1192 enable_d3d10core
1193 enable_d3d11
1194 enable_d3d12
1195 enable_d3d8
1196 enable_d3d8thk
1197 enable_d3d9
1198 enable_d3dcompiler_33
1199 enable_d3dcompiler_34
1200 enable_d3dcompiler_35
1201 enable_d3dcompiler_36
1202 enable_d3dcompiler_37
1203 enable_d3dcompiler_38
1204 enable_d3dcompiler_39
1205 enable_d3dcompiler_40
1206 enable_d3dcompiler_41
1207 enable_d3dcompiler_42
1208 enable_d3dcompiler_43
1209 enable_d3dcompiler_46
1210 enable_d3dcompiler_47
1211 enable_d3dim
1212 enable_d3dim700
1213 enable_d3drm
1214 enable_d3dx10_33
1215 enable_d3dx10_34
1216 enable_d3dx10_35
1217 enable_d3dx10_36
1218 enable_d3dx10_37
1219 enable_d3dx10_38
1220 enable_d3dx10_39
1221 enable_d3dx10_40
1222 enable_d3dx10_41
1223 enable_d3dx10_42
1224 enable_d3dx10_43
1225 enable_d3dx11_42
1226 enable_d3dx11_43
1227 enable_d3dx9_24
1228 enable_d3dx9_25
1229 enable_d3dx9_26
1230 enable_d3dx9_27
1231 enable_d3dx9_28
1232 enable_d3dx9_29
1233 enable_d3dx9_30
1234 enable_d3dx9_31
1235 enable_d3dx9_32
1236 enable_d3dx9_33
1237 enable_d3dx9_34
1238 enable_d3dx9_35
1239 enable_d3dx9_36
1240 enable_d3dx9_37
1241 enable_d3dx9_38
1242 enable_d3dx9_39
1243 enable_d3dx9_40
1244 enable_d3dx9_41
1245 enable_d3dx9_42
1246 enable_d3dx9_43
1247 enable_d3dxof
1248 enable_davclnt
1249 enable_dbgeng
1250 enable_dbghelp
1251 enable_dciman32
1252 enable_dcomp
1253 enable_ddraw
1254 enable_ddrawex
1255 enable_devenum
1256 enable_dhcpcsvc
1257 enable_dhtmled_ocx
1258 enable_difxapi
1259 enable_dinput
1260 enable_dinput8
1261 enable_directmanipulation
1262 enable_dispex
1263 enable_dmband
1264 enable_dmcompos
1265 enable_dmime
1266 enable_dmloader
1267 enable_dmoguids
1268 enable_dmscript
1269 enable_dmstyle
1270 enable_dmsynth
1271 enable_dmusic
1272 enable_dmusic32
1273 enable_dnsapi
1274 enable_dplay
1275 enable_dplayx
1276 enable_dpnaddr
1277 enable_dpnet
1278 enable_dpnhpast
1279 enable_dpnlobby
1280 enable_dpvoice
1281 enable_dpwsockx
1282 enable_drmclien
1283 enable_dsdmo
1284 enable_dsound
1285 enable_dsquery
1286 enable_dssenh
1287 enable_dsuiext
1288 enable_dswave
1289 enable_dwmapi
1290 enable_dwrite
1291 enable_dx8vb
1292 enable_dxdiagn
1293 enable_dxerr8
1294 enable_dxerr9
1295 enable_dxgi
1296 enable_dxguid
1297 enable_dxva2
1298 enable_esent
1299 enable_evr
1300 enable_explorerframe
1301 enable_ext_ms_win_authz_context_l1_1_0
1302 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1303 enable_ext_ms_win_dwmapi_ext_l1_1_0
1304 enable_ext_ms_win_gdi_dc_create_l1_1_0
1305 enable_ext_ms_win_gdi_dc_create_l1_1_1
1306 enable_ext_ms_win_gdi_dc_l1_2_0
1307 enable_ext_ms_win_gdi_devcaps_l1_1_0
1308 enable_ext_ms_win_gdi_draw_l1_1_0
1309 enable_ext_ms_win_gdi_draw_l1_1_1
1310 enable_ext_ms_win_gdi_font_l1_1_0
1311 enable_ext_ms_win_gdi_font_l1_1_1
1312 enable_ext_ms_win_gdi_render_l1_1_0
1313 enable_ext_ms_win_kernel32_package_current_l1_1_0
1314 enable_ext_ms_win_kernel32_package_l1_1_1
1315 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1316 enable_ext_ms_win_ntuser_draw_l1_1_0
1317 enable_ext_ms_win_ntuser_gui_l1_1_0
1318 enable_ext_ms_win_ntuser_gui_l1_3_0
1319 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1320 enable_ext_ms_win_ntuser_message_l1_1_0
1321 enable_ext_ms_win_ntuser_message_l1_1_1
1322 enable_ext_ms_win_ntuser_misc_l1_1_0
1323 enable_ext_ms_win_ntuser_misc_l1_2_0
1324 enable_ext_ms_win_ntuser_misc_l1_5_1
1325 enable_ext_ms_win_ntuser_mouse_l1_1_0
1326 enable_ext_ms_win_ntuser_private_l1_1_1
1327 enable_ext_ms_win_ntuser_private_l1_3_1
1328 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1329 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1330 enable_ext_ms_win_ntuser_window_l1_1_0
1331 enable_ext_ms_win_ntuser_window_l1_1_1
1332 enable_ext_ms_win_ntuser_window_l1_1_4
1333 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1334 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1335 enable_ext_ms_win_oleacc_l1_1_0
1336 enable_ext_ms_win_ras_rasapi32_l1_1_0
1337 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1338 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1344 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1347 enable_ext_ms_win_security_credui_l1_1_0
1348 enable_ext_ms_win_security_cryptui_l1_1_0
1349 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1350 enable_ext_ms_win_shell_comdlg32_l1_1_0
1351 enable_ext_ms_win_shell_shell32_l1_2_0
1352 enable_ext_ms_win_uxtheme_themes_l1_1_0
1353 enable_faultrep
1354 enable_feclient
1355 enable_fltlib
1356 enable_fltmgr_sys
1357 enable_fntcache
1358 enable_fontsub
1359 enable_fusion
1360 enable_fwpuclnt
1361 enable_gameux
1362 enable_gdi32
1363 enable_gdiplus
1364 enable_glu32
1365 enable_gphoto2_ds
1366 enable_gpkcsp
1367 enable_hal
1368 enable_hhctrl_ocx
1369 enable_hid
1370 enable_hidclass_sys
1371 enable_hlink
1372 enable_hnetcfg
1373 enable_http_sys
1374 enable_httpapi
1375 enable_iccvid
1376 enable_icmp
1377 enable_ieframe
1378 enable_ieproxy
1379 enable_imaadp32_acm
1380 enable_imagehlp
1381 enable_imm32
1382 enable_inetcomm
1383 enable_inetcpl_cpl
1384 enable_inetmib1
1385 enable_infosoft
1386 enable_initpki
1387 enable_inkobj
1388 enable_inseng
1389 enable_iphlpapi
1390 enable_iprop
1391 enable_irprops_cpl
1392 enable_itircl
1393 enable_itss
1394 enable_joy_cpl
1395 enable_jscript
1396 enable_jsproxy
1397 enable_kerberos
1398 enable_kernel32
1399 enable_kernelbase
1400 enable_ksecdd_sys
1401 enable_ksproxy_ax
1402 enable_ksuser
1403 enable_ktmw32
1404 enable_l3codeca_acm
1405 enable_loadperf
1406 enable_localspl
1407 enable_localui
1408 enable_lz32
1409 enable_mapi32
1410 enable_mapistub
1411 enable_mciavi32
1412 enable_mcicda
1413 enable_mciqtz32
1414 enable_mciseq
1415 enable_mciwave
1416 enable_mf
1417 enable_mf3216
1418 enable_mferror
1419 enable_mfmediaengine
1420 enable_mfplat
1421 enable_mfplay
1422 enable_mfreadwrite
1423 enable_mfuuid
1424 enable_mgmtapi
1425 enable_midimap
1426 enable_mlang
1427 enable_mmcndmgr
1428 enable_mmdevapi
1429 enable_mountmgr_sys
1430 enable_mp3dmod
1431 enable_mpr
1432 enable_mprapi
1433 enable_msacm32_drv
1434 enable_msacm32
1435 enable_msado15
1436 enable_msadp32_acm
1437 enable_msasn1
1438 enable_mscat32
1439 enable_mscms
1440 enable_mscoree
1441 enable_mscorwks
1442 enable_msctf
1443 enable_msctfp
1444 enable_msdaps
1445 enable_msdelta
1446 enable_msdmo
1447 enable_msdrm
1448 enable_msftedit
1449 enable_msg711_acm
1450 enable_msgsm32_acm
1451 enable_mshtml_tlb
1452 enable_mshtml
1453 enable_msi
1454 enable_msident
1455 enable_msimg32
1456 enable_msimsg
1457 enable_msimtf
1458 enable_msisip
1459 enable_msisys_ocx
1460 enable_msls31
1461 enable_msnet32
1462 enable_mspatcha
1463 enable_msports
1464 enable_msrle32
1465 enable_msscript_ocx
1466 enable_mssign32
1467 enable_mssip32
1468 enable_mstask
1469 enable_msvcirt
1470 enable_msvcm80
1471 enable_msvcm90
1472 enable_msvcp100
1473 enable_msvcp110
1474 enable_msvcp120
1475 enable_msvcp120_app
1476 enable_msvcp140
1477 enable_msvcp140_1
1478 enable_msvcp60
1479 enable_msvcp70
1480 enable_msvcp71
1481 enable_msvcp80
1482 enable_msvcp90
1483 enable_msvcr100
1484 enable_msvcr110
1485 enable_msvcr120
1486 enable_msvcr120_app
1487 enable_msvcr70
1488 enable_msvcr71
1489 enable_msvcr80
1490 enable_msvcr90
1491 enable_msvcrt
1492 enable_msvcrt20
1493 enable_msvcrt40
1494 enable_msvcrtd
1495 enable_msvfw32
1496 enable_msvidc32
1497 enable_mswsock
1498 enable_msxml
1499 enable_msxml2
1500 enable_msxml3
1501 enable_msxml4
1502 enable_msxml6
1503 enable_mtxdm
1504 enable_ncrypt
1505 enable_nddeapi
1506 enable_ndis_sys
1507 enable_netapi32
1508 enable_netcfgx
1509 enable_netio_sys
1510 enable_netprofm
1511 enable_netutils
1512 enable_newdev
1513 enable_ninput
1514 enable_normaliz
1515 enable_npmshtml
1516 enable_npptools
1517 enable_ntdll
1518 enable_ntdsapi
1519 enable_ntoskrnl_exe
1520 enable_ntprint
1521 enable_objsel
1522 enable_odbc32
1523 enable_odbcbcp
1524 enable_odbccp32
1525 enable_odbccu32
1526 enable_ole32
1527 enable_oleacc
1528 enable_oleaut32
1529 enable_olecli32
1530 enable_oledb32
1531 enable_oledlg
1532 enable_olepro32
1533 enable_olesvr32
1534 enable_olethk32
1535 enable_opcservices
1536 enable_openal32
1537 enable_opencl
1538 enable_opengl32
1539 enable_packager
1540 enable_pdh
1541 enable_photometadatahandler
1542 enable_pidgen
1543 enable_powrprof
1544 enable_printui
1545 enable_prntvpt
1546 enable_propsys
1547 enable_psapi
1548 enable_pstorec
1549 enable_pwrshplugin
1550 enable_qasf
1551 enable_qcap
1552 enable_qdvd
1553 enable_qedit
1554 enable_qmgr
1555 enable_qmgrprxy
1556 enable_quartz
1557 enable_query
1558 enable_qwave
1559 enable_rasapi32
1560 enable_rasdlg
1561 enable_regapi
1562 enable_resutils
1563 enable_riched20
1564 enable_riched32
1565 enable_rpcrt4
1566 enable_rsabase
1567 enable_rsaenh
1568 enable_rstrtmgr
1569 enable_rtutils
1570 enable_rtworkq
1571 enable_samlib
1572 enable_sane_ds
1573 enable_sapi
1574 enable_sas
1575 enable_scarddlg
1576 enable_sccbase
1577 enable_schannel
1578 enable_schedsvc
1579 enable_scrobj
1580 enable_scrrun
1581 enable_scsiport_sys
1582 enable_sechost
1583 enable_secur32
1584 enable_security
1585 enable_sensapi
1586 enable_serialui
1587 enable_setupapi
1588 enable_sfc
1589 enable_sfc_os
1590 enable_shcore
1591 enable_shdoclc
1592 enable_shdocvw
1593 enable_shell32
1594 enable_shfolder
1595 enable_shlwapi
1596 enable_slbcsp
1597 enable_slc
1598 enable_snmpapi
1599 enable_softpub
1600 enable_spoolss
1601 enable_srclient
1602 enable_srvcli
1603 enable_sspicli
1604 enable_stdole2_tlb
1605 enable_stdole32_tlb
1606 enable_sti
1607 enable_strmbase
1608 enable_strmdll
1609 enable_strmiids
1610 enable_svrapi
1611 enable_sxs
1612 enable_t2embed
1613 enable_tapi32
1614 enable_taskschd
1615 enable_tdh
1616 enable_tdi_sys
1617 enable_traffic
1618 enable_twain_32
1619 enable_tzres
1620 enable_ucrtbase
1621 enable_uianimation
1622 enable_uiautomationcore
1623 enable_uiribbon
1624 enable_unicows
1625 enable_updspapi
1626 enable_url
1627 enable_urlmon
1628 enable_usbd_sys
1629 enable_user32
1630 enable_userenv
1631 enable_usp10
1632 enable_utildll
1633 enable_uuid
1634 enable_uxtheme
1635 enable_vbscript
1636 enable_vcomp
1637 enable_vcomp100
1638 enable_vcomp110
1639 enable_vcomp120
1640 enable_vcomp140
1641 enable_vcomp90
1642 enable_vcruntime140
1643 enable_vcruntime140_1
1644 enable_vdmdbg
1645 enable_version
1646 enable_vga
1647 enable_virtdisk
1648 enable_vssapi
1649 enable_vulkan_1
1650 enable_wbemdisp
1651 enable_wbemprox
1652 enable_wbemuuid
1653 enable_wdscore
1654 enable_webservices
1655 enable_wer
1656 enable_wevtapi
1657 enable_wevtsvc
1658 enable_wiaservc
1659 enable_wimgapi
1660 enable_windowscodecs
1661 enable_windowscodecsext
1662 enable_winealsa_drv
1663 enable_wineandroid_drv
1664 enable_winebus_sys
1665 enable_winecoreaudio_drv
1666 enable_winecrt0
1667 enable_wined3d
1668 enable_winegstreamer
1669 enable_winehid_sys
1670 enable_winejoystick_drv
1671 enable_winemac_drv
1672 enable_winemapi
1673 enable_wineoss_drv
1674 enable_wineps_drv
1675 enable_winepulse_drv
1676 enable_wineqtdecoder
1677 enable_wineusb_sys
1678 enable_winevulkan
1679 enable_winex11_drv
1680 enable_wing32
1681 enable_winhttp
1682 enable_wininet
1683 enable_winmm
1684 enable_winnls32
1685 enable_winscard
1686 enable_winspool_drv
1687 enable_winsta
1688 enable_wintab32
1689 enable_wintrust
1690 enable_winusb
1691 enable_wlanapi
1692 enable_wlanui
1693 enable_wldap32
1694 enable_wmasf
1695 enable_wmcodecdspuuid
1696 enable_wmi
1697 enable_wmiutils
1698 enable_wmp
1699 enable_wmphoto
1700 enable_wmvcore
1701 enable_wnaspi32
1702 enable_wpc
1703 enable_wpcap
1704 enable_ws2_32
1705 enable_wsdapi
1706 enable_wshom_ocx
1707 enable_wsnmp32
1708 enable_wsock32
1709 enable_wtsapi32
1710 enable_wuapi
1711 enable_wuaueng
1712 enable_x3daudio1_0
1713 enable_x3daudio1_1
1714 enable_x3daudio1_2
1715 enable_x3daudio1_3
1716 enable_x3daudio1_4
1717 enable_x3daudio1_5
1718 enable_x3daudio1_6
1719 enable_x3daudio1_7
1720 enable_xactengine3_0
1721 enable_xactengine3_1
1722 enable_xactengine3_2
1723 enable_xactengine3_3
1724 enable_xactengine3_4
1725 enable_xactengine3_5
1726 enable_xactengine3_6
1727 enable_xactengine3_7
1728 enable_xapofx1_1
1729 enable_xapofx1_2
1730 enable_xapofx1_3
1731 enable_xapofx1_4
1732 enable_xapofx1_5
1733 enable_xaudio2_0
1734 enable_xaudio2_1
1735 enable_xaudio2_2
1736 enable_xaudio2_3
1737 enable_xaudio2_4
1738 enable_xaudio2_5
1739 enable_xaudio2_6
1740 enable_xaudio2_7
1741 enable_xaudio2_8
1742 enable_xaudio2_9
1743 enable_xinput1_1
1744 enable_xinput1_2
1745 enable_xinput1_3
1746 enable_xinput1_4
1747 enable_xinput9_1_0
1748 enable_xmllite
1749 enable_xolehlp
1750 enable_xpsprint
1751 enable_xpssvcs
1752 enable_fonts
1753 enable_include
1754 enable_port
1755 enable_wine
1756 enable_wpp
1757 enable_loader
1758 enable_nls
1759 enable_po
1760 enable_arp
1761 enable_aspnet_regiis
1762 enable_attrib
1763 enable_cabarc
1764 enable_cacls
1765 enable_chcp_com
1766 enable_clock
1767 enable_cmd
1768 enable_conhost
1769 enable_control
1770 enable_cscript
1771 enable_dism
1772 enable_dplaysvr
1773 enable_dpnsvr
1774 enable_dpvsetup
1775 enable_dxdiag
1776 enable_eject
1777 enable_expand
1778 enable_explorer
1779 enable_extrac32
1780 enable_fc
1781 enable_find
1782 enable_findstr
1783 enable_fsutil
1784 enable_hh
1785 enable_hostname
1786 enable_icacls
1787 enable_icinfo
1788 enable_iexplore
1789 enable_ipconfig
1790 enable_lodctr
1791 enable_mofcomp
1792 enable_mshta
1793 enable_msidb
1794 enable_msiexec
1795 enable_msinfo32
1796 enable_net
1797 enable_netsh
1798 enable_netstat
1799 enable_ngen
1800 enable_notepad
1801 enable_oleview
1802 enable_ping
1803 enable_plugplay
1804 enable_powershell
1805 enable_presentationfontcache
1806 enable_progman
1807 enable_reg
1808 enable_regasm
1809 enable_regedit
1810 enable_regini
1811 enable_regsvcs
1812 enable_regsvr32
1813 enable_rpcss
1814 enable_rundll32
1815 enable_sc
1816 enable_schtasks
1817 enable_sdbinst
1818 enable_secedit
1819 enable_servicemodelreg
1820 enable_services
1821 enable_shutdown
1822 enable_spoolsv
1823 enable_start
1824 enable_subst
1825 enable_svchost
1826 enable_systeminfo
1827 enable_taskkill
1828 enable_tasklist
1829 enable_taskmgr
1830 enable_termsv
1831 enable_uninstaller
1832 enable_unlodctr
1833 enable_view
1834 enable_wevtutil
1835 enable_where
1836 enable_whoami
1837 enable_wineboot
1838 enable_winebrowser
1839 enable_winecfg
1840 enable_wineconsole
1841 enable_winedbg
1842 enable_winedevice
1843 enable_winefile
1844 enable_winemenubuilder
1845 enable_winemine
1846 enable_winemsibuilder
1847 enable_winepath
1848 enable_winetest
1849 enable_winhlp32
1850 enable_winmgmt
1851 enable_winver
1852 enable_wmic
1853 enable_wmplayer
1854 enable_wordpad
1855 enable_write
1856 enable_wscript
1857 enable_wuauserv
1858 enable_wusa
1859 enable_xcopy
1860 enable_server
1861 enable_tools
1862 enable_sfnt2fon
1863 enable_widl
1864 enable_winebuild
1865 enable_winedump
1866 enable_winegcc
1867 enable_winemaker
1868 enable_wmc
1869 enable_wrc
1871 ac_precious_vars='build_alias
1872 host_alias
1873 target_alias
1875 CFLAGS
1876 LDFLAGS
1877 LIBS
1878 CPPFLAGS
1880 CXXFLAGS
1883 OBJC
1884 OBJCFLAGS
1885 OBJCPP
1886 XMKMF
1887 XML2_CFLAGS
1888 XML2_LIBS
1889 XSLT_CFLAGS
1890 XSLT_LIBS
1891 INOTIFY_CFLAGS
1892 INOTIFY_LIBS
1893 DBUS_CFLAGS
1894 DBUS_LIBS
1895 HAL_CFLAGS
1896 HAL_LIBS
1897 GNUTLS_CFLAGS
1898 GNUTLS_LIBS
1899 SANE_CFLAGS
1900 SANE_LIBS
1901 USB_CFLAGS
1902 USB_LIBS
1903 GPHOTO2_CFLAGS
1904 GPHOTO2_LIBS
1905 GPHOTO2_PORT_CFLAGS
1906 GPHOTO2_PORT_LIBS
1907 LCMS2_CFLAGS
1908 LCMS2_LIBS
1909 FREETYPE_CFLAGS
1910 FREETYPE_LIBS
1911 PULSE_CFLAGS
1912 PULSE_LIBS
1913 GSTREAMER_CFLAGS
1914 GSTREAMER_LIBS
1915 UDEV_CFLAGS
1916 UDEV_LIBS
1917 UNWIND_CFLAGS
1918 UNWIND_LIBS
1919 SDL2_CFLAGS
1920 SDL2_LIBS
1921 FAUDIO_CFLAGS
1922 FAUDIO_LIBS
1923 CAPI20_CFLAGS
1924 CAPI20_LIBS
1925 CUPS_CFLAGS
1926 CUPS_LIBS
1927 FONTCONFIG_CFLAGS
1928 FONTCONFIG_LIBS
1929 KRB5_CFLAGS
1930 KRB5_LIBS
1931 GSSAPI_CFLAGS
1932 GSSAPI_LIBS
1933 JPEG_CFLAGS
1934 JPEG_LIBS
1935 JXRLIB_CFLAGS
1936 JXRLIB_LIBS
1937 PNG_CFLAGS
1938 PNG_LIBS
1939 TIFF_CFLAGS
1940 TIFF_LIBS
1941 MPG123_CFLAGS
1942 MPG123_LIBS
1943 NETAPI_CFLAGS
1944 NETAPI_LIBS
1945 VKD3D_CFLAGS
1946 VKD3D_LIBS
1947 VKD3D_SHADER_CFLAGS
1948 VKD3D_SHADER_LIBS
1949 LDAP_CFLAGS
1950 LDAP_LIBS'
1953 # Initialize some variables set by options.
1954 ac_init_help=
1955 ac_init_version=false
1956 ac_unrecognized_opts=
1957 ac_unrecognized_sep=
1958 # The variables have the same names as the options, with
1959 # dashes changed to underlines.
1960 cache_file=/dev/null
1961 exec_prefix=NONE
1962 no_create=
1963 no_recursion=
1964 prefix=NONE
1965 program_prefix=NONE
1966 program_suffix=NONE
1967 program_transform_name=s,x,x,
1968 silent=
1969 site=
1970 srcdir=
1971 verbose=
1972 x_includes=NONE
1973 x_libraries=NONE
1975 # Installation directory options.
1976 # These are left unexpanded so users can "make install exec_prefix=/foo"
1977 # and all the variables that are supposed to be based on exec_prefix
1978 # by default will actually change.
1979 # Use braces instead of parens because sh, perl, etc. also accept them.
1980 # (The list follows the same order as the GNU Coding Standards.)
1981 bindir='${exec_prefix}/bin'
1982 sbindir='${exec_prefix}/sbin'
1983 libexecdir='${exec_prefix}/libexec'
1984 datarootdir='${prefix}/share'
1985 datadir='${datarootdir}'
1986 sysconfdir='${prefix}/etc'
1987 sharedstatedir='${prefix}/com'
1988 localstatedir='${prefix}/var'
1989 runstatedir='${localstatedir}/run'
1990 includedir='${prefix}/include'
1991 oldincludedir='/usr/include'
1992 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1993 infodir='${datarootdir}/info'
1994 htmldir='${docdir}'
1995 dvidir='${docdir}'
1996 pdfdir='${docdir}'
1997 psdir='${docdir}'
1998 libdir='${exec_prefix}/lib'
1999 localedir='${datarootdir}/locale'
2000 mandir='${datarootdir}/man'
2002 ac_prev=
2003 ac_dashdash=
2004 for ac_option
2006 # If the previous option needs an argument, assign it.
2007 if test -n "$ac_prev"; then
2008 eval $ac_prev=\$ac_option
2009 ac_prev=
2010 continue
2013 case $ac_option in
2014 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2015 *=) ac_optarg= ;;
2016 *) ac_optarg=yes ;;
2017 esac
2019 # Accept the important Cygnus configure options, so we can diagnose typos.
2021 case $ac_dashdash$ac_option in
2023 ac_dashdash=yes ;;
2025 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2026 ac_prev=bindir ;;
2027 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2028 bindir=$ac_optarg ;;
2030 -build | --build | --buil | --bui | --bu)
2031 ac_prev=build_alias ;;
2032 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2033 build_alias=$ac_optarg ;;
2035 -cache-file | --cache-file | --cache-fil | --cache-fi \
2036 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2037 ac_prev=cache_file ;;
2038 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2039 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2040 cache_file=$ac_optarg ;;
2042 --config-cache | -C)
2043 cache_file=config.cache ;;
2045 -datadir | --datadir | --datadi | --datad)
2046 ac_prev=datadir ;;
2047 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2048 datadir=$ac_optarg ;;
2050 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2051 | --dataroo | --dataro | --datar)
2052 ac_prev=datarootdir ;;
2053 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2054 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2055 datarootdir=$ac_optarg ;;
2057 -disable-* | --disable-*)
2058 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2059 # Reject names that are not valid shell variable names.
2060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2061 as_fn_error $? "invalid feature name: $ac_useropt"
2062 ac_useropt_orig=$ac_useropt
2063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2064 case $ac_user_opts in
2066 "enable_$ac_useropt"
2067 "*) ;;
2068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2069 ac_unrecognized_sep=', ';;
2070 esac
2071 eval enable_$ac_useropt=no ;;
2073 -docdir | --docdir | --docdi | --doc | --do)
2074 ac_prev=docdir ;;
2075 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2076 docdir=$ac_optarg ;;
2078 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2079 ac_prev=dvidir ;;
2080 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2081 dvidir=$ac_optarg ;;
2083 -enable-* | --enable-*)
2084 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2085 # Reject names that are not valid shell variable names.
2086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2087 as_fn_error $? "invalid feature name: $ac_useropt"
2088 ac_useropt_orig=$ac_useropt
2089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2090 case $ac_user_opts in
2092 "enable_$ac_useropt"
2093 "*) ;;
2094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2095 ac_unrecognized_sep=', ';;
2096 esac
2097 eval enable_$ac_useropt=\$ac_optarg ;;
2099 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2100 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2101 | --exec | --exe | --ex)
2102 ac_prev=exec_prefix ;;
2103 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2104 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2105 | --exec=* | --exe=* | --ex=*)
2106 exec_prefix=$ac_optarg ;;
2108 -gas | --gas | --ga | --g)
2109 # Obsolete; use --with-gas.
2110 with_gas=yes ;;
2112 -help | --help | --hel | --he | -h)
2113 ac_init_help=long ;;
2114 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2115 ac_init_help=recursive ;;
2116 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2117 ac_init_help=short ;;
2119 -host | --host | --hos | --ho)
2120 ac_prev=host_alias ;;
2121 -host=* | --host=* | --hos=* | --ho=*)
2122 host_alias=$ac_optarg ;;
2124 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2125 ac_prev=htmldir ;;
2126 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2127 | --ht=*)
2128 htmldir=$ac_optarg ;;
2130 -includedir | --includedir | --includedi | --included | --include \
2131 | --includ | --inclu | --incl | --inc)
2132 ac_prev=includedir ;;
2133 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2134 | --includ=* | --inclu=* | --incl=* | --inc=*)
2135 includedir=$ac_optarg ;;
2137 -infodir | --infodir | --infodi | --infod | --info | --inf)
2138 ac_prev=infodir ;;
2139 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2140 infodir=$ac_optarg ;;
2142 -libdir | --libdir | --libdi | --libd)
2143 ac_prev=libdir ;;
2144 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2145 libdir=$ac_optarg ;;
2147 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2148 | --libexe | --libex | --libe)
2149 ac_prev=libexecdir ;;
2150 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2151 | --libexe=* | --libex=* | --libe=*)
2152 libexecdir=$ac_optarg ;;
2154 -localedir | --localedir | --localedi | --localed | --locale)
2155 ac_prev=localedir ;;
2156 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2157 localedir=$ac_optarg ;;
2159 -localstatedir | --localstatedir | --localstatedi | --localstated \
2160 | --localstate | --localstat | --localsta | --localst | --locals)
2161 ac_prev=localstatedir ;;
2162 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2163 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2164 localstatedir=$ac_optarg ;;
2166 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2167 ac_prev=mandir ;;
2168 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2169 mandir=$ac_optarg ;;
2171 -nfp | --nfp | --nf)
2172 # Obsolete; use --without-fp.
2173 with_fp=no ;;
2175 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2176 | --no-cr | --no-c | -n)
2177 no_create=yes ;;
2179 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2180 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2181 no_recursion=yes ;;
2183 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2184 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2185 | --oldin | --oldi | --old | --ol | --o)
2186 ac_prev=oldincludedir ;;
2187 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2188 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2189 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2190 oldincludedir=$ac_optarg ;;
2192 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2193 ac_prev=prefix ;;
2194 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2195 prefix=$ac_optarg ;;
2197 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2198 | --program-pre | --program-pr | --program-p)
2199 ac_prev=program_prefix ;;
2200 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2201 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2202 program_prefix=$ac_optarg ;;
2204 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2205 | --program-suf | --program-su | --program-s)
2206 ac_prev=program_suffix ;;
2207 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2208 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2209 program_suffix=$ac_optarg ;;
2211 -program-transform-name | --program-transform-name \
2212 | --program-transform-nam | --program-transform-na \
2213 | --program-transform-n | --program-transform- \
2214 | --program-transform | --program-transfor \
2215 | --program-transfo | --program-transf \
2216 | --program-trans | --program-tran \
2217 | --progr-tra | --program-tr | --program-t)
2218 ac_prev=program_transform_name ;;
2219 -program-transform-name=* | --program-transform-name=* \
2220 | --program-transform-nam=* | --program-transform-na=* \
2221 | --program-transform-n=* | --program-transform-=* \
2222 | --program-transform=* | --program-transfor=* \
2223 | --program-transfo=* | --program-transf=* \
2224 | --program-trans=* | --program-tran=* \
2225 | --progr-tra=* | --program-tr=* | --program-t=*)
2226 program_transform_name=$ac_optarg ;;
2228 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2229 ac_prev=pdfdir ;;
2230 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2231 pdfdir=$ac_optarg ;;
2233 -psdir | --psdir | --psdi | --psd | --ps)
2234 ac_prev=psdir ;;
2235 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2236 psdir=$ac_optarg ;;
2238 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2239 | -silent | --silent | --silen | --sile | --sil)
2240 silent=yes ;;
2242 -runstatedir | --runstatedir | --runstatedi | --runstated \
2243 | --runstate | --runstat | --runsta | --runst | --runs \
2244 | --run | --ru | --r)
2245 ac_prev=runstatedir ;;
2246 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2247 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2248 | --run=* | --ru=* | --r=*)
2249 runstatedir=$ac_optarg ;;
2251 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2252 ac_prev=sbindir ;;
2253 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2254 | --sbi=* | --sb=*)
2255 sbindir=$ac_optarg ;;
2257 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2258 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2259 | --sharedst | --shareds | --shared | --share | --shar \
2260 | --sha | --sh)
2261 ac_prev=sharedstatedir ;;
2262 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2263 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2264 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2265 | --sha=* | --sh=*)
2266 sharedstatedir=$ac_optarg ;;
2268 -site | --site | --sit)
2269 ac_prev=site ;;
2270 -site=* | --site=* | --sit=*)
2271 site=$ac_optarg ;;
2273 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2274 ac_prev=srcdir ;;
2275 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2276 srcdir=$ac_optarg ;;
2278 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2279 | --syscon | --sysco | --sysc | --sys | --sy)
2280 ac_prev=sysconfdir ;;
2281 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2282 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2283 sysconfdir=$ac_optarg ;;
2285 -target | --target | --targe | --targ | --tar | --ta | --t)
2286 ac_prev=target_alias ;;
2287 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2288 target_alias=$ac_optarg ;;
2290 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2291 verbose=yes ;;
2293 -version | --version | --versio | --versi | --vers | -V)
2294 ac_init_version=: ;;
2296 -with-* | --with-*)
2297 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2298 # Reject names that are not valid shell variable names.
2299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2300 as_fn_error $? "invalid package name: $ac_useropt"
2301 ac_useropt_orig=$ac_useropt
2302 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2303 case $ac_user_opts in
2305 "with_$ac_useropt"
2306 "*) ;;
2307 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2308 ac_unrecognized_sep=', ';;
2309 esac
2310 eval with_$ac_useropt=\$ac_optarg ;;
2312 -without-* | --without-*)
2313 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2314 # Reject names that are not valid shell variable names.
2315 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2316 as_fn_error $? "invalid package name: $ac_useropt"
2317 ac_useropt_orig=$ac_useropt
2318 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2319 case $ac_user_opts in
2321 "with_$ac_useropt"
2322 "*) ;;
2323 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2324 ac_unrecognized_sep=', ';;
2325 esac
2326 eval with_$ac_useropt=no ;;
2328 --x)
2329 # Obsolete; use --with-x.
2330 with_x=yes ;;
2332 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2333 | --x-incl | --x-inc | --x-in | --x-i)
2334 ac_prev=x_includes ;;
2335 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2336 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2337 x_includes=$ac_optarg ;;
2339 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2340 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2341 ac_prev=x_libraries ;;
2342 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2343 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2344 x_libraries=$ac_optarg ;;
2346 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2347 Try \`$0 --help' for more information"
2350 *=*)
2351 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2352 # Reject names that are not valid shell variable names.
2353 case $ac_envvar in #(
2354 '' | [0-9]* | *[!_$as_cr_alnum]* )
2355 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2356 esac
2357 eval $ac_envvar=\$ac_optarg
2358 export $ac_envvar ;;
2361 # FIXME: should be removed in autoconf 3.0.
2362 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2363 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2364 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2365 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2368 esac
2369 done
2371 if test -n "$ac_prev"; then
2372 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2373 as_fn_error $? "missing argument to $ac_option"
2376 if test -n "$ac_unrecognized_opts"; then
2377 case $enable_option_checking in
2378 no) ;;
2379 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2380 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2381 esac
2384 # Check all directory arguments for consistency.
2385 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2386 datadir sysconfdir sharedstatedir localstatedir includedir \
2387 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2388 libdir localedir mandir runstatedir
2390 eval ac_val=\$$ac_var
2391 # Remove trailing slashes.
2392 case $ac_val in
2393 */ )
2394 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2395 eval $ac_var=\$ac_val;;
2396 esac
2397 # Be sure to have absolute directory names.
2398 case $ac_val in
2399 [\\/$]* | ?:[\\/]* ) continue;;
2400 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2401 esac
2402 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2403 done
2405 # There might be people who depend on the old broken behavior: `$host'
2406 # used to hold the argument of --host etc.
2407 # FIXME: To remove some day.
2408 build=$build_alias
2409 host=$host_alias
2410 target=$target_alias
2412 # FIXME: To remove some day.
2413 if test "x$host_alias" != x; then
2414 if test "x$build_alias" = x; then
2415 cross_compiling=maybe
2416 elif test "x$build_alias" != "x$host_alias"; then
2417 cross_compiling=yes
2421 ac_tool_prefix=
2422 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2424 test "$silent" = yes && exec 6>/dev/null
2427 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2428 ac_ls_di=`ls -di .` &&
2429 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2430 as_fn_error $? "working directory cannot be determined"
2431 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2432 as_fn_error $? "pwd does not report name of working directory"
2435 # Find the source files, if location was not specified.
2436 if test -z "$srcdir"; then
2437 ac_srcdir_defaulted=yes
2438 # Try the directory containing this script, then the parent directory.
2439 ac_confdir=`$as_dirname -- "$as_myself" ||
2440 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2441 X"$as_myself" : 'X\(//\)[^/]' \| \
2442 X"$as_myself" : 'X\(//\)$' \| \
2443 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2444 $as_echo X"$as_myself" |
2445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2446 s//\1/
2449 /^X\(\/\/\)[^/].*/{
2450 s//\1/
2453 /^X\(\/\/\)$/{
2454 s//\1/
2457 /^X\(\/\).*/{
2458 s//\1/
2461 s/.*/./; q'`
2462 srcdir=$ac_confdir
2463 if test ! -r "$srcdir/$ac_unique_file"; then
2464 srcdir=..
2466 else
2467 ac_srcdir_defaulted=no
2469 if test ! -r "$srcdir/$ac_unique_file"; then
2470 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2471 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2473 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2474 ac_abs_confdir=`(
2475 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2476 pwd)`
2477 # When building in place, set srcdir=.
2478 if test "$ac_abs_confdir" = "$ac_pwd"; then
2479 srcdir=.
2481 # Remove unnecessary trailing slashes from srcdir.
2482 # Double slashes in file names in object file debugging info
2483 # mess up M-x gdb in Emacs.
2484 case $srcdir in
2485 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2486 esac
2487 for ac_var in $ac_precious_vars; do
2488 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2489 eval ac_env_${ac_var}_value=\$${ac_var}
2490 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2491 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2492 done
2495 # Report the --help message.
2497 if test "$ac_init_help" = "long"; then
2498 # Omit some internal or obsolete options to make the list less imposing.
2499 # This message is too long to be a string in the A/UX 3.1 sh.
2500 cat <<_ACEOF
2501 \`configure' configures Wine 6.2 to adapt to many kinds of systems.
2503 Usage: $0 [OPTION]... [VAR=VALUE]...
2505 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2506 VAR=VALUE. See below for descriptions of some of the useful variables.
2508 Defaults for the options are specified in brackets.
2510 Configuration:
2511 -h, --help display this help and exit
2512 --help=short display options specific to this package
2513 --help=recursive display the short help of all the included packages
2514 -V, --version display version information and exit
2515 -q, --quiet, --silent do not print \`checking ...' messages
2516 --cache-file=FILE cache test results in FILE [disabled]
2517 -C, --config-cache alias for \`--cache-file=config.cache'
2518 -n, --no-create do not create output files
2519 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2521 Installation directories:
2522 --prefix=PREFIX install architecture-independent files in PREFIX
2523 [$ac_default_prefix]
2524 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2525 [PREFIX]
2527 By default, \`make install' will install all the files in
2528 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2529 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2530 for instance \`--prefix=\$HOME'.
2532 For better control, use the options below.
2534 Fine tuning of the installation directories:
2535 --bindir=DIR user executables [EPREFIX/bin]
2536 --sbindir=DIR system admin executables [EPREFIX/sbin]
2537 --libexecdir=DIR program executables [EPREFIX/libexec]
2538 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2539 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2540 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2541 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2542 --libdir=DIR object code libraries [EPREFIX/lib]
2543 --includedir=DIR C header files [PREFIX/include]
2544 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2545 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2546 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2547 --infodir=DIR info documentation [DATAROOTDIR/info]
2548 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2549 --mandir=DIR man documentation [DATAROOTDIR/man]
2550 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2551 --htmldir=DIR html documentation [DOCDIR]
2552 --dvidir=DIR dvi documentation [DOCDIR]
2553 --pdfdir=DIR pdf documentation [DOCDIR]
2554 --psdir=DIR ps documentation [DOCDIR]
2555 _ACEOF
2557 cat <<\_ACEOF
2559 X features:
2560 --x-includes=DIR X include files are in DIR
2561 --x-libraries=DIR X library files are in DIR
2563 System types:
2564 --build=BUILD configure for building on BUILD [guessed]
2565 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2566 _ACEOF
2569 if test -n "$ac_init_help"; then
2570 case $ac_init_help in
2571 short | recursive ) echo "Configuration of Wine 6.2:";;
2572 esac
2573 cat <<\_ACEOF
2575 Optional Features:
2576 --disable-option-checking ignore unrecognized --enable/--with options
2577 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2578 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2579 --disable-win16 do not include Win16 support
2580 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2581 binaries)
2582 --disable-tests do not build the regression tests
2583 --enable-maintainer-mode
2584 enable maintainer-specific build rules
2585 --enable-silent-rules use silent build rules (override: "make V=1")
2586 --enable-werror treat compilation warnings as errors
2587 --disable-largefile omit support for large files
2589 Optional Packages:
2590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2592 --without-alsa do not use the Alsa sound support
2593 --without-capi do not use CAPI (ISDN support)
2594 --without-cms do not use CMS (color management support)
2595 --without-coreaudio do not use the CoreAudio sound support
2596 --without-cups do not use CUPS
2597 --without-dbus do not use DBus (dynamic device support)
2598 --without-faudio do not use FAudio (XAudio2 support)
2599 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2600 --without-fontconfig do not use fontconfig
2601 --without-freetype do not use the FreeType library
2602 --without-gettext do not use gettext
2603 --with-gettextpo use the GetTextPO library to rebuild po files
2604 --without-gphoto do not use gphoto (Digital Camera support)
2605 --without-gnutls do not use GnuTLS (schannel support)
2606 --without-gsm do not use libgsm (GSM 06.10 codec support)
2607 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2608 --without-gstreamer do not use GStreamer (codecs support)
2609 --without-hal do not use HAL (dynamic device support)
2610 --without-inotify do not use inotify (filesystem change notifications)
2611 --without-jpeg do not use JPEG
2612 --without-jxrlib do not use JPEG-XR
2613 --without-krb5 do not use krb5 (Kerberos)
2614 --without-ldap do not use LDAP
2615 --without-mingw do not use the MinGW cross-compiler
2616 --without-mpg123 do not use the mpg123 library
2617 --without-netapi do not use the Samba NetAPI library
2618 --without-openal do not use OpenAL
2619 --without-opencl do not use OpenCL
2620 --without-opengl do not use OpenGL
2621 --without-osmesa do not use the OSMesa library
2622 --without-oss do not use the OSS sound support
2623 --without-pcap do not use the Packet Capture library
2624 --without-png do not use PNG
2625 --without-pthread do not use the pthread library
2626 --without-pulse do not use PulseAudio sound support
2627 --without-quicktime do not use QuickTime support
2628 --without-sane do not use SANE (scanner support)
2629 --without-sdl do not use SDL
2630 --without-tiff do not use TIFF
2631 --without-udev do not use udev (plug and play support)
2632 --without-unwind do not use the libunwind library (exception
2633 handling)
2634 --without-usb do not use the libusb library
2635 --without-v4l2 do not use v4l2 (video capture)
2636 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2637 --without-vulkan do not use Vulkan
2638 --without-xcomposite do not use the Xcomposite extension
2639 --without-xcursor do not use the Xcursor extension
2640 --without-xfixes do not use Xfixes for clipboard change notifications
2641 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2642 --without-xinput do not use the Xinput extension
2643 --without-xinput2 do not use the Xinput 2 extension
2644 --without-xml do not use XML
2645 --without-xrandr do not use Xrandr (multi-monitor support)
2646 --without-xrender do not use the Xrender extension
2647 --without-xshape do not use the Xshape extension
2648 --without-xshm do not use XShm (shared memory extension)
2649 --without-xslt do not use XSLT
2650 --without-xxf86vm do not use XFree video mode extension
2651 --with-wine-tools=DIR use Wine tools from directory DIR
2652 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2653 --with-x use the X Window System
2655 Some influential environment variables:
2656 CC C compiler command
2657 CFLAGS C compiler flags
2658 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2659 nonstandard directory <lib dir>
2660 LIBS libraries to pass to the linker, e.g. -l<library>
2661 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2662 you have headers in a nonstandard directory <include dir>
2663 CXX C++ compiler command
2664 CXXFLAGS C++ compiler flags
2665 CPP C preprocessor
2666 OBJC Objective C compiler command
2667 OBJCFLAGS Objective C compiler flags
2668 OBJCPP Objective C preprocessor
2669 XMKMF Path to xmkmf, Makefile generator for X Window System
2670 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2671 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2672 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2673 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2674 INOTIFY_CFLAGS
2675 C compiler flags for libinotify, overriding pkg-config
2676 INOTIFY_LIBS
2677 Linker flags for libinotify, overriding pkg-config
2678 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2679 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2680 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2681 HAL_LIBS Linker flags for hal, overriding pkg-config
2682 GNUTLS_CFLAGS
2683 C compiler flags for gnutls, overriding pkg-config
2684 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2685 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2686 SANE_LIBS Linker flags for libsane, overriding pkg-config
2687 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2688 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2689 GPHOTO2_CFLAGS
2690 C compiler flags for libgphoto2, overriding pkg-config
2691 GPHOTO2_LIBS
2692 Linker flags for libgphoto2, overriding pkg-config
2693 GPHOTO2_PORT_CFLAGS
2694 C compiler flags for libgphoto2_port, overriding pkg-config
2695 GPHOTO2_PORT_LIBS
2696 Linker flags for libgphoto2_port, overriding pkg-config
2697 LCMS2_CFLAGS
2698 C compiler flags for lcms2, overriding pkg-config
2699 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2700 FREETYPE_CFLAGS
2701 C compiler flags for freetype2, overriding pkg-config
2702 FREETYPE_LIBS
2703 Linker flags for freetype2, overriding pkg-config
2704 PULSE_CFLAGS
2705 C compiler flags for libpulse, overriding pkg-config
2706 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2707 GSTREAMER_CFLAGS
2708 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2709 gstreamer-audio-1.0, overriding pkg-config
2710 GSTREAMER_LIBS
2711 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2712 gstreamer-audio-1.0, overriding pkg-config
2713 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2714 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2715 UNWIND_CFLAGS
2716 C compiler flags for libunwind, overriding pkg-config
2717 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2718 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2719 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2720 FAUDIO_CFLAGS
2721 C compiler flags for faudio, overriding pkg-config
2722 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2723 CAPI20_CFLAGS
2724 C compiler flags for capi20, overriding pkg-config
2725 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2726 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2727 CUPS_LIBS Linker flags for cups, overriding pkg-config
2728 FONTCONFIG_CFLAGS
2729 C compiler flags for fontconfig, overriding pkg-config
2730 FONTCONFIG_LIBS
2731 Linker flags for fontconfig, overriding pkg-config
2732 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2733 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2734 GSSAPI_CFLAGS
2735 C compiler flags for krb5-gssapi, overriding pkg-config
2736 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2737 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2738 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2739 JXRLIB_CFLAGS
2740 C compiler flags for jxrlib, overriding pkg-config
2741 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2742 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2743 PNG_LIBS Linker flags for libpng, overriding pkg-config
2744 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2745 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2746 MPG123_CFLAGS
2747 C compiler flags for libmpg123, overriding pkg-config
2748 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2749 NETAPI_CFLAGS
2750 C compiler flags for netapi, overriding pkg-config
2751 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2752 VKD3D_CFLAGS
2753 C compiler flags for libvkd3d, overriding pkg-config
2754 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2755 VKD3D_SHADER_CFLAGS
2756 C compiler flags for libvkd3d-shader, overriding pkg-config
2757 VKD3D_SHADER_LIBS
2758 Linker flags for libvkd3d-shader, overriding pkg-config
2759 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2760 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2762 Use these variables to override the choices made by `configure' or to help
2763 it to find libraries and programs with nonstandard names/locations.
2765 Report bugs to <wine-devel@winehq.org>.
2766 Wine home page: <https://www.winehq.org>.
2767 _ACEOF
2768 ac_status=$?
2771 if test "$ac_init_help" = "recursive"; then
2772 # If there are subdirs, report their specific --help.
2773 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2774 test -d "$ac_dir" ||
2775 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2776 continue
2777 ac_builddir=.
2779 case "$ac_dir" in
2780 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2782 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2783 # A ".." for each directory in $ac_dir_suffix.
2784 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2785 case $ac_top_builddir_sub in
2786 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2787 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2788 esac ;;
2789 esac
2790 ac_abs_top_builddir=$ac_pwd
2791 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2792 # for backward compatibility:
2793 ac_top_builddir=$ac_top_build_prefix
2795 case $srcdir in
2796 .) # We are building in place.
2797 ac_srcdir=.
2798 ac_top_srcdir=$ac_top_builddir_sub
2799 ac_abs_top_srcdir=$ac_pwd ;;
2800 [\\/]* | ?:[\\/]* ) # Absolute name.
2801 ac_srcdir=$srcdir$ac_dir_suffix;
2802 ac_top_srcdir=$srcdir
2803 ac_abs_top_srcdir=$srcdir ;;
2804 *) # Relative name.
2805 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2806 ac_top_srcdir=$ac_top_build_prefix$srcdir
2807 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2808 esac
2809 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2811 cd "$ac_dir" || { ac_status=$?; continue; }
2812 # Check for guested configure.
2813 if test -f "$ac_srcdir/configure.gnu"; then
2814 echo &&
2815 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2816 elif test -f "$ac_srcdir/configure"; then
2817 echo &&
2818 $SHELL "$ac_srcdir/configure" --help=recursive
2819 else
2820 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2821 fi || ac_status=$?
2822 cd "$ac_pwd" || { ac_status=$?; break; }
2823 done
2826 test -n "$ac_init_help" && exit $ac_status
2827 if $ac_init_version; then
2828 cat <<\_ACEOF
2829 Wine configure 6.2
2830 generated by GNU Autoconf 2.69
2832 Copyright (C) 2012 Free Software Foundation, Inc.
2833 This configure script is free software; the Free Software Foundation
2834 gives unlimited permission to copy, distribute and modify it.
2835 _ACEOF
2836 exit
2839 ## ------------------------ ##
2840 ## Autoconf initialization. ##
2841 ## ------------------------ ##
2843 # ac_fn_c_try_compile LINENO
2844 # --------------------------
2845 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2846 ac_fn_c_try_compile ()
2848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2849 rm -f conftest.$ac_objext
2850 if { { ac_try="$ac_compile"
2851 case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2854 esac
2855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2856 $as_echo "$ac_try_echo"; } >&5
2857 (eval "$ac_compile") 2>conftest.err
2858 ac_status=$?
2859 if test -s conftest.err; then
2860 grep -v '^ *+' conftest.err >conftest.er1
2861 cat conftest.er1 >&5
2862 mv -f conftest.er1 conftest.err
2864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2865 test $ac_status = 0; } && {
2866 test -z "$ac_c_werror_flag" ||
2867 test ! -s conftest.err
2868 } && test -s conftest.$ac_objext; then :
2869 ac_retval=0
2870 else
2871 $as_echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2874 ac_retval=1
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2877 as_fn_set_status $ac_retval
2879 } # ac_fn_c_try_compile
2881 # ac_fn_cxx_try_compile LINENO
2882 # ----------------------------
2883 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2884 ac_fn_cxx_try_compile ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 rm -f conftest.$ac_objext
2888 if { { ac_try="$ac_compile"
2889 case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892 esac
2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894 $as_echo "$ac_try_echo"; } >&5
2895 (eval "$ac_compile") 2>conftest.err
2896 ac_status=$?
2897 if test -s conftest.err; then
2898 grep -v '^ *+' conftest.err >conftest.er1
2899 cat conftest.er1 >&5
2900 mv -f conftest.er1 conftest.err
2902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; } && {
2904 test -z "$ac_cxx_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.$ac_objext; then :
2907 ac_retval=0
2908 else
2909 $as_echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2912 ac_retval=1
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status $ac_retval
2917 } # ac_fn_cxx_try_compile
2919 # ac_fn_c_try_link LINENO
2920 # -----------------------
2921 # Try to link conftest.$ac_ext, and return whether this succeeded.
2922 ac_fn_c_try_link ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 rm -f conftest.$ac_objext conftest$ac_exeext
2926 if { { ac_try="$ac_link"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932 $as_echo "$ac_try_echo"; } >&5
2933 (eval "$ac_link") 2>conftest.err
2934 ac_status=$?
2935 if test -s conftest.err; then
2936 grep -v '^ *+' conftest.err >conftest.er1
2937 cat conftest.er1 >&5
2938 mv -f conftest.er1 conftest.err
2940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 test $ac_status = 0; } && {
2942 test -z "$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest$ac_exeext && {
2945 test "$cross_compiling" = yes ||
2946 test -x conftest$ac_exeext
2947 }; then :
2948 ac_retval=0
2949 else
2950 $as_echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2953 ac_retval=1
2955 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2956 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2957 # interfere with the next link command; also delete a directory that is
2958 # left behind by Apple's compiler. We do this before executing the actions.
2959 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2961 as_fn_set_status $ac_retval
2963 } # ac_fn_c_try_link
2965 # ac_fn_c_try_cpp LINENO
2966 # ----------------------
2967 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2968 ac_fn_c_try_cpp ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 if { { ac_try="$ac_cpp conftest.$ac_ext"
2972 case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2979 ac_status=$?
2980 if test -s conftest.err; then
2981 grep -v '^ *+' conftest.err >conftest.er1
2982 cat conftest.er1 >&5
2983 mv -f conftest.er1 conftest.err
2985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; } > conftest.i && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2989 }; then :
2990 ac_retval=0
2991 else
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_retval=1
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 as_fn_set_status $ac_retval
3000 } # ac_fn_c_try_cpp
3002 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3003 # -------------------------------------------------------
3004 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3005 # the include files in INCLUDES and setting the cache variable VAR
3006 # accordingly.
3007 ac_fn_c_check_header_mongrel ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 if eval \${$3+:} false; then :
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3012 $as_echo_n "checking for $2... " >&6; }
3013 if eval \${$3+:} false; then :
3014 $as_echo_n "(cached) " >&6
3016 eval ac_res=\$$3
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3018 $as_echo "$ac_res" >&6; }
3019 else
3020 # Is the header compilable?
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3022 $as_echo_n "checking $2 usability... " >&6; }
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3026 #include <$2>
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 ac_header_compiler=yes
3030 else
3031 ac_header_compiler=no
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3035 $as_echo "$ac_header_compiler" >&6; }
3037 # Is the header present?
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3039 $as_echo_n "checking $2 presence... " >&6; }
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3042 #include <$2>
3043 _ACEOF
3044 if ac_fn_c_try_cpp "$LINENO"; then :
3045 ac_header_preproc=yes
3046 else
3047 ac_header_preproc=no
3049 rm -f conftest.err conftest.i conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3051 $as_echo "$ac_header_preproc" >&6; }
3053 # So? What about this header?
3054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3055 yes:no: )
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3057 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3059 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3061 no:yes:* )
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3063 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3065 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3067 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3069 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3071 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3072 ( $as_echo "## ------------------------------------ ##
3073 ## Report this to wine-devel@winehq.org ##
3074 ## ------------------------------------ ##"
3075 ) | sed "s/^/$as_me: WARNING: /" >&2
3077 esac
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3079 $as_echo_n "checking for $2... " >&6; }
3080 if eval \${$3+:} false; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 eval "$3=\$ac_header_compiler"
3085 eval ac_res=\$$3
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3087 $as_echo "$ac_res" >&6; }
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 } # ac_fn_c_check_header_mongrel
3093 # ac_fn_c_try_run LINENO
3094 # ----------------------
3095 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3096 # that executables *can* be run.
3097 ac_fn_c_try_run ()
3099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3100 if { { ac_try="$ac_link"
3101 case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_link") 2>&5
3108 ac_status=$?
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3111 { { case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_try") 2>&5
3118 ac_status=$?
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }; }; then :
3121 ac_retval=0
3122 else
3123 $as_echo "$as_me: program exited with status $ac_status" >&5
3124 $as_echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3127 ac_retval=$ac_status
3129 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_c_try_run
3135 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3136 # -------------------------------------------------------
3137 # Tests whether HEADER exists and can be compiled using the include files in
3138 # INCLUDES, setting the cache variable VAR accordingly.
3139 ac_fn_c_check_header_compile ()
3141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3143 $as_echo_n "checking for $2... " >&6; }
3144 if eval \${$3+:} false; then :
3145 $as_echo_n "(cached) " >&6
3146 else
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3150 #include <$2>
3151 _ACEOF
3152 if ac_fn_c_try_compile "$LINENO"; then :
3153 eval "$3=yes"
3154 else
3155 eval "$3=no"
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 eval ac_res=\$$3
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 $as_echo "$ac_res" >&6; }
3162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3164 } # ac_fn_c_check_header_compile
3166 # ac_fn_objc_try_compile LINENO
3167 # -----------------------------
3168 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3169 ac_fn_objc_try_compile ()
3171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3172 rm -f conftest.$ac_objext
3173 if { { ac_try="$ac_compile"
3174 case "(($ac_try" in
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3177 esac
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_compile") 2>conftest.err
3181 ac_status=$?
3182 if test -s conftest.err; then
3183 grep -v '^ *+' conftest.err >conftest.er1
3184 cat conftest.er1 >&5
3185 mv -f conftest.er1 conftest.err
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; } && {
3189 test -z "$ac_objc_werror_flag" ||
3190 test ! -s conftest.err
3191 } && test -s conftest.$ac_objext; then :
3192 ac_retval=0
3193 else
3194 $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 ac_retval=1
3199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3200 as_fn_set_status $ac_retval
3202 } # ac_fn_objc_try_compile
3204 # ac_fn_objc_try_cpp LINENO
3205 # -------------------------
3206 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3207 ac_fn_objc_try_cpp ()
3209 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3210 if { { ac_try="$ac_cpp conftest.$ac_ext"
3211 case "(($ac_try" in
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3214 esac
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3218 ac_status=$?
3219 if test -s conftest.err; then
3220 grep -v '^ *+' conftest.err >conftest.er1
3221 cat conftest.er1 >&5
3222 mv -f conftest.er1 conftest.err
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; } > conftest.i && {
3226 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3227 test ! -s conftest.err
3228 }; then :
3229 ac_retval=0
3230 else
3231 $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3234 ac_retval=1
3236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3237 as_fn_set_status $ac_retval
3239 } # ac_fn_objc_try_cpp
3241 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3242 # ----------------------------------------------------------
3243 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3244 # the include files in INCLUDES and setting the cache variable VAR
3245 # accordingly.
3246 ac_fn_objc_check_header_mongrel ()
3248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3249 if eval \${$3+:} false; then :
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3251 $as_echo_n "checking for $2... " >&6; }
3252 if eval \${$3+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 eval ac_res=\$$3
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3258 else
3259 # Is the header compilable?
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3261 $as_echo_n "checking $2 usability... " >&6; }
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3265 #include <$2>
3266 _ACEOF
3267 if ac_fn_objc_try_compile "$LINENO"; then :
3268 ac_header_compiler=yes
3269 else
3270 ac_header_compiler=no
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3274 $as_echo "$ac_header_compiler" >&6; }
3276 # Is the header present?
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3278 $as_echo_n "checking $2 presence... " >&6; }
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3281 #include <$2>
3282 _ACEOF
3283 if ac_fn_objc_try_cpp "$LINENO"; then :
3284 ac_header_preproc=yes
3285 else
3286 ac_header_preproc=no
3288 rm -f conftest.err conftest.i conftest.$ac_ext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3290 $as_echo "$ac_header_preproc" >&6; }
3292 # So? What about this header?
3293 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3294 yes:no: )
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3296 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3298 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3300 no:yes:* )
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3302 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3304 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3306 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3308 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3310 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3311 ( $as_echo "## ------------------------------------ ##
3312 ## Report this to wine-devel@winehq.org ##
3313 ## ------------------------------------ ##"
3314 ) | sed "s/^/$as_me: WARNING: /" >&2
3316 esac
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3318 $as_echo_n "checking for $2... " >&6; }
3319 if eval \${$3+:} false; then :
3320 $as_echo_n "(cached) " >&6
3321 else
3322 eval "$3=\$ac_header_compiler"
3324 eval ac_res=\$$3
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3326 $as_echo "$ac_res" >&6; }
3328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3330 } # ac_fn_objc_check_header_mongrel
3332 # ac_fn_c_check_func LINENO FUNC VAR
3333 # ----------------------------------
3334 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3335 ac_fn_c_check_func ()
3337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3339 $as_echo_n "checking for $2... " >&6; }
3340 if eval \${$3+:} false; then :
3341 $as_echo_n "(cached) " >&6
3342 else
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3345 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3347 #define $2 innocuous_$2
3349 /* System header to define __stub macros and hopefully few prototypes,
3350 which can conflict with char $2 (); below.
3351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3352 <limits.h> exists even on freestanding compilers. */
3354 #ifdef __STDC__
3355 # include <limits.h>
3356 #else
3357 # include <assert.h>
3358 #endif
3360 #undef $2
3362 /* Override any GCC internal prototype to avoid an error.
3363 Use char because int might match the return type of a GCC
3364 builtin and then its argument prototype would still apply. */
3365 #ifdef __cplusplus
3366 extern "C"
3367 #endif
3368 char $2 ();
3369 /* The GNU C library defines this for functions which it implements
3370 to always fail with ENOSYS. Some functions are actually named
3371 something starting with __ and the normal name is an alias. */
3372 #if defined __stub_$2 || defined __stub___$2
3373 choke me
3374 #endif
3377 main ()
3379 return $2 ();
3381 return 0;
3383 _ACEOF
3384 if ac_fn_c_try_link "$LINENO"; then :
3385 eval "$3=yes"
3386 else
3387 eval "$3=no"
3389 rm -f core conftest.err conftest.$ac_objext \
3390 conftest$ac_exeext conftest.$ac_ext
3392 eval ac_res=\$$3
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3394 $as_echo "$ac_res" >&6; }
3395 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3397 } # ac_fn_c_check_func
3399 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3400 # ----------------------------------------------------
3401 # Tries to find if the field MEMBER exists in type AGGR, after including
3402 # INCLUDES, setting cache variable VAR accordingly.
3403 ac_fn_c_check_member ()
3405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3407 $as_echo_n "checking for $2.$3... " >&6; }
3408 if eval \${$4+:} false; then :
3409 $as_echo_n "(cached) " >&6
3410 else
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3415 main ()
3417 static $2 ac_aggr;
3418 if (ac_aggr.$3)
3419 return 0;
3421 return 0;
3423 _ACEOF
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 eval "$4=yes"
3426 else
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3431 main ()
3433 static $2 ac_aggr;
3434 if (sizeof ac_aggr.$3)
3435 return 0;
3437 return 0;
3439 _ACEOF
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 eval "$4=yes"
3442 else
3443 eval "$4=no"
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 eval ac_res=\$$4
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3451 $as_echo "$ac_res" >&6; }
3452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3454 } # ac_fn_c_check_member
3456 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3457 # -------------------------------------------
3458 # Tests whether TYPE exists after having included INCLUDES, setting cache
3459 # variable VAR accordingly.
3460 ac_fn_c_check_type ()
3462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3464 $as_echo_n "checking for $2... " >&6; }
3465 if eval \${$3+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3468 eval "$3=no"
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3473 main ()
3475 if (sizeof ($2))
3476 return 0;
3478 return 0;
3480 _ACEOF
3481 if ac_fn_c_try_compile "$LINENO"; then :
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3486 main ()
3488 if (sizeof (($2)))
3489 return 0;
3491 return 0;
3493 _ACEOF
3494 if ac_fn_c_try_compile "$LINENO"; then :
3496 else
3497 eval "$3=yes"
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 eval ac_res=\$$3
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3505 $as_echo "$ac_res" >&6; }
3506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3508 } # ac_fn_c_check_type
3509 cat >config.log <<_ACEOF
3510 This file contains any messages produced by compilers while
3511 running configure, to aid debugging if configure makes a mistake.
3513 It was created by Wine $as_me 6.2, which was
3514 generated by GNU Autoconf 2.69. Invocation command line was
3516 $ $0 $@
3518 _ACEOF
3519 exec 5>>config.log
3521 cat <<_ASUNAME
3522 ## --------- ##
3523 ## Platform. ##
3524 ## --------- ##
3526 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3527 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3528 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3529 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3530 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3532 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3533 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3535 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3536 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3537 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3538 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3539 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3540 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3541 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3543 _ASUNAME
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 for as_dir in $PATH
3548 IFS=$as_save_IFS
3549 test -z "$as_dir" && as_dir=.
3550 $as_echo "PATH: $as_dir"
3551 done
3552 IFS=$as_save_IFS
3554 } >&5
3556 cat >&5 <<_ACEOF
3559 ## ----------- ##
3560 ## Core tests. ##
3561 ## ----------- ##
3563 _ACEOF
3566 # Keep a trace of the command line.
3567 # Strip out --no-create and --no-recursion so they do not pile up.
3568 # Strip out --silent because we don't want to record it for future runs.
3569 # Also quote any args containing shell meta-characters.
3570 # Make two passes to allow for proper duplicate-argument suppression.
3571 ac_configure_args=
3572 ac_configure_args0=
3573 ac_configure_args1=
3574 ac_must_keep_next=false
3575 for ac_pass in 1 2
3577 for ac_arg
3579 case $ac_arg in
3580 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3581 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3582 | -silent | --silent | --silen | --sile | --sil)
3583 continue ;;
3584 *\'*)
3585 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3586 esac
3587 case $ac_pass in
3588 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3590 as_fn_append ac_configure_args1 " '$ac_arg'"
3591 if test $ac_must_keep_next = true; then
3592 ac_must_keep_next=false # Got value, back to normal.
3593 else
3594 case $ac_arg in
3595 *=* | --config-cache | -C | -disable-* | --disable-* \
3596 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3597 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3598 | -with-* | --with-* | -without-* | --without-* | --x)
3599 case "$ac_configure_args0 " in
3600 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3601 esac
3603 -* ) ac_must_keep_next=true ;;
3604 esac
3606 as_fn_append ac_configure_args " '$ac_arg'"
3608 esac
3609 done
3610 done
3611 { ac_configure_args0=; unset ac_configure_args0;}
3612 { ac_configure_args1=; unset ac_configure_args1;}
3614 # When interrupted or exit'd, cleanup temporary files, and complete
3615 # config.log. We remove comments because anyway the quotes in there
3616 # would cause problems or look ugly.
3617 # WARNING: Use '\'' to represent an apostrophe within the trap.
3618 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3619 trap 'exit_status=$?
3620 # Save into config.log some information that might help in debugging.
3622 echo
3624 $as_echo "## ---------------- ##
3625 ## Cache variables. ##
3626 ## ---------------- ##"
3627 echo
3628 # The following way of writing the cache mishandles newlines in values,
3630 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3631 eval ac_val=\$$ac_var
3632 case $ac_val in #(
3633 *${as_nl}*)
3634 case $ac_var in #(
3635 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3637 esac
3638 case $ac_var in #(
3639 _ | IFS | as_nl) ;; #(
3640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3641 *) { eval $ac_var=; unset $ac_var;} ;;
3642 esac ;;
3643 esac
3644 done
3645 (set) 2>&1 |
3646 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3647 *${as_nl}ac_space=\ *)
3648 sed -n \
3649 "s/'\''/'\''\\\\'\'''\''/g;
3650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3651 ;; #(
3653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3655 esac |
3656 sort
3658 echo
3660 $as_echo "## ----------------- ##
3661 ## Output variables. ##
3662 ## ----------------- ##"
3663 echo
3664 for ac_var in $ac_subst_vars
3666 eval ac_val=\$$ac_var
3667 case $ac_val in
3668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3669 esac
3670 $as_echo "$ac_var='\''$ac_val'\''"
3671 done | sort
3672 echo
3674 if test -n "$ac_subst_files"; then
3675 $as_echo "## ------------------- ##
3676 ## File substitutions. ##
3677 ## ------------------- ##"
3678 echo
3679 for ac_var in $ac_subst_files
3681 eval ac_val=\$$ac_var
3682 case $ac_val in
3683 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3684 esac
3685 $as_echo "$ac_var='\''$ac_val'\''"
3686 done | sort
3687 echo
3690 if test -s confdefs.h; then
3691 $as_echo "## ----------- ##
3692 ## confdefs.h. ##
3693 ## ----------- ##"
3694 echo
3695 cat confdefs.h
3696 echo
3698 test "$ac_signal" != 0 &&
3699 $as_echo "$as_me: caught signal $ac_signal"
3700 $as_echo "$as_me: exit $exit_status"
3701 } >&5
3702 rm -f core *.core core.conftest.* &&
3703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3704 exit $exit_status
3706 for ac_signal in 1 2 13 15; do
3707 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3708 done
3709 ac_signal=0
3711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3712 rm -f -r conftest* confdefs.h
3714 $as_echo "/* confdefs.h */" > confdefs.h
3716 # Predefined preprocessor variables.
3718 cat >>confdefs.h <<_ACEOF
3719 #define PACKAGE_NAME "$PACKAGE_NAME"
3720 _ACEOF
3722 cat >>confdefs.h <<_ACEOF
3723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3724 _ACEOF
3726 cat >>confdefs.h <<_ACEOF
3727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3728 _ACEOF
3730 cat >>confdefs.h <<_ACEOF
3731 #define PACKAGE_STRING "$PACKAGE_STRING"
3732 _ACEOF
3734 cat >>confdefs.h <<_ACEOF
3735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3736 _ACEOF
3738 cat >>confdefs.h <<_ACEOF
3739 #define PACKAGE_URL "$PACKAGE_URL"
3740 _ACEOF
3743 # Let the site file select an alternate cache file if it wants to.
3744 # Prefer an explicitly selected file to automatically selected ones.
3745 ac_site_file1=NONE
3746 ac_site_file2=NONE
3747 if test -n "$CONFIG_SITE"; then
3748 # We do not want a PATH search for config.site.
3749 case $CONFIG_SITE in #((
3750 -*) ac_site_file1=./$CONFIG_SITE;;
3751 */*) ac_site_file1=$CONFIG_SITE;;
3752 *) ac_site_file1=./$CONFIG_SITE;;
3753 esac
3754 elif test "x$prefix" != xNONE; then
3755 ac_site_file1=$prefix/share/config.site
3756 ac_site_file2=$prefix/etc/config.site
3757 else
3758 ac_site_file1=$ac_default_prefix/share/config.site
3759 ac_site_file2=$ac_default_prefix/etc/config.site
3761 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3763 test "x$ac_site_file" = xNONE && continue
3764 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3766 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3767 sed 's/^/| /' "$ac_site_file" >&5
3768 . "$ac_site_file" \
3769 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3771 as_fn_error $? "failed to load site script $ac_site_file
3772 See \`config.log' for more details" "$LINENO" 5; }
3774 done
3776 if test -r "$cache_file"; then
3777 # Some versions of bash will fail to source /dev/null (special files
3778 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3779 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3781 $as_echo "$as_me: loading cache $cache_file" >&6;}
3782 case $cache_file in
3783 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3784 *) . "./$cache_file";;
3785 esac
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3789 $as_echo "$as_me: creating cache $cache_file" >&6;}
3790 >$cache_file
3793 # Check that the precious variables saved in the cache have kept the same
3794 # value.
3795 ac_cache_corrupted=false
3796 for ac_var in $ac_precious_vars; do
3797 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3798 eval ac_new_set=\$ac_env_${ac_var}_set
3799 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3800 eval ac_new_val=\$ac_env_${ac_var}_value
3801 case $ac_old_set,$ac_new_set in
3802 set,)
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3804 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3805 ac_cache_corrupted=: ;;
3806 ,set)
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3808 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3809 ac_cache_corrupted=: ;;
3810 ,);;
3812 if test "x$ac_old_val" != "x$ac_new_val"; then
3813 # differences in whitespace do not lead to failure.
3814 ac_old_val_w=`echo x $ac_old_val`
3815 ac_new_val_w=`echo x $ac_new_val`
3816 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3818 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3819 ac_cache_corrupted=:
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3822 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3823 eval $ac_var=\$ac_old_val
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3826 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3828 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3829 fi;;
3830 esac
3831 # Pass precious variables to config.status.
3832 if test "$ac_new_set" = set; then
3833 case $ac_new_val in
3834 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3835 *) ac_arg=$ac_var=$ac_new_val ;;
3836 esac
3837 case " $ac_configure_args " in
3838 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3839 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3840 esac
3842 done
3843 if $ac_cache_corrupted; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3847 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3848 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3850 ## -------------------- ##
3851 ## Main body of script. ##
3852 ## -------------------- ##
3854 ac_ext=c
3855 ac_cpp='$CPP $CPPFLAGS'
3856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862 ac_config_headers="$ac_config_headers include/config.h"
3864 ac_aux_dir=
3865 for ac_dir in tools "$srcdir"/tools; do
3866 if test -f "$ac_dir/install-sh"; then
3867 ac_aux_dir=$ac_dir
3868 ac_install_sh="$ac_aux_dir/install-sh -c"
3869 break
3870 elif test -f "$ac_dir/install.sh"; then
3871 ac_aux_dir=$ac_dir
3872 ac_install_sh="$ac_aux_dir/install.sh -c"
3873 break
3874 elif test -f "$ac_dir/shtool"; then
3875 ac_aux_dir=$ac_dir
3876 ac_install_sh="$ac_aux_dir/shtool install -c"
3877 break
3879 done
3880 if test -z "$ac_aux_dir"; then
3881 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3884 # These three variables are undocumented and unsupported,
3885 # and are intended to be withdrawn in a future Autoconf release.
3886 # They can cause serious problems if a builder's source tree is in a directory
3887 # whose full name contains unusual characters.
3888 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3889 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3890 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3894 libwine_version="1.0"
3898 # Check whether --enable-win16 was given.
3899 if test "${enable_win16+set}" = set; then :
3900 enableval=$enable_win16;
3903 # Check whether --enable-win64 was given.
3904 if test "${enable_win64+set}" = set; then :
3905 enableval=$enable_win64;
3908 # Check whether --enable-tests was given.
3909 if test "${enable_tests+set}" = set; then :
3910 enableval=$enable_tests;
3913 # Check whether --enable-maintainer-mode was given.
3914 if test "${enable_maintainer_mode+set}" = set; then :
3915 enableval=$enable_maintainer_mode;
3918 # Check whether --enable-silent-rules was given.
3919 if test "${enable_silent_rules+set}" = set; then :
3920 enableval=$enable_silent_rules;
3923 # Check whether --enable-werror was given.
3924 if test "${enable_werror+set}" = set; then :
3925 enableval=$enable_werror;
3930 # Check whether --with-alsa was given.
3931 if test "${with_alsa+set}" = set; then :
3932 withval=$with_alsa;
3936 # Check whether --with-capi was given.
3937 if test "${with_capi+set}" = set; then :
3938 withval=$with_capi;
3942 # Check whether --with-cms was given.
3943 if test "${with_cms+set}" = set; then :
3944 withval=$with_cms;
3948 # Check whether --with-coreaudio was given.
3949 if test "${with_coreaudio+set}" = set; then :
3950 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3954 # Check whether --with-cups was given.
3955 if test "${with_cups+set}" = set; then :
3956 withval=$with_cups;
3960 # Check whether --with-dbus was given.
3961 if test "${with_dbus+set}" = set; then :
3962 withval=$with_dbus;
3966 # Check whether --with-faudio was given.
3967 if test "${with_faudio+set}" = set; then :
3968 withval=$with_faudio;
3972 # Check whether --with-float-abi was given.
3973 if test "${with_float_abi+set}" = set; then :
3974 withval=$with_float_abi;
3978 # Check whether --with-fontconfig was given.
3979 if test "${with_fontconfig+set}" = set; then :
3980 withval=$with_fontconfig;
3984 # Check whether --with-freetype was given.
3985 if test "${with_freetype+set}" = set; then :
3986 withval=$with_freetype;
3990 # Check whether --with-gettext was given.
3991 if test "${with_gettext+set}" = set; then :
3992 withval=$with_gettext;
3996 # Check whether --with-gettextpo was given.
3997 if test "${with_gettextpo+set}" = set; then :
3998 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4002 # Check whether --with-gphoto was given.
4003 if test "${with_gphoto+set}" = set; then :
4004 withval=$with_gphoto;
4008 # Check whether --with-gnutls was given.
4009 if test "${with_gnutls+set}" = set; then :
4010 withval=$with_gnutls;
4014 # Check whether --with-gsm was given.
4015 if test "${with_gsm+set}" = set; then :
4016 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4020 # Check whether --with-gssapi was given.
4021 if test "${with_gssapi+set}" = set; then :
4022 withval=$with_gssapi;
4026 # Check whether --with-gstreamer was given.
4027 if test "${with_gstreamer+set}" = set; then :
4028 withval=$with_gstreamer;
4032 # Check whether --with-hal was given.
4033 if test "${with_hal+set}" = set; then :
4034 withval=$with_hal;
4038 # Check whether --with-inotify was given.
4039 if test "${with_inotify+set}" = set; then :
4040 withval=$with_inotify;
4044 # Check whether --with-jpeg was given.
4045 if test "${with_jpeg+set}" = set; then :
4046 withval=$with_jpeg;
4050 # Check whether --with-jxrlib was given.
4051 if test "${with_jxrlib+set}" = set; then :
4052 withval=$with_jxrlib;
4056 # Check whether --with-krb5 was given.
4057 if test "${with_krb5+set}" = set; then :
4058 withval=$with_krb5;
4062 # Check whether --with-ldap was given.
4063 if test "${with_ldap+set}" = set; then :
4064 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4068 # Check whether --with-mingw was given.
4069 if test "${with_mingw+set}" = set; then :
4070 withval=$with_mingw;
4074 # Check whether --with-mpg123 was given.
4075 if test "${with_mpg123+set}" = set; then :
4076 withval=$with_mpg123;
4080 # Check whether --with-netapi was given.
4081 if test "${with_netapi+set}" = set; then :
4082 withval=$with_netapi;
4086 # Check whether --with-openal was given.
4087 if test "${with_openal+set}" = set; then :
4088 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4092 # Check whether --with-opencl was given.
4093 if test "${with_opencl+set}" = set; then :
4094 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4098 # Check whether --with-opengl was given.
4099 if test "${with_opengl+set}" = set; then :
4100 withval=$with_opengl;
4104 # Check whether --with-osmesa was given.
4105 if test "${with_osmesa+set}" = set; then :
4106 withval=$with_osmesa;
4110 # Check whether --with-oss was given.
4111 if test "${with_oss+set}" = set; then :
4112 withval=$with_oss;
4116 # Check whether --with-pcap was given.
4117 if test "${with_pcap+set}" = set; then :
4118 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4122 # Check whether --with-png was given.
4123 if test "${with_png+set}" = set; then :
4124 withval=$with_png;
4128 # Check whether --with-pthread was given.
4129 if test "${with_pthread+set}" = set; then :
4130 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4134 # Check whether --with-pulse was given.
4135 if test "${with_pulse+set}" = set; then :
4136 withval=$with_pulse;
4140 # Check whether --with-quicktime was given.
4141 if test "${with_quicktime+set}" = set; then :
4142 withval=$with_quicktime;
4146 # Check whether --with-sane was given.
4147 if test "${with_sane+set}" = set; then :
4148 withval=$with_sane;
4152 # Check whether --with-sdl was given.
4153 if test "${with_sdl+set}" = set; then :
4154 withval=$with_sdl;
4158 # Check whether --with-tiff was given.
4159 if test "${with_tiff+set}" = set; then :
4160 withval=$with_tiff;
4164 # Check whether --with-udev was given.
4165 if test "${with_udev+set}" = set; then :
4166 withval=$with_udev;
4170 # Check whether --with-unwind was given.
4171 if test "${with_unwind+set}" = set; then :
4172 withval=$with_unwind;
4176 # Check whether --with-usb was given.
4177 if test "${with_usb+set}" = set; then :
4178 withval=$with_usb;
4182 # Check whether --with-v4l2 was given.
4183 if test "${with_v4l2+set}" = set; then :
4184 withval=$with_v4l2;
4188 # Check whether --with-vkd3d was given.
4189 if test "${with_vkd3d+set}" = set; then :
4190 withval=$with_vkd3d;
4194 # Check whether --with-vulkan was given.
4195 if test "${with_vulkan+set}" = set; then :
4196 withval=$with_vulkan;
4200 # Check whether --with-xcomposite was given.
4201 if test "${with_xcomposite+set}" = set; then :
4202 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4206 # Check whether --with-xcursor was given.
4207 if test "${with_xcursor+set}" = set; then :
4208 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4212 # Check whether --with-xfixes was given.
4213 if test "${with_xfixes+set}" = set; then :
4214 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4218 # Check whether --with-xinerama was given.
4219 if test "${with_xinerama+set}" = set; then :
4220 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4224 # Check whether --with-xinput was given.
4225 if test "${with_xinput+set}" = set; then :
4226 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4230 # Check whether --with-xinput2 was given.
4231 if test "${with_xinput2+set}" = set; then :
4232 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4236 # Check whether --with-xml was given.
4237 if test "${with_xml+set}" = set; then :
4238 withval=$with_xml;
4242 # Check whether --with-xrandr was given.
4243 if test "${with_xrandr+set}" = set; then :
4244 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4248 # Check whether --with-xrender was given.
4249 if test "${with_xrender+set}" = set; then :
4250 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4254 # Check whether --with-xshape was given.
4255 if test "${with_xshape+set}" = set; then :
4256 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4260 # Check whether --with-xshm was given.
4261 if test "${with_xshm+set}" = set; then :
4262 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4266 # Check whether --with-xslt was given.
4267 if test "${with_xslt+set}" = set; then :
4268 withval=$with_xslt;
4272 # Check whether --with-xxf86vm was given.
4273 if test "${with_xxf86vm+set}" = set; then :
4274 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
4279 # Check whether --with-wine-tools was given.
4280 if test "${with_wine_tools+set}" = set; then :
4281 withval=$with_wine_tools;
4285 # Check whether --with-wine64 was given.
4286 if test "${with_wine64+set}" = set; then :
4287 withval=$with_wine64;
4291 # Make sure we can run config.sub.
4292 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4293 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4296 $as_echo_n "checking build system type... " >&6; }
4297 if ${ac_cv_build+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 ac_build_alias=$build_alias
4301 test "x$ac_build_alias" = x &&
4302 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4303 test "x$ac_build_alias" = x &&
4304 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4305 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4306 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4310 $as_echo "$ac_cv_build" >&6; }
4311 case $ac_cv_build in
4312 *-*-*) ;;
4313 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4314 esac
4315 build=$ac_cv_build
4316 ac_save_IFS=$IFS; IFS='-'
4317 set x $ac_cv_build
4318 shift
4319 build_cpu=$1
4320 build_vendor=$2
4321 shift; shift
4322 # Remember, the first character of IFS is used to create $*,
4323 # except with old shells:
4324 build_os=$*
4325 IFS=$ac_save_IFS
4326 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4330 $as_echo_n "checking host system type... " >&6; }
4331 if ${ac_cv_host+:} false; then :
4332 $as_echo_n "(cached) " >&6
4333 else
4334 if test "x$host_alias" = x; then
4335 ac_cv_host=$ac_cv_build
4336 else
4337 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4338 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4343 $as_echo "$ac_cv_host" >&6; }
4344 case $ac_cv_host in
4345 *-*-*) ;;
4346 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4347 esac
4348 host=$ac_cv_host
4349 ac_save_IFS=$IFS; IFS='-'
4350 set x $ac_cv_host
4351 shift
4352 host_cpu=$1
4353 host_vendor=$2
4354 shift; shift
4355 # Remember, the first character of IFS is used to create $*,
4356 # except with old shells:
4357 host_os=$*
4358 IFS=$ac_save_IFS
4359 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4365 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4366 set x ${MAKE-make}
4367 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4368 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 cat >conftest.make <<\_ACEOF
4372 SHELL = /bin/sh
4373 all:
4374 @echo '@@@%%%=$(MAKE)=@@@%%%'
4375 _ACEOF
4376 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4377 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4378 *@@@%%%=?*=@@@%%%*)
4379 eval ac_cv_prog_make_${ac_make}_set=yes;;
4381 eval ac_cv_prog_make_${ac_make}_set=no;;
4382 esac
4383 rm -f conftest.make
4385 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4387 $as_echo "yes" >&6; }
4388 SET_MAKE=
4389 else
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4392 SET_MAKE="MAKE=${MAKE-make}"
4395 ac_ext=c
4396 ac_cpp='$CPP $CPPFLAGS'
4397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4402 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_CC+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$CC"; then
4409 ac_cv_prog_CC="$CC" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 CC=$ac_cv_prog_CC
4429 if test -n "$CC"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4431 $as_echo "$CC" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4439 if test -z "$ac_cv_prog_CC"; then
4440 ac_ct_CC=$CC
4441 # Extract the first word of "gcc", so it can be a program name with args.
4442 set dummy 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_ac_ct_CC+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 if test -n "$ac_ct_CC"; then
4449 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4469 if test -n "$ac_ct_CC"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4471 $as_echo "$ac_ct_CC" >&6; }
4472 else
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4477 if test "x$ac_ct_CC" = x; then
4478 CC=""
4479 else
4480 case $cross_compiling:$ac_tool_warned in
4481 yes:)
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned=yes ;;
4485 esac
4486 CC=$ac_ct_CC
4488 else
4489 CC="$ac_cv_prog_CC"
4492 if test -z "$CC"; then
4493 if test -n "$ac_tool_prefix"; then
4494 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4495 set dummy ${ac_tool_prefix}cc; ac_word=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if ${ac_cv_prog_CC+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 if test -n "$CC"; then
4502 ac_cv_prog_CC="$CC" # Let the user override the test.
4503 else
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in $PATH
4507 IFS=$as_save_IFS
4508 test -z "$as_dir" && as_dir=.
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_prog_CC="${ac_tool_prefix}cc"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 break 2
4515 done
4516 done
4517 IFS=$as_save_IFS
4521 CC=$ac_cv_prog_CC
4522 if test -n "$CC"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4524 $as_echo "$CC" >&6; }
4525 else
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4533 if test -z "$CC"; then
4534 # Extract the first word of "cc", so it can be a program name with args.
4535 set dummy 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 ac_prog_rejected=no
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH
4548 IFS=$as_save_IFS
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4553 ac_prog_rejected=yes
4554 continue
4556 ac_cv_prog_CC="cc"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 break 2
4560 done
4561 done
4562 IFS=$as_save_IFS
4564 if test $ac_prog_rejected = yes; then
4565 # We found a bogon in the path, so make sure we never use it.
4566 set dummy $ac_cv_prog_CC
4567 shift
4568 if test $# != 0; then
4569 # We chose a different compiler from the bogus one.
4570 # However, it has the same basename, so the bogon will be chosen
4571 # first if we set CC to just the basename; use the full file name.
4572 shift
4573 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4578 CC=$ac_cv_prog_CC
4579 if test -n "$CC"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4581 $as_echo "$CC" >&6; }
4582 else
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4589 if test -z "$CC"; then
4590 if test -n "$ac_tool_prefix"; then
4591 for ac_prog in cl.exe
4593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_CC+:} false; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 if test -n "$CC"; then
4601 ac_cv_prog_CC="$CC" # Let the user override the test.
4602 else
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 for as_dir in $PATH
4606 IFS=$as_save_IFS
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 break 2
4614 done
4615 done
4616 IFS=$as_save_IFS
4620 CC=$ac_cv_prog_CC
4621 if test -n "$CC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4623 $as_echo "$CC" >&6; }
4624 else
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4630 test -n "$CC" && break
4631 done
4633 if test -z "$CC"; then
4634 ac_ct_CC=$CC
4635 for ac_prog in cl.exe
4637 # Extract the first word of "$ac_prog", so it can be a program name with args.
4638 set dummy $ac_prog; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4642 $as_echo_n "(cached) " >&6
4643 else
4644 if test -n "$ac_ct_CC"; then
4645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4646 else
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH
4650 IFS=$as_save_IFS
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_ac_ct_CC="$ac_prog"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 break 2
4658 done
4659 done
4660 IFS=$as_save_IFS
4664 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4665 if test -n "$ac_ct_CC"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4667 $as_echo "$ac_ct_CC" >&6; }
4668 else
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4674 test -n "$ac_ct_CC" && break
4675 done
4677 if test "x$ac_ct_CC" = x; then
4678 CC=""
4679 else
4680 case $cross_compiling:$ac_tool_warned in
4681 yes:)
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4684 ac_tool_warned=yes ;;
4685 esac
4686 CC=$ac_ct_CC
4693 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4695 as_fn_error $? "no acceptable C compiler found in \$PATH
4696 See \`config.log' for more details" "$LINENO" 5; }
4698 # Provide some information about the compiler.
4699 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4700 set X $ac_compile
4701 ac_compiler=$2
4702 for ac_option in --version -v -V -qversion; do
4703 { { ac_try="$ac_compiler $ac_option >&5"
4704 case "(($ac_try" in
4705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4707 esac
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4711 ac_status=$?
4712 if test -s conftest.err; then
4713 sed '10a\
4714 ... rest of stderr output deleted ...
4715 10q' conftest.err >conftest.er1
4716 cat conftest.er1 >&5
4718 rm -f conftest.er1 conftest.err
4719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4720 test $ac_status = 0; }
4721 done
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 ac_clean_files_save=$ac_clean_files
4735 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4736 # Try to create an executable without -o first, disregard a.out.
4737 # It will help us diagnose broken compilers, and finding out an intuition
4738 # of exeext.
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4740 $as_echo_n "checking whether the C compiler works... " >&6; }
4741 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4743 # The possible output files:
4744 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4746 ac_rmfiles=
4747 for ac_file in $ac_files
4749 case $ac_file in
4750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4751 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4752 esac
4753 done
4754 rm -f $ac_rmfiles
4756 if { { ac_try="$ac_link_default"
4757 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4760 esac
4761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762 $as_echo "$ac_try_echo"; } >&5
4763 (eval "$ac_link_default") 2>&5
4764 ac_status=$?
4765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4766 test $ac_status = 0; }; then :
4767 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4768 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4769 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4770 # so that the user can short-circuit this test for compilers unknown to
4771 # Autoconf.
4772 for ac_file in $ac_files ''
4774 test -f "$ac_file" || continue
4775 case $ac_file in
4776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4778 [ab].out )
4779 # We found the default executable, but exeext='' is most
4780 # certainly right.
4781 break;;
4782 *.* )
4783 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4784 then :; else
4785 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4787 # We set ac_cv_exeext here because the later test for it is not
4788 # safe: cross compilers may not add the suffix if given an `-o'
4789 # argument, so we may need to know it at that point already.
4790 # Even if this section looks crufty: it has the advantage of
4791 # actually working.
4792 break;;
4794 break;;
4795 esac
4796 done
4797 test "$ac_cv_exeext" = no && ac_cv_exeext=
4799 else
4800 ac_file=''
4802 if test -z "$ac_file"; then :
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4805 $as_echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.$ac_ext >&5
4808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4810 as_fn_error 77 "C compiler cannot create executables
4811 See \`config.log' for more details" "$LINENO" 5; }
4812 else
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4817 $as_echo_n "checking for C compiler default output file name... " >&6; }
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4819 $as_echo "$ac_file" >&6; }
4820 ac_exeext=$ac_cv_exeext
4822 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4823 ac_clean_files=$ac_clean_files_save
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4825 $as_echo_n "checking for suffix of executables... " >&6; }
4826 if { { ac_try="$ac_link"
4827 case "(($ac_try" in
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4830 esac
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_link") 2>&5
4834 ac_status=$?
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }; then :
4837 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4838 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4839 # work properly (i.e., refer to `conftest.exe'), while it won't with
4840 # `rm'.
4841 for ac_file in conftest.exe conftest conftest.*; do
4842 test -f "$ac_file" || continue
4843 case $ac_file in
4844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4845 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4846 break;;
4847 * ) break;;
4848 esac
4849 done
4850 else
4851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4853 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4854 See \`config.log' for more details" "$LINENO" 5; }
4856 rm -f conftest conftest$ac_cv_exeext
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4858 $as_echo "$ac_cv_exeext" >&6; }
4860 rm -f conftest.$ac_ext
4861 EXEEXT=$ac_cv_exeext
4862 ac_exeext=$EXEEXT
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4865 #include <stdio.h>
4867 main ()
4869 FILE *f = fopen ("conftest.out", "w");
4870 return ferror (f) || fclose (f) != 0;
4873 return 0;
4875 _ACEOF
4876 ac_clean_files="$ac_clean_files conftest.out"
4877 # Check that the compiler produces executables we can run. If not, either
4878 # the compiler is broken, or we cross compile.
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4880 $as_echo_n "checking whether we are cross compiling... " >&6; }
4881 if test "$cross_compiling" != yes; then
4882 { { ac_try="$ac_link"
4883 case "(($ac_try" in
4884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4885 *) ac_try_echo=$ac_try;;
4886 esac
4887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4888 $as_echo "$ac_try_echo"; } >&5
4889 (eval "$ac_link") 2>&5
4890 ac_status=$?
4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }
4893 if { ac_try='./conftest$ac_cv_exeext'
4894 { { case "(($ac_try" in
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4897 esac
4898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4899 $as_echo "$ac_try_echo"; } >&5
4900 (eval "$ac_try") 2>&5
4901 ac_status=$?
4902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4903 test $ac_status = 0; }; }; then
4904 cross_compiling=no
4905 else
4906 if test "$cross_compiling" = maybe; then
4907 cross_compiling=yes
4908 else
4909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4911 as_fn_error $? "cannot run C compiled programs.
4912 If you meant to cross compile, use \`--host'.
4913 See \`config.log' for more details" "$LINENO" 5; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4918 $as_echo "$cross_compiling" >&6; }
4920 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4921 ac_clean_files=$ac_clean_files_save
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4923 $as_echo_n "checking for suffix of object files... " >&6; }
4924 if ${ac_cv_objext+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4935 return 0;
4937 _ACEOF
4938 rm -f conftest.o conftest.obj
4939 if { { ac_try="$ac_compile"
4940 case "(($ac_try" in
4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4943 esac
4944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4945 $as_echo "$ac_try_echo"; } >&5
4946 (eval "$ac_compile") 2>&5
4947 ac_status=$?
4948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4949 test $ac_status = 0; }; then :
4950 for ac_file in conftest.o conftest.obj conftest.*; do
4951 test -f "$ac_file" || continue;
4952 case $ac_file in
4953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4954 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4955 break;;
4956 esac
4957 done
4958 else
4959 $as_echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.$ac_ext >&5
4962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4964 as_fn_error $? "cannot compute suffix of object files: cannot compile
4965 See \`config.log' for more details" "$LINENO" 5; }
4967 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4970 $as_echo "$ac_cv_objext" >&6; }
4971 OBJEXT=$ac_cv_objext
4972 ac_objext=$OBJEXT
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4974 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4975 if ${ac_cv_c_compiler_gnu+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4984 #ifndef __GNUC__
4985 choke me
4986 #endif
4989 return 0;
4991 _ACEOF
4992 if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_compiler_gnu=yes
4994 else
4995 ac_compiler_gnu=no
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5002 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5003 if test $ac_compiler_gnu = yes; then
5004 GCC=yes
5005 else
5006 GCC=
5008 ac_test_CFLAGS=${CFLAGS+set}
5009 ac_save_CFLAGS=$CFLAGS
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5011 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5012 if ${ac_cv_prog_cc_g+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 ac_save_c_werror_flag=$ac_c_werror_flag
5016 ac_c_werror_flag=yes
5017 ac_cv_prog_cc_g=no
5018 CFLAGS="-g"
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5023 main ()
5027 return 0;
5029 _ACEOF
5030 if ac_fn_c_try_compile "$LINENO"; then :
5031 ac_cv_prog_cc_g=yes
5032 else
5033 CFLAGS=""
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5038 main ()
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5047 else
5048 ac_c_werror_flag=$ac_save_c_werror_flag
5049 CFLAGS="-g"
5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5054 main ()
5058 return 0;
5060 _ACEOF
5061 if ac_fn_c_try_compile "$LINENO"; then :
5062 ac_cv_prog_cc_g=yes
5064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5069 ac_c_werror_flag=$ac_save_c_werror_flag
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5072 $as_echo "$ac_cv_prog_cc_g" >&6; }
5073 if test "$ac_test_CFLAGS" = set; then
5074 CFLAGS=$ac_save_CFLAGS
5075 elif test $ac_cv_prog_cc_g = yes; then
5076 if test "$GCC" = yes; then
5077 CFLAGS="-g -O2"
5078 else
5079 CFLAGS="-g"
5081 else
5082 if test "$GCC" = yes; then
5083 CFLAGS="-O2"
5084 else
5085 CFLAGS=
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5089 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5090 if ${ac_cv_prog_cc_c89+:} false; then :
5091 $as_echo_n "(cached) " >&6
5092 else
5093 ac_cv_prog_cc_c89=no
5094 ac_save_CC=$CC
5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5097 #include <stdarg.h>
5098 #include <stdio.h>
5099 struct stat;
5100 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5101 struct buf { int x; };
5102 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5103 static char *e (p, i)
5104 char **p;
5105 int i;
5107 return p[i];
5109 static char *f (char * (*g) (char **, int), char **p, ...)
5111 char *s;
5112 va_list v;
5113 va_start (v,p);
5114 s = g (p, va_arg (v,int));
5115 va_end (v);
5116 return s;
5119 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5120 function prototypes and stuff, but not '\xHH' hex character constants.
5121 These don't provoke an error unfortunately, instead are silently treated
5122 as 'x'. The following induces an error, until -std is added to get
5123 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5124 array size at least. It's necessary to write '\x00'==0 to get something
5125 that's true only with -std. */
5126 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5128 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5129 inside strings and character constants. */
5130 #define FOO(x) 'x'
5131 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5133 int test (int i, double x);
5134 struct s1 {int (*f) (int a);};
5135 struct s2 {int (*f) (double a);};
5136 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5137 int argc;
5138 char **argv;
5140 main ()
5142 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5144 return 0;
5146 _ACEOF
5147 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5148 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5150 CC="$ac_save_CC $ac_arg"
5151 if ac_fn_c_try_compile "$LINENO"; then :
5152 ac_cv_prog_cc_c89=$ac_arg
5154 rm -f core conftest.err conftest.$ac_objext
5155 test "x$ac_cv_prog_cc_c89" != "xno" && break
5156 done
5157 rm -f conftest.$ac_ext
5158 CC=$ac_save_CC
5161 # AC_CACHE_VAL
5162 case "x$ac_cv_prog_cc_c89" in
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5165 $as_echo "none needed" >&6; } ;;
5166 xno)
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5168 $as_echo "unsupported" >&6; } ;;
5170 CC="$CC $ac_cv_prog_cc_c89"
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5172 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5173 esac
5174 if test "x$ac_cv_prog_cc_c89" != xno; then :
5178 ac_ext=c
5179 ac_cpp='$CPP $CPPFLAGS'
5180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5184 ac_ext=cpp
5185 ac_cpp='$CXXCPP $CPPFLAGS'
5186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5189 if test -z "$CXX"; then
5190 if test -n "$CCC"; then
5191 CXX=$CCC
5192 else
5193 if test -n "$ac_tool_prefix"; then
5194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_CXX+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 if test -n "$CXX"; then
5204 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5205 else
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5209 IFS=$as_save_IFS
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 break 2
5217 done
5218 done
5219 IFS=$as_save_IFS
5223 CXX=$ac_cv_prog_CXX
5224 if test -n "$CXX"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5226 $as_echo "$CXX" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$CXX" && break
5234 done
5236 if test -z "$CXX"; then
5237 ac_ct_CXX=$CXX
5238 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5240 # Extract the first word of "$ac_prog", so it can be a program name with args.
5241 set dummy $ac_prog; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5245 $as_echo_n "(cached) " >&6
5246 else
5247 if test -n "$ac_ct_CXX"; then
5248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_ac_ct_CXX="$ac_prog"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5268 if test -n "$ac_ct_CXX"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5270 $as_echo "$ac_ct_CXX" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5277 test -n "$ac_ct_CXX" && break
5278 done
5280 if test "x$ac_ct_CXX" = x; then
5281 CXX="g++"
5282 else
5283 case $cross_compiling:$ac_tool_warned in
5284 yes:)
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 CXX=$ac_ct_CXX
5295 # Provide some information about the compiler.
5296 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5297 set X $ac_compile
5298 ac_compiler=$2
5299 for ac_option in --version -v -V -qversion; do
5300 { { ac_try="$ac_compiler $ac_option >&5"
5301 case "(($ac_try" in
5302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5303 *) ac_try_echo=$ac_try;;
5304 esac
5305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5306 $as_echo "$ac_try_echo"; } >&5
5307 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5308 ac_status=$?
5309 if test -s conftest.err; then
5310 sed '10a\
5311 ... rest of stderr output deleted ...
5312 10q' conftest.err >conftest.er1
5313 cat conftest.er1 >&5
5315 rm -f conftest.er1 conftest.err
5316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5317 test $ac_status = 0; }
5318 done
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5321 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5322 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5323 $as_echo_n "(cached) " >&6
5324 else
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5331 #ifndef __GNUC__
5332 choke me
5333 #endif
5336 return 0;
5338 _ACEOF
5339 if ac_fn_cxx_try_compile "$LINENO"; then :
5340 ac_compiler_gnu=yes
5341 else
5342 ac_compiler_gnu=no
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5349 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5350 if test $ac_compiler_gnu = yes; then
5351 GXX=yes
5352 else
5353 GXX=
5355 ac_test_CXXFLAGS=${CXXFLAGS+set}
5356 ac_save_CXXFLAGS=$CXXFLAGS
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5358 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5359 if ${ac_cv_prog_cxx_g+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5363 ac_cxx_werror_flag=yes
5364 ac_cv_prog_cxx_g=no
5365 CXXFLAGS="-g"
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5370 main ()
5374 return 0;
5376 _ACEOF
5377 if ac_fn_cxx_try_compile "$LINENO"; then :
5378 ac_cv_prog_cxx_g=yes
5379 else
5380 CXXFLAGS=""
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5389 return 0;
5391 _ACEOF
5392 if ac_fn_cxx_try_compile "$LINENO"; then :
5394 else
5395 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5396 CXXFLAGS="-g"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main ()
5405 return 0;
5407 _ACEOF
5408 if ac_fn_cxx_try_compile "$LINENO"; then :
5409 ac_cv_prog_cxx_g=yes
5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5416 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5419 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5420 if test "$ac_test_CXXFLAGS" = set; then
5421 CXXFLAGS=$ac_save_CXXFLAGS
5422 elif test $ac_cv_prog_cxx_g = yes; then
5423 if test "$GXX" = yes; then
5424 CXXFLAGS="-g -O2"
5425 else
5426 CXXFLAGS="-g"
5428 else
5429 if test "$GXX" = yes; then
5430 CXXFLAGS="-O2"
5431 else
5432 CXXFLAGS=
5435 ac_ext=c
5436 ac_cpp='$CPP $CPPFLAGS'
5437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5443 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_CPPBIN+:} false; then :
5447 $as_echo_n "(cached) " >&6
5448 else
5449 if test -n "$CPPBIN"; then
5450 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5451 else
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in $PATH
5455 IFS=$as_save_IFS
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 break 2
5463 done
5464 done
5465 IFS=$as_save_IFS
5469 CPPBIN=$ac_cv_prog_CPPBIN
5470 if test -n "$CPPBIN"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5472 $as_echo "$CPPBIN" >&6; }
5473 else
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5480 if test -z "$ac_cv_prog_CPPBIN"; then
5481 ac_ct_CPPBIN=$CPPBIN
5482 # Extract the first word of "cpp", so it can be a program name with args.
5483 set dummy 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_ac_ct_CPPBIN+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$ac_ct_CPPBIN"; then
5490 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_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_ac_ct_CPPBIN="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 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5510 if test -n "$ac_ct_CPPBIN"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5512 $as_echo "$ac_ct_CPPBIN" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5518 if test "x$ac_ct_CPPBIN" = x; then
5519 CPPBIN="cpp"
5520 else
5521 case $cross_compiling:$ac_tool_warned in
5522 yes:)
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned=yes ;;
5526 esac
5527 CPPBIN=$ac_ct_CPPBIN
5529 else
5530 CPPBIN="$ac_cv_prog_CPPBIN"
5534 cat >>confdefs.h <<_ACEOF
5535 #define EXEEXT "$ac_exeext"
5536 _ACEOF
5538 if test -n "$ac_tool_prefix"; then
5539 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5540 set dummy ${ac_tool_prefix}ld; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_LD+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
5546 if test -n "$LD"; then
5547 ac_cv_prog_LD="$LD" # Let the user override the test.
5548 else
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH
5552 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_LD="${ac_tool_prefix}ld"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 break 2
5560 done
5561 done
5562 IFS=$as_save_IFS
5566 LD=$ac_cv_prog_LD
5567 if test -n "$LD"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5569 $as_echo "$LD" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5577 if test -z "$ac_cv_prog_LD"; then
5578 ac_ct_LD=$LD
5579 # Extract the first word of "ld", so it can be a program name with args.
5580 set dummy 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_ac_ct_LD+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -n "$ac_ct_LD"; then
5587 ac_cv_prog_ac_ct_LD="$ac_ct_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_ac_ct_LD="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 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5607 if test -n "$ac_ct_LD"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5609 $as_echo "$ac_ct_LD" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5615 if test "x$ac_ct_LD" = x; then
5616 LD=""
5617 else
5618 case $cross_compiling:$ac_tool_warned in
5619 yes:)
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5622 ac_tool_warned=yes ;;
5623 esac
5624 LD=$ac_ct_LD
5626 else
5627 LD="$ac_cv_prog_LD"
5631 case $host in
5632 *-darwin*)
5633 with_fontconfig=${with_fontconfig:-no}
5635 *-mingw32*|*-cygwin*)
5636 enable_win16=${enable_win16:-no}
5637 with_mingw=${with_mingw:-no}
5638 CFLAGS="$CFLAGS -D_WIN32"
5640 esac
5642 TARGETFLAGS=""
5644 case $host in
5645 x86_64*|amd64*)
5646 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5647 then
5648 CC="$CC -m32"
5649 CXX="$CXX -m32"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5652 $as_echo_n "checking whether $CC works... " >&6; }
5653 if ${wine_cv_cc_m32+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5660 main ()
5664 return 0;
5666 _ACEOF
5667 if ac_fn_c_try_link "$LINENO"; then :
5668 wine_cv_cc_m32=yes
5669 else
5670 wine_cv_cc_m32=no
5672 rm -f core conftest.err conftest.$ac_objext \
5673 conftest$ac_exeext conftest.$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5676 $as_echo "$wine_cv_cc_m32" >&6; }
5677 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
5678 host_cpu="i386"
5679 notice_platform="32-bit "
5680 TARGETFLAGS="-m32"
5681 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5682 export PKG_CONFIG_PATH
5683 enable_win16=${enable_win16:-yes}
5684 with_unwind=${with_unwind:-no}
5685 else
5686 if test "x${GCC}" = "xyes"
5687 then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5689 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5690 if ${wine_cv_builtin_ms_va_list+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5695 #include <stdarg.h>
5697 main ()
5699 void func(__builtin_ms_va_list *args);
5701 return 0;
5703 _ACEOF
5704 if ac_fn_c_try_compile "$LINENO"; then :
5705 wine_cv_builtin_ms_va_list=yes
5706 else
5707 wine_cv_builtin_ms_va_list=no
5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5712 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5713 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
5715 CC="$CC -m64"
5716 CXX="$CXX -m64"
5717 host_cpu="x86_64"
5718 notice_platform="64-bit "
5719 TARGETFLAGS="-m64"
5722 arm*)
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5724 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5725 if ${wine_cv_thumb2+:} false; then :
5726 $as_echo_n "(cached) " >&6
5727 else
5728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5729 /* end confdefs.h. */
5732 main ()
5734 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5736 return 0;
5738 _ACEOF
5739 if ac_fn_c_try_link "$LINENO"; then :
5740 wine_cv_thumb2=yes
5741 else
5742 wine_cv_thumb2=no
5744 rm -f core conftest.err conftest.$ac_objext \
5745 conftest$ac_exeext conftest.$ac_ext
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5748 $as_echo "$wine_cv_thumb2" >&6; }
5749 if test x"$wine_cv_thumb2" = xyes
5750 then
5751 CFLAGS="$CFLAGS -mthumb"
5752 TARGETFLAGS="-mthumb"
5753 else
5754 CFLAGS="$CFLAGS -marm"
5755 TARGETFLAGS="-marm"
5757 case $with_float_abi in
5758 soft|softfp|hard)
5759 float_abi=$with_float_abi ;;
5761 case $host_os in
5762 *eabihf)
5763 float_abi=hard ;;
5765 float_abi=softfp
5766 saved_CFLAGS=$CFLAGS
5767 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5769 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5770 if ${wine_cv_float_abi+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5777 main ()
5779 asm("vmrs r2,fpscr");
5781 return 0;
5783 _ACEOF
5784 if ac_fn_c_try_link "$LINENO"; then :
5785 wine_cv_float_abi=yes
5786 else
5787 wine_cv_float_abi=no
5789 rm -f core conftest.err conftest.$ac_objext \
5790 conftest$ac_exeext conftest.$ac_ext
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5793 $as_echo "$wine_cv_float_abi" >&6; }
5794 if test $wine_cv_float_abi = no
5795 then
5796 float_abi=soft
5797 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5799 CFLAGS=$saved_CFLAGS
5800 esac
5802 esac
5803 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5804 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5806 aarch64*)
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5808 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5809 if ${wine_cv_builtin_ms_va_list+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5814 #include <stdarg.h>
5816 main ()
5818 void func(__builtin_ms_va_list *args);
5820 return 0;
5822 _ACEOF
5823 if ac_fn_c_try_compile "$LINENO"; then :
5824 wine_cv_builtin_ms_va_list=yes
5825 else
5826 wine_cv_builtin_ms_va_list=no
5828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5831 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5832 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5834 i[3456789]86*)
5835 enable_win16=${enable_win16:-yes}
5836 with_unwind=${with_unwind:-no}
5838 esac
5840 enable_win16=${enable_win16:-no}
5841 enable_win64=${enable_win64:-no}
5843 enable_winetest=${enable_winetest:-$enable_tests}
5845 if test "x$enable_win64" = "xyes"
5846 then
5847 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5848 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5849 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5853 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5854 if ${wine_cv_toolsdir+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 wine_cv_toolsdir="$with_wine_tools"
5858 if test -z "$with_wine_tools"; then
5859 if test "$cross_compiling" = "yes"; then
5860 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5861 elif test -n "$with_wine64"; then
5862 wine_cv_toolsdir="$with_wine64"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5867 $as_echo "$wine_cv_toolsdir" >&6; }
5868 if test -z "$wine_cv_toolsdir"; then
5869 wine_makedep=tools/makedep
5870 TOOLSDIR="."
5872 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5873 wine_makedep=$wine_cv_toolsdir/tools/makedep
5874 TOOLSDIR=$wine_cv_toolsdir
5876 enable_tools=${enable_tools:-no}
5877 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5878 else
5879 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5881 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5882 then
5883 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5886 for ac_prog in flex
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy $ac_prog; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if ${ac_cv_prog_FLEX+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 if test -n "$FLEX"; then
5896 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5901 IFS=$as_save_IFS
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905 ac_cv_prog_FLEX="$ac_prog"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 break 2
5909 done
5910 done
5911 IFS=$as_save_IFS
5915 FLEX=$ac_cv_prog_FLEX
5916 if test -n "$FLEX"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5918 $as_echo "$FLEX" >&6; }
5919 else
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5925 test -n "$FLEX" && break
5926 done
5927 test -n "$FLEX" || FLEX="none"
5929 if test "$FLEX" = "none"
5930 then
5931 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5934 $as_echo_n "checking whether flex is recent enough... " >&6; }
5935 if ${wine_cv_recent_flex+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 cat >conftest.l <<EOF
5939 %top{
5940 #include "prediluvian.h"
5944 if $FLEX -t conftest.l >/dev/null 2>&5
5945 then
5946 wine_cv_recent_flex=yes
5947 else
5948 wine_cv_recent_flex=no
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5952 $as_echo "$wine_cv_recent_flex" >&6; }
5953 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
5955 for ac_prog in bison
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy $ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_BISON+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$BISON"; then
5965 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_BISON="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 BISON=$ac_cv_prog_BISON
5985 if test -n "$BISON"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5987 $as_echo "$BISON" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$BISON" && break
5995 done
5996 test -n "$BISON" || BISON="none"
5998 if test "$BISON" = "none"
5999 then
6000 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6003 $as_echo_n "checking whether bison is recent enough... " >&6; }
6004 if ${wine_cv_recent_bison+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 cat >conftest.y <<EOF
6008 %define parse.error verbose
6010 empty: ;
6012 if $BISON conftest.y >/dev/null 2>&5
6013 then
6014 wine_cv_recent_bison=yes
6015 else
6016 wine_cv_recent_bison=no
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6020 $as_echo "$wine_cv_recent_bison" >&6; }
6021 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
6023 if test -n "$ac_tool_prefix"; then
6024 for ac_prog in ar gar
6026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if ${ac_cv_prog_AR+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 if test -n "$AR"; then
6034 ac_cv_prog_AR="$AR" # Let the user override the test.
6035 else
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH
6039 IFS=$as_save_IFS
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 break 2
6047 done
6048 done
6049 IFS=$as_save_IFS
6053 AR=$ac_cv_prog_AR
6054 if test -n "$AR"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6056 $as_echo "$AR" >&6; }
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6063 test -n "$AR" && break
6064 done
6066 if test -z "$AR"; then
6067 ac_ct_AR=$AR
6068 for ac_prog in ar gar
6070 # Extract the first word of "$ac_prog", so it can be a program name with args.
6071 set dummy $ac_prog; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$ac_ct_AR"; then
6078 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_ac_ct_AR="$ac_prog"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6098 if test -n "$ac_ct_AR"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6100 $as_echo "$ac_ct_AR" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6107 test -n "$ac_ct_AR" && break
6108 done
6110 if test "x$ac_ct_AR" = x; then
6111 AR="ar"
6112 else
6113 case $cross_compiling:$ac_tool_warned in
6114 yes:)
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6118 esac
6119 AR=$ac_ct_AR
6123 if test -n "$ac_tool_prefix"; then
6124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6125 set dummy ${ac_tool_prefix}strip; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_STRIP+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 if test -n "$STRIP"; then
6132 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 break 2
6145 done
6146 done
6147 IFS=$as_save_IFS
6151 STRIP=$ac_cv_prog_STRIP
6152 if test -n "$STRIP"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6154 $as_echo "$STRIP" >&6; }
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6162 if test -z "$ac_cv_prog_STRIP"; then
6163 ac_ct_STRIP=$STRIP
6164 # Extract the first word of "strip", so it can be a program name with args.
6165 set dummy strip; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$ac_ct_STRIP"; then
6172 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_ac_ct_STRIP="strip"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6192 if test -n "$ac_ct_STRIP"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6194 $as_echo "$ac_ct_STRIP" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6200 if test "x$ac_ct_STRIP" = x; then
6201 STRIP="strip"
6202 else
6203 case $cross_compiling:$ac_tool_warned in
6204 yes:)
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned=yes ;;
6208 esac
6209 STRIP=$ac_ct_STRIP
6211 else
6212 STRIP="$ac_cv_prog_STRIP"
6215 if test -n "$ac_tool_prefix"; then
6216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if ${ac_cv_prog_RANLIB+:} false; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 if test -n "$RANLIB"; then
6224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6225 else
6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 for as_dir in $PATH
6229 IFS=$as_save_IFS
6230 test -z "$as_dir" && as_dir=.
6231 for ac_exec_ext in '' $ac_executable_extensions; do
6232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6235 break 2
6237 done
6238 done
6239 IFS=$as_save_IFS
6243 RANLIB=$ac_cv_prog_RANLIB
6244 if test -n "$RANLIB"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6246 $as_echo "$RANLIB" >&6; }
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6254 if test -z "$ac_cv_prog_RANLIB"; then
6255 ac_ct_RANLIB=$RANLIB
6256 # Extract the first word of "ranlib", so it can be a program name with args.
6257 set dummy ranlib; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 if test -n "$ac_ct_RANLIB"; then
6264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6265 else
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in $PATH
6269 IFS=$as_save_IFS
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273 ac_cv_prog_ac_ct_RANLIB="ranlib"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275 break 2
6277 done
6278 done
6279 IFS=$as_save_IFS
6283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6284 if test -n "$ac_ct_RANLIB"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6286 $as_echo "$ac_ct_RANLIB" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6292 if test "x$ac_ct_RANLIB" = x; then
6293 RANLIB=":"
6294 else
6295 case $cross_compiling:$ac_tool_warned in
6296 yes:)
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6299 ac_tool_warned=yes ;;
6300 esac
6301 RANLIB=$ac_ct_RANLIB
6303 else
6304 RANLIB="$ac_cv_prog_RANLIB"
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6308 $as_echo_n "checking whether ln -s works... " >&6; }
6309 LN_S=$as_ln_s
6310 if test "$LN_S" = "ln -s"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6312 $as_echo "yes" >&6; }
6313 else
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6315 $as_echo "no, using $LN_S" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6319 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6320 if ${ac_cv_path_GREP+:} false; then :
6321 $as_echo_n "(cached) " >&6
6322 else
6323 if test -z "$GREP"; then
6324 ac_path_GREP_found=false
6325 # Loop through the user's path and test for each of PROGNAME-LIST
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_prog in grep ggrep; do
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6334 as_fn_executable_p "$ac_path_GREP" || continue
6335 # Check for GNU ac_path_GREP and select it if it is found.
6336 # Check for GNU $ac_path_GREP
6337 case `"$ac_path_GREP" --version 2>&1` in
6338 *GNU*)
6339 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6341 ac_count=0
6342 $as_echo_n 0123456789 >"conftest.in"
6343 while :
6345 cat "conftest.in" "conftest.in" >"conftest.tmp"
6346 mv "conftest.tmp" "conftest.in"
6347 cp "conftest.in" "conftest.nl"
6348 $as_echo 'GREP' >> "conftest.nl"
6349 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6351 as_fn_arith $ac_count + 1 && ac_count=$as_val
6352 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6353 # Best one so far, save it but keep looking for a better one
6354 ac_cv_path_GREP="$ac_path_GREP"
6355 ac_path_GREP_max=$ac_count
6357 # 10*(2^10) chars as input seems more than enough
6358 test $ac_count -gt 10 && break
6359 done
6360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6361 esac
6363 $ac_path_GREP_found && break 3
6364 done
6365 done
6366 done
6367 IFS=$as_save_IFS
6368 if test -z "$ac_cv_path_GREP"; then
6369 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6371 else
6372 ac_cv_path_GREP=$GREP
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6377 $as_echo "$ac_cv_path_GREP" >&6; }
6378 GREP="$ac_cv_path_GREP"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6382 $as_echo_n "checking for egrep... " >&6; }
6383 if ${ac_cv_path_EGREP+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6386 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6387 then ac_cv_path_EGREP="$GREP -E"
6388 else
6389 if test -z "$EGREP"; then
6390 ac_path_EGREP_found=false
6391 # Loop through the user's path and test for each of PROGNAME-LIST
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6395 IFS=$as_save_IFS
6396 test -z "$as_dir" && as_dir=.
6397 for ac_prog in egrep; do
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6400 as_fn_executable_p "$ac_path_EGREP" || continue
6401 # Check for GNU ac_path_EGREP and select it if it is found.
6402 # Check for GNU $ac_path_EGREP
6403 case `"$ac_path_EGREP" --version 2>&1` in
6404 *GNU*)
6405 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6407 ac_count=0
6408 $as_echo_n 0123456789 >"conftest.in"
6409 while :
6411 cat "conftest.in" "conftest.in" >"conftest.tmp"
6412 mv "conftest.tmp" "conftest.in"
6413 cp "conftest.in" "conftest.nl"
6414 $as_echo 'EGREP' >> "conftest.nl"
6415 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6417 as_fn_arith $ac_count + 1 && ac_count=$as_val
6418 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6419 # Best one so far, save it but keep looking for a better one
6420 ac_cv_path_EGREP="$ac_path_EGREP"
6421 ac_path_EGREP_max=$ac_count
6423 # 10*(2^10) chars as input seems more than enough
6424 test $ac_count -gt 10 && break
6425 done
6426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6427 esac
6429 $ac_path_EGREP_found && break 3
6430 done
6431 done
6432 done
6433 IFS=$as_save_IFS
6434 if test -z "$ac_cv_path_EGREP"; then
6435 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6437 else
6438 ac_cv_path_EGREP=$EGREP
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6444 $as_echo "$ac_cv_path_EGREP" >&6; }
6445 EGREP="$ac_cv_path_EGREP"
6448 # Extract the first word of "ldconfig", so it can be a program name with args.
6449 set dummy ldconfig; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if ${ac_cv_path_LDCONFIG+:} false; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 case $LDCONFIG in
6456 [\\/]* | ?:[\\/]*)
6457 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 for as_dir in /sbin /usr/sbin $PATH
6463 IFS=$as_save_IFS
6464 test -z "$as_dir" && as_dir=.
6465 for ac_exec_ext in '' $ac_executable_extensions; do
6466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6467 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6469 break 2
6471 done
6472 done
6473 IFS=$as_save_IFS
6475 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6477 esac
6479 LDCONFIG=$ac_cv_path_LDCONFIG
6480 if test -n "$LDCONFIG"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6482 $as_echo "$LDCONFIG" >&6; }
6483 else
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6489 for ac_prog in msgfmt
6491 # Extract the first word of "$ac_prog", so it can be a program name with args.
6492 set dummy $ac_prog; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if ${ac_cv_prog_MSGFMT+:} false; then :
6496 $as_echo_n "(cached) " >&6
6497 else
6498 if test -n "$MSGFMT"; then
6499 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6500 else
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 for as_dir in $PATH
6504 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 ac_cv_prog_MSGFMT="$ac_prog"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 break 2
6512 done
6513 done
6514 IFS=$as_save_IFS
6518 MSGFMT=$ac_cv_prog_MSGFMT
6519 if test -n "$MSGFMT"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6521 $as_echo "$MSGFMT" >&6; }
6522 else
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6528 test -n "$MSGFMT" && break
6529 done
6530 test -n "$MSGFMT" || MSGFMT="false"
6532 if ${ac_tool_prefix+:} false; then :
6533 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6534 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6540 if test -n "$PKG_CONFIG"; then
6541 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6546 IFS=$as_save_IFS
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 break 2
6554 done
6555 done
6556 IFS=$as_save_IFS
6560 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6561 if test -n "$PKG_CONFIG"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6563 $as_echo "$PKG_CONFIG" >&6; }
6564 else
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6571 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6572 if test "x$cross_compiling" = xyes; then :
6574 else
6575 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6576 # Extract the first word of "pkg-config", so it can be a program name with args.
6577 set dummy pkg-config; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$PKG_CONFIG"; then
6584 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_PKG_CONFIG="pkg-config"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6604 if test -n "$PKG_CONFIG"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6606 $as_echo "$PKG_CONFIG" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6614 else
6615 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6618 if test "x$enable_maintainer_mode" != "xyes"
6619 then
6620 FONTFORGE=""
6621 RSVG=""
6622 CONVERT=""
6623 ICOTOOL=""
6624 else
6625 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6626 for ac_prog in fontforge
6628 # Extract the first word of "$ac_prog", so it can be a program name with args.
6629 set dummy $ac_prog; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if ${ac_cv_prog_FONTFORGE+:} false; then :
6633 $as_echo_n "(cached) " >&6
6634 else
6635 if test -n "$FONTFORGE"; then
6636 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6641 IFS=$as_save_IFS
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_FONTFORGE="$ac_prog"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 FONTFORGE=$ac_cv_prog_FONTFORGE
6656 if test -n "$FONTFORGE"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6658 $as_echo "$FONTFORGE" >&6; }
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6665 test -n "$FONTFORGE" && break
6666 done
6667 test -n "$FONTFORGE" || FONTFORGE="false"
6669 for ac_prog in rsvg-convert rsvg
6671 # Extract the first word of "$ac_prog", so it can be a program name with args.
6672 set dummy $ac_prog; ac_word=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 $as_echo_n "checking for $ac_word... " >&6; }
6675 if ${ac_cv_prog_RSVG+:} false; then :
6676 $as_echo_n "(cached) " >&6
6677 else
6678 if test -n "$RSVG"; then
6679 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6680 else
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 for as_dir in $PATH
6684 IFS=$as_save_IFS
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688 ac_cv_prog_RSVG="$ac_prog"
6689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 break 2
6692 done
6693 done
6694 IFS=$as_save_IFS
6698 RSVG=$ac_cv_prog_RSVG
6699 if test -n "$RSVG"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6701 $as_echo "$RSVG" >&6; }
6702 else
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 $as_echo "no" >&6; }
6708 test -n "$RSVG" && break
6709 done
6710 test -n "$RSVG" || RSVG="false"
6712 for ac_prog in convert
6714 # Extract the first word of "$ac_prog", so it can be a program name with args.
6715 set dummy $ac_prog; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if ${ac_cv_prog_CONVERT+:} false; then :
6719 $as_echo_n "(cached) " >&6
6720 else
6721 if test -n "$CONVERT"; then
6722 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6723 else
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 for as_dir in $PATH
6727 IFS=$as_save_IFS
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_CONVERT="$ac_prog"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 break 2
6735 done
6736 done
6737 IFS=$as_save_IFS
6741 CONVERT=$ac_cv_prog_CONVERT
6742 if test -n "$CONVERT"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6744 $as_echo "$CONVERT" >&6; }
6745 else
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6751 test -n "$CONVERT" && break
6752 done
6753 test -n "$CONVERT" || CONVERT="false"
6755 for ac_prog in icotool
6757 # Extract the first word of "$ac_prog", so it can be a program name with args.
6758 set dummy $ac_prog; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if ${ac_cv_prog_ICOTOOL+:} false; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$ICOTOOL"; then
6765 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ICOTOOL="$ac_prog"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ICOTOOL=$ac_cv_prog_ICOTOOL
6785 if test -n "$ICOTOOL"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6787 $as_echo "$ICOTOOL" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6794 test -n "$ICOTOOL" && break
6795 done
6796 test -n "$ICOTOOL" || ICOTOOL="false"
6798 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6799 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6801 if test "$CONVERT" = false
6802 then
6803 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6804 else
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6806 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6807 convert_version=`convert --version | head -n1`
6808 if test "x$convert_version" != "x"
6809 then
6810 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6811 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6812 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6813 then
6814 CONVERT=false
6817 if test "$CONVERT" = false
6818 then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6820 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6821 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6822 else
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6824 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6828 if test "$ICOTOOL" = false
6829 then
6830 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6831 else
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6833 $as_echo_n "checking for recent enough icotool... " >&6; }
6834 icotool_version=`icotool --version | head -n1`
6835 if test "x$icotool_version" != "x"
6836 then
6837 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6838 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6839 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6840 then
6841 ICOTOOL=false
6842 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6845 if test "$ICOTOOL" = false
6846 then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6848 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6849 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6850 else
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6852 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6856 with_gettext=yes
6857 with_gettextpo=yes
6859 enable_werror=yes
6862 test "x$with_gettext" != xno || MSGFMT=false
6863 if test "$MSGFMT" != "false"
6864 then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6866 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6867 if ${wine_cv_msgfmt_contexts+:} false; then :
6868 $as_echo_n "(cached) " >&6
6869 else
6870 cat >conftest.po <<EOF
6871 # comment
6872 msgctxt "ctxt"
6873 msgid "id"
6874 msgstr "str"
6876 if $MSGFMT -o /dev/null conftest.po 2>&5
6877 then
6878 wine_cv_msgfmt_contexts=yes
6879 else
6880 wine_cv_msgfmt_contexts=no
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6884 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6885 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6887 if test "$MSGFMT" = false; then :
6888 case "x$with_gettext" in
6889 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6890 xno) ;;
6891 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6892 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6893 esac
6894 enable_po=${enable_po:-no}
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6899 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6900 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 ac_check_lib_save_LIBS=$LIBS
6904 LIBS="-li386 $LIBS"
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6908 /* Override any GCC internal prototype to avoid an error.
6909 Use char because int might match the return type of a GCC
6910 builtin and then its argument prototype would still apply. */
6911 #ifdef __cplusplus
6912 extern "C"
6913 #endif
6914 char i386_set_ldt ();
6916 main ()
6918 return i386_set_ldt ();
6920 return 0;
6922 _ACEOF
6923 if ac_fn_c_try_link "$LINENO"; then :
6924 ac_cv_lib_i386_i386_set_ldt=yes
6925 else
6926 ac_cv_lib_i386_i386_set_ldt=no
6928 rm -f core conftest.err conftest.$ac_objext \
6929 conftest$ac_exeext conftest.$ac_ext
6930 LIBS=$ac_check_lib_save_LIBS
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6933 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6934 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6935 I386_LIBS="-li386"
6940 OPENGL_LIBS=""
6944 # Check whether --enable-largefile was given.
6945 if test "${enable_largefile+set}" = set; then :
6946 enableval=$enable_largefile;
6949 if test "$enable_largefile" != no; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6952 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6953 if ${ac_cv_sys_largefile_CC+:} false; then :
6954 $as_echo_n "(cached) " >&6
6955 else
6956 ac_cv_sys_largefile_CC=no
6957 if test "$GCC" != yes; then
6958 ac_save_CC=$CC
6959 while :; do
6960 # IRIX 6.2 and later do not support large files by default,
6961 # so use the C compiler's -n32 option if that helps.
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #include <sys/types.h>
6965 /* Check that off_t can represent 2**63 - 1 correctly.
6966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6967 since some C++ compilers masquerading as C compilers
6968 incorrectly reject 9223372036854775807. */
6969 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6971 && LARGE_OFF_T % 2147483647 == 1)
6972 ? 1 : -1];
6974 main ()
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 break
6984 rm -f core conftest.err conftest.$ac_objext
6985 CC="$CC -n32"
6986 if ac_fn_c_try_compile "$LINENO"; then :
6987 ac_cv_sys_largefile_CC=' -n32'; break
6989 rm -f core conftest.err conftest.$ac_objext
6990 break
6991 done
6992 CC=$ac_save_CC
6993 rm -f conftest.$ac_ext
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6997 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6998 if test "$ac_cv_sys_largefile_CC" != no; then
6999 CC=$CC$ac_cv_sys_largefile_CC
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7003 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7004 if ${ac_cv_sys_file_offset_bits+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 while :; do
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 ac_cv_sys_file_offset_bits=no; break
7030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7033 #define _FILE_OFFSET_BITS 64
7034 #include <sys/types.h>
7035 /* Check that off_t can represent 2**63 - 1 correctly.
7036 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7037 since some C++ compilers masquerading as C compilers
7038 incorrectly reject 9223372036854775807. */
7039 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7040 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7041 && LARGE_OFF_T % 2147483647 == 1)
7042 ? 1 : -1];
7044 main ()
7048 return 0;
7050 _ACEOF
7051 if ac_fn_c_try_compile "$LINENO"; then :
7052 ac_cv_sys_file_offset_bits=64; break
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 ac_cv_sys_file_offset_bits=unknown
7056 break
7057 done
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7060 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7061 case $ac_cv_sys_file_offset_bits in #(
7062 no | unknown) ;;
7064 cat >>confdefs.h <<_ACEOF
7065 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7066 _ACEOF
7068 esac
7069 rm -rf conftest*
7070 if test $ac_cv_sys_file_offset_bits = unknown; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7072 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7073 if ${ac_cv_sys_large_files+:} false; then :
7074 $as_echo_n "(cached) " >&6
7075 else
7076 while :; do
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7079 #include <sys/types.h>
7080 /* Check that off_t can represent 2**63 - 1 correctly.
7081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7082 since some C++ compilers masquerading as C compilers
7083 incorrectly reject 9223372036854775807. */
7084 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7086 && LARGE_OFF_T % 2147483647 == 1)
7087 ? 1 : -1];
7089 main ()
7093 return 0;
7095 _ACEOF
7096 if ac_fn_c_try_compile "$LINENO"; then :
7097 ac_cv_sys_large_files=no; break
7099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7102 #define _LARGE_FILES 1
7103 #include <sys/types.h>
7104 /* Check that off_t can represent 2**63 - 1 correctly.
7105 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7106 since some C++ compilers masquerading as C compilers
7107 incorrectly reject 9223372036854775807. */
7108 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7109 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7110 && LARGE_OFF_T % 2147483647 == 1)
7111 ? 1 : -1];
7113 main ()
7117 return 0;
7119 _ACEOF
7120 if ac_fn_c_try_compile "$LINENO"; then :
7121 ac_cv_sys_large_files=1; break
7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7124 ac_cv_sys_large_files=unknown
7125 break
7126 done
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7129 $as_echo "$ac_cv_sys_large_files" >&6; }
7130 case $ac_cv_sys_large_files in #(
7131 no | unknown) ;;
7133 cat >>confdefs.h <<_ACEOF
7134 #define _LARGE_FILES $ac_cv_sys_large_files
7135 _ACEOF
7137 esac
7138 rm -rf conftest*
7145 ac_ext=c
7146 ac_cpp='$CPP $CPPFLAGS'
7147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7151 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7152 # On Suns, sometimes $CPP names a directory.
7153 if test -n "$CPP" && test -d "$CPP"; then
7154 CPP=
7156 if test -z "$CPP"; then
7157 if ${ac_cv_prog_CPP+:} false; then :
7158 $as_echo_n "(cached) " >&6
7159 else
7160 # Double quotes because CPP needs to be expanded
7161 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7163 ac_preproc_ok=false
7164 for ac_c_preproc_warn_flag in '' yes
7166 # Use a header file that comes with gcc, so configuring glibc
7167 # with a fresh cross-compiler works.
7168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7169 # <limits.h> exists even on freestanding compilers.
7170 # On the NeXT, cc -E runs the code through the compiler's parser,
7171 # not just through cpp. "Syntax error" is here to catch this case.
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179 Syntax error
7180 _ACEOF
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7183 else
7184 # Broken: fails on valid input.
7185 continue
7187 rm -f conftest.err conftest.i conftest.$ac_ext
7189 # OK, works on sane cases. Now check whether nonexistent headers
7190 # can be detected and how.
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 #include <ac_nonexistent.h>
7194 _ACEOF
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7196 # Broken: success on invalid input.
7197 continue
7198 else
7199 # Passes both tests.
7200 ac_preproc_ok=:
7201 break
7203 rm -f conftest.err conftest.i conftest.$ac_ext
7205 done
7206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7207 rm -f conftest.i conftest.err conftest.$ac_ext
7208 if $ac_preproc_ok; then :
7209 break
7212 done
7213 ac_cv_prog_CPP=$CPP
7216 CPP=$ac_cv_prog_CPP
7217 else
7218 ac_cv_prog_CPP=$CPP
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7221 $as_echo "$CPP" >&6; }
7222 ac_preproc_ok=false
7223 for ac_c_preproc_warn_flag in '' yes
7225 # Use a header file that comes with gcc, so configuring glibc
7226 # with a fresh cross-compiler works.
7227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7228 # <limits.h> exists even on freestanding compilers.
7229 # On the NeXT, cc -E runs the code through the compiler's parser,
7230 # not just through cpp. "Syntax error" is here to catch this case.
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 #ifdef __STDC__
7234 # include <limits.h>
7235 #else
7236 # include <assert.h>
7237 #endif
7238 Syntax error
7239 _ACEOF
7240 if ac_fn_c_try_cpp "$LINENO"; then :
7242 else
7243 # Broken: fails on valid input.
7244 continue
7246 rm -f conftest.err conftest.i conftest.$ac_ext
7248 # OK, works on sane cases. Now check whether nonexistent headers
7249 # can be detected and how.
7250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7252 #include <ac_nonexistent.h>
7253 _ACEOF
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7255 # Broken: success on invalid input.
7256 continue
7257 else
7258 # Passes both tests.
7259 ac_preproc_ok=:
7260 break
7262 rm -f conftest.err conftest.i conftest.$ac_ext
7264 done
7265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7266 rm -f conftest.i conftest.err conftest.$ac_ext
7267 if $ac_preproc_ok; then :
7269 else
7270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7272 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7273 See \`config.log' for more details" "$LINENO" 5; }
7276 ac_ext=c
7277 ac_cpp='$CPP $CPPFLAGS'
7278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7284 $as_echo_n "checking for ANSI C header files... " >&6; }
7285 if ${ac_cv_header_stdc+:} false; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7290 #include <stdlib.h>
7291 #include <stdarg.h>
7292 #include <string.h>
7293 #include <float.h>
7296 main ()
7300 return 0;
7302 _ACEOF
7303 if ac_fn_c_try_compile "$LINENO"; then :
7304 ac_cv_header_stdc=yes
7305 else
7306 ac_cv_header_stdc=no
7308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7310 if test $ac_cv_header_stdc = yes; then
7311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7313 /* end confdefs.h. */
7314 #include <string.h>
7316 _ACEOF
7317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7318 $EGREP "memchr" >/dev/null 2>&1; then :
7320 else
7321 ac_cv_header_stdc=no
7323 rm -f conftest*
7327 if test $ac_cv_header_stdc = yes; then
7328 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7331 #include <stdlib.h>
7333 _ACEOF
7334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7335 $EGREP "free" >/dev/null 2>&1; then :
7337 else
7338 ac_cv_header_stdc=no
7340 rm -f conftest*
7344 if test $ac_cv_header_stdc = yes; then
7345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7346 if test "$cross_compiling" = yes; then :
7348 else
7349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h. */
7351 #include <ctype.h>
7352 #include <stdlib.h>
7353 #if ((' ' & 0x0FF) == 0x020)
7354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7356 #else
7357 # define ISLOWER(c) \
7358 (('a' <= (c) && (c) <= 'i') \
7359 || ('j' <= (c) && (c) <= 'r') \
7360 || ('s' <= (c) && (c) <= 'z'))
7361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7362 #endif
7364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7366 main ()
7368 int i;
7369 for (i = 0; i < 256; i++)
7370 if (XOR (islower (i), ISLOWER (i))
7371 || toupper (i) != TOUPPER (i))
7372 return 2;
7373 return 0;
7375 _ACEOF
7376 if ac_fn_c_try_run "$LINENO"; then :
7378 else
7379 ac_cv_header_stdc=no
7381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7382 conftest.$ac_objext conftest.beam conftest.$ac_ext
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7388 $as_echo "$ac_cv_header_stdc" >&6; }
7389 if test $ac_cv_header_stdc = yes; then
7391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7397 inttypes.h stdint.h unistd.h
7398 do :
7399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7403 cat >>confdefs.h <<_ACEOF
7404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7405 _ACEOF
7409 done
7412 for ac_header in \
7413 AL/al.h \
7414 ApplicationServices/ApplicationServices.h \
7415 AudioToolbox/AudioConverter.h \
7416 AudioUnit/AudioUnit.h \
7417 AudioUnit/AudioComponent.h \
7418 CL/cl.h \
7419 Carbon/Carbon.h \
7420 CommonCrypto/CommonCryptor.h \
7421 CoreAudio/CoreAudio.h \
7422 DiskArbitration/DiskArbitration.h \
7423 EGL/egl.h \
7424 IOKit/IOKitLib.h \
7425 IOKit/hid/IOHIDLib.h \
7426 OpenAL/al.h \
7427 OpenCL/opencl.h \
7428 QuickTime/ImageCompression.h \
7429 Security/Security.h \
7430 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7431 SystemConfiguration/SCNetworkConfiguration.h \
7432 alias.h \
7433 arpa/inet.h \
7434 arpa/nameser.h \
7435 asm/types.h \
7436 asm/user.h \
7437 dirent.h \
7438 dlfcn.h \
7439 elf.h \
7440 float.h \
7441 fnmatch.h \
7442 getopt.h \
7443 gettext-po.h \
7444 grp.h \
7445 gsm.h \
7446 gsm/gsm.h \
7447 ieeefp.h \
7448 inet/mib2.h \
7449 kstat.h \
7450 libproc.h \
7451 link.h \
7452 linux/cdrom.h \
7453 linux/filter.h \
7454 linux/hdreg.h \
7455 linux/hidraw.h \
7456 linux/input.h \
7457 linux/ioctl.h \
7458 linux/joystick.h \
7459 linux/major.h \
7460 linux/param.h \
7461 linux/serial.h \
7462 linux/types.h \
7463 linux/ucdrom.h \
7464 lwp.h \
7465 mach-o/loader.h \
7466 mach/mach.h \
7467 machine/cpu.h \
7468 machine/sysarch.h \
7469 mntent.h \
7470 netdb.h \
7471 netinet/in.h \
7472 netinet/in_systm.h \
7473 netinet/tcp.h \
7474 netinet/tcp_fsm.h \
7475 pcap/pcap.h \
7476 poll.h \
7477 port.h \
7478 pthread.h \
7479 pwd.h \
7480 sasl/sasl.h \
7481 sched.h \
7482 scsi/scsi.h \
7483 scsi/scsi_ioctl.h \
7484 scsi/sg.h \
7485 stdint.h \
7486 stropts.h \
7487 sys/attr.h \
7488 sys/auxv.h \
7489 sys/cdio.h \
7490 sys/epoll.h \
7491 sys/event.h \
7492 sys/filio.h \
7493 sys/ioctl.h \
7494 sys/ipc.h \
7495 sys/link.h \
7496 sys/mman.h \
7497 sys/modem.h \
7498 sys/msg.h \
7499 sys/mtio.h \
7500 sys/param.h \
7501 sys/poll.h \
7502 sys/prctl.h \
7503 sys/protosw.h \
7504 sys/ptrace.h \
7505 sys/queue.h \
7506 sys/random.h \
7507 sys/resource.h \
7508 sys/scsiio.h \
7509 sys/shm.h \
7510 sys/signal.h \
7511 sys/socket.h \
7512 sys/socketvar.h \
7513 sys/sockio.h \
7514 sys/statvfs.h \
7515 sys/strtio.h \
7516 sys/syscall.h \
7517 sys/sysinfo.h \
7518 sys/tihdr.h \
7519 sys/time.h \
7520 sys/timeout.h \
7521 sys/times.h \
7522 sys/uio.h \
7523 sys/user.h \
7524 sys/utsname.h \
7525 sys/vnode.h \
7526 sys/wait.h \
7527 syscall.h \
7528 termios.h \
7529 unistd.h \
7530 utime.h \
7531 valgrind/memcheck.h \
7532 valgrind/valgrind.h
7534 do :
7535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7538 cat >>confdefs.h <<_ACEOF
7539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 _ACEOF
7544 done
7546 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7547 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7549 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7554 if test $ac_cv_header_sys_mkdev_h = no; then
7555 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7556 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7558 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7565 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7566 if ${ac_cv_header_stat_broken+:} false; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7571 #include <sys/types.h>
7572 #include <sys/stat.h>
7574 #if defined S_ISBLK && defined S_IFDIR
7575 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7576 #endif
7578 #if defined S_ISBLK && defined S_IFCHR
7579 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7580 #endif
7582 #if defined S_ISLNK && defined S_IFREG
7583 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7584 #endif
7586 #if defined S_ISSOCK && defined S_IFREG
7587 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7588 #endif
7590 _ACEOF
7591 if ac_fn_c_try_compile "$LINENO"; then :
7592 ac_cv_header_stat_broken=no
7593 else
7594 ac_cv_header_stat_broken=yes
7596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7599 $as_echo "$ac_cv_header_stat_broken" >&6; }
7600 if test $ac_cv_header_stat_broken = yes; then
7602 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7608 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7609 do :
7610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7612 #ifdef HAVE_SYS_PARAM_H
7613 # include <sys/param.h>
7614 #endif
7616 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7617 cat >>confdefs.h <<_ACEOF
7618 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 _ACEOF
7623 done
7626 saved_sysctl_h_CFLAGS=$CFLAGS
7627 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7628 for ac_header in sys/sysctl.h
7629 do :
7630 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7631 #ifdef HAVE_SYS_PARAM_H
7632 # include <sys/param.h>
7633 #endif
7635 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7636 cat >>confdefs.h <<_ACEOF
7637 #define HAVE_SYS_SYSCTL_H 1
7638 _ACEOF
7642 done
7644 CFLAGS=$saved_sysctl_h_CFLAGS
7646 for ac_header in \
7647 netinet/ip.h \
7648 net/if.h \
7649 net/if_arp.h \
7650 net/if_dl.h \
7651 net/if_types.h \
7652 net/route.h \
7653 netinet/if_ether.h \
7654 netinet/if_inarp.h \
7655 netinet/in_pcb.h \
7656 netinet/ip_icmp.h \
7657 netinet/ip_var.h \
7658 netinet/udp.h \
7659 netipx/ipx.h \
7660 sys/un.h \
7662 do :
7663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7665 #ifdef HAVE_SYS_SOCKET_H
7666 # include <sys/socket.h>
7667 #endif
7668 #ifdef HAVE_SYS_SOCKETVAR_H
7669 # include <sys/socketvar.h>
7670 #endif
7671 #ifdef HAVE_NET_ROUTE_H
7672 # include <net/route.h>
7673 #endif
7674 #ifdef HAVE_NETINET_IN_H
7675 # include <netinet/in.h>
7676 #endif
7677 #ifdef HAVE_NETINET_IN_SYSTM_H
7678 # include <netinet/in_systm.h>
7679 #endif
7680 #ifdef HAVE_NET_IF_H
7681 # include <net/if.h>
7682 #endif
7683 #ifdef HAVE_NETINET_IP_H
7684 # include <netinet/ip.h>
7685 #endif
7687 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7688 cat >>confdefs.h <<_ACEOF
7689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7690 _ACEOF
7694 done
7697 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7698 do :
7699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7701 #ifdef HAVE_ALIAS_H
7702 # include <alias.h>
7703 #endif
7704 #ifdef HAVE_SYS_SOCKET_H
7705 # include <sys/socket.h>
7706 #endif
7707 #ifdef HAVE_SYS_SOCKETVAR_H
7708 # include <sys/socketvar.h>
7709 #endif
7710 #ifdef HAVE_SYS_TIMEOUT_H
7711 # include <sys/timeout.h>
7712 #endif
7713 #ifdef HAVE_NETINET_IN_H
7714 # include <netinet/in.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IN_SYSTM_H
7717 # include <netinet/in_systm.h>
7718 #endif
7719 #ifdef HAVE_NETINET_IP_H
7720 # include <netinet/ip.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IP_VAR_H
7723 # include <netinet/ip_var.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IP_ICMP_H
7726 # include <netinet/ip_icmp.h>
7727 #endif
7728 #ifdef HAVE_NETINET_UDP_H
7729 # include <netinet/udp.h>
7730 #endif
7731 #ifdef HAVE_NETINET_TCP_H
7732 # include <netinet/tcp.h>
7733 #endif
7734 #ifdef HAVE_NETINET_TCP_TIMER_H
7735 #include <netinet/tcp_timer.h>
7736 #endif
7738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7741 _ACEOF
7745 done
7748 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7749 do :
7750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7751 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7752 #ifdef HAVE_ASM_TYPES_H
7753 # include <asm/types.h>
7754 #endif
7755 #ifdef HAVE_SYS_SOCKET_H
7756 # include <sys/socket.h>
7757 #endif
7758 #ifdef HAVE_LINUX_TYPES_H
7759 # include <linux/types.h>
7760 #endif
7762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7765 _ACEOF
7769 done
7772 for ac_header in resolv.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7775 #ifdef HAVE_SYS_SOCKET_H
7776 # include <sys/socket.h>
7777 #endif
7778 #ifdef HAVE_NETINET_IN_H
7779 # include <netinet/in.h>
7780 #endif
7781 #ifdef HAVE_ARPA_NAMESER_H
7782 # include <arpa/nameser.h>
7783 #endif
7785 if test "x$ac_cv_header_resolv_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_RESOLV_H 1
7788 _ACEOF
7792 done
7795 for ac_header in ifaddrs.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7799 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_IFADDRS_H 1
7802 _ACEOF
7806 done
7809 for ac_header in sys/ucontext.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7813 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_SYS_UCONTEXT_H 1
7816 _ACEOF
7820 done
7823 for ac_header in sys/thr.h
7824 do :
7825 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7826 #ifdef HAVE_SYS_UCONTEXT_H
7827 #include <sys/ucontext.h>
7828 #endif
7830 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_SYS_THR_H 1
7833 _ACEOF
7837 done
7840 for ac_header in pthread_np.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7843 #include <pthread.h>
7844 #endif
7846 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7847 cat >>confdefs.h <<_ACEOF
7848 #define HAVE_PTHREAD_NP_H 1
7849 _ACEOF
7853 done
7856 for ac_header in linux/videodev2.h
7857 do :
7858 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7859 #include <sys/time.h>
7860 #endif
7861 #include <sys/types.h>
7862 #ifdef HAVE_ASM_TYPES_H
7863 #include <asm/types.h>
7864 #endif
7866 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_LINUX_VIDEODEV2_H 1
7869 _ACEOF
7873 done
7876 for ac_header in libprocstat.h
7877 do :
7878 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7879 #include <sys/param.h>
7880 #endif
7881 #ifdef HAVE_SYS_QUEUE_H
7882 #include <sys/queue.h>
7883 #endif
7884 #ifdef HAVE_SYS_SOCKET_H
7885 #include <sys/socket.h>
7886 #endif
7888 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7889 cat >>confdefs.h <<_ACEOF
7890 #define HAVE_LIBPROCSTAT_H 1
7891 _ACEOF
7895 done
7899 DLLFLAGS="-D_REENTRANT"
7901 LDDLLFLAGS=""
7903 LDEXECFLAGS=""
7905 TOP_INSTALL_LIB=""
7907 TOP_INSTALL_DEV=""
7909 WINELOADER_LDFLAGS=""
7911 WINEPRELOADER_LDFLAGS=""
7913 LIBEXT="so"
7914 DLLEXT=".so"
7915 # Extract the first word of "ldd", so it can be a program name with args.
7916 set dummy ldd; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_path_LDD+:} false; then :
7920 $as_echo_n "(cached) " >&6
7921 else
7922 case $LDD in
7923 [\\/]* | ?:[\\/]*)
7924 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 as_dummy="/sbin:/usr/sbin:$PATH"
7929 for as_dir in $as_dummy
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7943 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7945 esac
7947 LDD=$ac_cv_path_LDD
7948 if test -n "$LDD"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7950 $as_echo "$LDD" >&6; }
7951 else
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7959 set dummy ${ac_tool_prefix}otool; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_OTOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$OTOOL"; then
7966 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 OTOOL=$ac_cv_prog_OTOOL
7986 if test -n "$OTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7988 $as_echo "$OTOOL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7996 if test -z "$ac_cv_prog_OTOOL"; then
7997 ac_ct_OTOOL=$OTOOL
7998 # Extract the first word of "otool", so it can be a program name with args.
7999 set dummy otool; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8003 $as_echo_n "(cached) " >&6
8004 else
8005 if test -n "$ac_ct_OTOOL"; then
8006 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8007 else
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 for as_dir in $PATH
8011 IFS=$as_save_IFS
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_ac_ct_OTOOL="otool"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 break 2
8019 done
8020 done
8021 IFS=$as_save_IFS
8025 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8026 if test -n "$ac_ct_OTOOL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8028 $as_echo "$ac_ct_OTOOL" >&6; }
8029 else
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8034 if test "x$ac_ct_OTOOL" = x; then
8035 OTOOL="otool"
8036 else
8037 case $cross_compiling:$ac_tool_warned in
8038 yes:)
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041 ac_tool_warned=yes ;;
8042 esac
8043 OTOOL=$ac_ct_OTOOL
8045 else
8046 OTOOL="$ac_cv_prog_OTOOL"
8049 if test -n "$ac_tool_prefix"; then
8050 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8051 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_READELF+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$READELF"; then
8058 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 READELF=$ac_cv_prog_READELF
8078 if test -n "$READELF"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8080 $as_echo "$READELF" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test -z "$ac_cv_prog_READELF"; then
8089 ac_ct_READELF=$READELF
8090 # Extract the first word of "readelf", so it can be a program name with args.
8091 set dummy readelf; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 if test -n "$ac_ct_READELF"; then
8098 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8099 else
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 for as_dir in $PATH
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_ac_ct_READELF="readelf"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8117 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8118 if test -n "$ac_ct_READELF"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8120 $as_echo "$ac_ct_READELF" >&6; }
8121 else
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8126 if test "x$ac_ct_READELF" = x; then
8127 READELF="true"
8128 else
8129 case $cross_compiling:$ac_tool_warned in
8130 yes:)
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8133 ac_tool_warned=yes ;;
8134 esac
8135 READELF=$ac_ct_READELF
8137 else
8138 READELF="$ac_cv_prog_READELF"
8141 wine_rules_file=conf$$rules.make
8142 rm -f $wine_rules_file
8143 SUBDIRS=""
8145 DISABLED_SUBDIRS=""
8147 CONFIGURE_TARGETS=""
8150 wine_fn_append_file ()
8152 as_fn_append $1 " \\$as_nl $2"
8155 wine_fn_append_rule ()
8157 $as_echo "$1" >>$wine_rules_file
8160 wine_fn_config_makefile ()
8162 wine_fn_append_file SUBDIRS $1
8163 if eval test \"x\$"$2"\" = x"no"; then :
8164 wine_fn_append_file DISABLED_SUBDIRS $1
8168 wine_fn_config_symlink ()
8170 ac_links=$@
8171 wine_fn_append_rule \
8172 "$ac_links:
8173 @./config.status \$@"
8174 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8177 wine_binary="wine"
8178 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8179 WINELOADER_PROGRAMS="$wine_binary"
8181 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8183 case $host_os in
8184 cygwin*|mingw32*)
8185 if test -n "$ac_tool_prefix"; then
8186 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8187 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189 $as_echo_n "checking for $ac_word... " >&6; }
8190 if ${ac_cv_prog_DLLTOOL+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 if test -n "$DLLTOOL"; then
8194 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8195 else
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 for as_dir in $PATH
8199 IFS=$as_save_IFS
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8203 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 break 2
8207 done
8208 done
8209 IFS=$as_save_IFS
8213 DLLTOOL=$ac_cv_prog_DLLTOOL
8214 if test -n "$DLLTOOL"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8216 $as_echo "$DLLTOOL" >&6; }
8217 else
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8224 if test -z "$ac_cv_prog_DLLTOOL"; then
8225 ac_ct_DLLTOOL=$DLLTOOL
8226 # Extract the first word of "dlltool", so it can be a program name with args.
8227 set dummy dlltool; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 $as_echo_n "checking for $ac_word... " >&6; }
8230 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 if test -n "$ac_ct_DLLTOOL"; then
8234 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8235 else
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 for as_dir in $PATH
8239 IFS=$as_save_IFS
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 break 2
8247 done
8248 done
8249 IFS=$as_save_IFS
8253 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8254 if test -n "$ac_ct_DLLTOOL"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8256 $as_echo "$ac_ct_DLLTOOL" >&6; }
8257 else
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259 $as_echo "no" >&6; }
8262 if test "x$ac_ct_DLLTOOL" = x; then
8263 DLLTOOL="false"
8264 else
8265 case $cross_compiling:$ac_tool_warned in
8266 yes:)
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8269 ac_tool_warned=yes ;;
8270 esac
8271 DLLTOOL=$ac_ct_DLLTOOL
8273 else
8274 DLLTOOL="$ac_cv_prog_DLLTOOL"
8277 LIBEXT="dll"
8278 DLLEXT=""
8279 case $host_cpu in
8280 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8281 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8282 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 ac_wine_try_cflags_saved=$CFLAGS
8286 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 int main(int argc, char **argv) { return 0; }
8290 _ACEOF
8291 if ac_fn_c_try_link "$LINENO"; then :
8292 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8293 else
8294 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8296 rm -f core conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 CFLAGS=$ac_wine_try_cflags_saved
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8301 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8302 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8303 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8304 fi ;;
8305 esac
8306 enable_iphlpapi=${enable_iphlpapi:-no}
8307 enable_ws2_32=${enable_ws2_32:-no}
8308 enable_loader=${enable_loader:-no}
8309 enable_server=${enable_server:-no}
8310 with_x=${with_x:-no}
8311 with_pthread=${with_pthread:-no}
8314 darwin*|macosx*)
8315 ac_ext=m
8316 ac_cpp='$OBJCPP $CPPFLAGS'
8317 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8318 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8319 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8321 ac_ext=m
8322 ac_cpp='$OBJCPP $CPPFLAGS'
8323 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8324 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8325 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8326 if test -n "$ac_tool_prefix"; then
8327 for ac_prog in gcc objcc objc cc CC
8329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8332 $as_echo_n "checking for $ac_word... " >&6; }
8333 if ${ac_cv_prog_OBJC+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 if test -n "$OBJC"; then
8337 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8338 else
8339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8340 for as_dir in $PATH
8342 IFS=$as_save_IFS
8343 test -z "$as_dir" && as_dir=.
8344 for ac_exec_ext in '' $ac_executable_extensions; do
8345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8346 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8348 break 2
8350 done
8351 done
8352 IFS=$as_save_IFS
8356 OBJC=$ac_cv_prog_OBJC
8357 if test -n "$OBJC"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8359 $as_echo "$OBJC" >&6; }
8360 else
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8366 test -n "$OBJC" && break
8367 done
8369 if test -z "$OBJC"; then
8370 ac_ct_OBJC=$OBJC
8371 for ac_prog in gcc objcc objc cc CC
8373 # Extract the first word of "$ac_prog", so it can be a program name with args.
8374 set dummy $ac_prog; ac_word=$2
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8376 $as_echo_n "checking for $ac_word... " >&6; }
8377 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379 else
8380 if test -n "$ac_ct_OBJC"; then
8381 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8382 else
8383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8384 for as_dir in $PATH
8386 IFS=$as_save_IFS
8387 test -z "$as_dir" && as_dir=.
8388 for ac_exec_ext in '' $ac_executable_extensions; do
8389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8390 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 break 2
8394 done
8395 done
8396 IFS=$as_save_IFS
8400 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8401 if test -n "$ac_ct_OBJC"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8403 $as_echo "$ac_ct_OBJC" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8410 test -n "$ac_ct_OBJC" && break
8411 done
8413 if test "x$ac_ct_OBJC" = x; then
8414 OBJC="gcc"
8415 else
8416 case $cross_compiling:$ac_tool_warned in
8417 yes:)
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8420 ac_tool_warned=yes ;;
8421 esac
8422 OBJC=$ac_ct_OBJC
8426 # Provide some information about the compiler.
8427 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8428 set X $ac_compile
8429 ac_compiler=$2
8430 for ac_option in --version -v -V -qversion; do
8431 { { ac_try="$ac_compiler $ac_option >&5"
8432 case "(($ac_try" in
8433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8434 *) ac_try_echo=$ac_try;;
8435 esac
8436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8437 $as_echo "$ac_try_echo"; } >&5
8438 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8439 ac_status=$?
8440 if test -s conftest.err; then
8441 sed '10a\
8442 ... rest of stderr output deleted ...
8443 10q' conftest.err >conftest.er1
8444 cat conftest.er1 >&5
8446 rm -f conftest.er1 conftest.err
8447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8448 test $ac_status = 0; }
8449 done
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8452 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8453 if ${ac_cv_objc_compiler_gnu+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8460 main ()
8462 #ifndef __GNUC__
8463 choke me
8464 #endif
8467 return 0;
8469 _ACEOF
8470 if ac_fn_objc_try_compile "$LINENO"; then :
8471 ac_compiler_gnu=yes
8472 else
8473 ac_compiler_gnu=no
8475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8476 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8480 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8481 if test $ac_compiler_gnu = yes; then
8482 GOBJC=yes
8483 else
8484 GOBJC=
8486 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8487 ac_save_OBJCFLAGS=$OBJCFLAGS
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8489 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8490 if ${ac_cv_prog_objc_g+:} false; then :
8491 $as_echo_n "(cached) " >&6
8492 else
8493 ac_save_objc_werror_flag=$ac_objc_werror_flag
8494 ac_objc_werror_flag=yes
8495 ac_cv_prog_objc_g=no
8496 OBJCFLAGS="-g"
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8501 main ()
8505 return 0;
8507 _ACEOF
8508 if ac_fn_objc_try_compile "$LINENO"; then :
8509 ac_cv_prog_objc_g=yes
8510 else
8511 OBJCFLAGS=""
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8520 return 0;
8522 _ACEOF
8523 if ac_fn_objc_try_compile "$LINENO"; then :
8525 else
8526 ac_objc_werror_flag=$ac_save_objc_werror_flag
8527 OBJCFLAGS="-g"
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8532 main ()
8536 return 0;
8538 _ACEOF
8539 if ac_fn_objc_try_compile "$LINENO"; then :
8540 ac_cv_prog_objc_g=yes
8542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8547 ac_objc_werror_flag=$ac_save_objc_werror_flag
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8550 $as_echo "$ac_cv_prog_objc_g" >&6; }
8551 if test "$ac_test_OBJCFLAGS" = set; then
8552 OBJCFLAGS=$ac_save_OBJCFLAGS
8553 elif test $ac_cv_prog_objc_g = yes; then
8554 if test "$GOBJC" = yes; then
8555 OBJCFLAGS="-g -O2"
8556 else
8557 OBJCFLAGS="-g"
8559 else
8560 if test "$GOBJC" = yes; then
8561 OBJCFLAGS="-O2"
8562 else
8563 OBJCFLAGS=
8566 ac_ext=m
8567 ac_cpp='$OBJCPP $CPPFLAGS'
8568 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8569 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8570 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8573 ac_ext=m
8574 ac_cpp='$OBJCPP $CPPFLAGS'
8575 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8579 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8580 if test -z "$OBJCPP"; then
8581 if ${ac_cv_prog_OBJCPP+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 # Double quotes because OBJCPP needs to be expanded
8585 for OBJCPP in "$OBJC -E" "/lib/cpp"
8587 ac_preproc_ok=false
8588 for ac_objc_preproc_warn_flag in '' yes
8590 # Use a header file that comes with gcc, so configuring glibc
8591 # with a fresh cross-compiler works.
8592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8593 # <limits.h> exists even on freestanding compilers.
8594 # On the NeXT, cc -E runs the code through the compiler's parser,
8595 # not just through cpp. "Syntax error" is here to catch this case.
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #ifdef __STDC__
8599 # include <limits.h>
8600 #else
8601 # include <assert.h>
8602 #endif
8603 Syntax error
8604 _ACEOF
8605 if ac_fn_objc_try_cpp "$LINENO"; then :
8607 else
8608 # Broken: fails on valid input.
8609 continue
8611 rm -f conftest.err conftest.i conftest.$ac_ext
8613 # OK, works on sane cases. Now check whether nonexistent headers
8614 # can be detected and how.
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 #include <ac_nonexistent.h>
8618 _ACEOF
8619 if ac_fn_objc_try_cpp "$LINENO"; then :
8620 # Broken: success on invalid input.
8621 continue
8622 else
8623 # Passes both tests.
8624 ac_preproc_ok=:
8625 break
8627 rm -f conftest.err conftest.i conftest.$ac_ext
8629 done
8630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8631 rm -f conftest.i conftest.err conftest.$ac_ext
8632 if $ac_preproc_ok; then :
8633 break
8636 done
8637 ac_cv_prog_OBJCPP=$OBJCPP
8640 OBJCPP=$ac_cv_prog_OBJCPP
8641 else
8642 ac_cv_prog_OBJCPP=$OBJCPP
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8645 $as_echo "$OBJCPP" >&6; }
8646 ac_preproc_ok=false
8647 for ac_objc_preproc_warn_flag in '' yes
8649 # Use a header file that comes with gcc, so configuring glibc
8650 # with a fresh cross-compiler works.
8651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8652 # <limits.h> exists even on freestanding compilers.
8653 # On the NeXT, cc -E runs the code through the compiler's parser,
8654 # not just through cpp. "Syntax error" is here to catch this case.
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 #ifdef __STDC__
8658 # include <limits.h>
8659 #else
8660 # include <assert.h>
8661 #endif
8662 Syntax error
8663 _ACEOF
8664 if ac_fn_objc_try_cpp "$LINENO"; then :
8666 else
8667 # Broken: fails on valid input.
8668 continue
8670 rm -f conftest.err conftest.i conftest.$ac_ext
8672 # OK, works on sane cases. Now check whether nonexistent headers
8673 # can be detected and how.
8674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8675 /* end confdefs.h. */
8676 #include <ac_nonexistent.h>
8677 _ACEOF
8678 if ac_fn_objc_try_cpp "$LINENO"; then :
8679 # Broken: success on invalid input.
8680 continue
8681 else
8682 # Passes both tests.
8683 ac_preproc_ok=:
8684 break
8686 rm -f conftest.err conftest.i conftest.$ac_ext
8688 done
8689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8690 rm -f conftest.i conftest.err conftest.$ac_ext
8691 if $ac_preproc_ok; then :
8693 else
8694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8696 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8697 See \`config.log' for more details" "$LINENO" 5; }
8700 ac_ext=m
8701 ac_cpp='$OBJCPP $CPPFLAGS'
8702 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8703 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8704 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8707 for ac_header in Metal/Metal.h
8708 do :
8709 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8710 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8711 cat >>confdefs.h <<_ACEOF
8712 #define HAVE_METAL_METAL_H 1
8713 _ACEOF
8717 done
8719 ac_ext=c
8720 ac_cpp='$CPP $CPPFLAGS'
8721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8725 LIBEXT="dylib"
8726 DLLFLAGS="$DLLFLAGS -fPIC"
8727 LDDLLFLAGS="-fPIC"
8728 COREFOUNDATION_LIBS="-framework CoreFoundation"
8730 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8732 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8734 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8736 CORESERVICES_LIBS="-framework CoreServices"
8738 APPKIT_LIBS="-framework AppKit"
8740 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8743 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8745 wine_can_build_preloader=yes
8746 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8748 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8749 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 ac_cv_cflags__Wl__no_new_main__e__main=yes
8760 else
8761 ac_cv_cflags__Wl__no_new_main__e__main=no
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 CFLAGS=$ac_wine_try_cflags_saved
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8768 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8769 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8770 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8772 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8773 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8774 $as_echo_n "(cached) " >&6
8775 else
8776 ac_wine_try_cflags_saved=$CFLAGS
8777 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8780 int main(int argc, char **argv) { return 0; }
8781 _ACEOF
8782 if ac_fn_c_try_link "$LINENO"; then :
8783 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8784 else
8785 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8787 rm -f core conftest.err conftest.$ac_objext \
8788 conftest$ac_exeext conftest.$ac_ext
8789 CFLAGS=$ac_wine_try_cflags_saved
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8792 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8793 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8794 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8795 else
8796 { $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
8797 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8798 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int main(int argc, char **argv) { return 0; }
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8809 else
8810 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $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
8817 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8818 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8819 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8820 else
8821 wine_can_build_preloader=no
8824 else
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8826 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8827 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8834 int main(int argc, char **argv) { return 0; }
8835 _ACEOF
8836 if ac_fn_c_try_link "$LINENO"; then :
8837 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8838 else
8839 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8841 rm -f core conftest.err conftest.$ac_objext \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8846 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8847 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8848 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8849 else
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8851 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8852 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 ac_wine_try_cflags_saved=$CFLAGS
8856 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8859 int main(int argc, char **argv) { return 0; }
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8863 else
8864 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8871 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8872 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8873 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8874 else
8875 wine_can_build_preloader=no
8879 if test "$wine_can_build_preloader" = "yes"
8880 then
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8882 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8883 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8884 $as_echo_n "(cached) " >&6
8885 else
8886 ac_wine_try_cflags_saved=$CFLAGS
8887 CFLAGS="$CFLAGS -Wl,-no_pie"
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8890 int main(int argc, char **argv) { return 0; }
8891 _ACEOF
8892 if ac_fn_c_try_link "$LINENO"; then :
8893 ac_cv_cflags__Wl__no_pie=yes
8894 else
8895 ac_cv_cflags__Wl__no_pie=no
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 CFLAGS=$ac_wine_try_cflags_saved
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8902 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8903 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8904 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8906 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8907 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8908 else
8909 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8912 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8913 then
8914 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8917 if test "$ac_cv_header_Security_Security_h" = "yes"
8918 then
8919 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8921 ac_save_LIBS="$LIBS"
8922 LIBS="$LIBS $SECURITY_LIBS"
8923 for ac_func in SSLCopyPeerCertificates
8924 do :
8925 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8926 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8927 cat >>confdefs.h <<_ACEOF
8928 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8929 _ACEOF
8932 done
8934 LIBS="$ac_save_LIBS"
8936 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8937 then
8938 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8939 then
8940 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8942 else
8943 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8946 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8947 ac_save_LIBS="$LIBS"
8948 LIBS="$LIBS $COREAUDIO_LIBS"
8949 for ac_func in AUGraphAddNode
8950 do :
8951 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8952 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8953 cat >>confdefs.h <<_ACEOF
8954 #define HAVE_AUGRAPHADDNODE 1
8955 _ACEOF
8958 done
8960 LIBS="$ac_save_LIBS"
8962 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8963 then
8964 OPENAL_LIBS="-framework OpenAL"
8967 cat >>confdefs.h <<_ACEOF
8968 #define HAVE_OPENAL 1
8969 _ACEOF
8971 ac_cv_lib_openal=yes
8973 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8974 then
8975 OPENCL_LIBS="-framework OpenCL"
8977 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8979 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8980 then
8981 ac_save_LIBS="$LIBS"
8982 LIBS="$LIBS $IOKIT_LIBS"
8983 for ac_func in IOHIDManagerCreate
8984 do :
8985 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8986 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8987 cat >>confdefs.h <<_ACEOF
8988 #define HAVE_IOHIDMANAGERCREATE 1
8989 _ACEOF
8992 done
8994 LIBS="$ac_save_LIBS"
8997 if test "x$with_quicktime" != "xno"
8998 then
8999 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9000 then
9001 ac_save_LIBS="$LIBS"
9002 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9004 $as_echo_n "checking for the QuickTime framework... " >&6; }
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9007 #include <QuickTime/ImageCompression.h>
9009 main ()
9011 CodecManagerVersion(NULL);
9013 return 0;
9015 _ACEOF
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9018 $as_echo "yes" >&6; }
9019 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9021 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9022 else
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9025 ac_cv_header_QuickTime_ImageCompression_h=no
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 LIBS="$ac_save_LIBS"
9032 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9033 case "x$with_quicktime" in
9034 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9035 xno) ;;
9036 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9037 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9038 esac
9042 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9043 then
9044 CARBON_LIBS="-framework Carbon"
9047 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9048 then
9049 METAL_LIBS="-framework Metal -framework QuartzCore"
9053 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9054 then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9056 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9057 ac_ext=m
9058 ac_cpp='$OBJCPP $CPPFLAGS'
9059 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9060 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9061 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9065 #include <Metal/Metal.h>
9067 main ()
9069 id<MTLDevice> device; device.registryID;
9071 return 0;
9073 _ACEOF
9074 if ac_fn_objc_try_compile "$LINENO"; then :
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9076 $as_echo "yes" >&6; }
9078 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9080 else
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9085 ac_ext=c
9086 ac_cpp='$CPP $CPPFLAGS'
9087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9093 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9094 then
9095 ac_save_LIBS="$LIBS"
9096 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9097 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9098 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9099 enable_winemac_drv=${enable_winemac_drv:-yes}
9102 LIBS="$ac_save_LIBS"
9105 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9107 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9109 WINELOADER_DEPENDS="wine_info.plist"
9111 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9114 linux-android*)
9115 DLLFLAGS="$DLLFLAGS -fPIC"
9116 LDDLLFLAGS="-fPIC"
9117 LDEXECFLAGS="-Wl,-pie"
9118 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9120 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9121 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 ac_wine_try_cflags_saved=$CFLAGS
9125 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9128 int main(int argc, char **argv) { return 0; }
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9132 else
9133 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9140 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9141 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9142 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9144 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9146 LIBWINE_SHAREDLIB="libwine.so"
9148 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9150 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9153 $as_echo_n "checking for -lEGL... " >&6; }
9154 if ${ac_cv_lib_soname_EGL+:} false; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_check_soname_save_LIBS=$LIBS
9158 LIBS="-lEGL $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9162 /* Override any GCC internal prototype to avoid an error.
9163 Use char because int might match the return type of a GCC
9164 builtin and then its argument prototype would still apply. */
9165 #ifdef __cplusplus
9166 extern "C"
9167 #endif
9168 char eglGetProcAddress ();
9170 main ()
9172 return eglGetProcAddress ();
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 case "$LIBEXT" in
9179 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9180 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'` ;;
9181 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9182 if ${ac_cv_lib_soname_EGL:+false} :; then :
9183 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9184 fi ;;
9185 esac
9186 else
9187 ac_cv_lib_soname_EGL=
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_soname_save_LIBS
9193 if ${ac_cv_lib_soname_EGL:+false} :; then :
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9195 $as_echo "not found" >&6; }
9197 else
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9199 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9201 cat >>confdefs.h <<_ACEOF
9202 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9203 _ACEOF
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9208 $as_echo_n "checking for -lGLESv2... " >&6; }
9209 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_soname_save_LIBS=$LIBS
9213 LIBS="-lGLESv2 $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char glFlush ();
9225 main ()
9227 return glFlush ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 case "$LIBEXT" in
9234 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9235 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'` ;;
9236 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9237 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9238 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9239 fi ;;
9240 esac
9241 else
9242 ac_cv_lib_soname_GLESv2=
9244 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_soname_save_LIBS
9248 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9250 $as_echo "not found" >&6; }
9252 else
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9254 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9256 cat >>confdefs.h <<_ACEOF
9257 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9258 _ACEOF
9263 if test "x$exec_prefix" = xNONE
9264 then
9265 case $host_cpu in
9266 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9267 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9268 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9269 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9270 esac
9275 case $host_cpu in
9276 *i[3456789]86*)
9277 DLLFLAGS="$DLLFLAGS -fno-PIC"
9278 LDDLLFLAGS="-fno-PIC"
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9280 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9281 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9282 $as_echo_n "(cached) " >&6
9283 else
9284 ac_wine_try_cflags_saved=$CFLAGS
9285 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9287 /* end confdefs.h. */
9288 int main(int argc, char **argv) { return 0; }
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9292 else
9293 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 CFLAGS=$ac_wine_try_cflags_saved
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9300 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9301 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9302 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9306 DLLFLAGS="$DLLFLAGS -fPIC"
9307 LDDLLFLAGS="-fPIC" ;;
9308 esac
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9310 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9311 if ${ac_cv_c_dll_gnuelf+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_wine_try_cflags_saved=$CFLAGS
9315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 void myfunc() {}
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9322 else
9323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9328 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9329 ac_cv_c_dll_gnuelf="yes"
9330 else
9331 ac_cv_c_dll_gnuelf="no"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9335 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9336 if test "$ac_cv_c_dll_gnuelf" = "yes"
9337 then
9338 LIBWINE_LDFLAGS="-shared"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9340 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9341 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 int main(int argc, char **argv) { return 0; }
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9352 else
9353 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 CFLAGS=$ac_wine_try_cflags_saved
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9360 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9361 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9362 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9363 else
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9391 echo '{ global: *; };' >conftest.map
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9393 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9394 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9405 else
9406 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9413 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9414 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9415 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9417 rm -f conftest.map
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9420 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9421 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9428 int main(int argc, char **argv) { return 0; }
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_cflags__Wl___export_dynamic=yes
9432 else
9433 ac_cv_cflags__Wl___export_dynamic=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 CFLAGS=$ac_wine_try_cflags_saved
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9440 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9441 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9442 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9444 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9446 case $host_cpu in
9447 *i[3456789]86* | x86_64 | *aarch64*)
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9450 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9461 else
9462 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9469 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9470 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9471 case $host_os in
9472 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9473 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9474 esac
9475 else
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9477 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9478 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9489 else
9490 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 CFLAGS=$ac_wine_try_cflags_saved
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9497 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9498 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9499 case $host_os in
9500 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9501 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9502 esac
9504 # Extract the first word of "prelink", so it can be a program name with args.
9505 set dummy prelink; ac_word=$2
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9507 $as_echo_n "checking for $ac_word... " >&6; }
9508 if ${ac_cv_path_PRELINK+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 case $PRELINK in
9512 [\\/]* | ?:[\\/]*)
9513 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9517 for as_dir in /sbin /usr/sbin $PATH
9519 IFS=$as_save_IFS
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9523 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9525 break 2
9527 done
9528 done
9529 IFS=$as_save_IFS
9531 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9533 esac
9535 PRELINK=$ac_cv_path_PRELINK
9536 if test -n "$PRELINK"; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9538 $as_echo "$PRELINK" >&6; }
9539 else
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9541 $as_echo "no" >&6; }
9545 if test "x$PRELINK" = xfalse
9546 then
9547 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9551 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9552 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_wine_try_cflags_saved=$CFLAGS
9556 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9559 int main(int argc, char **argv) { return 0; }
9560 _ACEOF
9561 if ac_fn_c_try_link "$LINENO"; then :
9562 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9563 else
9564 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 CFLAGS=$ac_wine_try_cflags_saved
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9571 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9572 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9573 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9576 esac
9578 else
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9580 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9581 if ${ac_cv_c_dll_unixware+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_wine_try_cflags_saved=$CFLAGS
9585 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9588 void myfunc() {}
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9592 else
9593 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 CFLAGS=$ac_wine_try_cflags_saved
9598 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9599 ac_cv_c_dll_unixware="yes"
9600 else
9601 ac_cv_c_dll_unixware="no"
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9605 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9606 if test "$ac_cv_c_dll_unixware" = "yes"
9607 then
9608 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9611 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9613 LIBWINE_DEPENDS="wine.map"
9615 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9617 esac
9619 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9620 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9621 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9622 enable_winemac_drv=${enable_winemac_drv:-no}
9623 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9626 if test "x$with_mingw" != xno
9627 then
9628 case "x$with_mingw" in
9629 x|xyes) case "$host_cpu" in
9630 aarch64*)
9631 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9632 arm*)
9633 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9634 i[3456789]86*)
9635 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
9636 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9637 mingw32-gcc" ;;
9638 x86_64)
9639 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
9640 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9642 ac_prefix_list="" ;;
9643 esac
9644 for ac_prog in $ac_prefix_list
9646 # Extract the first word of "$ac_prog", so it can be a program name with args.
9647 set dummy $ac_prog; ac_word=$2
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9649 $as_echo_n "checking for $ac_word... " >&6; }
9650 if ${ac_cv_prog_CROSSCC+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 if test -n "$CROSSCC"; then
9654 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9655 else
9656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 for as_dir in $PATH
9659 IFS=$as_save_IFS
9660 test -z "$as_dir" && as_dir=.
9661 for ac_exec_ext in '' $ac_executable_extensions; do
9662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9663 ac_cv_prog_CROSSCC="$ac_prog"
9664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 break 2
9667 done
9668 done
9669 IFS=$as_save_IFS
9673 CROSSCC=$ac_cv_prog_CROSSCC
9674 if test -n "$CROSSCC"; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9676 $as_echo "$CROSSCC" >&6; }
9677 else
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 $as_echo "no" >&6; }
9683 test -n "$CROSSCC" && break
9684 done
9685 test -n "$CROSSCC" || CROSSCC="false"
9687 *) CROSSCC=$with_mingw ;;
9688 esac
9689 if test "$CROSSCC" != "false"
9690 then
9691 ac_save_CC="$CC"
9692 saved_CFLAGS=$CFLAGS
9693 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9695 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9699 CC="$CROSSCC"
9700 CFLAGS=$CROSSCFLAGS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9702 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9703 if ${wine_cv_crosscc+:} false; then :
9704 $as_echo_n "(cached) " >&6
9705 else
9706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9707 /* end confdefs.h. */
9710 main ()
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_compile "$LINENO"; then :
9718 wine_cv_crosscc=yes
9719 else
9720 wine_cv_crosscc=no
9722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9725 $as_echo "$wine_cv_crosscc" >&6; }
9726 if test $wine_cv_crosscc = yes
9727 then
9728 set x $CROSSCC
9729 shift
9730 while test $# -ge 1
9732 case "$1" in
9733 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9734 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9735 esac
9736 shift
9737 done
9739 llvm_target=$CROSSTARGET
9740 llvm_cflags="-fuse-ld=lld"
9741 if test -z "$llvm_target"
9742 then
9743 case $host_cpu in
9744 *i[3456789]86*) llvm_target=i686-windows ;;
9745 *) llvm_target=$host_cpu-windows ;;
9746 esac
9748 case $llvm_target in
9749 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9750 esac
9751 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9753 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9754 if eval \${$as_ac_var+:} false; then :
9755 $as_echo_n "(cached) " >&6
9756 else
9757 ac_wine_try_cflags_saved=$CFLAGS
9758 ac_wine_try_cflags_saved_cc=$CC
9759 ac_wine_try_cflags_saved_exeext=$ac_exeext
9760 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9761 CC="$CROSSCC"
9762 ac_exeext=".exe"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9765 int __cdecl mainCRTStartup(void) { return 0; }
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 eval "$as_ac_var=yes"
9769 else
9770 eval "$as_ac_var=no"
9772 rm -f core conftest.err conftest.$ac_objext \
9773 conftest$ac_exeext conftest.$ac_ext
9774 CFLAGS=$ac_wine_try_cflags_saved
9775 CC=$ac_wine_try_cflags_saved_cc
9776 ac_exeext=$ac_wine_try_cflags_saved_exeext
9778 eval ac_res=\$$as_ac_var
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9780 $as_echo "$ac_res" >&6; }
9781 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9782 CROSSTARGET=$llvm_target
9783 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9784 DELAYLOADFLAG="-Wl,-delayload,"
9786 CFLAGS="$CFLAGS $llvm_cflags"
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9790 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9791 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 ac_wine_try_cflags_saved=$CFLAGS
9795 ac_wine_try_cflags_saved_cc=$CC
9796 ac_wine_try_cflags_saved_exeext=$ac_exeext
9797 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9798 CC="$CROSSCC"
9799 ac_exeext=".exe"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9802 int __cdecl mainCRTStartup(void) { return 0; }
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 ac_cv_crosscflags__fno_strict_aliasing=yes
9806 else
9807 ac_cv_crosscflags__fno_strict_aliasing=no
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 CFLAGS=$ac_wine_try_cflags_saved
9812 CC=$ac_wine_try_cflags_saved_cc
9813 ac_exeext=$ac_wine_try_cflags_saved_exeext
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9816 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9817 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9818 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9821 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9822 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_wine_try_cflags_saved=$CFLAGS
9826 ac_wine_try_cflags_saved_cc=$CC
9827 ac_wine_try_cflags_saved_exeext=$ac_exeext
9828 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9829 CC="$CROSSCC"
9830 ac_exeext=".exe"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int __cdecl mainCRTStartup(void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9837 else
9838 ac_cv_crosscflags__Werror_unknown_warning_option=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 CFLAGS=$ac_wine_try_cflags_saved
9843 CC=$ac_wine_try_cflags_saved_cc
9844 ac_exeext=$ac_wine_try_cflags_saved_exeext
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9847 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9848 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9849 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9852 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9853 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_wine_try_cflags_saved=$CFLAGS
9857 ac_wine_try_cflags_saved_cc=$CC
9858 ac_wine_try_cflags_saved_exeext=$ac_exeext
9859 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9860 CC="$CROSSCC"
9861 ac_exeext=".exe"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int __cdecl mainCRTStartup(void) { return 0; }
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9868 else
9869 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 CFLAGS=$ac_wine_try_cflags_saved
9874 CC=$ac_wine_try_cflags_saved_cc
9875 ac_exeext=$ac_wine_try_cflags_saved_exeext
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9878 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9879 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9880 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9883 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9884 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_wine_try_cflags_saved=$CFLAGS
9888 ac_wine_try_cflags_saved_cc=$CC
9889 ac_wine_try_cflags_saved_exeext=$ac_exeext
9890 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9891 CC="$CROSSCC"
9892 ac_exeext=".exe"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9895 int __cdecl mainCRTStartup(void) { return 0; }
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9899 else
9900 ac_cv_crosscflags__Wdeclaration_after_statement=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 CFLAGS=$ac_wine_try_cflags_saved
9905 CC=$ac_wine_try_cflags_saved_cc
9906 ac_exeext=$ac_wine_try_cflags_saved_exeext
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9909 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9910 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9911 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9914 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9915 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9916 $as_echo_n "(cached) " >&6
9917 else
9918 ac_wine_try_cflags_saved=$CFLAGS
9919 ac_wine_try_cflags_saved_cc=$CC
9920 ac_wine_try_cflags_saved_exeext=$ac_exeext
9921 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9922 CC="$CROSSCC"
9923 ac_exeext=".exe"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int __cdecl mainCRTStartup(void) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 ac_cv_crosscflags__Wempty_body=yes
9930 else
9931 ac_cv_crosscflags__Wempty_body=no
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935 CFLAGS=$ac_wine_try_cflags_saved
9936 CC=$ac_wine_try_cflags_saved_cc
9937 ac_exeext=$ac_wine_try_cflags_saved_exeext
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9940 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9941 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9942 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9945 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9946 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_wine_try_cflags_saved=$CFLAGS
9950 ac_wine_try_cflags_saved_cc=$CC
9951 ac_wine_try_cflags_saved_exeext=$ac_exeext
9952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9953 CC="$CROSSCC"
9954 ac_exeext=".exe"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9957 int __cdecl mainCRTStartup(void) { return 0; }
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_crosscflags__Wignored_qualifiers=yes
9961 else
9962 ac_cv_crosscflags__Wignored_qualifiers=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 CFLAGS=$ac_wine_try_cflags_saved
9967 CC=$ac_wine_try_cflags_saved_cc
9968 ac_exeext=$ac_wine_try_cflags_saved_exeext
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9971 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9972 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9973 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9976 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9977 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_wine_try_cflags_saved=$CFLAGS
9981 ac_wine_try_cflags_saved_cc=$CC
9982 ac_wine_try_cflags_saved_exeext=$ac_exeext
9983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9984 CC="$CROSSCC"
9985 ac_exeext=".exe"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int __cdecl mainCRTStartup(void) { return 0; }
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 ac_cv_crosscflags__Wpacked_not_aligned=yes
9992 else
9993 ac_cv_crosscflags__Wpacked_not_aligned=no
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 CFLAGS=$ac_wine_try_cflags_saved
9998 CC=$ac_wine_try_cflags_saved_cc
9999 ac_exeext=$ac_wine_try_cflags_saved_exeext
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10002 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10003 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10004 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10007 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10008 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_wine_try_cflags_saved=$CFLAGS
10012 ac_wine_try_cflags_saved_cc=$CC
10013 ac_wine_try_cflags_saved_exeext=$ac_exeext
10014 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10015 CC="$CROSSCC"
10016 ac_exeext=".exe"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10019 int __cdecl mainCRTStartup(void) { return 0; }
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 ac_cv_crosscflags__Wpragma_pack=yes
10023 else
10024 ac_cv_crosscflags__Wpragma_pack=no
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 CFLAGS=$ac_wine_try_cflags_saved
10029 CC=$ac_wine_try_cflags_saved_cc
10030 ac_exeext=$ac_wine_try_cflags_saved_exeext
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10033 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10034 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10035 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10038 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10039 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_wine_try_cflags_saved=$CFLAGS
10043 ac_wine_try_cflags_saved_cc=$CC
10044 ac_wine_try_cflags_saved_exeext=$ac_exeext
10045 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10046 CC="$CROSSCC"
10047 ac_exeext=".exe"
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 int __cdecl mainCRTStartup(void) { return 0; }
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10053 ac_cv_crosscflags__Wshift_overflow_2=yes
10054 else
10055 ac_cv_crosscflags__Wshift_overflow_2=no
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 CFLAGS=$ac_wine_try_cflags_saved
10060 CC=$ac_wine_try_cflags_saved_cc
10061 ac_exeext=$ac_wine_try_cflags_saved_exeext
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10064 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10065 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10066 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10069 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10070 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10071 $as_echo_n "(cached) " >&6
10072 else
10073 ac_wine_try_cflags_saved=$CFLAGS
10074 ac_wine_try_cflags_saved_cc=$CC
10075 ac_wine_try_cflags_saved_exeext=$ac_exeext
10076 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10077 CC="$CROSSCC"
10078 ac_exeext=".exe"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int __cdecl mainCRTStartup(void) { return 0; }
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 ac_cv_crosscflags__Wstrict_prototypes=yes
10085 else
10086 ac_cv_crosscflags__Wstrict_prototypes=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 CFLAGS=$ac_wine_try_cflags_saved
10091 CC=$ac_wine_try_cflags_saved_cc
10092 ac_exeext=$ac_wine_try_cflags_saved_exeext
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10095 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10096 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10097 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10100 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10101 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_wine_try_cflags_saved=$CFLAGS
10105 ac_wine_try_cflags_saved_cc=$CC
10106 ac_wine_try_cflags_saved_exeext=$ac_exeext
10107 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10108 CC="$CROSSCC"
10109 ac_exeext=".exe"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int __cdecl mainCRTStartup(void) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 ac_cv_crosscflags__Wtype_limits=yes
10116 else
10117 ac_cv_crosscflags__Wtype_limits=no
10119 rm -f core conftest.err conftest.$ac_objext \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10122 CC=$ac_wine_try_cflags_saved_cc
10123 ac_exeext=$ac_wine_try_cflags_saved_exeext
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10126 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10127 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10128 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10131 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10132 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 ac_wine_try_cflags_saved_cc=$CC
10137 ac_wine_try_cflags_saved_exeext=$ac_exeext
10138 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10139 CC="$CROSSCC"
10140 ac_exeext=".exe"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int __cdecl mainCRTStartup(void) { return 0; }
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10147 else
10148 ac_cv_crosscflags__Wunused_but_set_parameter=no
10150 rm -f core conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10153 CC=$ac_wine_try_cflags_saved_cc
10154 ac_exeext=$ac_wine_try_cflags_saved_exeext
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10157 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10158 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10159 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10162 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10163 if ${ac_cv_crosscflags__Wvla+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 ac_wine_try_cflags_saved_cc=$CC
10168 ac_wine_try_cflags_saved_exeext=$ac_exeext
10169 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10170 CC="$CROSSCC"
10171 ac_exeext=".exe"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10174 int __cdecl mainCRTStartup(void) { return 0; }
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"; then :
10177 ac_cv_crosscflags__Wvla=yes
10178 else
10179 ac_cv_crosscflags__Wvla=no
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 CFLAGS=$ac_wine_try_cflags_saved
10184 CC=$ac_wine_try_cflags_saved_cc
10185 ac_exeext=$ac_wine_try_cflags_saved_exeext
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10188 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10189 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10190 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10193 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10194 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_wine_try_cflags_saved=$CFLAGS
10198 ac_wine_try_cflags_saved_cc=$CC
10199 ac_wine_try_cflags_saved_exeext=$ac_exeext
10200 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10201 CC="$CROSSCC"
10202 ac_exeext=".exe"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int __cdecl mainCRTStartup(void) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 ac_cv_crosscflags__Wwrite_strings=yes
10209 else
10210 ac_cv_crosscflags__Wwrite_strings=no
10212 rm -f core conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10214 CFLAGS=$ac_wine_try_cflags_saved
10215 CC=$ac_wine_try_cflags_saved_cc
10216 ac_exeext=$ac_wine_try_cflags_saved_exeext
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10219 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10220 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10221 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10224 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10225 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_wine_try_cflags_saved=$CFLAGS
10229 ac_wine_try_cflags_saved_cc=$CC
10230 ac_wine_try_cflags_saved_exeext=$ac_exeext
10231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10232 CC="$CROSSCC"
10233 ac_exeext=".exe"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 int __cdecl mainCRTStartup(void) { return 0; }
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"; then :
10239 ac_cv_crosscflags__Wpointer_arith=yes
10240 else
10241 ac_cv_crosscflags__Wpointer_arith=no
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 CFLAGS=$ac_wine_try_cflags_saved
10246 CC=$ac_wine_try_cflags_saved_cc
10247 ac_exeext=$ac_wine_try_cflags_saved_exeext
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10250 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10251 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10252 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10255 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10256 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 ac_wine_try_cflags_saved_cc=$CC
10261 ac_wine_try_cflags_saved_exeext=$ac_exeext
10262 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10263 CC="$CROSSCC"
10264 ac_exeext=".exe"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int __cdecl mainCRTStartup(void) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 ac_cv_crosscflags__Wlogical_op=yes
10271 else
10272 ac_cv_crosscflags__Wlogical_op=no
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 CFLAGS=$ac_wine_try_cflags_saved
10277 CC=$ac_wine_try_cflags_saved_cc
10278 ac_exeext=$ac_wine_try_cflags_saved_exeext
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10281 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10282 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10286 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10287 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_wine_try_cflags_saved=$CFLAGS
10291 ac_wine_try_cflags_saved_cc=$CC
10292 ac_wine_try_cflags_saved_exeext=$ac_exeext
10293 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10294 CC="$CROSSCC"
10295 ac_exeext=".exe"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int __cdecl mainCRTStartup(void) { return 0; }
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_crosscflags__Wabsolute_value=yes
10302 else
10303 ac_cv_crosscflags__Wabsolute_value=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10308 CC=$ac_wine_try_cflags_saved_cc
10309 ac_exeext=$ac_wine_try_cflags_saved_exeext
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10312 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10313 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10314 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10317 case $host_cpu in
10318 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10319 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10320 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_wine_try_cflags_saved=$CFLAGS
10324 ac_wine_try_cflags_saved_cc=$CC
10325 ac_wine_try_cflags_saved_exeext=$ac_exeext
10326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10327 CC="$CROSSCC"
10328 ac_exeext=".exe"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int __cdecl mainCRTStartup(void) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10335 else
10336 ac_cv_crosscflags__fno_omit_frame_pointer=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10341 CC=$ac_wine_try_cflags_saved_cc
10342 ac_exeext=$ac_wine_try_cflags_saved_exeext
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10345 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10346 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10348 fi ;;
10349 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10350 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10351 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10352 $as_echo_n "(cached) " >&6
10353 else
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 ac_wine_try_cflags_saved_cc=$CC
10356 ac_wine_try_cflags_saved_exeext=$ac_exeext
10357 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10358 CC="$CROSSCC"
10359 ac_exeext=".exe"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 int __cdecl mainCRTStartup(void) { return 0; }
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 ac_cv_crosscflags__Wno_format=yes
10366 else
10367 ac_cv_crosscflags__Wno_format=no
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10372 CC=$ac_wine_try_cflags_saved_cc
10373 ac_exeext=$ac_wine_try_cflags_saved_exeext
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10376 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10377 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10378 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10381 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10382 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 ac_wine_try_cflags_saved_cc=$CC
10387 ac_wine_try_cflags_saved_exeext=$ac_exeext
10388 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10389 CC="$CROSSCC"
10390 ac_exeext=".exe"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 int __cdecl mainCRTStartup(void) { return 0; }
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 ac_cv_crosscflags__Wformat_overflow=yes
10397 else
10398 ac_cv_crosscflags__Wformat_overflow=no
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 CFLAGS=$ac_wine_try_cflags_saved
10403 CC=$ac_wine_try_cflags_saved_cc
10404 ac_exeext=$ac_wine_try_cflags_saved_exeext
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10407 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10408 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10409 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10412 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10413 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 ac_wine_try_cflags_saved_cc=$CC
10418 ac_wine_try_cflags_saved_exeext=$ac_exeext
10419 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10420 CC="$CROSSCC"
10421 ac_exeext=".exe"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 int __cdecl mainCRTStartup(void) { return 0; }
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 ac_cv_crosscflags__Wnonnull=yes
10428 else
10429 ac_cv_crosscflags__Wnonnull=no
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 CFLAGS=$ac_wine_try_cflags_saved
10434 CC=$ac_wine_try_cflags_saved_cc
10435 ac_exeext=$ac_wine_try_cflags_saved_exeext
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10438 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10439 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10440 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10443 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10444 if ${ac_cv_crosscflags__mcx16+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 ac_wine_try_cflags_saved_cc=$CC
10449 ac_wine_try_cflags_saved_exeext=$ac_exeext
10450 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10451 CC="$CROSSCC"
10452 ac_exeext=".exe"
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 int __cdecl mainCRTStartup(void) { return 0; }
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 ac_cv_crosscflags__mcx16=yes
10459 else
10460 ac_cv_crosscflags__mcx16=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 CFLAGS=$ac_wine_try_cflags_saved
10465 CC=$ac_wine_try_cflags_saved_cc
10466 ac_exeext=$ac_wine_try_cflags_saved_exeext
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10469 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10470 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10471 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10472 fi ;;
10473 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10474 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10475 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 ac_wine_try_cflags_saved_cc=$CC
10480 ac_wine_try_cflags_saved_exeext=$ac_exeext
10481 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10482 CC="$CROSSCC"
10483 ac_exeext=".exe"
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10486 int __cdecl mainCRTStartup(void) { return 0; }
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 ac_cv_crosscflags__Wno_format=yes
10490 else
10491 ac_cv_crosscflags__Wno_format=no
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 CFLAGS=$ac_wine_try_cflags_saved
10496 CC=$ac_wine_try_cflags_saved_cc
10497 ac_exeext=$ac_wine_try_cflags_saved_exeext
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10500 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10501 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10502 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10503 fi ;;
10504 esac
10507 if test -z "$CROSSDEBUG"
10508 then
10509 for ac_flag in $CROSSCFLAGS; do
10510 case $ac_flag in
10511 -gdwarf*) CROSSDEBUG=dwarf ;;
10512 -gcodeview) CROSSDEBUG=pdb ;;
10513 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10514 esac
10515 done
10517 case $CROSSDEBUG in
10518 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10520 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__gdwarf_2=yes
10535 else
10536 ac_cv_crosscflags__gdwarf_2=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10545 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10546 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10550 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10551 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10552 $as_echo_n "(cached) " >&6
10553 else
10554 ac_wine_try_cflags_saved=$CFLAGS
10555 ac_wine_try_cflags_saved_cc=$CC
10556 ac_wine_try_cflags_saved_exeext=$ac_exeext
10557 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10558 CC="$CROSSCC"
10559 ac_exeext=".exe"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int __cdecl mainCRTStartup(void) { return 0; }
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 ac_cv_crosscflags__gstrict_dwarf=yes
10566 else
10567 ac_cv_crosscflags__gstrict_dwarf=no
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 CFLAGS=$ac_wine_try_cflags_saved
10572 CC=$ac_wine_try_cflags_saved_cc
10573 ac_exeext=$ac_wine_try_cflags_saved_exeext
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10576 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10577 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10578 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10579 fi ;;
10580 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10581 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10582 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 ac_wine_try_cflags_saved=$CFLAGS
10586 ac_wine_try_cflags_saved_cc=$CC
10587 ac_wine_try_cflags_saved_exeext=$ac_exeext
10588 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10589 CC="$CROSSCC"
10590 ac_exeext=".exe"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10593 int __cdecl mainCRTStartup(void) { return 0; }
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 ac_cv_crosscflags__gcodeview=yes
10597 else
10598 ac_cv_crosscflags__gcodeview=no
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 CFLAGS=$ac_wine_try_cflags_saved
10603 CC=$ac_wine_try_cflags_saved_cc
10604 ac_exeext=$ac_wine_try_cflags_saved_exeext
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10607 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10608 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10609 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10610 fi ;;
10611 esac
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10614 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10615 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_wine_try_cflags_saved=$CFLAGS
10619 ac_wine_try_cflags_saved_cc=$CC
10620 ac_wine_try_cflags_saved_exeext=$ac_exeext
10621 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10622 CC="$CROSSCC"
10623 ac_exeext=".exe"
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 int __cdecl mainCRTStartup(void) { return 0; }
10627 _ACEOF
10628 if ac_fn_c_try_link "$LINENO"; then :
10629 ac_cv_crosscflags__fexcess_precision_standard=yes
10630 else
10631 ac_cv_crosscflags__fexcess_precision_standard=no
10633 rm -f core conftest.err conftest.$ac_objext \
10634 conftest$ac_exeext conftest.$ac_ext
10635 CFLAGS=$ac_wine_try_cflags_saved
10636 CC=$ac_wine_try_cflags_saved_cc
10637 ac_exeext=$ac_wine_try_cflags_saved_exeext
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10640 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10641 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10642 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10646 if test "x$enable_werror" = "xyes"
10647 then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10649 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10650 if ${ac_cv_crosscflags__Werror+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_wine_try_cflags_saved=$CFLAGS
10654 ac_wine_try_cflags_saved_cc=$CC
10655 ac_wine_try_cflags_saved_exeext=$ac_exeext
10656 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10657 CC="$CROSSCC"
10658 ac_exeext=".exe"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10661 int __cdecl mainCRTStartup(void) { return 0; }
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"; then :
10664 ac_cv_crosscflags__Werror=yes
10665 else
10666 ac_cv_crosscflags__Werror=no
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 CFLAGS=$ac_wine_try_cflags_saved
10671 CC=$ac_wine_try_cflags_saved_cc
10672 ac_exeext=$ac_wine_try_cflags_saved_exeext
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10675 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10676 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10677 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10681 CFLAGS=$saved_CFLAGS
10682 CC="$ac_save_CC"
10685 if test "x$CROSSTARGET" = "x"; then :
10686 case "x$with_mingw" in
10687 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10688 xno) ;;
10689 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10690 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10691 esac
10696 if test "$ac_cv_header_pthread_h" = "yes"
10697 then
10698 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10699 if test "x$ac_cv_func_pthread_create" = xyes; then :
10701 else
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10703 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10704 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10705 $as_echo_n "(cached) " >&6
10706 else
10707 ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-lpthread $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char pthread_create ();
10720 main ()
10722 return pthread_create ();
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 ac_cv_lib_pthread_pthread_create=yes
10729 else
10730 ac_cv_lib_pthread_pthread_create=no
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10737 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10738 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10739 PTHREAD_LIBS="-lpthread"
10746 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10747 case "x$with_pthread" in
10748 xno) ;;
10749 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10750 Wine cannot support threads without libpthread.
10751 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10752 esac
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10758 $as_echo_n "checking for X... " >&6; }
10761 # Check whether --with-x was given.
10762 if test "${with_x+set}" = set; then :
10763 withval=$with_x;
10766 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10767 if test "x$with_x" = xno; then
10768 # The user explicitly disabled X.
10769 have_x=disabled
10770 else
10771 case $x_includes,$x_libraries in #(
10772 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10773 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10774 $as_echo_n "(cached) " >&6
10775 else
10776 # One or both of the vars are not set, and there is no cached value.
10777 ac_x_includes=no ac_x_libraries=no
10778 rm -f -r conftest.dir
10779 if mkdir conftest.dir; then
10780 cd conftest.dir
10781 cat >Imakefile <<'_ACEOF'
10782 incroot:
10783 @echo incroot='${INCROOT}'
10784 usrlibdir:
10785 @echo usrlibdir='${USRLIBDIR}'
10786 libdir:
10787 @echo libdir='${LIBDIR}'
10788 _ACEOF
10789 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10790 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10791 for ac_var in incroot usrlibdir libdir; do
10792 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10793 done
10794 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10795 for ac_extension in a so sl dylib la dll; do
10796 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10797 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10798 ac_im_usrlibdir=$ac_im_libdir; break
10800 done
10801 # Screen out bogus values from the imake configuration. They are
10802 # bogus both because they are the default anyway, and because
10803 # using them would break gcc on systems where it needs fixed includes.
10804 case $ac_im_incroot in
10805 /usr/include) ac_x_includes= ;;
10806 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10807 esac
10808 case $ac_im_usrlibdir in
10809 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10810 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10811 esac
10813 cd ..
10814 rm -f -r conftest.dir
10817 # Standard set of common directories for X headers.
10818 # Check X11 before X11Rn because it is often a symlink to the current release.
10819 ac_x_header_dirs='
10820 /usr/X11/include
10821 /usr/X11R7/include
10822 /usr/X11R6/include
10823 /usr/X11R5/include
10824 /usr/X11R4/include
10826 /usr/include/X11
10827 /usr/include/X11R7
10828 /usr/include/X11R6
10829 /usr/include/X11R5
10830 /usr/include/X11R4
10832 /usr/local/X11/include
10833 /usr/local/X11R7/include
10834 /usr/local/X11R6/include
10835 /usr/local/X11R5/include
10836 /usr/local/X11R4/include
10838 /usr/local/include/X11
10839 /usr/local/include/X11R7
10840 /usr/local/include/X11R6
10841 /usr/local/include/X11R5
10842 /usr/local/include/X11R4
10844 /usr/X386/include
10845 /usr/x386/include
10846 /usr/XFree86/include/X11
10848 /usr/include
10849 /usr/local/include
10850 /usr/unsupported/include
10851 /usr/athena/include
10852 /usr/local/x11r5/include
10853 /usr/lpp/Xamples/include
10855 /usr/openwin/include
10856 /usr/openwin/share/include'
10858 if test "$ac_x_includes" = no; then
10859 # Guess where to find include files, by looking for Xlib.h.
10860 # First, try using that file with no special directory specified.
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 #include <X11/Xlib.h>
10864 _ACEOF
10865 if ac_fn_c_try_cpp "$LINENO"; then :
10866 # We can compile using X headers with no special include directory.
10867 ac_x_includes=
10868 else
10869 for ac_dir in $ac_x_header_dirs; do
10870 if test -r "$ac_dir/X11/Xlib.h"; then
10871 ac_x_includes=$ac_dir
10872 break
10874 done
10876 rm -f conftest.err conftest.i conftest.$ac_ext
10877 fi # $ac_x_includes = no
10879 if test "$ac_x_libraries" = no; then
10880 # Check for the libraries.
10881 # See if we find them without any special options.
10882 # Don't add to $LIBS permanently.
10883 ac_save_LIBS=$LIBS
10884 LIBS="-lX11 $LIBS"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10887 #include <X11/Xlib.h>
10889 main ()
10891 XrmInitialize ()
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 LIBS=$ac_save_LIBS
10898 # We can link X programs with no special library path.
10899 ac_x_libraries=
10900 else
10901 LIBS=$ac_save_LIBS
10902 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10904 # Don't even attempt the hair of trying to link an X program!
10905 for ac_extension in a so sl dylib la dll; do
10906 if test -r "$ac_dir/libX11.$ac_extension"; then
10907 ac_x_libraries=$ac_dir
10908 break 2
10910 done
10911 done
10913 rm -f core conftest.err conftest.$ac_objext \
10914 conftest$ac_exeext conftest.$ac_ext
10915 fi # $ac_x_libraries = no
10917 case $ac_x_includes,$ac_x_libraries in #(
10918 no,* | *,no | *\'*)
10919 # Didn't find X, or a directory has "'" in its name.
10920 ac_cv_have_x="have_x=no";; #(
10922 # Record where we found X for the cache.
10923 ac_cv_have_x="have_x=yes\
10924 ac_x_includes='$ac_x_includes'\
10925 ac_x_libraries='$ac_x_libraries'"
10926 esac
10928 ;; #(
10929 *) have_x=yes;;
10930 esac
10931 eval "$ac_cv_have_x"
10932 fi # $with_x != no
10934 if test "$have_x" != yes; then
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10936 $as_echo "$have_x" >&6; }
10937 no_x=yes
10938 else
10939 # If each of the values was on the command line, it overrides each guess.
10940 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10941 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10942 # Update the cache value to reflect the command line values.
10943 ac_cv_have_x="have_x=yes\
10944 ac_x_includes='$x_includes'\
10945 ac_x_libraries='$x_libraries'"
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10947 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10950 if test "$no_x" = yes; then
10951 # Not all programs may use this symbol, but it does not hurt to define it.
10953 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10955 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10956 else
10957 if test -n "$x_includes"; then
10958 X_CFLAGS="$X_CFLAGS -I$x_includes"
10961 # It would also be nice to do this for all -L options, not just this one.
10962 if test -n "$x_libraries"; then
10963 X_LIBS="$X_LIBS -L$x_libraries"
10964 # For Solaris; some versions of Sun CC require a space after -R and
10965 # others require no space. Words are not sufficient . . . .
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10967 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10968 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10969 ac_xsave_c_werror_flag=$ac_c_werror_flag
10970 ac_c_werror_flag=yes
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10975 main ()
10979 return 0;
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10984 $as_echo "no" >&6; }
10985 X_LIBS="$X_LIBS -R$x_libraries"
10986 else
10987 LIBS="$ac_xsave_LIBS -R $x_libraries"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10992 main ()
10996 return 0;
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"; then :
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11001 $as_echo "yes" >&6; }
11002 X_LIBS="$X_LIBS -R $x_libraries"
11003 else
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11005 $as_echo "neither works" >&6; }
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 ac_c_werror_flag=$ac_xsave_c_werror_flag
11013 LIBS=$ac_xsave_LIBS
11016 # Check for system-dependent libraries X programs must link with.
11017 # Do this before checking for the system-independent R6 libraries
11018 # (-lICE), since we may need -lsocket or whatever for X linking.
11020 if test "$ISC" = yes; then
11021 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11022 else
11023 # Martyn Johnson says this is needed for Ultrix, if the X
11024 # libraries were built with DECnet support. And Karl Berry says
11025 # the Alpha needs dnet_stub (dnet does not exist).
11026 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 char XOpenDisplay ();
11038 main ()
11040 return XOpenDisplay ();
11042 return 0;
11044 _ACEOF
11045 if ac_fn_c_try_link "$LINENO"; then :
11047 else
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11049 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11050 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-ldnet $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char dnet_ntoa ();
11066 main ()
11068 return dnet_ntoa ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_dnet_dnet_ntoa=yes
11075 else
11076 ac_cv_lib_dnet_dnet_ntoa=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11083 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11084 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11085 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11088 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11090 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11091 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-ldnet_stub $LIBS"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char dnet_ntoa ();
11107 main ()
11109 return dnet_ntoa ();
11111 return 0;
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11116 else
11117 ac_cv_lib_dnet_stub_dnet_ntoa=no
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_lib_save_LIBS
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11124 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11125 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11131 rm -f core conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext
11133 LIBS="$ac_xsave_LIBS"
11135 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11136 # to get the SysV transport functions.
11137 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11138 # needs -lnsl.
11139 # The nsl library prevents programs from opening the X display
11140 # on Irix 5.2, according to T.E. Dickey.
11141 # The functions gethostbyname, getservbyname, and inet_addr are
11142 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11143 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11144 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11148 if test $ac_cv_func_gethostbyname = no; then
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11150 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11151 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-lnsl $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char gethostbyname ();
11167 main ()
11169 return gethostbyname ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_nsl_gethostbyname=yes
11176 else
11177 ac_cv_lib_nsl_gethostbyname=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11184 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11185 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11186 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11189 if test $ac_cv_lib_nsl_gethostbyname = no; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11191 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11192 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lbsd $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char gethostbyname ();
11208 main ()
11210 return gethostbyname ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_bsd_gethostbyname=yes
11217 else
11218 ac_cv_lib_bsd_gethostbyname=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11225 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11226 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11233 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11234 # socket/setsockopt and other routines are undefined under SCO ODT
11235 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11236 # on later versions), says Simon Leinen: it contains gethostby*
11237 # variants that don't use the name server (or something). -lsocket
11238 # must be given before -lnsl if both are needed. We assume that
11239 # if connect needs -lnsl, so does gethostbyname.
11240 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11241 if test "x$ac_cv_func_connect" = xyes; then :
11245 if test $ac_cv_func_connect = no; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11247 $as_echo_n "checking for connect in -lsocket... " >&6; }
11248 if ${ac_cv_lib_socket_connect+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char connect ();
11264 main ()
11266 return connect ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_socket_connect=yes
11273 else
11274 ac_cv_lib_socket_connect=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11281 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11282 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11283 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11288 # Guillermo Gomez says -lposix is necessary on A/UX.
11289 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11290 if test "x$ac_cv_func_remove" = xyes; then :
11294 if test $ac_cv_func_remove = no; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11296 $as_echo_n "checking for remove in -lposix... " >&6; }
11297 if ${ac_cv_lib_posix_remove+:} false; then :
11298 $as_echo_n "(cached) " >&6
11299 else
11300 ac_check_lib_save_LIBS=$LIBS
11301 LIBS="-lposix $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char remove ();
11313 main ()
11315 return remove ();
11317 return 0;
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 ac_cv_lib_posix_remove=yes
11322 else
11323 ac_cv_lib_posix_remove=no
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_lib_save_LIBS
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11330 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11331 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11332 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11337 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11338 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11339 if test "x$ac_cv_func_shmat" = xyes; then :
11343 if test $ac_cv_func_shmat = no; then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11345 $as_echo_n "checking for shmat in -lipc... " >&6; }
11346 if ${ac_cv_lib_ipc_shmat+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-lipc $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char shmat ();
11362 main ()
11364 return shmat ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_ipc_shmat=yes
11371 else
11372 ac_cv_lib_ipc_shmat=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11379 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11380 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11381 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11387 # Check for libraries that X11R6 Xt/Xaw programs need.
11388 ac_save_LDFLAGS=$LDFLAGS
11389 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11390 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11391 # check for ICE first), but we must link in the order -lSM -lICE or
11392 # we get undefined symbols. So assume we have SM if we have ICE.
11393 # These have to be linked with before -lX11, unlike the other
11394 # libraries we check for below, so use a different variable.
11395 # John Interrante, Karl Berry
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11397 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11398 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_lib_save_LIBS=$LIBS
11402 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char IceConnectionNumber ();
11414 main ()
11416 return IceConnectionNumber ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 ac_cv_lib_ICE_IceConnectionNumber=yes
11423 else
11424 ac_cv_lib_ICE_IceConnectionNumber=no
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_lib_save_LIBS
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11431 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11432 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11433 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11436 LDFLAGS=$ac_save_LDFLAGS
11441 if test "$have_x" = "yes"
11442 then
11443 ac_save_CPPFLAGS="$CPPFLAGS"
11444 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11447 $as_echo_n "checking for -lX11... " >&6; }
11448 if ${ac_cv_lib_soname_X11+:} false; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 ac_check_soname_save_LIBS=$LIBS
11452 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11459 #ifdef __cplusplus
11460 extern "C"
11461 #endif
11462 char XCreateWindow ();
11464 main ()
11466 return XCreateWindow ();
11468 return 0;
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"; then :
11472 case "$LIBEXT" in
11473 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11474 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'` ;;
11475 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11476 if ${ac_cv_lib_soname_X11:+false} :; then :
11477 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11478 fi ;;
11479 esac
11480 else
11481 ac_cv_lib_soname_X11=
11483 rm -f core conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_soname_save_LIBS
11487 if ${ac_cv_lib_soname_X11:+false} :; then :
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11489 $as_echo "not found" >&6; }
11491 else
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11493 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11495 cat >>confdefs.h <<_ACEOF
11496 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11497 _ACEOF
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11502 $as_echo_n "checking for -lXext... " >&6; }
11503 if ${ac_cv_lib_soname_Xext+:} false; then :
11504 $as_echo_n "(cached) " >&6
11505 else
11506 ac_check_soname_save_LIBS=$LIBS
11507 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11514 #ifdef __cplusplus
11515 extern "C"
11516 #endif
11517 char XextCreateExtension ();
11519 main ()
11521 return XextCreateExtension ();
11523 return 0;
11525 _ACEOF
11526 if ac_fn_c_try_link "$LINENO"; then :
11527 case "$LIBEXT" in
11528 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11529 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'` ;;
11530 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11531 if ${ac_cv_lib_soname_Xext:+false} :; then :
11532 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11533 fi ;;
11534 esac
11535 else
11536 ac_cv_lib_soname_Xext=
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_soname_save_LIBS
11542 if ${ac_cv_lib_soname_Xext:+false} :; then :
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11544 $as_echo "not found" >&6; }
11546 else
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11548 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11550 cat >>confdefs.h <<_ACEOF
11551 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11552 _ACEOF
11554 X_LIBS="$X_LIBS -lXext"
11556 X_LIBS="$X_LIBS -lX11"
11558 for ac_header in X11/Xlib.h \
11559 X11/XKBlib.h \
11560 X11/Xutil.h \
11561 X11/Xcursor/Xcursor.h \
11562 X11/extensions/shape.h \
11563 X11/extensions/XInput.h \
11564 X11/extensions/XInput2.h \
11565 X11/extensions/XShm.h \
11566 X11/extensions/Xcomposite.h \
11567 X11/extensions/Xfixes.h \
11568 X11/extensions/Xinerama.h \
11569 X11/extensions/Xrandr.h \
11570 X11/extensions/Xrender.h \
11571 X11/extensions/xf86vmode.h \
11572 X11/extensions/xf86vmproto.h
11573 do :
11574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11575 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11576 # include <X11/Xlib.h>
11577 #endif
11578 #ifdef HAVE_X11_XUTIL_H
11579 # include <X11/Xutil.h>
11580 #endif
11582 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11583 cat >>confdefs.h <<_ACEOF
11584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11585 _ACEOF
11589 done
11592 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11593 then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11595 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11596 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_lib_save_LIBS=$LIBS
11600 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char XkbQueryExtension ();
11612 main ()
11614 return XkbQueryExtension ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 ac_cv_lib_X11_XkbQueryExtension=yes
11621 else
11622 ac_cv_lib_X11_XkbQueryExtension=no
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11629 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11630 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11632 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11638 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11639 then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11641 $as_echo_n "checking for -lXcursor... " >&6; }
11642 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 ac_check_soname_save_LIBS=$LIBS
11646 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char XcursorImageLoadCursor ();
11658 main ()
11660 return XcursorImageLoadCursor ();
11662 return 0;
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 case "$LIBEXT" in
11667 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11668 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'` ;;
11669 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11670 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11671 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 fi ;;
11673 esac
11674 else
11675 ac_cv_lib_soname_Xcursor=
11677 rm -f core conftest.err conftest.$ac_objext \
11678 conftest$ac_exeext conftest.$ac_ext
11679 LIBS=$ac_check_soname_save_LIBS
11681 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11683 $as_echo "not found" >&6; }
11685 else
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11687 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11689 cat >>confdefs.h <<_ACEOF
11690 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11691 _ACEOF
11696 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11697 case "x$with_xcursor" in
11698 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11699 xno) ;;
11700 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11701 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11702 esac
11706 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11707 then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11709 $as_echo_n "checking for -lXi... " >&6; }
11710 if ${ac_cv_lib_soname_Xi+:} false; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 ac_check_soname_save_LIBS=$LIBS
11714 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11721 #ifdef __cplusplus
11722 extern "C"
11723 #endif
11724 char XOpenDevice ();
11726 main ()
11728 return XOpenDevice ();
11730 return 0;
11732 _ACEOF
11733 if ac_fn_c_try_link "$LINENO"; then :
11734 case "$LIBEXT" in
11735 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11736 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'` ;;
11737 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11738 if ${ac_cv_lib_soname_Xi:+false} :; then :
11739 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11740 fi ;;
11741 esac
11742 else
11743 ac_cv_lib_soname_Xi=
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_soname_save_LIBS
11749 if ${ac_cv_lib_soname_Xi:+false} :; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11751 $as_echo "not found" >&6; }
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11755 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11757 cat >>confdefs.h <<_ACEOF
11758 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11759 _ACEOF
11764 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11765 case "x$with_xinput" in
11766 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11767 xno) ;;
11768 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11769 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11770 esac
11774 if test "x$ac_cv_lib_soname_Xi" != x
11775 then
11776 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11777 case "x$with_xinput2" in
11778 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11779 xno) ;;
11780 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11781 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11782 esac
11787 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11788 then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11790 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11791 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_lib_save_LIBS=$LIBS
11795 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char XShmQueryExtension ();
11807 main ()
11809 return XShmQueryExtension ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 ac_cv_lib_Xext_XShmQueryExtension=yes
11816 else
11817 ac_cv_lib_Xext_XShmQueryExtension=no
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_lib_save_LIBS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11824 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11825 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11827 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11832 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11833 case "x$with_xshm" in
11834 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11835 xno) ;;
11836 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11837 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11838 esac
11842 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11843 then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11845 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11846 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11847 $as_echo_n "(cached) " >&6
11848 else
11849 ac_check_lib_save_LIBS=$LIBS
11850 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11857 #ifdef __cplusplus
11858 extern "C"
11859 #endif
11860 char XShapeQueryExtension ();
11862 main ()
11864 return XShapeQueryExtension ();
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_link "$LINENO"; then :
11870 ac_cv_lib_Xext_XShapeQueryExtension=yes
11871 else
11872 ac_cv_lib_Xext_XShapeQueryExtension=no
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_lib_save_LIBS
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11879 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11880 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11882 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11887 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11888 case "x$with_xshape" in
11889 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11890 xno) ;;
11891 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11892 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11893 esac
11897 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11898 then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11900 $as_echo_n "checking for -lXxf86vm... " >&6; }
11901 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11902 $as_echo_n "(cached) " >&6
11903 else
11904 ac_check_soname_save_LIBS=$LIBS
11905 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 #ifdef __cplusplus
11913 extern "C"
11914 #endif
11915 char XF86VidModeQueryExtension ();
11917 main ()
11919 return XF86VidModeQueryExtension ();
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_link "$LINENO"; then :
11925 case "$LIBEXT" in
11926 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11927 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'` ;;
11928 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11929 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11930 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11931 fi ;;
11932 esac
11933 else
11934 ac_cv_lib_soname_Xxf86vm=
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_soname_save_LIBS
11940 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11942 $as_echo "not found" >&6; }
11944 else
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11946 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11948 cat >>confdefs.h <<_ACEOF
11949 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11950 _ACEOF
11955 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11956 case "x$with_xxf86vm" in
11957 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11958 xno) ;;
11959 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11960 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11961 esac
11965 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11966 then
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11968 $as_echo_n "checking for -lXrender... " >&6; }
11969 if ${ac_cv_lib_soname_Xrender+:} false; then :
11970 $as_echo_n "(cached) " >&6
11971 else
11972 ac_check_soname_save_LIBS=$LIBS
11973 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11980 #ifdef __cplusplus
11981 extern "C"
11982 #endif
11983 char XRenderQueryExtension ();
11985 main ()
11987 return XRenderQueryExtension ();
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_link "$LINENO"; then :
11993 case "$LIBEXT" in
11994 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11995 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'` ;;
11996 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11997 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11998 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11999 fi ;;
12000 esac
12001 else
12002 ac_cv_lib_soname_Xrender=
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_soname_save_LIBS
12008 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12010 $as_echo "not found" >&6; }
12012 else
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12014 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12016 cat >>confdefs.h <<_ACEOF
12017 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12018 _ACEOF
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12021 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12022 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12023 $as_echo_n "(cached) " >&6
12024 else
12025 ac_check_lib_save_LIBS=$LIBS
12026 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char XRenderSetPictureTransform ();
12038 main ()
12040 return XRenderSetPictureTransform ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12047 else
12048 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12055 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12056 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12058 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12063 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12064 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XRenderCreateLinearGradient ();
12080 main ()
12082 return XRenderCreateLinearGradient ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12089 else
12090 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12097 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12098 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12100 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12107 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12108 case "x$with_xrender" in
12109 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12110 xno) ;;
12111 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12112 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12113 esac
12117 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12118 then
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12121 #include <X11/Xlib.h>
12122 #include <X11/extensions/Xrandr.h>
12124 main ()
12126 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_compile "$LINENO"; then :
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12133 $as_echo_n "checking for -lXrandr... " >&6; }
12134 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12135 $as_echo_n "(cached) " >&6
12136 else
12137 ac_check_soname_save_LIBS=$LIBS
12138 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12142 /* Override any GCC internal prototype to avoid an error.
12143 Use char because int might match the return type of a GCC
12144 builtin and then its argument prototype would still apply. */
12145 #ifdef __cplusplus
12146 extern "C"
12147 #endif
12148 char XRRQueryExtension ();
12150 main ()
12152 return XRRQueryExtension ();
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_link "$LINENO"; then :
12158 case "$LIBEXT" in
12159 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12160 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'` ;;
12161 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12162 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12163 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12164 fi ;;
12165 esac
12166 else
12167 ac_cv_lib_soname_Xrandr=
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 LIBS=$ac_check_soname_save_LIBS
12173 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12175 $as_echo "not found" >&6; }
12177 else
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12179 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12181 cat >>confdefs.h <<_ACEOF
12182 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12183 _ACEOF
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12187 #include <X11/Xlib.h>
12188 #include <X11/extensions/Xrandr.h>
12190 main ()
12192 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_compile "$LINENO"; then :
12199 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12201 else
12202 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12209 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12210 case "x$with_xrandr" in
12211 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12212 xno) ;;
12213 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12214 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12215 esac
12219 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12220 then
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12223 #include <X11/Xlib.h>
12224 #include <X11/extensions/Xfixes.h>
12226 main ()
12228 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12230 return 0;
12232 _ACEOF
12233 if ac_fn_c_try_compile "$LINENO"; then :
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12235 $as_echo_n "checking for -lXfixes... " >&6; }
12236 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 ac_check_soname_save_LIBS=$LIBS
12240 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char XFixesQueryVersion ();
12252 main ()
12254 return XFixesQueryVersion ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 case "$LIBEXT" in
12261 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12262 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'` ;;
12263 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12264 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12265 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12266 fi ;;
12267 esac
12268 else
12269 ac_cv_lib_soname_Xfixes=
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12279 else
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12281 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12285 _ACEOF
12290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12292 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12293 case "x$with_xfixes" in
12294 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12295 xno) ;;
12296 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12297 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12298 esac
12302 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12303 then
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12306 #include <X11/Xlib.h>
12307 #include <X11/extensions/Xinerama.h>
12309 main ()
12311 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12318 $as_echo_n "checking for -lXinerama... " >&6; }
12319 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char XineramaQueryScreens ();
12335 main ()
12337 return XineramaQueryScreens ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 case "$LIBEXT" in
12344 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12345 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'` ;;
12346 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12347 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12348 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12349 fi ;;
12350 esac
12351 else
12352 ac_cv_lib_soname_Xinerama=
12354 rm -f core conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_soname_save_LIBS
12358 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12360 $as_echo "not found" >&6; }
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12364 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12368 _ACEOF
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12376 case "x$with_xinerama" in
12377 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12378 xno) ;;
12379 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12380 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12381 esac
12385 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12386 then
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12388 $as_echo_n "checking for -lXcomposite... " >&6; }
12389 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12390 $as_echo_n "(cached) " >&6
12391 else
12392 ac_check_soname_save_LIBS=$LIBS
12393 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h. */
12397 /* Override any GCC internal prototype to avoid an error.
12398 Use char because int might match the return type of a GCC
12399 builtin and then its argument prototype would still apply. */
12400 #ifdef __cplusplus
12401 extern "C"
12402 #endif
12403 char XCompositeRedirectWindow ();
12405 main ()
12407 return XCompositeRedirectWindow ();
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_link "$LINENO"; then :
12413 case "$LIBEXT" in
12414 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12415 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'` ;;
12416 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12417 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12418 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12419 fi ;;
12420 esac
12421 else
12422 ac_cv_lib_soname_Xcomposite=
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 LIBS=$ac_check_soname_save_LIBS
12428 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12430 $as_echo "not found" >&6; }
12432 else
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12434 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12436 cat >>confdefs.h <<_ACEOF
12437 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12438 _ACEOF
12443 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12444 case "x$with_xcomposite" in
12445 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12446 xno) ;;
12447 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12448 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12449 esac
12453 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12454 #include <X11/Xlib.h>
12455 #endif
12457 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12459 cat >>confdefs.h <<_ACEOF
12460 #define HAVE_XICCALLBACK_CALLBACK 1
12461 _ACEOF
12465 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12466 #include <X11/Xlib.h>
12467 #endif
12469 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12471 cat >>confdefs.h <<_ACEOF
12472 #define HAVE_XEVENT_XCOOKIE 1
12473 _ACEOF
12480 opengl_msg=""
12481 if test "x$with_opengl" != "xno"
12482 then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12484 $as_echo_n "checking for -lGL... " >&6; }
12485 if ${ac_cv_lib_soname_GL+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_check_soname_save_LIBS=$LIBS
12489 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 char glXCreateContext ();
12501 main ()
12503 return glXCreateContext ();
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"; then :
12509 case "$LIBEXT" in
12510 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12511 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'` ;;
12512 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12513 if ${ac_cv_lib_soname_GL:+false} :; then :
12514 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12515 fi ;;
12516 esac
12517 else
12518 ac_cv_lib_soname_GL=
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_soname_save_LIBS
12524 if ${ac_cv_lib_soname_GL:+false} :; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12526 $as_echo "not found" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12528 $as_echo_n "checking for -lGL... " >&6; }
12529 if ${ac_cv_lib_soname_GL+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 ac_check_soname_save_LIBS=$LIBS
12533 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"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 /* Override any GCC internal prototype to avoid an error.
12538 Use char because int might match the return type of a GCC
12539 builtin and then its argument prototype would still apply. */
12540 #ifdef __cplusplus
12541 extern "C"
12542 #endif
12543 char glXCreateContext ();
12545 main ()
12547 return glXCreateContext ();
12549 return 0;
12551 _ACEOF
12552 if ac_fn_c_try_link "$LINENO"; then :
12553 case "$LIBEXT" in
12554 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12555 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'` ;;
12556 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12557 if ${ac_cv_lib_soname_GL:+false} :; then :
12558 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12559 fi ;;
12560 esac
12561 else
12562 ac_cv_lib_soname_GL=
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 LIBS=$ac_check_soname_save_LIBS
12568 if ${ac_cv_lib_soname_GL:+false} :; then :
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12570 $as_echo "not found" >&6; }
12571 if test -f /usr/X11R6/lib/libGL.a
12572 then
12573 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12574 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12575 else
12576 opengl_msg="No OpenGL library found on this system."
12578 else
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12580 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12582 cat >>confdefs.h <<_ACEOF
12583 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12584 _ACEOF
12586 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"
12588 else
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12590 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12592 cat >>confdefs.h <<_ACEOF
12593 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12594 _ACEOF
12596 OPENGL_LIBS="-lGL"
12598 if test "x$with_osmesa" != "xno"
12599 then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12601 $as_echo_n "checking for -lOSMesa... " >&6; }
12602 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12603 $as_echo_n "(cached) " >&6
12604 else
12605 ac_check_soname_save_LIBS=$LIBS
12606 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char OSMesaGetProcAddress ();
12618 main ()
12620 return OSMesaGetProcAddress ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 case "$LIBEXT" in
12627 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12628 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'` ;;
12629 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12630 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12631 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12632 fi ;;
12633 esac
12634 else
12635 ac_cv_lib_soname_OSMesa=
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_soname_save_LIBS
12641 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12643 $as_echo "not found" >&6; }
12645 else
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12647 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12649 cat >>confdefs.h <<_ACEOF
12650 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12651 _ACEOF
12655 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12656 case "x$with_osmesa" in
12657 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12658 xno) ;;
12659 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12660 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12661 esac
12666 if test -n "$opengl_msg"; then :
12667 case "x$with_opengl" in
12668 x) as_fn_append wine_warnings "|$opengl_msg
12669 OpenGL and Direct3D won't be supported." ;;
12670 xno) ;;
12671 *) as_fn_error $? "$opengl_msg
12672 OpenGL and Direct3D won't be supported.
12673 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12674 esac
12678 CPPFLAGS="$ac_save_CPPFLAGS"
12679 else
12680 X_CFLAGS=""
12681 X_LIBS=""
12684 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12685 then
12686 if test "x$X_LIBS" = "x"; then :
12687 case "x$with_x" in
12688 xno) ;;
12689 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12690 without X support, which probably isn't what you want. You will need
12691 to install ${notice_platform}development packages of Xlib at the very least.
12692 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12693 esac
12694 enable_winex11_drv=${enable_winex11_drv:-no}
12696 else
12697 if test "x$X_LIBS" = "x"; then :
12698 case "x$with_x" in
12699 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12702 This is an error since --with-x was requested." "$LINENO" 5 ;;
12703 esac
12704 enable_winex11_drv=${enable_winex11_drv:-no}
12708 if test "$ac_cv_header_CL_cl_h" = "yes"
12709 then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12711 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12712 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12713 $as_echo_n "(cached) " >&6
12714 else
12715 ac_check_lib_save_LIBS=$LIBS
12716 LIBS="-lOpenCL $LIBS"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12723 #ifdef __cplusplus
12724 extern "C"
12725 #endif
12726 char clGetPlatformInfo ();
12728 main ()
12730 return clGetPlatformInfo ();
12732 return 0;
12734 _ACEOF
12735 if ac_fn_c_try_link "$LINENO"; then :
12736 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12737 else
12738 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12740 rm -f core conftest.err conftest.$ac_objext \
12741 conftest$ac_exeext conftest.$ac_ext
12742 LIBS=$ac_check_lib_save_LIBS
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12745 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12746 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12747 OPENCL_LIBS="-lOpenCL"
12752 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12753 case "x$with_opencl" in
12754 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12755 xno) ;;
12756 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12757 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12758 esac
12759 enable_opencl=${enable_opencl:-no}
12762 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12763 then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12765 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12766 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lpcap $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char pcap_create ();
12782 main ()
12784 return pcap_create ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_pcap_pcap_create=yes
12791 else
12792 ac_cv_lib_pcap_pcap_create=no
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12799 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12800 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12801 PCAP_LIBS="-lpcap"
12806 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12807 case "x$with_pcap" in
12808 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12809 xno) ;;
12810 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12811 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12812 esac
12813 enable_wpcap=${enable_wpcap:-no}
12817 if test "x$with_xml" != "xno"
12818 then
12819 if ${XML2_CFLAGS:+false} :; then :
12820 if ${PKG_CONFIG+:} false; then :
12821 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12824 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12825 if ${XML2_LIBS:+false} :; then :
12826 if ${PKG_CONFIG+:} false; then :
12827 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12830 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12831 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12832 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12833 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12834 ac_save_CPPFLAGS=$CPPFLAGS
12835 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12836 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12837 do :
12838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12839 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12840 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12841 cat >>confdefs.h <<_ACEOF
12842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12843 _ACEOF
12847 done
12849 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"
12850 then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12852 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12853 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12854 $as_echo_n "(cached) " >&6
12855 else
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lxml2 $XML2_LIBS $LIBS"
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12864 #ifdef __cplusplus
12865 extern "C"
12866 #endif
12867 char xmlParseMemory ();
12869 main ()
12871 return xmlParseMemory ();
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_link "$LINENO"; then :
12877 ac_cv_lib_xml2_xmlParseMemory=yes
12878 else
12879 ac_cv_lib_xml2_xmlParseMemory=no
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12886 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12887 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12889 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12891 else
12892 XML2_LIBS=""
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12896 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12897 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12898 $as_echo_n "(cached) " >&6
12899 else
12900 ac_check_lib_save_LIBS=$LIBS
12901 LIBS="-lxml2 $XML2_LIBS $LIBS"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12908 #ifdef __cplusplus
12909 extern "C"
12910 #endif
12911 char xmlReadMemory ();
12913 main ()
12915 return xmlReadMemory ();
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_link "$LINENO"; then :
12921 ac_cv_lib_xml2_xmlReadMemory=yes
12922 else
12923 ac_cv_lib_xml2_xmlReadMemory=no
12925 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12930 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12931 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12933 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12938 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12939 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12940 $as_echo_n "(cached) " >&6
12941 else
12942 ac_check_lib_save_LIBS=$LIBS
12943 LIBS="-lxml2 $XML2_LIBS $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12950 #ifdef __cplusplus
12951 extern "C"
12952 #endif
12953 char xmlNewDocPI ();
12955 main ()
12957 return xmlNewDocPI ();
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_link "$LINENO"; then :
12963 ac_cv_lib_xml2_xmlNewDocPI=yes
12964 else
12965 ac_cv_lib_xml2_xmlNewDocPI=no
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_lib_save_LIBS
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12972 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12973 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12975 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12980 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12981 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 ac_check_lib_save_LIBS=$LIBS
12985 LIBS="-lxml2 $XML2_LIBS $LIBS"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12992 #ifdef __cplusplus
12993 extern "C"
12994 #endif
12995 char xmlSchemaSetParserStructuredErrors ();
12997 main ()
12999 return xmlSchemaSetParserStructuredErrors ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"; then :
13005 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13006 else
13007 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_lib_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13014 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13015 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13017 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13022 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13023 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-lxml2 $XML2_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char xmlSchemaSetValidStructuredErrors ();
13039 main ()
13041 return xmlSchemaSetValidStructuredErrors ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13048 else
13049 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13056 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13057 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13059 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13064 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13065 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13066 $as_echo_n "(cached) " >&6
13067 else
13068 ac_check_lib_save_LIBS=$LIBS
13069 LIBS="-lxml2 $XML2_LIBS $LIBS"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char xmlFirstElementChild ();
13081 main ()
13083 return xmlFirstElementChild ();
13085 return 0;
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_lib_xml2_xmlFirstElementChild=yes
13090 else
13091 ac_cv_lib_xml2_xmlFirstElementChild=no
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 LIBS=$ac_check_lib_save_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13098 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13099 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13101 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13105 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13107 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13109 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13113 else
13114 XML2_CFLAGS=""
13115 XML2_LIBS=""
13117 CPPFLAGS=$ac_save_CPPFLAGS
13120 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13121 case "x$with_xml" in
13122 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13123 xno) ;;
13124 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13125 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13126 esac
13130 if test "x$with_xslt" != "xno"
13131 then
13132 if ${XSLT_CFLAGS:+false} :; then :
13133 if ${PKG_CONFIG+:} false; then :
13134 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13137 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13138 if ${XSLT_LIBS:+false} :; then :
13139 if ${PKG_CONFIG+:} false; then :
13140 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13143 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13144 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13145 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13146 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13147 ac_save_CPPFLAGS=$CPPFLAGS
13148 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13149 for ac_header in libxslt/pattern.h libxslt/transform.h
13150 do :
13151 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13152 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13153 # include <libxslt/pattern.h>
13154 #endif
13156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13157 cat >>confdefs.h <<_ACEOF
13158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13159 _ACEOF
13163 done
13165 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13166 then
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13168 $as_echo_n "checking for -lxslt... " >&6; }
13169 if ${ac_cv_lib_soname_xslt+:} false; then :
13170 $as_echo_n "(cached) " >&6
13171 else
13172 ac_check_soname_save_LIBS=$LIBS
13173 LIBS="-lxslt $XSLT_LIBS $LIBS"
13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13177 /* Override any GCC internal prototype to avoid an error.
13178 Use char because int might match the return type of a GCC
13179 builtin and then its argument prototype would still apply. */
13180 #ifdef __cplusplus
13181 extern "C"
13182 #endif
13183 char xsltCompilePattern ();
13185 main ()
13187 return xsltCompilePattern ();
13189 return 0;
13191 _ACEOF
13192 if ac_fn_c_try_link "$LINENO"; then :
13193 case "$LIBEXT" in
13194 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13195 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'` ;;
13196 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13197 if ${ac_cv_lib_soname_xslt:+false} :; then :
13198 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13199 fi ;;
13200 esac
13201 else
13202 ac_cv_lib_soname_xslt=
13204 rm -f core conftest.err conftest.$ac_objext \
13205 conftest$ac_exeext conftest.$ac_ext
13206 LIBS=$ac_check_soname_save_LIBS
13208 if ${ac_cv_lib_soname_xslt:+false} :; then :
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13210 $as_echo "not found" >&6; }
13212 else
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13214 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13216 cat >>confdefs.h <<_ACEOF
13217 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13218 _ACEOF
13222 else
13223 XSLT_CFLAGS=""
13225 CPPFLAGS=$ac_save_CPPFLAGS
13228 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13229 case "x$with_xslt" in
13230 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13231 xno) ;;
13232 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13233 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13234 esac
13238 if test "x$with_inotify" != "xno"
13239 then
13240 if ${INOTIFY_CFLAGS:+false} :; then :
13241 if ${PKG_CONFIG+:} false; then :
13242 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13246 if ${INOTIFY_LIBS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13253 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13254 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13255 ac_save_CPPFLAGS=$CPPFLAGS
13256 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13257 for ac_header in sys/inotify.h
13258 do :
13259 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13260 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13261 cat >>confdefs.h <<_ACEOF
13262 #define HAVE_SYS_INOTIFY_H 1
13263 _ACEOF
13267 done
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13270 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13271 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13272 $as_echo_n "(cached) " >&6
13273 else
13274 ac_check_lib_save_LIBS=$LIBS
13275 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13282 #ifdef __cplusplus
13283 extern "C"
13284 #endif
13285 char inotify_add_watch ();
13287 main ()
13289 return inotify_add_watch ();
13291 return 0;
13293 _ACEOF
13294 if ac_fn_c_try_link "$LINENO"; then :
13295 ac_cv_lib_inotify_inotify_add_watch=yes
13296 else
13297 ac_cv_lib_inotify_inotify_add_watch=no
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13304 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13305 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13307 else
13308 INOTIFY_LIBS=""
13311 CPPFLAGS=$ac_save_CPPFLAGS
13314 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13315 case "x$with_inotify" in
13316 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13317 xno) ;;
13318 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13319 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13320 esac
13324 if test "x$with_dbus" != "xno"
13325 then
13326 if ${DBUS_CFLAGS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13332 if ${DBUS_LIBS:+false} :; then :
13333 if ${PKG_CONFIG+:} false; then :
13334 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13339 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13340 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13341 ac_save_CPPFLAGS=$CPPFLAGS
13342 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13343 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13344 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13346 $as_echo_n "checking for -ldbus-1... " >&6; }
13347 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 ac_check_soname_save_LIBS=$LIBS
13351 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13358 #ifdef __cplusplus
13359 extern "C"
13360 #endif
13361 char dbus_connection_close ();
13363 main ()
13365 return dbus_connection_close ();
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_link "$LINENO"; then :
13371 case "$LIBEXT" in
13372 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13373 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'` ;;
13374 *) 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'`
13375 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13376 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13377 fi ;;
13378 esac
13379 else
13380 ac_cv_lib_soname_dbus_1=
13382 rm -f core conftest.err conftest.$ac_objext \
13383 conftest$ac_exeext conftest.$ac_ext
13384 LIBS=$ac_check_soname_save_LIBS
13386 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13388 $as_echo "not found" >&6; }
13389 DBUS_CFLAGS=""
13390 else
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13392 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13394 cat >>confdefs.h <<_ACEOF
13395 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13396 _ACEOF
13400 else
13401 DBUS_CFLAGS=""
13405 CPPFLAGS=$ac_save_CPPFLAGS
13408 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13409 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13410 case "x$with_dbus" in
13411 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13412 xno) ;;
13413 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13414 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13415 esac
13419 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13420 then
13421 if ${HAL_CFLAGS:+false} :; then :
13422 if ${PKG_CONFIG+:} false; then :
13423 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13427 if ${HAL_LIBS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13433 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13434 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13435 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13436 ac_save_CPPFLAGS=$CPPFLAGS
13437 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13438 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13441 $as_echo_n "checking for -lhal... " >&6; }
13442 if ${ac_cv_lib_soname_hal+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_soname_save_LIBS=$LIBS
13446 LIBS="-lhal $HAL_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char libhal_ctx_new ();
13458 main ()
13460 return libhal_ctx_new ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 case "$LIBEXT" in
13467 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13468 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'` ;;
13469 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13470 if ${ac_cv_lib_soname_hal:+false} :; then :
13471 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13472 fi ;;
13473 esac
13474 else
13475 ac_cv_lib_soname_hal=
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_hal:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 HAL_CFLAGS=""
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13487 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13491 _ACEOF
13495 else
13496 HAL_CFLAGS=""
13500 CPPFLAGS=$ac_save_CPPFLAGS
13502 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13503 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13504 case "x$with_hal" in
13505 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13506 xno) ;;
13507 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13508 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13509 esac
13514 if test "x$with_gnutls" != "xno"
13515 then
13516 if ${GNUTLS_CFLAGS:+false} :; then :
13517 if ${PKG_CONFIG+:} false; then :
13518 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13522 if ${GNUTLS_LIBS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13528 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13529 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13530 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13531 ac_save_CPPFLAGS=$CPPFLAGS
13532 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13533 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13534 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13537 #include <gnutls/gnutls.h>
13538 #include <gnutls/crypto.h>
13540 main ()
13542 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_compile "$LINENO"; then :
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13549 $as_echo_n "checking for -lgnutls... " >&6; }
13550 if ${ac_cv_lib_soname_gnutls+:} false; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 ac_check_soname_save_LIBS=$LIBS
13554 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13558 /* Override any GCC internal prototype to avoid an error.
13559 Use char because int might match the return type of a GCC
13560 builtin and then its argument prototype would still apply. */
13561 #ifdef __cplusplus
13562 extern "C"
13563 #endif
13564 char gnutls_global_init ();
13566 main ()
13568 return gnutls_global_init ();
13570 return 0;
13572 _ACEOF
13573 if ac_fn_c_try_link "$LINENO"; then :
13574 case "$LIBEXT" in
13575 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13576 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'` ;;
13577 *) 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'`
13578 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13579 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'`
13580 fi ;;
13581 esac
13582 else
13583 ac_cv_lib_soname_gnutls=
13585 rm -f core conftest.err conftest.$ac_objext \
13586 conftest$ac_exeext conftest.$ac_ext
13587 LIBS=$ac_check_soname_save_LIBS
13589 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13591 $as_echo "not found" >&6; }
13592 GNUTLS_CFLAGS=""
13593 else
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13595 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13597 cat >>confdefs.h <<_ACEOF
13598 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13599 _ACEOF
13603 ac_wine_check_funcs_save_LIBS="$LIBS"
13604 LIBS="$LIBS $GNUTLS_LIBS"
13605 for ac_func in gnutls_cipher_init
13606 do :
13607 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13608 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13609 cat >>confdefs.h <<_ACEOF
13610 #define HAVE_GNUTLS_CIPHER_INIT 1
13611 _ACEOF
13613 else
13614 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13616 done
13618 LIBS="$ac_wine_check_funcs_save_LIBS"
13620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13621 else
13622 GNUTLS_CFLAGS=""
13626 CPPFLAGS=$ac_save_CPPFLAGS
13629 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13630 case "x$with_gnutls" in
13631 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13632 xno) ;;
13633 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13634 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13635 esac
13639 if test "x$with_sane" != "xno"
13640 then
13641 if ${SANE_CFLAGS:+false} :; then :
13642 if ${PKG_CONFIG+:} false; then :
13643 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13646 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13647 if ${SANE_LIBS:+false} :; then :
13648 if ${PKG_CONFIG+:} false; then :
13649 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13652 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13654 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13655 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13656 ac_save_CPPFLAGS=$CPPFLAGS
13657 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13658 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13659 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13661 $as_echo_n "checking for -lsane... " >&6; }
13662 if ${ac_cv_lib_soname_sane+:} false; then :
13663 $as_echo_n "(cached) " >&6
13664 else
13665 ac_check_soname_save_LIBS=$LIBS
13666 LIBS="-lsane $SANE_LIBS $LIBS"
13667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13670 /* Override any GCC internal prototype to avoid an error.
13671 Use char because int might match the return type of a GCC
13672 builtin and then its argument prototype would still apply. */
13673 #ifdef __cplusplus
13674 extern "C"
13675 #endif
13676 char sane_init ();
13678 main ()
13680 return sane_init ();
13682 return 0;
13684 _ACEOF
13685 if ac_fn_c_try_link "$LINENO"; then :
13686 case "$LIBEXT" in
13687 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13688 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'` ;;
13689 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13690 if ${ac_cv_lib_soname_sane:+false} :; then :
13691 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13692 fi ;;
13693 esac
13694 else
13695 ac_cv_lib_soname_sane=
13697 rm -f core conftest.err conftest.$ac_objext \
13698 conftest$ac_exeext conftest.$ac_ext
13699 LIBS=$ac_check_soname_save_LIBS
13701 if ${ac_cv_lib_soname_sane:+false} :; then :
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13703 $as_echo "not found" >&6; }
13704 SANE_CFLAGS=""
13705 else
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13707 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13709 cat >>confdefs.h <<_ACEOF
13710 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13711 _ACEOF
13715 else
13716 SANE_CFLAGS=""
13720 CPPFLAGS=$ac_save_CPPFLAGS
13723 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13724 case "x$with_sane" in
13725 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13726 xno) ;;
13727 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13728 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13729 esac
13733 if test "x$with_usb" != "xno"
13734 then
13735 if ${USB_CFLAGS:+false} :; then :
13736 if ${PKG_CONFIG+:} false; then :
13737 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13741 if ${USB_LIBS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13747 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13748 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13749 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13750 ac_save_CPPFLAGS=$CPPFLAGS
13751 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13752 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13753 if test "x$ac_cv_header_libusb_h" = xyes; then :
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13755 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13756 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 ac_check_lib_save_LIBS=$LIBS
13760 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 /* Override any GCC internal prototype to avoid an error.
13765 Use char because int might match the return type of a GCC
13766 builtin and then its argument prototype would still apply. */
13767 #ifdef __cplusplus
13768 extern "C"
13769 #endif
13770 char libusb_interrupt_event_handler ();
13772 main ()
13774 return libusb_interrupt_event_handler ();
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13781 else
13782 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 LIBS=$ac_check_lib_save_LIBS
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13789 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13790 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13792 else
13793 USB_LIBS=""
13796 else
13797 USB_LIBS=""
13801 CPPFLAGS=$ac_save_CPPFLAGS
13804 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13805 case "x$with_usb" in
13806 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13807 xno) ;;
13808 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13809 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13810 esac
13811 enable_wineusb_sys=${enable_wineusb_sys:-no}
13814 if test "x$with_v4l2" != "xno"
13815 then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13817 $as_echo_n "checking for -lv4l2... " >&6; }
13818 if ${ac_cv_lib_soname_v4l2+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_soname_save_LIBS=$LIBS
13822 LIBS="-lv4l2 $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char v4l2_open ();
13834 main ()
13836 return v4l2_open ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 case "$LIBEXT" in
13843 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13844 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'` ;;
13845 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13846 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13847 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13848 fi ;;
13849 esac
13850 else
13851 ac_cv_lib_soname_v4l2=
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13861 else
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13863 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13867 _ACEOF
13872 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13873 case "x$with_v4l2" in
13874 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13875 xno) ;;
13876 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13877 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13878 esac
13882 if test "x$with_gphoto" != "xno"
13883 then
13884 if ${GPHOTO2_CFLAGS:+false} :; then :
13885 if ${PKG_CONFIG+:} false; then :
13886 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13889 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13890 if ${GPHOTO2_LIBS:+false} :; then :
13891 if ${PKG_CONFIG+:} false; then :
13892 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13895 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13896 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13897 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13898 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13899 ac_save_CPPFLAGS=$CPPFLAGS
13900 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13901 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13902 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13904 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13905 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 ac_check_lib_save_LIBS=$LIBS
13909 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13913 /* Override any GCC internal prototype to avoid an error.
13914 Use char because int might match the return type of a GCC
13915 builtin and then its argument prototype would still apply. */
13916 #ifdef __cplusplus
13917 extern "C"
13918 #endif
13919 char gp_camera_new ();
13921 main ()
13923 return gp_camera_new ();
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"; then :
13929 ac_cv_lib_gphoto2_gp_camera_new=yes
13930 else
13931 ac_cv_lib_gphoto2_gp_camera_new=no
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 LIBS=$ac_check_lib_save_LIBS
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13938 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13939 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13941 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13943 else
13944 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13947 else
13948 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13952 CPPFLAGS=$ac_save_CPPFLAGS
13954 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13955 if ${PKG_CONFIG+:} false; then :
13956 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13959 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13960 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13961 if ${PKG_CONFIG+:} false; then :
13962 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13965 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13966 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13967 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13968 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13969 ac_save_CPPFLAGS=$CPPFLAGS
13970 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13971 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13972 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13974 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13975 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 ac_check_lib_save_LIBS=$LIBS
13979 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13983 /* Override any GCC internal prototype to avoid an error.
13984 Use char because int might match the return type of a GCC
13985 builtin and then its argument prototype would still apply. */
13986 #ifdef __cplusplus
13987 extern "C"
13988 #endif
13989 char gp_port_info_list_new ();
13991 main ()
13993 return gp_port_info_list_new ();
13995 return 0;
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"; then :
13999 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14000 else
14001 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14003 rm -f core conftest.err conftest.$ac_objext \
14004 conftest$ac_exeext conftest.$ac_ext
14005 LIBS=$ac_check_lib_save_LIBS
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14008 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14009 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14011 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14013 else
14014 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14017 else
14018 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14022 CPPFLAGS=$ac_save_CPPFLAGS
14025 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14026 case "x$with_gphoto" in
14027 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14028 xno) ;;
14029 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14030 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14031 esac
14034 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14035 case "x$with_gphoto" in
14036 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14037 xno) ;;
14038 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14039 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14040 esac
14045 if test "$ac_cv_header_resolv_h" = "yes"
14046 then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14048 $as_echo_n "checking for resolver library... " >&6; }
14049 if ${ac_cv_have_resolv+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_save_LIBS="$LIBS"
14053 for lib in '' -lresolv
14055 LIBS="$lib $ac_save_LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 #ifdef HAVE_NETINET_IN_H
14059 #include <netinet/in.h>
14060 #endif
14061 #include <resolv.h>
14063 main ()
14065 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 ac_cv_have_resolv=${lib:-"none required"}
14072 else
14073 ac_cv_have_resolv="not found"
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 test "x$ac_cv_have_resolv" = "xnot found" || break
14078 done
14079 LIBS="$ac_save_LIBS"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14082 $as_echo "$ac_cv_have_resolv" >&6; }
14084 case "$ac_cv_have_resolv" in
14085 "not found") ;;
14086 "none required")
14088 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14091 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14093 RESOLV_LIBS=$ac_cv_have_resolv
14095 esac
14097 if test "x$ac_cv_have_resolv" != "xnot found"
14098 then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14100 $as_echo_n "checking for res_getservers... " >&6; }
14101 if ${ac_cv_have_res_getservers+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_save_LIBS="$LIBS"
14105 LIBS="$RESOLV_LIBS $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 #include <resolv.h>
14110 main ()
14112 res_getservers(NULL, NULL, 0);
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"; then :
14118 ac_cv_have_res_getservers=yes
14119 else
14120 ac_cv_have_res_getservers=no
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS="$ac_save_LIBS"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14127 $as_echo "$ac_cv_have_res_getservers" >&6; }
14128 if test "$ac_cv_have_res_getservers" = "yes"
14129 then
14131 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14137 if test "x$with_cms" != "xno"
14138 then
14139 if ${LCMS2_CFLAGS:+false} :; then :
14140 if ${PKG_CONFIG+:} false; then :
14141 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14145 if ${LCMS2_LIBS:+false} :; then :
14146 if ${PKG_CONFIG+:} false; then :
14147 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14151 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14152 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14153 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14154 ac_save_CPPFLAGS=$CPPFLAGS
14155 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14156 for ac_header in lcms2.h
14157 do :
14158 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14159 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14160 cat >>confdefs.h <<_ACEOF
14161 #define HAVE_LCMS2_H 1
14162 _ACEOF
14166 done
14168 if test "$ac_cv_header_lcms2_h" = "yes"
14169 then
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14171 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14172 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 ac_check_lib_save_LIBS=$LIBS
14176 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14180 /* Override any GCC internal prototype to avoid an error.
14181 Use char because int might match the return type of a GCC
14182 builtin and then its argument prototype would still apply. */
14183 #ifdef __cplusplus
14184 extern "C"
14185 #endif
14186 char cmsOpenProfileFromFile ();
14188 main ()
14190 return cmsOpenProfileFromFile ();
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"; then :
14196 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14197 else
14198 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14200 rm -f core conftest.err conftest.$ac_objext \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS=$ac_check_lib_save_LIBS
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14205 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14206 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14208 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14210 else
14211 LCMS2_LIBS=""
14214 else
14215 LCMS2_CFLAGS=""
14216 LCMS2_LIBS=""
14218 CPPFLAGS=$ac_save_CPPFLAGS
14221 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14222 case "x$with_cms" in
14223 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14224 xno) ;;
14225 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14226 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14227 esac
14231 if test "x$with_freetype" != "xno"
14232 then
14233 if ${FREETYPE_CFLAGS:+false} :; then :
14234 if ${PKG_CONFIG+:} false; then :
14235 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14238 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14239 if ${FREETYPE_LIBS:+false} :; then :
14240 if ${PKG_CONFIG+:} false; then :
14241 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14244 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14245 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14246 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14247 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14248 ac_save_CPPFLAGS=$CPPFLAGS
14249 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14250 for ac_header in ft2build.h
14251 do :
14252 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14253 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14254 cat >>confdefs.h <<_ACEOF
14255 #define HAVE_FT2BUILD_H 1
14256 _ACEOF
14260 done
14262 if test "$ac_cv_header_ft2build_h" = "yes"
14263 then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14265 $as_echo_n "checking for -lfreetype... " >&6; }
14266 if ${ac_cv_lib_soname_freetype+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 ac_check_soname_save_LIBS=$LIBS
14270 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14274 /* Override any GCC internal prototype to avoid an error.
14275 Use char because int might match the return type of a GCC
14276 builtin and then its argument prototype would still apply. */
14277 #ifdef __cplusplus
14278 extern "C"
14279 #endif
14280 char FT_Init_FreeType ();
14282 main ()
14284 return FT_Init_FreeType ();
14286 return 0;
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 case "$LIBEXT" in
14291 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14292 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'` ;;
14293 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14294 if ${ac_cv_lib_soname_freetype:+false} :; then :
14295 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14296 fi ;;
14297 esac
14298 else
14299 ac_cv_lib_soname_freetype=
14301 rm -f core conftest.err conftest.$ac_objext \
14302 conftest$ac_exeext conftest.$ac_ext
14303 LIBS=$ac_check_soname_save_LIBS
14305 if ${ac_cv_lib_soname_freetype:+false} :; then :
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14307 $as_echo "not found" >&6; }
14308 FREETYPE_LIBS=""
14309 else
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14311 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14313 cat >>confdefs.h <<_ACEOF
14314 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14315 _ACEOF
14318 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14320 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14321 #include FT_MODULE_H
14323 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14325 cat >>confdefs.h <<_ACEOF
14326 #define HAVE_FT_TRUETYPEENGINETYPE 1
14327 _ACEOF
14333 else
14334 FREETYPE_CFLAGS=""
14335 FREETYPE_LIBS=""
14337 CPPFLAGS=$ac_save_CPPFLAGS
14340 if test "x$ac_cv_lib_soname_freetype" = x; then :
14341 case "x$with_freetype" in
14342 xno) ;;
14343 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14344 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14345 esac
14346 enable_fonts=${enable_fonts:-no}
14349 ac_wine_check_funcs_save_LIBS="$LIBS"
14350 LIBS="$LIBS $PTHREAD_LIBS"
14351 for ac_func in \
14352 pthread_getthreadid_np
14353 do :
14354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14356 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14359 _ACEOF
14362 done
14364 LIBS="$ac_wine_check_funcs_save_LIBS"
14366 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14367 then
14368 if test "$ac_cv_header_gettext_po_h" = "yes"
14369 then
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14371 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14372 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14373 $as_echo_n "(cached) " >&6
14374 else
14375 ac_check_lib_save_LIBS=$LIBS
14376 LIBS="-lgettextpo $LIBS"
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14383 #ifdef __cplusplus
14384 extern "C"
14385 #endif
14386 char po_message_msgctxt ();
14388 main ()
14390 return po_message_msgctxt ();
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14397 else
14398 ac_cv_lib_gettextpo_po_message_msgctxt=no
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_lib_save_LIBS
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14405 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14406 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14408 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14410 GETTEXTPO_LIBS="-lgettextpo"
14415 if test "x$GETTEXTPO_LIBS" = "x"; then :
14416 case "x$with_gettextpo" in
14417 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14418 xno) ;;
14419 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14420 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14421 esac
14424 if test "$srcdir" != .; then :
14425 case "x$with_gettextpo" in
14426 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14427 xno) ;;
14428 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14429 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14430 esac
14435 if test "x$with_pulse" != "xno";
14436 then
14437 if ${PULSE_CFLAGS:+false} :; then :
14438 if ${PKG_CONFIG+:} false; then :
14439 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14443 if ${PULSE_LIBS:+false} :; then :
14444 if ${PKG_CONFIG+:} false; then :
14445 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14450 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14451 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14452 ac_save_CPPFLAGS=$CPPFLAGS
14453 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14454 for ac_header in pulse/pulseaudio.h
14455 do :
14456 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14457 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define HAVE_PULSE_PULSEAUDIO_H 1
14460 _ACEOF
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14462 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14463 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 ac_check_lib_save_LIBS=$LIBS
14467 LIBS="-lpulse $PULSE_LIBS $LIBS"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 #ifdef __cplusplus
14475 extern "C"
14476 #endif
14477 char pa_stream_is_corked ();
14479 main ()
14481 return pa_stream_is_corked ();
14483 return 0;
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_lib_pulse_pa_stream_is_corked=yes
14488 else
14489 ac_cv_lib_pulse_pa_stream_is_corked=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LIBS=$ac_check_lib_save_LIBS
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14496 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14497 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14499 else
14500 PULSE_LIBS=""
14503 else
14504 PULSE_LIBS=""
14507 done
14509 CPPFLAGS=$ac_save_CPPFLAGS
14512 if test -z "$PULSE_LIBS"; then :
14513 case "x$with_pulse" in
14514 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14515 xno) ;;
14516 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14517 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14518 esac
14519 enable_winepulse_drv=${enable_winepulse_drv:-no}
14522 if test "x$with_gstreamer" != "xno"
14523 then
14524 if ${GSTREAMER_CFLAGS:+false} :; then :
14525 if ${PKG_CONFIG+:} false; then :
14526 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14530 if ${GSTREAMER_LIBS:+false} :; then :
14531 if ${PKG_CONFIG+:} false; then :
14532 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14537 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14538 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14539 ac_save_CPPFLAGS=$CPPFLAGS
14540 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14541 ac_gst_incl=""
14542 for i in $GSTREAMER_CFLAGS
14544 case "$i" in
14545 -I*) ac_gst_incl="$ac_gst_incl $i";;
14546 esac
14547 done
14548 GSTREAMER_CFLAGS=$ac_gst_incl
14549 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14550 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14551 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14553 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 #include <gst/gst.h>
14558 main ()
14560 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_compile "$LINENO"; then :
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14567 $as_echo "yes" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14569 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14570 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 ac_check_lib_save_LIBS=$LIBS
14574 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14578 /* Override any GCC internal prototype to avoid an error.
14579 Use char because int might match the return type of a GCC
14580 builtin and then its argument prototype would still apply. */
14581 #ifdef __cplusplus
14582 extern "C"
14583 #endif
14584 char gst_pad_new ();
14586 main ()
14588 return gst_pad_new ();
14590 return 0;
14592 _ACEOF
14593 if ac_fn_c_try_link "$LINENO"; then :
14594 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14595 else
14596 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LIBS=$ac_check_lib_save_LIBS
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14603 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14604 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14608 else
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14610 $as_echo "no" >&6; }
14611 ac_glib2_broken=yes
14612 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14618 CPPFLAGS=$ac_save_CPPFLAGS
14621 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14622 case "x$with_gstreamer" in
14623 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14624 xno) ;;
14625 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14626 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14627 esac
14630 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14632 ALSA_LIBS=""
14634 if test "x$with_alsa" != "xno"
14635 then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14637 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14638 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_check_lib_save_LIBS=$LIBS
14642 LIBS="-lasound $LIBS"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14649 #ifdef __cplusplus
14650 extern "C"
14651 #endif
14652 char snd_pcm_hw_params_get_access_mask ();
14654 main ()
14656 return snd_pcm_hw_params_get_access_mask ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14663 else
14664 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LIBS=$ac_check_lib_save_LIBS
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14671 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14672 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14675 #include <alsa/asoundlib.h>
14677 main ()
14679 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14681 return 0;
14683 _ACEOF
14684 if ac_fn_c_try_compile "$LINENO"; then :
14685 ALSA_LIBS="-lasound"
14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14691 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14693 if test "x$with_oss" != xno
14694 then
14695 ac_save_CPPFLAGS="$CPPFLAGS"
14696 if test -f /etc/oss.conf
14697 then
14698 . /etc/oss.conf
14700 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14701 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14702 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14703 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14704 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14706 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14708 cat >>confdefs.h <<_ACEOF
14709 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14710 _ACEOF
14712 OSS4_CFLAGS="$ac_oss_incl"
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14715 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14716 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_check_lib_save_LIBS=$LIBS
14720 LIBS="-lossaudio $LIBS"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14727 #ifdef __cplusplus
14728 extern "C"
14729 #endif
14730 char _oss_ioctl ();
14732 main ()
14734 return _oss_ioctl ();
14736 return 0;
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_lib_ossaudio__oss_ioctl=yes
14741 else
14742 ac_cv_lib_ossaudio__oss_ioctl=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14749 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14750 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14751 OSS4_LIBS="-lossaudio"
14760 CPPFLAGS="$ac_save_CPPFLAGS"
14762 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14763 case "x$with_oss" in
14764 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14765 xno) ;;
14766 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14767 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14768 esac
14769 enable_wineoss_drv=${enable_wineoss_drv:-no}
14772 if test "x$with_udev" != "xno"
14773 then
14774 if ${UDEV_CFLAGS:+false} :; then :
14775 if ${PKG_CONFIG+:} false; then :
14776 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14780 if ${UDEV_LIBS:+false} :; then :
14781 if ${PKG_CONFIG+:} false; then :
14782 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14786 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14787 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14788 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14789 ac_save_CPPFLAGS=$CPPFLAGS
14790 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14791 for ac_header in libudev.h
14792 do :
14793 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14794 if test "x$ac_cv_header_libudev_h" = xyes; then :
14795 cat >>confdefs.h <<_ACEOF
14796 #define HAVE_LIBUDEV_H 1
14797 _ACEOF
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14799 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14800 if ${ac_cv_lib_udev_udev_new+:} false; then :
14801 $as_echo_n "(cached) " >&6
14802 else
14803 ac_check_lib_save_LIBS=$LIBS
14804 LIBS="-ludev $UDEV_LIBS $LIBS"
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14806 /* end confdefs.h. */
14808 /* Override any GCC internal prototype to avoid an error.
14809 Use char because int might match the return type of a GCC
14810 builtin and then its argument prototype would still apply. */
14811 #ifdef __cplusplus
14812 extern "C"
14813 #endif
14814 char udev_new ();
14816 main ()
14818 return udev_new ();
14820 return 0;
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"; then :
14824 ac_cv_lib_udev_udev_new=yes
14825 else
14826 ac_cv_lib_udev_udev_new=no
14828 rm -f core conftest.err conftest.$ac_objext \
14829 conftest$ac_exeext conftest.$ac_ext
14830 LIBS=$ac_check_lib_save_LIBS
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14833 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14834 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14836 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14838 else
14839 UDEV_LIBS=""
14842 else
14843 UDEV_LIBS=""
14846 done
14848 CPPFLAGS=$ac_save_CPPFLAGS
14851 if test "x$UDEV_LIBS" = "x"; then :
14852 case "x$with_udev" in
14853 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14854 xno) ;;
14855 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14856 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14857 esac
14861 if test "x$with_unwind" != xno
14862 then
14863 if ${UNWIND_CFLAGS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14869 if ${UNWIND_LIBS:+false} :; then :
14870 if ${PKG_CONFIG+:} false; then :
14871 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14875 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14877 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14878 ac_save_CPPFLAGS=$CPPFLAGS
14879 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14881 $as_echo_n "checking for unw_step... " >&6; }
14882 if ${wine_cv_have_unw_step+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 #define UNW_LOCAL_ONLY
14888 #include <libunwind.h>
14890 main ()
14892 unw_cursor_t cursor; unw_step( &cursor );
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 wine_cv_have_unw_step="yes"
14899 else
14900 wine_cv_have_unw_step="no"
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14906 $as_echo "$wine_cv_have_unw_step" >&6; }
14907 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14908 then
14909 save_libs=$LIBS
14910 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14911 LIBS="$UNWIND_LIBS $LIBS"
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14913 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14914 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14915 $as_echo_n "(cached) " >&6
14916 else
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 #define UNW_LOCAL_ONLY
14920 #include <libunwind.h>
14922 main ()
14924 unw_cursor_t cursor; unw_step( &cursor );
14926 return 0;
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 wine_cv_have_libunwind_unw_step="yes"
14931 else
14932 wine_cv_have_libunwind_unw_step="no"
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14938 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14939 LIBS=$save_libs
14941 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14942 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14943 then
14945 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14948 CPPFLAGS=$ac_save_CPPFLAGS
14951 case $host in
14952 aarch64*|*-darwin*)
14953 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14954 case "x$with_unwind" in
14955 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14956 xno) ;;
14957 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14958 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14959 esac
14961 fi ;;
14962 esac
14964 if test "x$with_sdl" != "xno"
14965 then
14966 if ${SDL2_CFLAGS:+false} :; then :
14967 if ${PKG_CONFIG+:} false; then :
14968 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14972 if ${SDL2_LIBS:+false} :; then :
14973 if ${PKG_CONFIG+:} false; then :
14974 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14978 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14979 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14980 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14981 ac_save_CPPFLAGS=$CPPFLAGS
14982 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14983 for ac_header in SDL.h
14984 do :
14985 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14986 if test "x$ac_cv_header_SDL_h" = xyes; then :
14987 cat >>confdefs.h <<_ACEOF
14988 #define HAVE_SDL_H 1
14989 _ACEOF
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14991 $as_echo_n "checking for -lSDL2... " >&6; }
14992 if ${ac_cv_lib_soname_SDL2+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 ac_check_soname_save_LIBS=$LIBS
14996 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15000 /* Override any GCC internal prototype to avoid an error.
15001 Use char because int might match the return type of a GCC
15002 builtin and then its argument prototype would still apply. */
15003 #ifdef __cplusplus
15004 extern "C"
15005 #endif
15006 char SDL_Init ();
15008 main ()
15010 return SDL_Init ();
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 case "$LIBEXT" in
15017 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15018 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'` ;;
15019 *) 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'`
15020 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15021 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15022 fi ;;
15023 esac
15024 else
15025 ac_cv_lib_soname_SDL2=
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15029 LIBS=$ac_check_soname_save_LIBS
15031 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15033 $as_echo "not found" >&6; }
15035 else
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15037 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15039 cat >>confdefs.h <<_ACEOF
15040 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15041 _ACEOF
15047 done
15049 CPPFLAGS=$ac_save_CPPFLAGS
15052 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15053 case "x$with_sdl" in
15054 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15055 xno) ;;
15056 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15057 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15058 esac
15062 if test "x$with_faudio" != "xno"
15063 then
15064 if ${FAUDIO_CFLAGS:+false} :; then :
15065 if ${PKG_CONFIG+:} false; then :
15066 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15070 if ${FAUDIO_LIBS:+false} :; then :
15071 if ${PKG_CONFIG+:} false; then :
15072 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15076 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15077 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15078 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15079 ac_save_CPPFLAGS=$CPPFLAGS
15080 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15081 for ac_header in FAudio.h
15082 do :
15083 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15084 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15085 cat >>confdefs.h <<_ACEOF
15086 #define HAVE_FAUDIO_H 1
15087 _ACEOF
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15089 $as_echo_n "checking for -lFAudio... " >&6; }
15090 if ${ac_cv_lib_soname_FAudio+:} false; then :
15091 $as_echo_n "(cached) " >&6
15092 else
15093 ac_check_soname_save_LIBS=$LIBS
15094 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15098 /* Override any GCC internal prototype to avoid an error.
15099 Use char because int might match the return type of a GCC
15100 builtin and then its argument prototype would still apply. */
15101 #ifdef __cplusplus
15102 extern "C"
15103 #endif
15104 char FAudioCreate ();
15106 main ()
15108 return FAudioCreate ();
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_link "$LINENO"; then :
15114 case "$LIBEXT" in
15115 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15116 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'` ;;
15117 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15118 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15119 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15120 fi ;;
15121 esac
15122 else
15123 ac_cv_lib_soname_FAudio=
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15127 LIBS=$ac_check_soname_save_LIBS
15129 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15131 $as_echo "not found" >&6; }
15133 else
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15135 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15137 cat >>confdefs.h <<_ACEOF
15138 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15139 _ACEOF
15145 done
15147 ac_wine_check_funcs_save_LIBS="$LIBS"
15148 LIBS="$LIBS $FAUDIO_LIBS"
15149 for ac_func in FAudio_CommitOperationSet \
15150 F3DAudioInitialize8 \
15151 FAudioLinkedVersion \
15152 FAudioCreateReverb9WithCustomAllocatorEXT
15153 do :
15154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15156 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15159 _ACEOF
15162 done
15164 LIBS="$ac_wine_check_funcs_save_LIBS"
15166 CPPFLAGS=$ac_save_CPPFLAGS
15169 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15170 case "x$with_faudio" in
15171 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15172 xno) ;;
15173 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15174 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15175 esac
15179 if test "x$with_capi" != "xno"
15180 then
15181 if ${CAPI20_CFLAGS:+false} :; then :
15182 if ${PKG_CONFIG+:} false; then :
15183 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15187 if ${CAPI20_LIBS:+false} :; then :
15188 if ${PKG_CONFIG+:} false; then :
15189 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15194 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15195 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15196 ac_save_CPPFLAGS=$CPPFLAGS
15197 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15198 for ac_header in capi20.h linux/capi.h
15199 do :
15200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15201 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15203 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15204 cat >>confdefs.h <<_ACEOF
15205 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15206 _ACEOF
15210 done
15212 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15213 then
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15215 $as_echo_n "checking for -lcapi20... " >&6; }
15216 if ${ac_cv_lib_soname_capi20+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 ac_check_soname_save_LIBS=$LIBS
15220 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15224 /* Override any GCC internal prototype to avoid an error.
15225 Use char because int might match the return type of a GCC
15226 builtin and then its argument prototype would still apply. */
15227 #ifdef __cplusplus
15228 extern "C"
15229 #endif
15230 char capi20_register ();
15232 main ()
15234 return capi20_register ();
15236 return 0;
15238 _ACEOF
15239 if ac_fn_c_try_link "$LINENO"; then :
15240 case "$LIBEXT" in
15241 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15242 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'` ;;
15243 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15244 if ${ac_cv_lib_soname_capi20:+false} :; then :
15245 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15246 fi ;;
15247 esac
15248 else
15249 ac_cv_lib_soname_capi20=
15251 rm -f core conftest.err conftest.$ac_objext \
15252 conftest$ac_exeext conftest.$ac_ext
15253 LIBS=$ac_check_soname_save_LIBS
15255 if ${ac_cv_lib_soname_capi20:+false} :; then :
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15257 $as_echo "not found" >&6; }
15259 else
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15261 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15263 cat >>confdefs.h <<_ACEOF
15264 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15265 _ACEOF
15270 CPPFLAGS=$ac_save_CPPFLAGS
15273 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15274 case "x$with_capi" in
15275 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15276 xno) ;;
15277 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15278 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15279 esac
15283 if test "x$with_cups" != "xno"
15284 then
15285 if ${CUPS_CFLAGS:+false} :; then :
15286 if ${PKG_CONFIG+:} false; then :
15287 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15290 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15291 if ${CUPS_LIBS:+false} :; then :
15292 if ${PKG_CONFIG+:} false; then :
15293 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15296 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15297 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15298 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15299 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15300 ac_save_CPPFLAGS=$CPPFLAGS
15301 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15302 for ac_header in cups/cups.h cups/ppd.h
15303 do :
15304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15305 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15306 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15307 cat >>confdefs.h <<_ACEOF
15308 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15309 _ACEOF
15313 done
15315 if test "$ac_cv_header_cups_cups_h" = "yes"
15316 then
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15318 $as_echo_n "checking for -lcups... " >&6; }
15319 if ${ac_cv_lib_soname_cups+:} false; then :
15320 $as_echo_n "(cached) " >&6
15321 else
15322 ac_check_soname_save_LIBS=$LIBS
15323 LIBS="-lcups $CUPS_LIBS $LIBS"
15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15327 /* Override any GCC internal prototype to avoid an error.
15328 Use char because int might match the return type of a GCC
15329 builtin and then its argument prototype would still apply. */
15330 #ifdef __cplusplus
15331 extern "C"
15332 #endif
15333 char cupsGetDefault ();
15335 main ()
15337 return cupsGetDefault ();
15339 return 0;
15341 _ACEOF
15342 if ac_fn_c_try_link "$LINENO"; then :
15343 case "$LIBEXT" in
15344 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15345 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'` ;;
15346 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15347 if ${ac_cv_lib_soname_cups:+false} :; then :
15348 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15349 fi ;;
15350 esac
15351 else
15352 ac_cv_lib_soname_cups=
15354 rm -f core conftest.err conftest.$ac_objext \
15355 conftest$ac_exeext conftest.$ac_ext
15356 LIBS=$ac_check_soname_save_LIBS
15358 if ${ac_cv_lib_soname_cups:+false} :; then :
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15360 $as_echo "not found" >&6; }
15361 CUPS_LIBS=""
15362 else
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15364 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15366 cat >>confdefs.h <<_ACEOF
15367 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15368 _ACEOF
15372 else
15373 CUPS_CFLAGS=""
15374 CUPS_LIBS=""
15376 CPPFLAGS=$ac_save_CPPFLAGS
15379 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15380 case "x$with_cups" in
15381 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15382 xno) ;;
15383 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15384 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15385 esac
15389 if test "x$with_fontconfig" != "xno"
15390 then
15391 if ${FONTCONFIG_CFLAGS:+false} :; then :
15392 if ${PKG_CONFIG+:} false; then :
15393 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15396 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15397 if ${FONTCONFIG_LIBS:+false} :; then :
15398 if ${PKG_CONFIG+:} false; then :
15399 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15402 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15404 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15405 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15406 ac_save_CPPFLAGS=$CPPFLAGS
15407 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15408 for ac_header in fontconfig/fontconfig.h
15409 do :
15410 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15411 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15412 cat >>confdefs.h <<_ACEOF
15413 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15414 _ACEOF
15418 done
15420 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15421 then
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15423 $as_echo_n "checking for -lfontconfig... " >&6; }
15424 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15425 $as_echo_n "(cached) " >&6
15426 else
15427 ac_check_soname_save_LIBS=$LIBS
15428 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15432 /* Override any GCC internal prototype to avoid an error.
15433 Use char because int might match the return type of a GCC
15434 builtin and then its argument prototype would still apply. */
15435 #ifdef __cplusplus
15436 extern "C"
15437 #endif
15438 char FcInit ();
15440 main ()
15442 return FcInit ();
15444 return 0;
15446 _ACEOF
15447 if ac_fn_c_try_link "$LINENO"; then :
15448 case "$LIBEXT" in
15449 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15450 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'` ;;
15451 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15452 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15453 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15454 fi ;;
15455 esac
15456 else
15457 ac_cv_lib_soname_fontconfig=
15459 rm -f core conftest.err conftest.$ac_objext \
15460 conftest$ac_exeext conftest.$ac_ext
15461 LIBS=$ac_check_soname_save_LIBS
15463 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15465 $as_echo "not found" >&6; }
15466 FONTCONFIG_CFLAGS=""
15467 else
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15469 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15471 cat >>confdefs.h <<_ACEOF
15472 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15473 _ACEOF
15477 else
15478 FONTCONFIG_CFLAGS=""
15480 CPPFLAGS=$ac_save_CPPFLAGS
15483 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15484 case "x$with_fontconfig" in
15485 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15486 xno) ;;
15487 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15488 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15489 esac
15493 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15494 then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15496 $as_echo_n "checking for -lgsm... " >&6; }
15497 if ${ac_cv_lib_soname_gsm+:} false; then :
15498 $as_echo_n "(cached) " >&6
15499 else
15500 ac_check_soname_save_LIBS=$LIBS
15501 LIBS="-lgsm $LIBS"
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 char gsm_create ();
15513 main ()
15515 return gsm_create ();
15517 return 0;
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 case "$LIBEXT" in
15522 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15523 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'` ;;
15524 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15525 if ${ac_cv_lib_soname_gsm:+false} :; then :
15526 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15527 fi ;;
15528 esac
15529 else
15530 ac_cv_lib_soname_gsm=
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_soname_save_LIBS
15536 if ${ac_cv_lib_soname_gsm:+false} :; then :
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15538 $as_echo "not found" >&6; }
15540 else
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15542 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15546 _ACEOF
15551 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15552 case "x$with_gsm" in
15553 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15554 xno) ;;
15555 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15556 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15557 esac
15561 if test "x$with_krb5" != "xno"
15562 then
15563 if ${KRB5_CFLAGS:+false} :; then :
15564 if ${PKG_CONFIG+:} false; then :
15565 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15568 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15569 if ${KRB5_LIBS:+false} :; then :
15570 if ${PKG_CONFIG+:} false; then :
15571 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15574 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15576 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15577 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15578 ac_save_CPPFLAGS=$CPPFLAGS
15579 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15580 for ac_header in krb5/krb5.h
15581 do :
15582 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15583 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15584 cat >>confdefs.h <<_ACEOF
15585 #define HAVE_KRB5_KRB5_H 1
15586 _ACEOF
15590 done
15592 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15593 then
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15595 $as_echo_n "checking for -lkrb5... " >&6; }
15596 if ${ac_cv_lib_soname_krb5+:} false; then :
15597 $as_echo_n "(cached) " >&6
15598 else
15599 ac_check_soname_save_LIBS=$LIBS
15600 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15607 #ifdef __cplusplus
15608 extern "C"
15609 #endif
15610 char krb5_is_config_principal ();
15612 main ()
15614 return krb5_is_config_principal ();
15616 return 0;
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"; then :
15620 case "$LIBEXT" in
15621 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15622 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'` ;;
15623 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15624 if ${ac_cv_lib_soname_krb5:+false} :; then :
15625 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15626 fi ;;
15627 esac
15628 else
15629 ac_cv_lib_soname_krb5=
15631 rm -f core conftest.err conftest.$ac_objext \
15632 conftest$ac_exeext conftest.$ac_ext
15633 LIBS=$ac_check_soname_save_LIBS
15635 if ${ac_cv_lib_soname_krb5:+false} :; then :
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15637 $as_echo "not found" >&6; }
15638 KRB5_CFLAGS=""
15639 else
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15641 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15643 cat >>confdefs.h <<_ACEOF
15644 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15645 _ACEOF
15649 else
15650 KRB5_CFLAGS=""
15652 CPPFLAGS=$ac_save_CPPFLAGS
15655 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15656 case "x$with_krb5" in
15657 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15658 xno) ;;
15659 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15660 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15661 esac
15664 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15666 if test "x$with_gssapi" != "xno"
15667 then
15668 if ${GSSAPI_CFLAGS:+false} :; then :
15669 if ${PKG_CONFIG+:} false; then :
15670 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15673 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15674 if ${GSSAPI_LIBS:+false} :; then :
15675 if ${PKG_CONFIG+:} false; then :
15676 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15679 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15681 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15682 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15683 ac_save_CPPFLAGS=$CPPFLAGS
15684 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15685 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15686 do :
15687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15688 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15689 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15692 _ACEOF
15696 done
15698 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15699 then
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15701 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15702 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15703 $as_echo_n "(cached) " >&6
15704 else
15705 ac_check_soname_save_LIBS=$LIBS
15706 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15713 #ifdef __cplusplus
15714 extern "C"
15715 #endif
15716 char gss_init_sec_context ();
15718 main ()
15720 return gss_init_sec_context ();
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"; then :
15726 case "$LIBEXT" in
15727 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15728 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'` ;;
15729 *) 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'`
15730 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15731 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15732 fi ;;
15733 esac
15734 else
15735 ac_cv_lib_soname_gssapi_krb5=
15737 rm -f core conftest.err conftest.$ac_objext \
15738 conftest$ac_exeext conftest.$ac_ext
15739 LIBS=$ac_check_soname_save_LIBS
15741 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15743 $as_echo "not found" >&6; }
15744 GSSAPI_CFLAGS=""
15745 else
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15747 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15749 cat >>confdefs.h <<_ACEOF
15750 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15751 _ACEOF
15755 else
15756 GSSAPI_CFLAGS=""
15758 CPPFLAGS=$ac_save_CPPFLAGS
15761 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15762 case "x$with_gssapi" in
15763 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15764 xno) ;;
15765 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15766 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15767 esac
15771 if test "x$with_jpeg" != "xno"
15772 then
15773 if ${JPEG_CFLAGS:+false} :; then :
15774 if ${PKG_CONFIG+:} false; then :
15775 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15779 if ${JPEG_LIBS:+false} :; then :
15780 if ${PKG_CONFIG+:} false; then :
15781 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15786 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15787 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15788 ac_save_CPPFLAGS=$CPPFLAGS
15789 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15790 for ac_header in jpeglib.h
15791 do :
15792 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15793 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_JPEGLIB_H 1
15796 _ACEOF
15800 done
15802 if test "$ac_cv_header_jpeglib_h" = "yes"
15803 then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15805 $as_echo_n "checking for -ljpeg... " >&6; }
15806 if ${ac_cv_lib_soname_jpeg+:} false; then :
15807 $as_echo_n "(cached) " >&6
15808 else
15809 ac_check_soname_save_LIBS=$LIBS
15810 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15817 #ifdef __cplusplus
15818 extern "C"
15819 #endif
15820 char jpeg_start_decompress ();
15822 main ()
15824 return jpeg_start_decompress ();
15826 return 0;
15828 _ACEOF
15829 if ac_fn_c_try_link "$LINENO"; then :
15830 case "$LIBEXT" in
15831 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15832 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'` ;;
15833 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15834 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15835 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15836 fi ;;
15837 esac
15838 else
15839 ac_cv_lib_soname_jpeg=
15841 rm -f core conftest.err conftest.$ac_objext \
15842 conftest$ac_exeext conftest.$ac_ext
15843 LIBS=$ac_check_soname_save_LIBS
15845 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15847 $as_echo "not found" >&6; }
15848 JPEG_CFLAGS=""
15849 else
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15851 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15853 cat >>confdefs.h <<_ACEOF
15854 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15855 _ACEOF
15859 else
15860 JPEG_CFLAGS=""
15862 CPPFLAGS=$ac_save_CPPFLAGS
15865 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15866 case "x$with_jpeg" in
15867 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15868 xno) ;;
15869 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15870 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15871 esac
15875 if test "x$with_jxrlib" != "xno"
15876 then
15877 if ${JXRLIB_CFLAGS:+false} :; then :
15878 if ${PKG_CONFIG+:} false; then :
15879 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15882 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15883 if ${JXRLIB_LIBS:+false} :; then :
15884 if ${PKG_CONFIG+:} false; then :
15885 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15890 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15891 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15892 ac_save_CPPFLAGS=$CPPFLAGS
15893 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15894 for ac_header in JXRGlue.h
15895 do :
15896 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15898 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_JXRGLUE_H 1
15901 _ACEOF
15905 done
15907 if test "$ac_cv_header_JXRGlue_h" = "yes"
15908 then
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15910 $as_echo_n "checking for -ljxrglue... " >&6; }
15911 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 ac_check_soname_save_LIBS=$LIBS
15915 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15919 /* Override any GCC internal prototype to avoid an error.
15920 Use char because int might match the return type of a GCC
15921 builtin and then its argument prototype would still apply. */
15922 #ifdef __cplusplus
15923 extern "C"
15924 #endif
15925 char PKImageDecode_Create_WMP ();
15927 main ()
15929 return PKImageDecode_Create_WMP ();
15931 return 0;
15933 _ACEOF
15934 if ac_fn_c_try_link "$LINENO"; then :
15935 case "$LIBEXT" in
15936 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15937 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'` ;;
15938 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15939 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15940 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15941 fi ;;
15942 esac
15943 else
15944 ac_cv_lib_soname_jxrglue=
15946 rm -f core conftest.err conftest.$ac_objext \
15947 conftest$ac_exeext conftest.$ac_ext
15948 LIBS=$ac_check_soname_save_LIBS
15950 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15952 $as_echo "not found" >&6; }
15953 JXRLIB_CFLAGS=""
15954 else
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15956 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
15958 cat >>confdefs.h <<_ACEOF
15959 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
15960 _ACEOF
15964 else
15965 JXRLIB_CFLAGS=""
15967 CPPFLAGS=$ac_save_CPPFLAGS
15970 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
15971 case "x$with_jxrlib" in
15972 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
15973 xno) ;;
15974 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
15975 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
15976 esac
15980 if test "x$with_png" != "xno"
15981 then
15982 if ${PNG_CFLAGS:+false} :; then :
15983 if ${PKG_CONFIG+:} false; then :
15984 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15987 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15988 if ${PNG_LIBS:+false} :; then :
15989 if ${PKG_CONFIG+:} false; then :
15990 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15993 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15995 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15996 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15997 ac_save_CPPFLAGS=$CPPFLAGS
15998 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15999 for ac_header in png.h
16000 do :
16001 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16002 if test "x$ac_cv_header_png_h" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_PNG_H 1
16005 _ACEOF
16009 done
16011 if test "$ac_cv_header_png_h" = "yes"
16012 then
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16014 $as_echo_n "checking for -lpng... " >&6; }
16015 if ${ac_cv_lib_soname_png+:} false; then :
16016 $as_echo_n "(cached) " >&6
16017 else
16018 ac_check_soname_save_LIBS=$LIBS
16019 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char png_create_read_struct ();
16031 main ()
16033 return png_create_read_struct ();
16035 return 0;
16037 _ACEOF
16038 if ac_fn_c_try_link "$LINENO"; then :
16039 case "$LIBEXT" in
16040 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16041 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'` ;;
16042 *) 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'`
16043 if ${ac_cv_lib_soname_png:+false} :; then :
16044 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16045 fi ;;
16046 esac
16047 else
16048 ac_cv_lib_soname_png=
16050 rm -f core conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 LIBS=$ac_check_soname_save_LIBS
16054 if ${ac_cv_lib_soname_png:+false} :; then :
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16056 $as_echo "not found" >&6; }
16057 PNG_CFLAGS=""
16058 else
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16060 $as_echo "$ac_cv_lib_soname_png" >&6; }
16062 cat >>confdefs.h <<_ACEOF
16063 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16064 _ACEOF
16068 else
16069 PNG_CFLAGS=""
16071 CPPFLAGS=$ac_save_CPPFLAGS
16074 if test "x$ac_cv_lib_soname_png" = "x"; then :
16075 case "x$with_png" in
16076 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16077 xno) ;;
16078 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16079 This is an error since --with-png was requested." "$LINENO" 5 ;;
16080 esac
16084 if test "x$with_tiff" != "xno"
16085 then
16086 if ${TIFF_CFLAGS:+false} :; then :
16087 if ${PKG_CONFIG+:} false; then :
16088 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16092 if ${TIFF_LIBS:+false} :; then :
16093 if ${PKG_CONFIG+:} false; then :
16094 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16099 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16100 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16101 ac_save_CPPFLAGS=$CPPFLAGS
16102 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16103 for ac_header in tiffio.h
16104 do :
16105 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16106 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_TIFFIO_H 1
16109 _ACEOF
16113 done
16115 if test "$ac_cv_header_tiffio_h" = "yes"
16116 then
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16118 $as_echo_n "checking for -ltiff... " >&6; }
16119 if ${ac_cv_lib_soname_tiff+:} false; then :
16120 $as_echo_n "(cached) " >&6
16121 else
16122 ac_check_soname_save_LIBS=$LIBS
16123 LIBS="-ltiff $TIFF_LIBS $LIBS"
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16127 /* Override any GCC internal prototype to avoid an error.
16128 Use char because int might match the return type of a GCC
16129 builtin and then its argument prototype would still apply. */
16130 #ifdef __cplusplus
16131 extern "C"
16132 #endif
16133 char TIFFClientOpen ();
16135 main ()
16137 return TIFFClientOpen ();
16139 return 0;
16141 _ACEOF
16142 if ac_fn_c_try_link "$LINENO"; then :
16143 case "$LIBEXT" in
16144 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16145 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'` ;;
16146 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16147 if ${ac_cv_lib_soname_tiff:+false} :; then :
16148 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16149 fi ;;
16150 esac
16151 else
16152 ac_cv_lib_soname_tiff=
16154 rm -f core conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16156 LIBS=$ac_check_soname_save_LIBS
16158 if ${ac_cv_lib_soname_tiff:+false} :; then :
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16160 $as_echo "not found" >&6; }
16162 else
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16164 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16166 cat >>confdefs.h <<_ACEOF
16167 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16168 _ACEOF
16173 CPPFLAGS=$ac_save_CPPFLAGS
16176 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16177 case "x$with_tiff" in
16178 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16179 xno) ;;
16180 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16181 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16182 esac
16186 if test "x$with_mpg123" != "xno"
16187 then
16188 if ${MPG123_CFLAGS:+false} :; then :
16189 if ${PKG_CONFIG+:} false; then :
16190 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16194 if ${MPG123_LIBS:+false} :; then :
16195 if ${PKG_CONFIG+:} false; then :
16196 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16200 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16201 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16202 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16203 ac_save_CPPFLAGS=$CPPFLAGS
16204 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16205 for ac_header in mpg123.h
16206 do :
16207 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16208 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16209 cat >>confdefs.h <<_ACEOF
16210 #define HAVE_MPG123_H 1
16211 _ACEOF
16215 done
16217 if test "$ac_cv_header_mpg123_h" = "yes"
16218 then
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16220 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16221 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16222 $as_echo_n "(cached) " >&6
16223 else
16224 ac_check_lib_save_LIBS=$LIBS
16225 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16229 /* Override any GCC internal prototype to avoid an error.
16230 Use char because int might match the return type of a GCC
16231 builtin and then its argument prototype would still apply. */
16232 #ifdef __cplusplus
16233 extern "C"
16234 #endif
16235 char mpg123_feed ();
16237 main ()
16239 return mpg123_feed ();
16241 return 0;
16243 _ACEOF
16244 if ac_fn_c_try_link "$LINENO"; then :
16245 ac_cv_lib_mpg123_mpg123_feed=yes
16246 else
16247 ac_cv_lib_mpg123_mpg123_feed=no
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16251 LIBS=$ac_check_lib_save_LIBS
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16254 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16255 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16257 else
16258 MPG123_LIBS=""
16261 else
16262 MPG123_CFLAGS=""
16263 MPG123_LIBS=""
16265 CPPFLAGS=$ac_save_CPPFLAGS
16268 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16269 case "x$with_mpg123" in
16270 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16271 xno) ;;
16272 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16273 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16274 esac
16275 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16277 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16279 if test "$ac_cv_header_AL_al_h" = "yes"
16280 then
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16282 $as_echo_n "checking for -lopenal... " >&6; }
16283 if ${ac_cv_lib_soname_openal+:} false; then :
16284 $as_echo_n "(cached) " >&6
16285 else
16286 ac_check_soname_save_LIBS=$LIBS
16287 LIBS="-lopenal $LIBS"
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16294 #ifdef __cplusplus
16295 extern "C"
16296 #endif
16297 char alGetSource3i ();
16299 main ()
16301 return alGetSource3i ();
16303 return 0;
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"; then :
16307 case "$LIBEXT" in
16308 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16309 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'` ;;
16310 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16311 if ${ac_cv_lib_soname_openal:+false} :; then :
16312 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16313 fi ;;
16314 esac
16315 else
16316 ac_cv_lib_soname_openal=
16318 rm -f core conftest.err conftest.$ac_objext \
16319 conftest$ac_exeext conftest.$ac_ext
16320 LIBS=$ac_check_soname_save_LIBS
16322 if ${ac_cv_lib_soname_openal:+false} :; then :
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16324 $as_echo "not found" >&6; }
16326 else
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16328 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16330 cat >>confdefs.h <<_ACEOF
16331 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16332 _ACEOF
16334 OPENAL_LIBS="-lopenal"
16336 ac_cv_lib_openal=yes
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_OPENAL 1
16340 _ACEOF
16344 if test "x$ac_cv_lib_openal" != xyes; then :
16345 case "x$with_openal" in
16346 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16347 xno) ;;
16348 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16349 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16350 esac
16351 enable_openal32=${enable_openal32:-no}
16354 if test "x$ac_cv_lib_soname_FAudio" = "x"
16355 then
16356 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16357 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16358 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16359 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16360 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16361 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16362 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16363 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16364 enable_xactengine3_0=${enable_xactengine3_0:-no}
16365 enable_xactengine3_1=${enable_xactengine3_1:-no}
16366 enable_xactengine3_2=${enable_xactengine3_2:-no}
16367 enable_xactengine3_3=${enable_xactengine3_3:-no}
16368 enable_xactengine3_4=${enable_xactengine3_4:-no}
16369 enable_xactengine3_5=${enable_xactengine3_5:-no}
16370 enable_xactengine3_6=${enable_xactengine3_6:-no}
16371 enable_xactengine3_7=${enable_xactengine3_7:-no}
16372 enable_xapofx1_1=${enable_xapofx1_1:-no}
16373 enable_xapofx1_2=${enable_xapofx1_2:-no}
16374 enable_xapofx1_3=${enable_xapofx1_3:-no}
16375 enable_xapofx1_4=${enable_xapofx1_4:-no}
16376 enable_xapofx1_5=${enable_xapofx1_5:-no}
16377 enable_xaudio2_0=${enable_xaudio2_0:-no}
16378 enable_xaudio2_1=${enable_xaudio2_1:-no}
16379 enable_xaudio2_2=${enable_xaudio2_2:-no}
16380 enable_xaudio2_3=${enable_xaudio2_3:-no}
16381 enable_xaudio2_4=${enable_xaudio2_4:-no}
16382 enable_xaudio2_5=${enable_xaudio2_5:-no}
16383 enable_xaudio2_6=${enable_xaudio2_6:-no}
16384 enable_xaudio2_7=${enable_xaudio2_7:-no}
16385 enable_xaudio2_8=${enable_xaudio2_8:-no}
16386 enable_xaudio2_9=${enable_xaudio2_9:-no}
16389 if test "$ac_cv_header_kstat_h" = "yes"
16390 then
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16392 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16393 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16394 $as_echo_n "(cached) " >&6
16395 else
16396 ac_check_lib_save_LIBS=$LIBS
16397 LIBS="-lkstat $LIBS"
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16401 /* Override any GCC internal prototype to avoid an error.
16402 Use char because int might match the return type of a GCC
16403 builtin and then its argument prototype would still apply. */
16404 #ifdef __cplusplus
16405 extern "C"
16406 #endif
16407 char kstat_open ();
16409 main ()
16411 return kstat_open ();
16413 return 0;
16415 _ACEOF
16416 if ac_fn_c_try_link "$LINENO"; then :
16417 ac_cv_lib_kstat_kstat_open=yes
16418 else
16419 ac_cv_lib_kstat_kstat_open=no
16421 rm -f core conftest.err conftest.$ac_objext \
16422 conftest$ac_exeext conftest.$ac_ext
16423 LIBS=$ac_check_lib_save_LIBS
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16426 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16427 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16429 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16431 KSTAT_LIBS="-lkstat"
16437 if test "$ac_cv_header_libprocstat_h" = "yes"
16438 then
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16440 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16441 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16442 $as_echo_n "(cached) " >&6
16443 else
16444 ac_check_lib_save_LIBS=$LIBS
16445 LIBS="-lprocstat $LIBS"
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16449 /* Override any GCC internal prototype to avoid an error.
16450 Use char because int might match the return type of a GCC
16451 builtin and then its argument prototype would still apply. */
16452 #ifdef __cplusplus
16453 extern "C"
16454 #endif
16455 char procstat_open_sysctl ();
16457 main ()
16459 return procstat_open_sysctl ();
16461 return 0;
16463 _ACEOF
16464 if ac_fn_c_try_link "$LINENO"; then :
16465 ac_cv_lib_procstat_procstat_open_sysctl=yes
16466 else
16467 ac_cv_lib_procstat_procstat_open_sysctl=no
16469 rm -f core conftest.err conftest.$ac_objext \
16470 conftest$ac_exeext conftest.$ac_ext
16471 LIBS=$ac_check_lib_save_LIBS
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16474 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16475 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16477 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16479 PROCSTAT_LIBS="-lprocstat"
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16486 $as_echo_n "checking for -lodbc... " >&6; }
16487 if ${ac_cv_lib_soname_odbc+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 ac_check_soname_save_LIBS=$LIBS
16491 LIBS="-lodbc $LIBS"
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16495 /* Override any GCC internal prototype to avoid an error.
16496 Use char because int might match the return type of a GCC
16497 builtin and then its argument prototype would still apply. */
16498 #ifdef __cplusplus
16499 extern "C"
16500 #endif
16501 char SQLConnect ();
16503 main ()
16505 return SQLConnect ();
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 case "$LIBEXT" in
16512 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16513 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'` ;;
16514 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16515 if ${ac_cv_lib_soname_odbc:+false} :; then :
16516 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16517 fi ;;
16518 esac
16519 else
16520 ac_cv_lib_soname_odbc=
16522 rm -f core conftest.err conftest.$ac_objext \
16523 conftest$ac_exeext conftest.$ac_ext
16524 LIBS=$ac_check_soname_save_LIBS
16526 if ${ac_cv_lib_soname_odbc:+false} :; then :
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16528 $as_echo "not found" >&6; }
16529 cat >>confdefs.h <<_ACEOF
16530 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16531 _ACEOF
16533 else
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16535 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16537 cat >>confdefs.h <<_ACEOF
16538 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16539 _ACEOF
16544 if test "x$with_netapi" != "xno"
16545 then
16546 if ${NETAPI_CFLAGS:+false} :; then :
16547 if ${PKG_CONFIG+:} false; then :
16548 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16552 if ${NETAPI_LIBS:+false} :; then :
16553 if ${PKG_CONFIG+:} false; then :
16554 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16559 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16560 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16561 ac_save_CPPFLAGS=$CPPFLAGS
16562 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16564 $as_echo_n "checking for -lnetapi... " >&6; }
16565 if ${ac_cv_lib_soname_netapi+:} false; then :
16566 $as_echo_n "(cached) " >&6
16567 else
16568 ac_check_soname_save_LIBS=$LIBS
16569 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 #ifdef __cplusplus
16577 extern "C"
16578 #endif
16579 char libnetapi_init ();
16581 main ()
16583 return libnetapi_init ();
16585 return 0;
16587 _ACEOF
16588 if ac_fn_c_try_link "$LINENO"; then :
16589 case "$LIBEXT" in
16590 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16591 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'` ;;
16592 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16593 if ${ac_cv_lib_soname_netapi:+false} :; then :
16594 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16595 fi ;;
16596 esac
16597 else
16598 ac_cv_lib_soname_netapi=
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_soname_save_LIBS
16604 if ${ac_cv_lib_soname_netapi:+false} :; then :
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16606 $as_echo "not found" >&6; }
16607 cat >>confdefs.h <<_ACEOF
16608 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16609 _ACEOF
16611 else
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16613 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16615 cat >>confdefs.h <<_ACEOF
16616 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16617 _ACEOF
16621 CPPFLAGS=$ac_save_CPPFLAGS
16625 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16626 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16627 then
16628 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16631 if test "x$with_vulkan" != "xno"
16632 then
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16634 $as_echo_n "checking for -lvulkan... " >&6; }
16635 if ${ac_cv_lib_soname_vulkan+:} false; then :
16636 $as_echo_n "(cached) " >&6
16637 else
16638 ac_check_soname_save_LIBS=$LIBS
16639 LIBS="-lvulkan $LIBS"
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16643 /* Override any GCC internal prototype to avoid an error.
16644 Use char because int might match the return type of a GCC
16645 builtin and then its argument prototype would still apply. */
16646 #ifdef __cplusplus
16647 extern "C"
16648 #endif
16649 char vkGetInstanceProcAddr ();
16651 main ()
16653 return vkGetInstanceProcAddr ();
16655 return 0;
16657 _ACEOF
16658 if ac_fn_c_try_link "$LINENO"; then :
16659 case "$LIBEXT" in
16660 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16661 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'` ;;
16662 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16663 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16664 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16665 fi ;;
16666 esac
16667 else
16668 ac_cv_lib_soname_vulkan=
16670 rm -f core conftest.err conftest.$ac_objext \
16671 conftest$ac_exeext conftest.$ac_ext
16672 LIBS=$ac_check_soname_save_LIBS
16674 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16676 $as_echo "not found" >&6; }
16678 else
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16680 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16682 cat >>confdefs.h <<_ACEOF
16683 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16684 _ACEOF
16688 if test "x$ac_cv_lib_soname_vulkan" = "x"
16689 then
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16691 $as_echo_n "checking for -lMoltenVK... " >&6; }
16692 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16693 $as_echo_n "(cached) " >&6
16694 else
16695 ac_check_soname_save_LIBS=$LIBS
16696 LIBS="-lMoltenVK $LIBS"
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16700 /* Override any GCC internal prototype to avoid an error.
16701 Use char because int might match the return type of a GCC
16702 builtin and then its argument prototype would still apply. */
16703 #ifdef __cplusplus
16704 extern "C"
16705 #endif
16706 char vkGetInstanceProcAddr ();
16708 main ()
16710 return vkGetInstanceProcAddr ();
16712 return 0;
16714 _ACEOF
16715 if ac_fn_c_try_link "$LINENO"; then :
16716 case "$LIBEXT" in
16717 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16718 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'` ;;
16719 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16720 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16721 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16722 fi ;;
16723 esac
16724 else
16725 ac_cv_lib_soname_MoltenVK=
16727 rm -f core conftest.err conftest.$ac_objext \
16728 conftest$ac_exeext conftest.$ac_ext
16729 LIBS=$ac_check_soname_save_LIBS
16731 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16733 $as_echo "not found" >&6; }
16735 else
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16737 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16739 cat >>confdefs.h <<_ACEOF
16740 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16741 _ACEOF
16747 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16748 case "x$with_vulkan" in
16749 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16750 xno) ;;
16751 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16752 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16753 esac
16757 if test "x$with_vkd3d" != "xno"
16758 then
16759 if ${VKD3D_CFLAGS:+false} :; then :
16760 if ${PKG_CONFIG+:} false; then :
16761 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16765 if ${VKD3D_LIBS:+false} :; then :
16766 if ${PKG_CONFIG+:} false; then :
16767 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16772 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16773 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16774 ac_save_CPPFLAGS=$CPPFLAGS
16775 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16777 $as_echo_n "checking for -lvkd3d... " >&6; }
16778 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 ac_check_soname_save_LIBS=$LIBS
16782 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 /* Override any GCC internal prototype to avoid an error.
16787 Use char because int might match the return type of a GCC
16788 builtin and then its argument prototype would still apply. */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
16792 char vkd3d_serialize_versioned_root_signature ();
16794 main ()
16796 return vkd3d_serialize_versioned_root_signature ();
16798 return 0;
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 case "$LIBEXT" in
16803 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16804 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'` ;;
16805 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16806 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16807 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16808 fi ;;
16809 esac
16810 else
16811 ac_cv_lib_soname_vkd3d=
16813 rm -f core conftest.err conftest.$ac_objext \
16814 conftest$ac_exeext conftest.$ac_ext
16815 LIBS=$ac_check_soname_save_LIBS
16817 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16819 $as_echo "not found" >&6; }
16821 else
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16823 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16825 cat >>confdefs.h <<_ACEOF
16826 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16827 _ACEOF
16831 CPPFLAGS=$ac_save_CPPFLAGS
16833 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16834 if ${PKG_CONFIG+:} false; then :
16835 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16839 if ${VKD3D_SHADER_LIBS:+false} :; then :
16840 if ${PKG_CONFIG+:} false; then :
16841 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16846 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16847 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16848 ac_save_CPPFLAGS=$CPPFLAGS
16849 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16851 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16852 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 ac_check_soname_save_LIBS=$LIBS
16856 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16860 /* Override any GCC internal prototype to avoid an error.
16861 Use char because int might match the return type of a GCC
16862 builtin and then its argument prototype would still apply. */
16863 #ifdef __cplusplus
16864 extern "C"
16865 #endif
16866 char vkd3d_shader_compile ();
16868 main ()
16870 return vkd3d_shader_compile ();
16872 return 0;
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"; then :
16876 case "$LIBEXT" in
16877 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16878 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'` ;;
16879 *) 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'`
16880 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16881 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16882 fi ;;
16883 esac
16884 else
16885 ac_cv_lib_soname_vkd3d_shader=
16887 rm -f core conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16889 LIBS=$ac_check_soname_save_LIBS
16891 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16893 $as_echo "not found" >&6; }
16895 else
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16897 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16899 cat >>confdefs.h <<_ACEOF
16900 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16901 _ACEOF
16905 CPPFLAGS=$ac_save_CPPFLAGS
16908 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16909 case "x$with_vkd3d" in
16910 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16911 xno) ;;
16912 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16913 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16914 esac
16917 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16920 EXTRACFLAGS=""
16922 if test "x${GCC}" = "xyes"
16923 then
16924 EXTRACFLAGS="-Wall -pipe"
16926 saved_CFLAGS=$CFLAGS
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16928 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16929 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 ac_wine_try_cflags_saved=$CFLAGS
16933 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 int main(int argc, char **argv) { return 0; }
16937 _ACEOF
16938 if ac_fn_c_try_link "$LINENO"; then :
16939 ac_cv_cflags__Werror_unknown_warning_option=yes
16940 else
16941 ac_cv_cflags__Werror_unknown_warning_option=no
16943 rm -f core conftest.err conftest.$ac_objext \
16944 conftest$ac_exeext conftest.$ac_ext
16945 CFLAGS=$ac_wine_try_cflags_saved
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16948 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16949 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16950 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16953 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16954 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 ac_wine_try_cflags_saved=$CFLAGS
16958 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 int main(int argc, char **argv) { return 0; }
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 ac_cv_cflags__Werror_unused_command_line_argument=yes
16965 else
16966 ac_cv_cflags__Werror_unused_command_line_argument=no
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16970 CFLAGS=$ac_wine_try_cflags_saved
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16973 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16974 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16975 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16978 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16979 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 ac_wine_try_cflags_saved=$CFLAGS
16983 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 int main(int argc, char **argv) { return 0; }
16987 _ACEOF
16988 if ac_fn_c_try_link "$LINENO"; then :
16989 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16990 else
16991 ac_cv_cflags__Werror_ignored_optimization_argument=no
16993 rm -f core conftest.err conftest.$ac_objext \
16994 conftest$ac_exeext conftest.$ac_ext
16995 CFLAGS=$ac_wine_try_cflags_saved
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16998 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16999 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17000 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17003 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17004 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17005 $as_echo_n "(cached) " >&6
17006 else
17007 ac_wine_try_cflags_saved=$CFLAGS
17008 CFLAGS="$CFLAGS -fcf-protection=none"
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17011 int main(int argc, char **argv) { return 0; }
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_cflags__fcf_protection_none=yes
17015 else
17016 ac_cv_cflags__fcf_protection_none=no
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17020 CFLAGS=$ac_wine_try_cflags_saved
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17023 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17024 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17025 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17028 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17029 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17030 $as_echo_n "(cached) " >&6
17031 else
17032 ac_wine_try_cflags_saved=$CFLAGS
17033 CFLAGS="$CFLAGS -fno-stack-protector"
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 int main(int argc, char **argv) { return 0; }
17037 _ACEOF
17038 if ac_fn_c_try_link "$LINENO"; then :
17039 ac_cv_cflags__fno_stack_protector=yes
17040 else
17041 ac_cv_cflags__fno_stack_protector=no
17043 rm -f core conftest.err conftest.$ac_objext \
17044 conftest$ac_exeext conftest.$ac_ext
17045 CFLAGS=$ac_wine_try_cflags_saved
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17048 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17049 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17050 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17053 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17054 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057 ac_wine_try_cflags_saved=$CFLAGS
17058 CFLAGS="$CFLAGS -fno-strict-aliasing"
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 int main(int argc, char **argv) { return 0; }
17062 _ACEOF
17063 if ac_fn_c_try_link "$LINENO"; then :
17064 ac_cv_cflags__fno_strict_aliasing=yes
17065 else
17066 ac_cv_cflags__fno_strict_aliasing=no
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17070 CFLAGS=$ac_wine_try_cflags_saved
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17073 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17074 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17075 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17078 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17079 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 ac_wine_try_cflags_saved=$CFLAGS
17083 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 int main(int argc, char **argv) { return 0; }
17087 _ACEOF
17088 if ac_fn_c_try_link "$LINENO"; then :
17089 ac_cv_cflags__Wdeclaration_after_statement=yes
17090 else
17091 ac_cv_cflags__Wdeclaration_after_statement=no
17093 rm -f core conftest.err conftest.$ac_objext \
17094 conftest$ac_exeext conftest.$ac_ext
17095 CFLAGS=$ac_wine_try_cflags_saved
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17098 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17099 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17100 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17103 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17104 if ${ac_cv_cflags__Wempty_body+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 ac_wine_try_cflags_saved=$CFLAGS
17108 CFLAGS="$CFLAGS -Wempty-body"
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 int main(int argc, char **argv) { return 0; }
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_cflags__Wempty_body=yes
17115 else
17116 ac_cv_cflags__Wempty_body=no
17118 rm -f core conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17120 CFLAGS=$ac_wine_try_cflags_saved
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17123 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17124 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17125 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17128 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17129 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 ac_wine_try_cflags_saved=$CFLAGS
17133 CFLAGS="$CFLAGS -Wignored-qualifiers"
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 int main(int argc, char **argv) { return 0; }
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 ac_cv_cflags__Wignored_qualifiers=yes
17140 else
17141 ac_cv_cflags__Wignored_qualifiers=no
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17145 CFLAGS=$ac_wine_try_cflags_saved
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17148 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17149 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17150 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17153 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17154 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 ac_wine_try_cflags_saved=$CFLAGS
17158 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 int main(int argc, char **argv) { return 0; }
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"; then :
17164 ac_cv_cflags__Wpacked_not_aligned=yes
17165 else
17166 ac_cv_cflags__Wpacked_not_aligned=no
17168 rm -f core conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17170 CFLAGS=$ac_wine_try_cflags_saved
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17173 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17174 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17175 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17178 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17179 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 ac_wine_try_cflags_saved=$CFLAGS
17183 CFLAGS="$CFLAGS -Wpragma-pack"
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17186 int main(int argc, char **argv) { return 0; }
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 ac_cv_cflags__Wpragma_pack=yes
17190 else
17191 ac_cv_cflags__Wpragma_pack=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17195 CFLAGS=$ac_wine_try_cflags_saved
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17198 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17199 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17200 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17203 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17204 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 ac_wine_try_cflags_saved=$CFLAGS
17208 CFLAGS="$CFLAGS -Wshift-overflow=2"
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17211 int main(int argc, char **argv) { return 0; }
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"; then :
17214 ac_cv_cflags__Wshift_overflow_2=yes
17215 else
17216 ac_cv_cflags__Wshift_overflow_2=no
17218 rm -f core conftest.err conftest.$ac_objext \
17219 conftest$ac_exeext conftest.$ac_ext
17220 CFLAGS=$ac_wine_try_cflags_saved
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17223 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17224 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17225 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17228 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17229 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 ac_wine_try_cflags_saved=$CFLAGS
17233 CFLAGS="$CFLAGS -Wstrict-prototypes"
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 int main(int argc, char **argv) { return 0; }
17237 _ACEOF
17238 if ac_fn_c_try_link "$LINENO"; then :
17239 ac_cv_cflags__Wstrict_prototypes=yes
17240 else
17241 ac_cv_cflags__Wstrict_prototypes=no
17243 rm -f core conftest.err conftest.$ac_objext \
17244 conftest$ac_exeext conftest.$ac_ext
17245 CFLAGS=$ac_wine_try_cflags_saved
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17248 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17249 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17250 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17253 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17254 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 ac_wine_try_cflags_saved=$CFLAGS
17258 CFLAGS="$CFLAGS -Wtype-limits"
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 int main(int argc, char **argv) { return 0; }
17262 _ACEOF
17263 if ac_fn_c_try_link "$LINENO"; then :
17264 ac_cv_cflags__Wtype_limits=yes
17265 else
17266 ac_cv_cflags__Wtype_limits=no
17268 rm -f core conftest.err conftest.$ac_objext \
17269 conftest$ac_exeext conftest.$ac_ext
17270 CFLAGS=$ac_wine_try_cflags_saved
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17273 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17274 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17275 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17278 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17279 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17280 $as_echo_n "(cached) " >&6
17281 else
17282 ac_wine_try_cflags_saved=$CFLAGS
17283 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17286 int main(int argc, char **argv) { return 0; }
17287 _ACEOF
17288 if ac_fn_c_try_link "$LINENO"; then :
17289 ac_cv_cflags__Wunused_but_set_parameter=yes
17290 else
17291 ac_cv_cflags__Wunused_but_set_parameter=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 CFLAGS=$ac_wine_try_cflags_saved
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17298 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17299 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17300 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17303 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17304 if ${ac_cv_cflags__Wvla+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 ac_wine_try_cflags_saved=$CFLAGS
17308 CFLAGS="$CFLAGS -Wvla"
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 int main(int argc, char **argv) { return 0; }
17312 _ACEOF
17313 if ac_fn_c_try_link "$LINENO"; then :
17314 ac_cv_cflags__Wvla=yes
17315 else
17316 ac_cv_cflags__Wvla=no
17318 rm -f core conftest.err conftest.$ac_objext \
17319 conftest$ac_exeext conftest.$ac_ext
17320 CFLAGS=$ac_wine_try_cflags_saved
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17323 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17324 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17325 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17328 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17329 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 ac_wine_try_cflags_saved=$CFLAGS
17333 CFLAGS="$CFLAGS -Wwrite-strings"
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 int main(int argc, char **argv) { return 0; }
17337 _ACEOF
17338 if ac_fn_c_try_link "$LINENO"; then :
17339 ac_cv_cflags__Wwrite_strings=yes
17340 else
17341 ac_cv_cflags__Wwrite_strings=no
17343 rm -f core conftest.err conftest.$ac_objext \
17344 conftest$ac_exeext conftest.$ac_ext
17345 CFLAGS=$ac_wine_try_cflags_saved
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17348 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17349 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17350 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17353 if test -z "$CROSSTARGET"
17354 then
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17356 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17357 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17358 $as_echo_n "(cached) " >&6
17359 else
17360 ac_wine_try_cflags_saved=$CFLAGS
17361 CFLAGS="$CFLAGS -fexcess-precision=standard"
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 int main(int argc, char **argv) { return 0; }
17365 _ACEOF
17366 if ac_fn_c_try_link "$LINENO"; then :
17367 ac_cv_cflags__fexcess_precision_standard=yes
17368 else
17369 ac_cv_cflags__fexcess_precision_standard=no
17371 rm -f core conftest.err conftest.$ac_objext \
17372 conftest$ac_exeext conftest.$ac_ext
17373 CFLAGS=$ac_wine_try_cflags_saved
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17376 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17377 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17378 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17384 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17385 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 ac_wine_try_cflags_saved=$CFLAGS
17389 CFLAGS="$CFLAGS -Wpointer-arith"
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 int main(int argc, char **argv) { return 0; }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 ac_cv_cflags__Wpointer_arith=yes
17396 else
17397 ac_cv_cflags__Wpointer_arith=no
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 CFLAGS=$ac_wine_try_cflags_saved
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17404 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17405 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17406 saved_string_h_CFLAGS=$CFLAGS
17407 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17409 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17410 if ${ac_cv_c_string_h_warnings+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17415 #include <string.h>
17417 main ()
17421 return 0;
17423 _ACEOF
17424 if ac_fn_c_try_compile "$LINENO"; then :
17425 ac_cv_c_string_h_warnings=no
17426 else
17427 ac_cv_c_string_h_warnings=yes
17429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17432 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17433 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17434 CFLAGS=$saved_string_h_CFLAGS
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17438 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17439 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17440 $as_echo_n "(cached) " >&6
17441 else
17442 ac_wine_try_cflags_saved=$CFLAGS
17443 CFLAGS="$CFLAGS -Wlogical-op"
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17446 int main(int argc, char **argv) { return 0; }
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"; then :
17449 ac_cv_cflags__Wlogical_op=yes
17450 else
17451 ac_cv_cflags__Wlogical_op=no
17453 rm -f core conftest.err conftest.$ac_objext \
17454 conftest$ac_exeext conftest.$ac_ext
17455 CFLAGS=$ac_wine_try_cflags_saved
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17458 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17459 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17460 saved_string_h_CFLAGS=$CFLAGS
17461 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17463 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17464 if ${ac_cv_c_logicalop_noisy+:} false; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469 #include <string.h>
17470 char*f(const char *h,char n) {return strchr(h,n);}
17472 main ()
17476 return 0;
17478 _ACEOF
17479 if ac_fn_c_try_compile "$LINENO"; then :
17480 ac_cv_c_logicalop_noisy=no
17481 else
17482 ac_cv_c_logicalop_noisy=yes
17484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17487 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17488 CFLAGS=$saved_string_h_CFLAGS
17489 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17493 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17494 if ${wine_cv_64bit_compare_swap+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17500 #error no
17501 #endif
17503 main ()
17507 return 0;
17509 _ACEOF
17510 if ac_fn_c_try_compile "$LINENO"; then :
17511 wine_cv_64bit_compare_swap="none needed"
17512 else
17513 case $host_cpu in
17514 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17515 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17516 *) wine_cv_64bit_compare_swap="unknown" ;;
17517 esac
17518 if test "x$wine_cv_64bit_compare_swap" != xunknown
17519 then
17520 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17524 #error no
17525 #endif
17527 main ()
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17536 else
17537 wine_cv_64bit_compare_swap="unknown"
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17540 CFLAGS=$saved_CFLAGS
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17546 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17547 case "$wine_cv_64bit_compare_swap" in
17548 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17549 "none needed") ;;
17550 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17551 esac
17553 for ac_flag in $CFLAGS; do
17554 case $ac_flag in
17555 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17556 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17557 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 ac_wine_try_cflags_saved=$CFLAGS
17561 CFLAGS="$CFLAGS -gdwarf-2"
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 int main(int argc, char **argv) { return 0; }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_cflags__gdwarf_2=yes
17568 else
17569 ac_cv_cflags__gdwarf_2=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 CFLAGS=$ac_wine_try_cflags_saved
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17576 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17577 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17578 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17581 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17582 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 ac_wine_try_cflags_saved=$CFLAGS
17586 CFLAGS="$CFLAGS -gstrict-dwarf"
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 int main(int argc, char **argv) { return 0; }
17590 _ACEOF
17591 if ac_fn_c_try_link "$LINENO"; then :
17592 ac_cv_cflags__gstrict_dwarf=yes
17593 else
17594 ac_cv_cflags__gstrict_dwarf=no
17596 rm -f core conftest.err conftest.$ac_objext \
17597 conftest$ac_exeext conftest.$ac_ext
17598 CFLAGS=$ac_wine_try_cflags_saved
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17601 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17602 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17603 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17604 fi ;;
17605 esac
17606 done
17608 MSVCRTFLAGS=""
17610 case $host_os in
17611 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17612 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17613 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
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__Wl__delayload_autoconftest_dll=yes
17624 else
17625 ac_cv_cflags__Wl__delayload_autoconftest_dll=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__Wl__delayload_autoconftest_dll" >&5
17632 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17633 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17634 DELAYLOADFLAG="-Wl,-delayload,"
17636 fi ;;
17637 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17638 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17639 if ${ac_cv_cflags__fno_builtin+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 ac_wine_try_cflags_saved=$CFLAGS
17643 CFLAGS="$CFLAGS -fno-builtin"
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 int main(int argc, char **argv) { return 0; }
17647 _ACEOF
17648 if ac_fn_c_try_link "$LINENO"; then :
17649 ac_cv_cflags__fno_builtin=yes
17650 else
17651 ac_cv_cflags__fno_builtin=no
17653 rm -f core conftest.err conftest.$ac_objext \
17654 conftest$ac_exeext conftest.$ac_ext
17655 CFLAGS=$ac_wine_try_cflags_saved
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17658 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17659 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17660 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17663 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17664 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 ac_wine_try_cflags_saved=$CFLAGS
17668 CFLAGS="$CFLAGS -fshort-wchar"
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 int main(int argc, char **argv) { return 0; }
17672 _ACEOF
17673 if ac_fn_c_try_link "$LINENO"; then :
17674 ac_cv_cflags__fshort_wchar=yes
17675 else
17676 ac_cv_cflags__fshort_wchar=no
17678 rm -f core conftest.err conftest.$ac_objext \
17679 conftest$ac_exeext conftest.$ac_ext
17680 CFLAGS=$ac_wine_try_cflags_saved
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17683 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17684 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17685 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17686 fi ;;
17687 esac
17689 case $host_cpu in
17690 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17691 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17692 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17695 ac_wine_try_cflags_saved=$CFLAGS
17696 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 int main(int argc, char **argv) { return 0; }
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702 ac_cv_cflags__fno_omit_frame_pointer=yes
17703 else
17704 ac_cv_cflags__fno_omit_frame_pointer=no
17706 rm -f core conftest.err conftest.$ac_objext \
17707 conftest$ac_exeext conftest.$ac_ext
17708 CFLAGS=$ac_wine_try_cflags_saved
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17711 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17712 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17713 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17714 fi ;;
17715 *x86_64*)
17716 case $host_os in
17717 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17718 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17719 if ${ac_cv_cflags__Wno_format+:} false; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17722 ac_wine_try_cflags_saved=$CFLAGS
17723 CFLAGS="$CFLAGS -Wno-format"
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 /* end confdefs.h. */
17726 int main(int argc, char **argv) { return 0; }
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"; then :
17729 ac_cv_cflags__Wno_format=yes
17730 else
17731 ac_cv_cflags__Wno_format=no
17733 rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext
17735 CFLAGS=$ac_wine_try_cflags_saved
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17738 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17739 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17740 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17741 fi ;;
17742 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17743 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17744 if ${ac_cv_cflags__mabi_ms+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 ac_wine_try_cflags_saved=$CFLAGS
17748 CFLAGS="$CFLAGS -mabi=ms"
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 int main(int argc, char **argv) { return 0; }
17752 _ACEOF
17753 if ac_fn_c_try_link "$LINENO"; then :
17754 ac_cv_cflags__mabi_ms=yes
17755 else
17756 ac_cv_cflags__mabi_ms=no
17758 rm -f core conftest.err conftest.$ac_objext \
17759 conftest$ac_exeext conftest.$ac_ext
17760 CFLAGS=$ac_wine_try_cflags_saved
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17763 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17764 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17765 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17766 fi ;;
17767 esac ;;
17768 esac
17770 CFLAGS=$saved_CFLAGS
17772 if test "x$enable_werror" = "xyes"
17773 then
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17775 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17776 if ${ac_cv_cflags__Werror+:} false; then :
17777 $as_echo_n "(cached) " >&6
17778 else
17779 ac_wine_try_cflags_saved=$CFLAGS
17780 CFLAGS="$CFLAGS -Werror"
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17783 int main(int argc, char **argv) { return 0; }
17784 _ACEOF
17785 if ac_fn_c_try_link "$LINENO"; then :
17786 ac_cv_cflags__Werror=yes
17787 else
17788 ac_cv_cflags__Werror=no
17790 rm -f core conftest.err conftest.$ac_objext \
17791 conftest$ac_exeext conftest.$ac_ext
17792 CFLAGS=$ac_wine_try_cflags_saved
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17795 $as_echo "$ac_cv_cflags__Werror" >&6; }
17796 if test "x$ac_cv_cflags__Werror" = xyes; then :
17797 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17804 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17805 if ${ac_cv_c_fortify_enabled+:} false; then :
17806 $as_echo_n "(cached) " >&6
17807 else
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17810 #include <string.h>
17812 main ()
17814 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17815 #error Fortify enabled
17816 #endif
17818 return 0;
17820 _ACEOF
17821 if ac_fn_c_try_compile "$LINENO"; then :
17822 ac_cv_c_fortify_enabled=no
17823 else
17824 ac_cv_c_fortify_enabled=yes
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17829 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17830 if test "$ac_cv_c_fortify_enabled" = yes
17831 then
17832 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17837 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17838 if ${ac_cv_c_cfi_support+:} false; then :
17839 $as_echo_n "(cached) " >&6
17840 else
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17845 main ()
17849 return 0;
17851 _ACEOF
17852 if ac_fn_c_try_compile "$LINENO"; then :
17853 ac_cv_c_cfi_support="yes"
17854 else
17855 ac_cv_c_cfi_support="no"
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17860 $as_echo "$ac_cv_c_cfi_support" >&6; }
17861 if test "$ac_cv_c_cfi_support" = "yes"
17862 then
17863 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17864 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17865 else
17866 if test "x$enable_win64" = "xyes"
17867 then
17868 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17873 case $build_os in
17874 cygwin*|mingw32*) TOOLSEXT=".exe"
17876 esac
17878 case $host_os in
17879 linux*)
17880 case $host_cpu in
17881 *i[3456789]86*|x86_64*|*aarch64*)
17882 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17883 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17885 esac
17887 esac
17890 ac_save_CFLAGS="$CFLAGS"
17891 CFLAGS="$CFLAGS $BUILTINFLAG"
17892 for ac_func in \
17893 __res_get_state \
17894 __res_getservers \
17895 _spawnvp \
17896 epoll_create \
17897 fnmatch \
17898 fork \
17899 fstatfs \
17900 futimens \
17901 futimes \
17902 futimesat \
17903 getattrlist \
17904 getauxval \
17905 getifaddrs \
17906 getopt_long_only \
17907 getrandom \
17908 kqueue \
17909 lstat \
17910 mach_continuous_time \
17911 pipe2 \
17912 poll \
17913 port_create \
17914 prctl \
17915 pread \
17916 proc_pidinfo \
17917 pwrite \
17918 readlink \
17919 sched_yield \
17920 setproctitle \
17921 setprogname \
17922 sigprocmask \
17923 symlink \
17924 tcdrain \
17925 thr_kill2
17927 do :
17928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17930 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17931 cat >>confdefs.h <<_ACEOF
17932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17933 _ACEOF
17936 done
17938 CFLAGS="$ac_save_CFLAGS"
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17941 $as_echo_n "checking for library containing dlopen... " >&6; }
17942 if ${ac_cv_search_dlopen+:} false; then :
17943 $as_echo_n "(cached) " >&6
17944 else
17945 ac_func_search_save_LIBS=$LIBS
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17949 /* Override any GCC internal prototype to avoid an error.
17950 Use char because int might match the return type of a GCC
17951 builtin and then its argument prototype would still apply. */
17952 #ifdef __cplusplus
17953 extern "C"
17954 #endif
17955 char dlopen ();
17957 main ()
17959 return dlopen ();
17961 return 0;
17963 _ACEOF
17964 for ac_lib in '' dl; do
17965 if test -z "$ac_lib"; then
17966 ac_res="none required"
17967 else
17968 ac_res=-l$ac_lib
17969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17971 if ac_fn_c_try_link "$LINENO"; then :
17972 ac_cv_search_dlopen=$ac_res
17974 rm -f core conftest.err conftest.$ac_objext \
17975 conftest$ac_exeext
17976 if ${ac_cv_search_dlopen+:} false; then :
17977 break
17979 done
17980 if ${ac_cv_search_dlopen+:} false; then :
17982 else
17983 ac_cv_search_dlopen=no
17985 rm conftest.$ac_ext
17986 LIBS=$ac_func_search_save_LIBS
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17989 $as_echo "$ac_cv_search_dlopen" >&6; }
17990 ac_res=$ac_cv_search_dlopen
17991 if test "$ac_res" != no; then :
17992 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17996 ac_wine_check_funcs_save_LIBS="$LIBS"
17997 LIBS="$LIBS $DL_LIBS"
17998 for ac_func in dladdr dlinfo
17999 do :
18000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18002 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18003 cat >>confdefs.h <<_ACEOF
18004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18005 _ACEOF
18008 done
18010 LIBS="$ac_wine_check_funcs_save_LIBS"
18012 if test "$ac_cv_func_poll" = no
18013 then
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18015 $as_echo_n "checking for poll in -lpoll... " >&6; }
18016 if ${ac_cv_lib_poll_poll+:} false; then :
18017 $as_echo_n "(cached) " >&6
18018 else
18019 ac_check_lib_save_LIBS=$LIBS
18020 LIBS="-lpoll $LIBS"
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 /* Override any GCC internal prototype to avoid an error.
18025 Use char because int might match the return type of a GCC
18026 builtin and then its argument prototype would still apply. */
18027 #ifdef __cplusplus
18028 extern "C"
18029 #endif
18030 char poll ();
18032 main ()
18034 return poll ();
18036 return 0;
18038 _ACEOF
18039 if ac_fn_c_try_link "$LINENO"; then :
18040 ac_cv_lib_poll_poll=yes
18041 else
18042 ac_cv_lib_poll_poll=no
18044 rm -f core conftest.err conftest.$ac_objext \
18045 conftest$ac_exeext conftest.$ac_ext
18046 LIBS=$ac_check_lib_save_LIBS
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18049 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18050 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18051 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18052 POLL_LIBS="-lpoll"
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18059 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18060 if ${ac_cv_search_gethostbyname+:} false; then :
18061 $as_echo_n "(cached) " >&6
18062 else
18063 ac_func_search_save_LIBS=$LIBS
18064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18065 /* end confdefs.h. */
18067 /* Override any GCC internal prototype to avoid an error.
18068 Use char because int might match the return type of a GCC
18069 builtin and then its argument prototype would still apply. */
18070 #ifdef __cplusplus
18071 extern "C"
18072 #endif
18073 char gethostbyname ();
18075 main ()
18077 return gethostbyname ();
18079 return 0;
18081 _ACEOF
18082 for ac_lib in '' nsl; do
18083 if test -z "$ac_lib"; then
18084 ac_res="none required"
18085 else
18086 ac_res=-l$ac_lib
18087 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18089 if ac_fn_c_try_link "$LINENO"; then :
18090 ac_cv_search_gethostbyname=$ac_res
18092 rm -f core conftest.err conftest.$ac_objext \
18093 conftest$ac_exeext
18094 if ${ac_cv_search_gethostbyname+:} false; then :
18095 break
18097 done
18098 if ${ac_cv_search_gethostbyname+:} false; then :
18100 else
18101 ac_cv_search_gethostbyname=no
18103 rm conftest.$ac_ext
18104 LIBS=$ac_func_search_save_LIBS
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18107 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18108 ac_res=$ac_cv_search_gethostbyname
18109 if test "$ac_res" != no; then :
18110 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18116 $as_echo_n "checking for library containing connect... " >&6; }
18117 if ${ac_cv_search_connect+:} false; then :
18118 $as_echo_n "(cached) " >&6
18119 else
18120 ac_func_search_save_LIBS=$LIBS
18121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h. */
18124 /* Override any GCC internal prototype to avoid an error.
18125 Use char because int might match the return type of a GCC
18126 builtin and then its argument prototype would still apply. */
18127 #ifdef __cplusplus
18128 extern "C"
18129 #endif
18130 char connect ();
18132 main ()
18134 return connect ();
18136 return 0;
18138 _ACEOF
18139 for ac_lib in '' socket; do
18140 if test -z "$ac_lib"; then
18141 ac_res="none required"
18142 else
18143 ac_res=-l$ac_lib
18144 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18146 if ac_fn_c_try_link "$LINENO"; then :
18147 ac_cv_search_connect=$ac_res
18149 rm -f core conftest.err conftest.$ac_objext \
18150 conftest$ac_exeext
18151 if ${ac_cv_search_connect+:} false; then :
18152 break
18154 done
18155 if ${ac_cv_search_connect+:} false; then :
18157 else
18158 ac_cv_search_connect=no
18160 rm conftest.$ac_ext
18161 LIBS=$ac_func_search_save_LIBS
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18164 $as_echo "$ac_cv_search_connect" >&6; }
18165 ac_res=$ac_cv_search_connect
18166 if test "$ac_res" != no; then :
18167 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18173 $as_echo_n "checking for library containing inet_aton... " >&6; }
18174 if ${ac_cv_search_inet_aton+:} false; then :
18175 $as_echo_n "(cached) " >&6
18176 else
18177 ac_func_search_save_LIBS=$LIBS
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 /* Override any GCC internal prototype to avoid an error.
18182 Use char because int might match the return type of a GCC
18183 builtin and then its argument prototype would still apply. */
18184 #ifdef __cplusplus
18185 extern "C"
18186 #endif
18187 char inet_aton ();
18189 main ()
18191 return inet_aton ();
18193 return 0;
18195 _ACEOF
18196 for ac_lib in '' resolv; do
18197 if test -z "$ac_lib"; then
18198 ac_res="none required"
18199 else
18200 ac_res=-l$ac_lib
18201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18203 if ac_fn_c_try_link "$LINENO"; then :
18204 ac_cv_search_inet_aton=$ac_res
18206 rm -f core conftest.err conftest.$ac_objext \
18207 conftest$ac_exeext
18208 if ${ac_cv_search_inet_aton+:} false; then :
18209 break
18211 done
18212 if ${ac_cv_search_inet_aton+:} false; then :
18214 else
18215 ac_cv_search_inet_aton=no
18217 rm conftest.$ac_ext
18218 LIBS=$ac_func_search_save_LIBS
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18221 $as_echo "$ac_cv_search_inet_aton" >&6; }
18222 ac_res=$ac_cv_search_inet_aton
18223 if test "$ac_res" != no; then :
18224 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18229 for ac_func in \
18230 getaddrinfo \
18231 getnameinfo \
18232 getservbyport \
18234 do :
18235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18237 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18238 cat >>confdefs.h <<_ACEOF
18239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18240 _ACEOF
18243 done
18246 case $host_os in
18247 darwin*|macosx*) ;;
18248 *) ac_save_LIBS=$LIBS
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18250 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18251 if ${ac_cv_search_clock_gettime+:} false; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18254 ac_func_search_save_LIBS=$LIBS
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 /* Override any GCC internal prototype to avoid an error.
18259 Use char because int might match the return type of a GCC
18260 builtin and then its argument prototype would still apply. */
18261 #ifdef __cplusplus
18262 extern "C"
18263 #endif
18264 char clock_gettime ();
18266 main ()
18268 return clock_gettime ();
18270 return 0;
18272 _ACEOF
18273 for ac_lib in '' rt; do
18274 if test -z "$ac_lib"; then
18275 ac_res="none required"
18276 else
18277 ac_res=-l$ac_lib
18278 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18280 if ac_fn_c_try_link "$LINENO"; then :
18281 ac_cv_search_clock_gettime=$ac_res
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext
18285 if ${ac_cv_search_clock_gettime+:} false; then :
18286 break
18288 done
18289 if ${ac_cv_search_clock_gettime+:} false; then :
18291 else
18292 ac_cv_search_clock_gettime=no
18294 rm conftest.$ac_ext
18295 LIBS=$ac_func_search_save_LIBS
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18298 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18299 ac_res=$ac_cv_search_clock_gettime
18300 if test "$ac_res" != no; then :
18301 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18303 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18305 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18309 LIBS=$ac_save_LIBS
18311 esac
18313 if test "x$with_ldap" != "xno"
18314 then
18315 if ${LDAP_CFLAGS:+false} :; then :
18316 if ${PKG_CONFIG+:} false; then :
18317 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18321 if ${LDAP_LIBS:+false} :; then :
18322 if ${PKG_CONFIG+:} false; then :
18323 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18327 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18328 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18329 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18330 ac_save_CPPFLAGS=$CPPFLAGS
18331 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18332 for ac_header in ldap.h lber.h
18333 do :
18334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18335 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18337 cat >>confdefs.h <<_ACEOF
18338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18339 _ACEOF
18343 done
18345 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18346 then
18347 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18349 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18351 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18352 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18353 $as_echo_n "(cached) " >&6
18354 else
18355 ac_check_lib_save_LIBS=$LIBS
18356 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18360 /* Override any GCC internal prototype to avoid an error.
18361 Use char because int might match the return type of a GCC
18362 builtin and then its argument prototype would still apply. */
18363 #ifdef __cplusplus
18364 extern "C"
18365 #endif
18366 char ldap_initialize ();
18368 main ()
18370 return ldap_initialize ();
18372 return 0;
18374 _ACEOF
18375 if ac_fn_c_try_link "$LINENO"; then :
18376 ac_cv_lib_ldap_r_ldap_initialize=yes
18377 else
18378 ac_cv_lib_ldap_r_ldap_initialize=no
18380 rm -f core conftest.err conftest.$ac_objext \
18381 conftest$ac_exeext conftest.$ac_ext
18382 LIBS=$ac_check_lib_save_LIBS
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18385 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18386 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18388 $as_echo_n "checking for ber_init in -llber... " >&6; }
18389 if ${ac_cv_lib_lber_ber_init+:} false; then :
18390 $as_echo_n "(cached) " >&6
18391 else
18392 ac_check_lib_save_LIBS=$LIBS
18393 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18397 /* Override any GCC internal prototype to avoid an error.
18398 Use char because int might match the return type of a GCC
18399 builtin and then its argument prototype would still apply. */
18400 #ifdef __cplusplus
18401 extern "C"
18402 #endif
18403 char ber_init ();
18405 main ()
18407 return ber_init ();
18409 return 0;
18411 _ACEOF
18412 if ac_fn_c_try_link "$LINENO"; then :
18413 ac_cv_lib_lber_ber_init=yes
18414 else
18415 ac_cv_lib_lber_ber_init=no
18417 rm -f core conftest.err conftest.$ac_objext \
18418 conftest$ac_exeext conftest.$ac_ext
18419 LIBS=$ac_check_lib_save_LIBS
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18422 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18423 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18425 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18427 else
18428 LDAP_LIBS=""
18431 else
18432 LDAP_LIBS=""
18435 else
18436 LDAP_LIBS=""
18439 ac_wine_check_funcs_save_LIBS="$LIBS"
18440 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18441 for ac_func in \
18442 ldap_count_references \
18443 ldap_first_reference \
18444 ldap_next_reference \
18445 ldap_parse_reference \
18446 ldap_parse_sort_control \
18447 ldap_parse_sortresponse_control \
18448 ldap_parse_vlv_control \
18449 ldap_parse_vlvresponse_control
18450 do :
18451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18454 cat >>confdefs.h <<_ACEOF
18455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18456 _ACEOF
18459 done
18461 LIBS="$ac_wine_check_funcs_save_LIBS"
18462 else
18463 LDAP_LIBS=""
18465 CPPFLAGS=$ac_save_CPPFLAGS
18468 if test "x$LDAP_LIBS" = "x"; then :
18469 case "x$with_ldap" in
18470 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18471 xno) ;;
18472 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18473 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18474 esac
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18479 $as_echo_n "checking for sched_setaffinity... " >&6; }
18480 if ${wine_cv_have_sched_setaffinity+:} false; then :
18481 $as_echo_n "(cached) " >&6
18482 else
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18485 #define _GNU_SOURCE
18486 #include <sched.h>
18488 main ()
18490 sched_setaffinity(0, 0, 0);
18492 return 0;
18494 _ACEOF
18495 if ac_fn_c_try_link "$LINENO"; then :
18496 wine_cv_have_sched_setaffinity=yes
18497 else
18498 wine_cv_have_sched_setaffinity=no
18500 rm -f core conftest.err conftest.$ac_objext \
18501 conftest$ac_exeext conftest.$ac_ext
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18504 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18505 if test "$wine_cv_have_sched_setaffinity" = "yes"
18506 then
18508 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18513 $as_echo_n "checking for fallocate... " >&6; }
18514 if ${wine_cv_have_fallocate+:} false; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #define _GNU_SOURCE
18520 #include <fcntl.h>
18522 main ()
18524 fallocate(-1, 0, 0, 0);
18526 return 0;
18528 _ACEOF
18529 if ac_fn_c_try_link "$LINENO"; then :
18530 wine_cv_have_fallocate=yes
18531 else
18532 wine_cv_have_fallocate=no
18534 rm -f core conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18538 $as_echo "$wine_cv_have_fallocate" >&6; }
18539 if test "$wine_cv_have_fallocate" = "yes"
18540 then
18542 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18548 $as_echo_n "checking for inline... " >&6; }
18549 if ${ac_cv_c_inline+:} false; then :
18550 $as_echo_n "(cached) " >&6
18551 else
18552 ac_cv_c_inline=no
18553 for ac_kw in inline __inline__ __inline; do
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #ifndef __cplusplus
18557 typedef int foo_t;
18558 static $ac_kw foo_t static_foo () {return 0; }
18559 $ac_kw foo_t foo () {return 0; }
18560 #endif
18562 _ACEOF
18563 if ac_fn_c_try_compile "$LINENO"; then :
18564 ac_cv_c_inline=$ac_kw
18566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18567 test "$ac_cv_c_inline" != no && break
18568 done
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18572 $as_echo "$ac_cv_c_inline" >&6; }
18574 case $ac_cv_c_inline in
18575 inline | yes) ;;
18577 case $ac_cv_c_inline in
18578 no) ac_val=;;
18579 *) ac_val=$ac_cv_c_inline;;
18580 esac
18581 cat >>confdefs.h <<_ACEOF
18582 #ifndef __cplusplus
18583 #define inline $ac_val
18584 #endif
18585 _ACEOF
18587 esac
18589 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18590 #include <signal.h>
18592 if test "x$ac_cv_type_sigset_t" = xyes; then :
18594 cat >>confdefs.h <<_ACEOF
18595 #define HAVE_SIGSET_T 1
18596 _ACEOF
18601 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18603 if test "x$ac_cv_type_request_sense" = xyes; then :
18605 cat >>confdefs.h <<_ACEOF
18606 #define HAVE_REQUEST_SENSE 1
18607 _ACEOF
18613 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18614 #ifdef HAVE_SYS_SOCKET_H
18615 #include <sys/socket.h>
18616 #endif
18617 #ifdef HAVE_SYS_SOCKETVAR_H
18618 #include <sys/socketvar.h>
18619 #endif
18620 #ifdef HAVE_NET_ROUTE_H
18621 #include <net/route.h>
18622 #endif
18623 #ifdef HAVE_NETINET_IN_H
18624 #include <netinet/in.h>
18625 #endif
18626 #ifdef HAVE_NETINET_IN_SYSTM_H
18627 #include <netinet/in_systm.h>
18628 #endif
18629 #ifdef HAVE_NETINET_IP_H
18630 #include <netinet/ip.h>
18631 #endif
18632 #ifdef HAVE_NETINET_IN_PCB_H
18633 #include <netinet/in_pcb.h>
18634 #endif
18636 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18638 cat >>confdefs.h <<_ACEOF
18639 #define HAVE_STRUCT_XINPGEN 1
18640 _ACEOF
18646 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18647 #include <linux/input.h>
18648 #endif
18650 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18652 cat >>confdefs.h <<_ACEOF
18653 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18654 _ACEOF
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18661 $as_echo_n "checking for if_nameindex... " >&6; }
18662 if ${wine_cv_have_if_nameindex+:} false; then :
18663 $as_echo_n "(cached) " >&6
18664 else
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 #ifdef HAVE_SYS_TYPES_H
18668 #include <sys/types.h>
18669 #endif
18670 #ifdef HAVE_SYS_SOCKET_H
18671 #include <sys/socket.h>
18672 #endif
18673 #ifdef HAVE_NET_IF_H
18674 # include <net/if.h>
18675 #endif
18677 main ()
18679 struct if_nameindex *p = if_nameindex(); return p->if_index;
18681 return 0;
18683 _ACEOF
18684 if ac_fn_c_try_link "$LINENO"; then :
18685 wine_cv_have_if_nameindex=yes
18686 else
18687 wine_cv_have_if_nameindex=no
18689 rm -f core conftest.err conftest.$ac_objext \
18690 conftest$ac_exeext conftest.$ac_ext
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18693 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18694 if test "$wine_cv_have_if_nameindex" = "yes"
18695 then
18697 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18702 $as_echo_n "checking for sigaddset... " >&6; }
18703 if ${wine_cv_have_sigaddset+:} false; then :
18704 $as_echo_n "(cached) " >&6
18705 else
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18708 #include <signal.h>
18710 main ()
18712 sigset_t set; sigaddset(&set,SIGTERM);
18714 return 0;
18716 _ACEOF
18717 if ac_fn_c_try_link "$LINENO"; then :
18718 wine_cv_have_sigaddset=yes
18719 else
18720 wine_cv_have_sigaddset=no
18722 rm -f core conftest.err conftest.$ac_objext \
18723 conftest$ac_exeext conftest.$ac_ext
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18726 $as_echo "$wine_cv_have_sigaddset" >&6; }
18727 if test "$wine_cv_have_sigaddset" = "yes"
18728 then
18730 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18736 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18737 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18738 $as_echo_n "(cached) " >&6
18739 else
18740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18742 #include <netdb.h>
18744 main ()
18747 char *name=0;
18748 struct hostent he;
18749 struct hostent *result;
18750 char *buf=0;
18751 int bufsize=0;
18752 int errnr;
18753 char *addr=0;
18754 int addrlen=0;
18755 int addrtype=0;
18756 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18757 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18760 return 0;
18762 _ACEOF
18763 if ac_fn_c_try_link "$LINENO"; then :
18764 wine_cv_linux_gethostbyname_r_6=yes
18765 else
18766 wine_cv_linux_gethostbyname_r_6=no
18769 rm -f core conftest.err conftest.$ac_objext \
18770 conftest$ac_exeext conftest.$ac_ext
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18774 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18775 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18776 then
18778 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18782 if test "$ac_cv_header_linux_joystick_h" = "yes"
18783 then
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18785 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18786 if ${wine_cv_linux_joystick_22_api+:} false; then :
18787 $as_echo_n "(cached) " >&6
18788 else
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18792 #include <sys/ioctl.h>
18793 #include <sys/types.h>
18794 #include <linux/joystick.h>
18796 struct js_event blub;
18797 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18798 #error "no 2.2 header"
18799 #endif
18802 main ()
18804 /*empty*/
18806 return 0;
18808 _ACEOF
18809 if ac_fn_c_try_compile "$LINENO"; then :
18810 wine_cv_linux_joystick_22_api=yes
18811 else
18812 wine_cv_linux_joystick_22_api=no
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18818 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18819 if test "$wine_cv_linux_joystick_22_api" = "yes"
18820 then
18822 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18827 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18828 #ifdef HAVE_SYS_SOCKET_H
18829 # include <sys/socket.h>
18830 #endif
18831 #ifdef HAVE_SYS_UN_H
18832 # include <sys/un.h>
18833 #endif
18835 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18837 cat >>confdefs.h <<_ACEOF
18838 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18839 _ACEOF
18843 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18844 #ifdef HAVE_SYS_SOCKET_H
18845 # include <sys/socket.h>
18846 #endif
18847 #ifdef HAVE_SYS_UN_H
18848 # include <sys/un.h>
18849 #endif
18851 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18855 _ACEOF
18859 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18860 #ifdef HAVE_SYS_SOCKET_H
18861 # include <sys/socket.h>
18862 #endif
18863 #ifdef HAVE_SYS_UN_H
18864 # include <sys/un.h>
18865 #endif
18867 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18871 _ACEOF
18877 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18878 #ifdef HAVE_SCSI_SG_H
18879 #include <scsi/sg.h>
18880 #endif
18882 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_SCSIREQ_T_CMD 1
18886 _ACEOF
18890 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>
18891 #ifdef HAVE_SCSI_SG_H
18892 #include <scsi/sg.h>
18893 #endif
18895 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18897 cat >>confdefs.h <<_ACEOF
18898 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18899 _ACEOF
18905 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18907 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_SIGINFO_T_SI_FD 1
18911 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18918 #ifdef HAVE_SYS_MTIO_H
18919 #include <sys/mtio.h>
18920 #endif
18922 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18924 cat >>confdefs.h <<_ACEOF
18925 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18926 _ACEOF
18930 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18931 #ifdef HAVE_SYS_MTIO_H
18932 #include <sys/mtio.h>
18933 #endif
18935 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18939 _ACEOF
18943 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18944 #ifdef HAVE_SYS_MTIO_H
18945 #include <sys/mtio.h>
18946 #endif
18948 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18952 _ACEOF
18958 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18959 #include <getopt.h>
18960 #endif
18962 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT_OPTION_NAME 1
18966 _ACEOF
18972 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18973 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18977 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18982 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STAT_ST_MTIM 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18991 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18995 _ACEOF
18999 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19000 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_STAT_ST_CTIM 1
19004 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19009 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19018 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STAT_ST_ATIM 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19027 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19031 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19036 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19045 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19049 _ACEOF
19053 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19054 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19063 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19067 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19072 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19076 _ACEOF
19082 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
19083 #include <sys/types.h>
19084 #endif
19085 #ifdef HAVE_NETINET_IN_H
19086 #include <netinet/in.h>
19087 #endif
19089 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19093 _ACEOF
19099 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19100 #include <sys/types.h>
19101 #endif
19102 #ifdef HAVE_NETINET_IN_H
19103 #include <netinet/in.h>
19104 #endif
19105 #ifdef HAVE_RESOLV_H
19106 #include <resolv.h>
19107 #endif
19109 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT___RES_STATE 1
19113 _ACEOF
19119 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
19120 #include <resolv.h>
19121 #endif
19123 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19127 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19134 #include <sys/types.h>
19135 #endif
19136 #ifdef HAVE_NETINET_IN_H
19137 # include <netinet/in.h>
19138 #endif
19139 #ifdef HAVE_ARPA_NAMESER_H
19140 # include <arpa/nameser.h>
19141 #endif
19143 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_NS_MSG__MSG_PTR 1
19147 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19154 #include <sys/types.h>
19155 #endif
19156 #ifdef HAVE_NETINET_IN_H
19157 #include <netinet/in.h>
19158 #endif
19159 #ifdef HAVE_NETINET_IP_H
19160 #include <netinet/ip.h>
19161 #endif
19162 #ifdef HAVE_NETINET_IP_ICMP_H
19163 #include <netinet/ip_icmp.h>
19164 #endif
19165 #ifdef HAVE_NETINET_ICMP_VAR_H
19166 #include <netinet/icmp_var.h>
19167 #endif
19169 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19173 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19180 #include <sys/types.h>
19181 #endif
19182 #ifdef HAVE_ALIAS_H
19183 #include <alias.h>
19184 #endif
19185 #ifdef HAVE_SYS_SOCKET_H
19186 #include <sys/socket.h>
19187 #endif
19188 #ifdef HAVE_SYS_SOCKETVAR_H
19189 #include <sys/socketvar.h>
19190 #endif
19191 #ifdef HAVE_SYS_TIMEOUT_H
19192 #include <sys/timeout.h>
19193 #endif
19194 #ifdef HAVE_NETINET_IN_H
19195 #include <netinet/in.h>
19196 #endif
19197 #ifdef HAVE_NETINET_IN_SYSTM_H
19198 #include <netinet/in_systm.h>
19199 #endif
19200 #ifdef HAVE_NETINET_IP_H
19201 #include <netinet/ip.h>
19202 #endif
19203 #ifdef HAVE_NETINET_IP_VAR_H
19204 #include <netinet/ip_var.h>
19205 #endif
19206 #ifdef HAVE_NETINET_IP_ICMP_H
19207 #include <netinet/ip_icmp.h>
19208 #endif
19209 #ifdef HAVE_NETINET_ICMP_VAR_H
19210 #include <netinet/icmp_var.h>
19211 #endif
19213 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19215 cat >>confdefs.h <<_ACEOF
19216 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19217 _ACEOF
19223 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19224 #include <sys/types.h>
19225 #endif
19226 #ifdef HAVE_SYS_SOCKETVAR_H
19227 #include <sys/socketvar.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IN_H
19230 #include <netinet/in.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IP_VAR_H
19233 #include <netinet/ip_var.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19240 _ACEOF
19246 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
19247 #include <netinet/ip_var.h>
19248 #endif
19250 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19254 _ACEOF
19260 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19261 #include <sys/types.h>
19262 #endif
19263 #ifdef HAVE_SYS_SOCKETVAR_H
19264 #include <sys/socketvar.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IN_H
19267 #include <netinet/in.h>
19268 #endif
19269 #ifdef HAVE_NETINET_TCP_H
19270 #include <netinet/tcp.h>
19271 #endif
19272 #ifdef HAVE_NETINET_TCP_VAR_H
19273 #include <netinet/tcp_var.h>
19274 #endif
19276 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19280 _ACEOF
19286 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
19287 #include <netinet/tcp_var.h>
19288 #endif
19290 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19294 _ACEOF
19300 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19301 #include <sys/types.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IN_H
19304 #include <netinet/in.h>
19305 #endif
19306 #ifdef HAVE_NETINET_IP_VAR_H
19307 #include <netinet/ip_var.h>
19308 #endif
19309 #ifdef HAVE_NETINET_UDP_H
19310 #include <netinet/udp.h>
19311 #endif
19312 #ifdef HAVE_NETINET_UDP_VAR_H
19313 #include <netinet/udp_var.h>
19314 #endif
19316 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19320 _ACEOF
19326 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19327 #include <sys/types.h>
19328 #endif
19329 #ifdef HAVE_NET_IF_H
19330 # include <net/if.h>
19331 #endif
19333 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19337 _ACEOF
19343 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19344 # include <sys/sysinfo.h>
19345 #endif
19347 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19351 _ACEOF
19355 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19356 # include <sys/sysinfo.h>
19357 #endif
19359 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19363 _ACEOF
19369 ac_save_LIBS="$LIBS"
19370 LIBS="$LIBS -lm"
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19372 $as_echo_n "checking for isfinite... " >&6; }
19373 if ${ac_cv_have_isfinite+:} false; then :
19374 $as_echo_n "(cached) " >&6
19375 else
19376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19377 /* end confdefs.h. */
19378 #define _GNU_SOURCE
19379 #include <math.h>
19381 main ()
19383 float f = 0.0; return isfinite(f)
19385 return 0;
19387 _ACEOF
19388 if ac_fn_c_try_link "$LINENO"; then :
19389 ac_cv_have_isfinite="yes"
19390 else
19391 ac_cv_have_isfinite="no"
19393 rm -f core conftest.err conftest.$ac_objext \
19394 conftest$ac_exeext conftest.$ac_ext
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19397 $as_echo "$ac_cv_have_isfinite" >&6; }
19398 if test "$ac_cv_have_isfinite" = "yes"
19399 then
19401 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19406 $as_echo_n "checking for isinf... " >&6; }
19407 if ${ac_cv_have_isinf+:} false; then :
19408 $as_echo_n "(cached) " >&6
19409 else
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <math.h>
19414 main ()
19416 float f = 0.0; return isinf(f)
19418 return 0;
19420 _ACEOF
19421 if ac_fn_c_try_link "$LINENO"; then :
19422 ac_cv_have_isinf="yes"
19423 else
19424 ac_cv_have_isinf="no"
19426 rm -f core conftest.err conftest.$ac_objext \
19427 conftest$ac_exeext conftest.$ac_ext
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19430 $as_echo "$ac_cv_have_isinf" >&6; }
19431 if test "$ac_cv_have_isinf" = "yes"
19432 then
19434 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19439 $as_echo_n "checking for isnan... " >&6; }
19440 if ${ac_cv_have_isnan+:} false; then :
19441 $as_echo_n "(cached) " >&6
19442 else
19443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19445 #include <math.h>
19447 main ()
19449 float f = 0.0; return isnan(f)
19451 return 0;
19453 _ACEOF
19454 if ac_fn_c_try_link "$LINENO"; then :
19455 ac_cv_have_isnan="yes"
19456 else
19457 ac_cv_have_isnan="no"
19459 rm -f core conftest.err conftest.$ac_objext \
19460 conftest$ac_exeext conftest.$ac_ext
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19463 $as_echo "$ac_cv_have_isnan" >&6; }
19464 if test "$ac_cv_have_isnan" = "yes"
19465 then
19467 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19471 for ac_func in \
19472 acosh \
19473 acoshf \
19474 asinh \
19475 asinhf \
19476 atanh \
19477 atanhf \
19478 cbrt \
19479 cbrtf \
19480 erf \
19481 erfc \
19482 erfcf \
19483 erff \
19484 exp2 \
19485 exp2f \
19486 expm1 \
19487 expm1f \
19488 fma \
19489 fmaf \
19490 j0 \
19491 j1 \
19492 jn \
19493 lgamma \
19494 lgammaf \
19495 llrint \
19496 llrintf \
19497 llround \
19498 llroundf \
19499 log1p \
19500 log1pf \
19501 log2 \
19502 log2f \
19503 lrint \
19504 lrintf \
19505 lround \
19506 lroundf \
19507 nearbyint \
19508 nearbyintf \
19509 nexttoward \
19510 nexttowardf \
19511 remainder \
19512 remainderf \
19513 remquo \
19514 remquof \
19515 rint \
19516 rintf \
19517 round \
19518 roundf \
19519 tgamma \
19520 tgammaf \
19521 trunc \
19522 truncf \
19523 y0 \
19524 y1 \
19527 do :
19528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19530 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19531 cat >>confdefs.h <<_ACEOF
19532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19533 _ACEOF
19536 done
19538 LIBS="$ac_save_LIBS"
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19541 $as_echo_n "checking for __builtin_popcount... " >&6; }
19542 if ${ac_cv_have___builtin_popcount+:} false; then :
19543 $as_echo_n "(cached) " >&6
19544 else
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19549 main ()
19551 return __builtin_popcount(1)
19553 return 0;
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"; then :
19557 ac_cv_have___builtin_popcount="yes"
19558 else
19559 ac_cv_have___builtin_popcount="no"
19561 rm -f core conftest.err conftest.$ac_objext \
19562 conftest$ac_exeext conftest.$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19565 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19566 if test "$ac_cv_have___builtin_popcount" = "yes"
19567 then
19569 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19574 $as_echo_n "checking for __clear_cache... " >&6; }
19575 if ${ac_cv_have___clear_cache+:} false; then :
19576 $as_echo_n "(cached) " >&6
19577 else
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19582 main ()
19584 __clear_cache((void*)0, (void*)0); return 0;
19586 return 0;
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"; then :
19590 ac_cv_have___clear_cache="yes"
19591 else
19592 ac_cv_have___clear_cache="no"
19594 rm -f core conftest.err conftest.$ac_objext \
19595 conftest$ac_exeext conftest.$ac_ext
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19598 $as_echo "$ac_cv_have___clear_cache" >&6; }
19599 if test "$ac_cv_have___clear_cache" = "yes"
19600 then
19602 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19607 case $host_cpu in
19608 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19609 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19610 if ${ac_cv_cpp_def___i386__+:} false; then :
19611 $as_echo_n "(cached) " >&6
19612 else
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615 #ifndef __i386__
19617 #endif
19618 _ACEOF
19619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19620 $EGREP "yes" >/dev/null 2>&1; then :
19621 ac_cv_cpp_def___i386__=yes
19622 else
19623 ac_cv_cpp_def___i386__=no
19625 rm -f conftest*
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19629 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19630 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19631 CFLAGS="$CFLAGS -D__i386__"
19632 LINTFLAGS="$LINTFLAGS -D__i386__"
19633 fi ;;
19634 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19635 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19636 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19637 $as_echo_n "(cached) " >&6
19638 else
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 #ifndef __x86_64__
19643 #endif
19644 _ACEOF
19645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19646 $EGREP "yes" >/dev/null 2>&1; then :
19647 ac_cv_cpp_def___x86_64__=yes
19648 else
19649 ac_cv_cpp_def___x86_64__=no
19651 rm -f conftest*
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19655 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19656 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19657 CFLAGS="$CFLAGS -D__x86_64__"
19658 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19659 fi ;;
19660 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19661 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19662 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19663 $as_echo_n "(cached) " >&6
19664 else
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 #ifndef __sparc64__
19669 #endif
19670 _ACEOF
19671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19672 $EGREP "yes" >/dev/null 2>&1; then :
19673 ac_cv_cpp_def___sparc64__=yes
19674 else
19675 ac_cv_cpp_def___sparc64__=no
19677 rm -f conftest*
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19681 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19682 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19683 CFLAGS="$CFLAGS -D__sparc64__"
19684 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19685 fi ;;
19686 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19687 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19688 if ${ac_cv_cpp_def___sparc__+:} false; then :
19689 $as_echo_n "(cached) " >&6
19690 else
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19693 #ifndef __sparc__
19695 #endif
19696 _ACEOF
19697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19698 $EGREP "yes" >/dev/null 2>&1; then :
19699 ac_cv_cpp_def___sparc__=yes
19700 else
19701 ac_cv_cpp_def___sparc__=no
19703 rm -f conftest*
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19707 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19708 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19709 CFLAGS="$CFLAGS -D__sparc__"
19710 LINTFLAGS="$LINTFLAGS -D__sparc__"
19711 fi ;;
19712 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19713 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19714 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19719 #ifndef __powerpc64__
19721 #endif
19722 _ACEOF
19723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19724 $EGREP "yes" >/dev/null 2>&1; then :
19725 ac_cv_cpp_def___powerpc64__=yes
19726 else
19727 ac_cv_cpp_def___powerpc64__=no
19729 rm -f conftest*
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19733 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19734 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19735 CFLAGS="$CFLAGS -D__powerpc64__"
19736 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19737 fi ;;
19738 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19739 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19740 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19741 $as_echo_n "(cached) " >&6
19742 else
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #ifndef __powerpc__
19747 #endif
19748 _ACEOF
19749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19750 $EGREP "yes" >/dev/null 2>&1; then :
19751 ac_cv_cpp_def___powerpc__=yes
19752 else
19753 ac_cv_cpp_def___powerpc__=no
19755 rm -f conftest*
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19759 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19760 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19761 CFLAGS="$CFLAGS -D__powerpc__"
19762 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19763 fi ;;
19764 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19765 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19766 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19767 $as_echo_n "(cached) " >&6
19768 else
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #ifndef __aarch64__
19773 #endif
19774 _ACEOF
19775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19776 $EGREP "yes" >/dev/null 2>&1; then :
19777 ac_cv_cpp_def___aarch64__=yes
19778 else
19779 ac_cv_cpp_def___aarch64__=no
19781 rm -f conftest*
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19785 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19786 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19787 CFLAGS="$CFLAGS -D__aarch64__"
19788 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19789 fi ;;
19790 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19791 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19792 if ${ac_cv_cpp_def___arm__+:} false; then :
19793 $as_echo_n "(cached) " >&6
19794 else
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #ifndef __arm__
19799 #endif
19800 _ACEOF
19801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19802 $EGREP "yes" >/dev/null 2>&1; then :
19803 ac_cv_cpp_def___arm__=yes
19804 else
19805 ac_cv_cpp_def___arm__=no
19807 rm -f conftest*
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19811 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19812 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19813 CFLAGS="$CFLAGS -D__arm__"
19814 LINTFLAGS="$LINTFLAGS -D__arm__"
19815 fi ;;
19816 esac
19818 case $host_vendor in
19819 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19820 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19821 if ${ac_cv_cpp_def___sun__+:} false; then :
19822 $as_echo_n "(cached) " >&6
19823 else
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 #ifndef __sun__
19828 #endif
19829 _ACEOF
19830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19831 $EGREP "yes" >/dev/null 2>&1; then :
19832 ac_cv_cpp_def___sun__=yes
19833 else
19834 ac_cv_cpp_def___sun__=no
19836 rm -f conftest*
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19840 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19841 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19842 CFLAGS="$CFLAGS -D__sun__"
19843 LINTFLAGS="$LINTFLAGS -D__sun__"
19844 fi ;;
19845 esac
19851 ac_config_commands="$ac_config_commands include/stamp-h"
19853 $as_echo_n "creating Makefile rules..." >&6
19855 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19856 OPENGL_LIBS = $OPENGL_LIBS
19857 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19858 IOKIT_LIBS = $IOKIT_LIBS
19859 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19860 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19861 CORESERVICES_LIBS = $CORESERVICES_LIBS
19862 APPKIT_LIBS = $APPKIT_LIBS
19863 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19864 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19865 SECURITY_LIBS = $SECURITY_LIBS
19866 COREAUDIO_LIBS = $COREAUDIO_LIBS
19867 OPENAL_LIBS = $OPENAL_LIBS
19868 OPENCL_LIBS = $OPENCL_LIBS
19869 QUICKTIME_LIBS = $QUICKTIME_LIBS
19870 CARBON_LIBS = $CARBON_LIBS
19871 METAL_LIBS = $METAL_LIBS
19872 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19873 PTHREAD_LIBS = $PTHREAD_LIBS
19874 X_CFLAGS = $X_CFLAGS
19875 X_PRE_LIBS = $X_PRE_LIBS
19876 X_LIBS = $X_LIBS
19877 X_EXTRA_LIBS = $X_EXTRA_LIBS
19878 PCAP_LIBS = $PCAP_LIBS
19879 XML2_CFLAGS = $XML2_CFLAGS
19880 XML2_LIBS = $XML2_LIBS
19881 XSLT_CFLAGS = $XSLT_CFLAGS
19882 XSLT_LIBS = $XSLT_LIBS
19883 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19884 INOTIFY_LIBS = $INOTIFY_LIBS
19885 DBUS_CFLAGS = $DBUS_CFLAGS
19886 DBUS_LIBS = $DBUS_LIBS
19887 HAL_CFLAGS = $HAL_CFLAGS
19888 HAL_LIBS = $HAL_LIBS
19889 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19890 GNUTLS_LIBS = $GNUTLS_LIBS
19891 SANE_CFLAGS = $SANE_CFLAGS
19892 SANE_LIBS = $SANE_LIBS
19893 USB_CFLAGS = $USB_CFLAGS
19894 USB_LIBS = $USB_LIBS
19895 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19896 GPHOTO2_LIBS = $GPHOTO2_LIBS
19897 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19898 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19899 RESOLV_LIBS = $RESOLV_LIBS
19900 LCMS2_CFLAGS = $LCMS2_CFLAGS
19901 LCMS2_LIBS = $LCMS2_LIBS
19902 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19903 FREETYPE_LIBS = $FREETYPE_LIBS
19904 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19905 PULSE_CFLAGS = $PULSE_CFLAGS
19906 PULSE_LIBS = $PULSE_LIBS
19907 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19908 GSTREAMER_LIBS = $GSTREAMER_LIBS
19909 ALSA_LIBS = $ALSA_LIBS
19910 OSS4_CFLAGS = $OSS4_CFLAGS
19911 OSS4_LIBS = $OSS4_LIBS
19912 UDEV_CFLAGS = $UDEV_CFLAGS
19913 UDEV_LIBS = $UDEV_LIBS
19914 UNWIND_CFLAGS = $UNWIND_CFLAGS
19915 UNWIND_LIBS = $UNWIND_LIBS
19916 SDL2_CFLAGS = $SDL2_CFLAGS
19917 SDL2_LIBS = $SDL2_LIBS
19918 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19919 FAUDIO_LIBS = $FAUDIO_LIBS
19920 CAPI20_CFLAGS = $CAPI20_CFLAGS
19921 CAPI20_LIBS = $CAPI20_LIBS
19922 CUPS_CFLAGS = $CUPS_CFLAGS
19923 CUPS_LIBS = $CUPS_LIBS
19924 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19925 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19926 KRB5_CFLAGS = $KRB5_CFLAGS
19927 KRB5_LIBS = $KRB5_LIBS
19928 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19929 GSSAPI_LIBS = $GSSAPI_LIBS
19930 JPEG_CFLAGS = $JPEG_CFLAGS
19931 JPEG_LIBS = $JPEG_LIBS
19932 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19933 JXRLIB_LIBS = $JXRLIB_LIBS
19934 PNG_CFLAGS = $PNG_CFLAGS
19935 PNG_LIBS = $PNG_LIBS
19936 TIFF_CFLAGS = $TIFF_CFLAGS
19937 TIFF_LIBS = $TIFF_LIBS
19938 MPG123_CFLAGS = $MPG123_CFLAGS
19939 MPG123_LIBS = $MPG123_LIBS
19940 KSTAT_LIBS = $KSTAT_LIBS
19941 PROCSTAT_LIBS = $PROCSTAT_LIBS
19942 NETAPI_CFLAGS = $NETAPI_CFLAGS
19943 NETAPI_LIBS = $NETAPI_LIBS
19944 VKD3D_CFLAGS = $VKD3D_CFLAGS
19945 VKD3D_LIBS = $VKD3D_LIBS
19946 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19947 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19948 POLL_LIBS = $POLL_LIBS
19949 RT_LIBS = $RT_LIBS
19950 LDAP_CFLAGS = $LDAP_CFLAGS
19951 LDAP_LIBS = $LDAP_LIBS
19955 makedep_flags=""
19956 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19959 wine_fn_append_rule "
19960 # Rules automatically generated by configure
19962 .INIT: Makefile
19963 .MAKEFILEDEPS:
19964 all: Makefile
19965 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19966 @./config.status Make.tmp Makefile
19967 depend: \$(MAKEDEP)
19968 \$(MAKEDEP)$makedep_flags
19969 dummy:
19970 .PHONY: depend dummy"
19972 ac_config_links="$ac_config_links wine:tools/winewrapper"
19973 wine_fn_config_symlink wine
19974 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19975 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19976 wine_fn_config_symlink wine64
19979 wine_fn_config_makefile dlls/acledit enable_acledit
19980 wine_fn_config_makefile dlls/aclui enable_aclui
19981 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19982 wine_fn_config_makefile dlls/activeds enable_activeds
19983 wine_fn_config_makefile dlls/activeds/tests enable_tests
19984 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19985 wine_fn_config_makefile dlls/adsiid enable_adsiid
19986 wine_fn_config_makefile dlls/adsldp enable_adsldp
19987 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19988 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19989 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19990 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19991 wine_fn_config_makefile dlls/advpack enable_advpack
19992 wine_fn_config_makefile dlls/advpack/tests enable_tests
19993 wine_fn_config_makefile dlls/amsi enable_amsi
19994 wine_fn_config_makefile dlls/amstream enable_amstream
19995 wine_fn_config_makefile dlls/amstream/tests enable_tests
19996 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19999 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20001 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20006 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20021 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20022 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20029 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20030 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20032 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20033 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20052 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20053 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20057 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20058 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20067 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20068 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20069 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20081 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20082 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20083 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20157 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20188 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20192 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20215 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20221 wine_fn_config_makefile dlls/apphelp enable_apphelp
20222 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20223 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20224 wine_fn_config_makefile dlls/atl enable_atl
20225 wine_fn_config_makefile dlls/atl/tests enable_tests
20226 wine_fn_config_makefile dlls/atl100 enable_atl100
20227 wine_fn_config_makefile dlls/atl100/tests enable_tests
20228 wine_fn_config_makefile dlls/atl110 enable_atl110
20229 wine_fn_config_makefile dlls/atl80 enable_atl80
20230 wine_fn_config_makefile dlls/atl80/tests enable_tests
20231 wine_fn_config_makefile dlls/atl90 enable_atl90
20232 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20233 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20234 wine_fn_config_makefile dlls/atmlib enable_atmlib
20235 wine_fn_config_makefile dlls/authz enable_authz
20236 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20237 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20238 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20239 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20240 wine_fn_config_makefile dlls/avrt enable_avrt
20241 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20242 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20243 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20244 wine_fn_config_makefile dlls/browseui enable_browseui
20245 wine_fn_config_makefile dlls/browseui/tests enable_tests
20246 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20247 wine_fn_config_makefile dlls/cabinet enable_cabinet
20248 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20249 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20250 wine_fn_config_makefile dlls/cards enable_cards
20251 wine_fn_config_makefile dlls/cdosys enable_cdosys
20252 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20253 wine_fn_config_makefile dlls/clusapi enable_clusapi
20254 wine_fn_config_makefile dlls/combase enable_combase
20255 wine_fn_config_makefile dlls/combase/tests enable_tests
20256 wine_fn_config_makefile dlls/comcat enable_comcat
20257 wine_fn_config_makefile dlls/comcat/tests enable_tests
20258 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20259 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20260 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20261 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20262 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20263 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20264 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20265 wine_fn_config_makefile dlls/compstui enable_compstui
20266 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20267 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20268 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20269 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20270 wine_fn_config_makefile dlls/connect enable_connect
20271 wine_fn_config_makefile dlls/credui enable_credui
20272 wine_fn_config_makefile dlls/credui/tests enable_tests
20273 wine_fn_config_makefile dlls/crtdll enable_crtdll
20274 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20275 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20276 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20277 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20278 wine_fn_config_makefile dlls/cryptext enable_cryptext
20279 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20280 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20281 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20282 wine_fn_config_makefile dlls/cryptui enable_cryptui
20283 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20284 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20285 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20286 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20287 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20288 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20289 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20290 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20291 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20292 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20293 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20294 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20295 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20296 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20297 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20298 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20299 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20300 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20301 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20302 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20303 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20304 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20305 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20306 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20307 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20308 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20309 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20310 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20311 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20312 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20313 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20314 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20315 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20316 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20317 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20318 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20319 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20320 wine_fn_config_makefile dlls/d3dim enable_d3dim
20321 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20322 wine_fn_config_makefile dlls/d3drm enable_d3drm
20323 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20324 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20325 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20326 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20327 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20328 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20329 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20330 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20331 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20332 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20333 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20334 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20335 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20336 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20337 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20338 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20339 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20340 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20341 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20342 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20343 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20344 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20345 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20346 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20347 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20348 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20349 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20350 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20351 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20352 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20353 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20354 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20355 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20356 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20357 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20358 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20359 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20360 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20361 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20362 wine_fn_config_makefile dlls/davclnt enable_davclnt
20363 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20364 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20365 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20366 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20367 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20368 wine_fn_config_makefile dlls/dcomp enable_dcomp
20369 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20370 wine_fn_config_makefile dlls/ddraw enable_ddraw
20371 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20372 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20373 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20374 wine_fn_config_makefile dlls/devenum enable_devenum
20375 wine_fn_config_makefile dlls/devenum/tests enable_tests
20376 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20377 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20378 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20379 wine_fn_config_makefile dlls/difxapi enable_difxapi
20380 wine_fn_config_makefile dlls/dinput enable_dinput
20381 wine_fn_config_makefile dlls/dinput/tests enable_tests
20382 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20383 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20384 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20385 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20386 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20387 wine_fn_config_makefile dlls/dispex enable_dispex
20388 wine_fn_config_makefile dlls/dispex/tests enable_tests
20389 wine_fn_config_makefile dlls/display.drv16 enable_win16
20390 wine_fn_config_makefile dlls/dmband enable_dmband
20391 wine_fn_config_makefile dlls/dmband/tests enable_tests
20392 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20393 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20394 wine_fn_config_makefile dlls/dmime enable_dmime
20395 wine_fn_config_makefile dlls/dmime/tests enable_tests
20396 wine_fn_config_makefile dlls/dmloader enable_dmloader
20397 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20398 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20399 wine_fn_config_makefile dlls/dmscript enable_dmscript
20400 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20401 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20402 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20403 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20404 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20405 wine_fn_config_makefile dlls/dmusic enable_dmusic
20406 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20407 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20408 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20409 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20410 wine_fn_config_makefile dlls/dplay enable_dplay
20411 wine_fn_config_makefile dlls/dplayx enable_dplayx
20412 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20413 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20414 wine_fn_config_makefile dlls/dpnet enable_dpnet
20415 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20416 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20417 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20418 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20419 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20420 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20421 wine_fn_config_makefile dlls/drmclien enable_drmclien
20422 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20423 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20424 wine_fn_config_makefile dlls/dsound enable_dsound
20425 wine_fn_config_makefile dlls/dsound/tests enable_tests
20426 wine_fn_config_makefile dlls/dsquery enable_dsquery
20427 wine_fn_config_makefile dlls/dssenh enable_dssenh
20428 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20429 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20430 wine_fn_config_makefile dlls/dswave enable_dswave
20431 wine_fn_config_makefile dlls/dswave/tests enable_tests
20432 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20433 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20434 wine_fn_config_makefile dlls/dwrite enable_dwrite
20435 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20436 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20437 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20438 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20439 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20440 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20441 wine_fn_config_makefile dlls/dxgi enable_dxgi
20442 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20443 wine_fn_config_makefile dlls/dxguid enable_dxguid
20444 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20445 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20446 wine_fn_config_makefile dlls/esent enable_esent
20447 wine_fn_config_makefile dlls/evr enable_evr
20448 wine_fn_config_makefile dlls/evr/tests enable_tests
20449 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20450 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20451 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20456 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20457 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20460 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20462 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20465 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20469 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20470 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20472 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20474 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20475 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20477 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20478 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20480 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20481 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20482 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20483 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20484 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20485 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20486 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20487 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20488 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20489 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20490 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20491 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
20492 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20493 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20494 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20497 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20498 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20499 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20500 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20501 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20502 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20503 wine_fn_config_makefile dlls/faultrep enable_faultrep
20504 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20505 wine_fn_config_makefile dlls/feclient enable_feclient
20506 wine_fn_config_makefile dlls/fltlib enable_fltlib
20507 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20508 wine_fn_config_makefile dlls/fntcache enable_fntcache
20509 wine_fn_config_makefile dlls/fontsub enable_fontsub
20510 wine_fn_config_makefile dlls/fusion enable_fusion
20511 wine_fn_config_makefile dlls/fusion/tests enable_tests
20512 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20513 wine_fn_config_makefile dlls/gameux enable_gameux
20514 wine_fn_config_makefile dlls/gameux/tests enable_tests
20515 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20516 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20517 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20518 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20519 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20520 wine_fn_config_makefile dlls/glu32 enable_glu32
20521 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20522 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20523 wine_fn_config_makefile dlls/hal enable_hal
20524 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20525 wine_fn_config_makefile dlls/hid enable_hid
20526 wine_fn_config_makefile dlls/hid/tests enable_tests
20527 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20528 wine_fn_config_makefile dlls/hlink enable_hlink
20529 wine_fn_config_makefile dlls/hlink/tests enable_tests
20530 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20531 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20532 wine_fn_config_makefile dlls/http.sys enable_http_sys
20533 wine_fn_config_makefile dlls/httpapi enable_httpapi
20534 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20535 wine_fn_config_makefile dlls/iccvid enable_iccvid
20536 wine_fn_config_makefile dlls/icmp enable_icmp
20537 wine_fn_config_makefile dlls/ieframe enable_ieframe
20538 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20539 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20540 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20541 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20542 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20543 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20544 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20545 wine_fn_config_makefile dlls/imm32 enable_imm32
20546 wine_fn_config_makefile dlls/imm32/tests enable_tests
20547 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20548 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20549 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20550 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20551 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20552 wine_fn_config_makefile dlls/infosoft enable_infosoft
20553 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20554 wine_fn_config_makefile dlls/initpki enable_initpki
20555 wine_fn_config_makefile dlls/inkobj enable_inkobj
20556 wine_fn_config_makefile dlls/inseng enable_inseng
20557 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20558 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20559 wine_fn_config_makefile dlls/iprop enable_iprop
20560 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20561 wine_fn_config_makefile dlls/itircl enable_itircl
20562 wine_fn_config_makefile dlls/itss enable_itss
20563 wine_fn_config_makefile dlls/itss/tests enable_tests
20564 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20565 wine_fn_config_makefile dlls/jscript enable_jscript
20566 wine_fn_config_makefile dlls/jscript/tests enable_tests
20567 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20568 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20569 wine_fn_config_makefile dlls/kerberos enable_kerberos
20570 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20571 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20572 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20573 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20574 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20575 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20576 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20577 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20578 wine_fn_config_makefile dlls/ksuser enable_ksuser
20579 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20580 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20581 wine_fn_config_makefile dlls/loadperf enable_loadperf
20582 wine_fn_config_makefile dlls/localspl enable_localspl
20583 wine_fn_config_makefile dlls/localspl/tests enable_tests
20584 wine_fn_config_makefile dlls/localui enable_localui
20585 wine_fn_config_makefile dlls/localui/tests enable_tests
20586 wine_fn_config_makefile dlls/lz32 enable_lz32
20587 wine_fn_config_makefile dlls/lz32/tests enable_tests
20588 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20589 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20590 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20591 wine_fn_config_makefile dlls/mapistub enable_mapistub
20592 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20593 wine_fn_config_makefile dlls/mcicda enable_mcicda
20594 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20595 wine_fn_config_makefile dlls/mciseq enable_mciseq
20596 wine_fn_config_makefile dlls/mciwave enable_mciwave
20597 wine_fn_config_makefile dlls/mf enable_mf
20598 wine_fn_config_makefile dlls/mf/tests enable_tests
20599 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20600 wine_fn_config_makefile dlls/mferror enable_mferror
20601 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20602 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20603 wine_fn_config_makefile dlls/mfplat enable_mfplat
20604 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20605 wine_fn_config_makefile dlls/mfplay enable_mfplay
20606 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20607 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20608 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20609 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20610 wine_fn_config_makefile dlls/midimap enable_midimap
20611 wine_fn_config_makefile dlls/mlang enable_mlang
20612 wine_fn_config_makefile dlls/mlang/tests enable_tests
20613 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20614 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20615 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20616 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20617 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20618 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20619 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20620 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20621 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20622 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20623 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20624 wine_fn_config_makefile dlls/mpr enable_mpr
20625 wine_fn_config_makefile dlls/mpr/tests enable_tests
20626 wine_fn_config_makefile dlls/mprapi enable_mprapi
20627 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20628 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20629 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20630 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20631 wine_fn_config_makefile dlls/msado15 enable_msado15
20632 wine_fn_config_makefile dlls/msado15/tests enable_tests
20633 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20634 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20635 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20636 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20637 wine_fn_config_makefile dlls/mscms enable_mscms
20638 wine_fn_config_makefile dlls/mscms/tests enable_tests
20639 wine_fn_config_makefile dlls/mscoree enable_mscoree
20640 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20641 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20642 wine_fn_config_makefile dlls/msctf enable_msctf
20643 wine_fn_config_makefile dlls/msctf/tests enable_tests
20644 wine_fn_config_makefile dlls/msctfp enable_msctfp
20645 wine_fn_config_makefile dlls/msdaps enable_msdaps
20646 wine_fn_config_makefile dlls/msdelta enable_msdelta
20647 wine_fn_config_makefile dlls/msdmo enable_msdmo
20648 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20649 wine_fn_config_makefile dlls/msdrm enable_msdrm
20650 wine_fn_config_makefile dlls/msftedit enable_msftedit
20651 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20652 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20653 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20654 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20655 wine_fn_config_makefile dlls/mshtml enable_mshtml
20656 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20657 wine_fn_config_makefile dlls/msi enable_msi
20658 wine_fn_config_makefile dlls/msi/tests enable_tests
20659 wine_fn_config_makefile dlls/msident enable_msident
20660 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20661 wine_fn_config_makefile dlls/msimsg enable_msimsg
20662 wine_fn_config_makefile dlls/msimtf enable_msimtf
20663 wine_fn_config_makefile dlls/msisip enable_msisip
20664 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20665 wine_fn_config_makefile dlls/msls31 enable_msls31
20666 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20667 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20668 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20669 wine_fn_config_makefile dlls/msports enable_msports
20670 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20671 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20672 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20673 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20674 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20675 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20676 wine_fn_config_makefile dlls/mstask enable_mstask
20677 wine_fn_config_makefile dlls/mstask/tests enable_tests
20678 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20679 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20680 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20681 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20682 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20683 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20684 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20685 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20686 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20687 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20688 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20689 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20690 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20691 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20692 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20693 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20694 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20695 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20696 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20697 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20698 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20699 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20700 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20701 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20702 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20703 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20704 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20705 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20706 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20707 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20708 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20709 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20710 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20711 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20712 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20713 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20714 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20715 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20716 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20717 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20718 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20719 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20720 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20721 wine_fn_config_makefile dlls/mswsock enable_mswsock
20722 wine_fn_config_makefile dlls/msxml enable_msxml
20723 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20724 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20725 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20726 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20727 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20728 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20729 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20730 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20731 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20732 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20733 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20734 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20735 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20736 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20737 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20738 wine_fn_config_makefile dlls/netprofm enable_netprofm
20739 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20740 wine_fn_config_makefile dlls/netutils enable_netutils
20741 wine_fn_config_makefile dlls/newdev enable_newdev
20742 wine_fn_config_makefile dlls/ninput enable_ninput
20743 wine_fn_config_makefile dlls/ninput/tests enable_tests
20744 wine_fn_config_makefile dlls/normaliz enable_normaliz
20745 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20746 wine_fn_config_makefile dlls/npptools enable_npptools
20747 wine_fn_config_makefile dlls/ntdll enable_ntdll
20748 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20749 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20750 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20751 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20752 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20753 wine_fn_config_makefile dlls/ntprint enable_ntprint
20754 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20755 wine_fn_config_makefile dlls/objsel enable_objsel
20756 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20757 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20758 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20759 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20760 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20761 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20762 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20763 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20764 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20765 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20766 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20767 wine_fn_config_makefile dlls/ole32 enable_ole32
20768 wine_fn_config_makefile dlls/ole32/tests enable_tests
20769 wine_fn_config_makefile dlls/oleacc enable_oleacc
20770 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20771 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20772 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20773 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20774 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20775 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20776 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20777 wine_fn_config_makefile dlls/oledlg enable_oledlg
20778 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20779 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20780 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20781 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20782 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20783 wine_fn_config_makefile dlls/opcservices enable_opcservices
20784 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20785 wine_fn_config_makefile dlls/openal32 enable_openal32
20786 wine_fn_config_makefile dlls/opencl enable_opencl
20787 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20788 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20789 wine_fn_config_makefile dlls/packager enable_packager
20790 wine_fn_config_makefile dlls/packager/tests enable_tests
20791 wine_fn_config_makefile dlls/pdh enable_pdh
20792 wine_fn_config_makefile dlls/pdh/tests enable_tests
20793 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20794 wine_fn_config_makefile dlls/pidgen enable_pidgen
20795 wine_fn_config_makefile dlls/powrprof enable_powrprof
20796 wine_fn_config_makefile dlls/printui enable_printui
20797 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20798 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20799 wine_fn_config_makefile dlls/propsys enable_propsys
20800 wine_fn_config_makefile dlls/propsys/tests enable_tests
20801 wine_fn_config_makefile dlls/psapi enable_psapi
20802 wine_fn_config_makefile dlls/psapi/tests enable_tests
20803 wine_fn_config_makefile dlls/pstorec enable_pstorec
20804 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20805 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20806 wine_fn_config_makefile dlls/qasf enable_qasf
20807 wine_fn_config_makefile dlls/qasf/tests enable_tests
20808 wine_fn_config_makefile dlls/qcap enable_qcap
20809 wine_fn_config_makefile dlls/qcap/tests enable_tests
20810 wine_fn_config_makefile dlls/qdvd enable_qdvd
20811 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20812 wine_fn_config_makefile dlls/qedit enable_qedit
20813 wine_fn_config_makefile dlls/qedit/tests enable_tests
20814 wine_fn_config_makefile dlls/qmgr enable_qmgr
20815 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20816 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20817 wine_fn_config_makefile dlls/quartz enable_quartz
20818 wine_fn_config_makefile dlls/quartz/tests enable_tests
20819 wine_fn_config_makefile dlls/query enable_query
20820 wine_fn_config_makefile dlls/qwave enable_qwave
20821 wine_fn_config_makefile dlls/qwave/tests enable_tests
20822 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20823 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20824 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20825 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20826 wine_fn_config_makefile dlls/regapi enable_regapi
20827 wine_fn_config_makefile dlls/resutils enable_resutils
20828 wine_fn_config_makefile dlls/riched20 enable_riched20
20829 wine_fn_config_makefile dlls/riched20/tests enable_tests
20830 wine_fn_config_makefile dlls/riched32 enable_riched32
20831 wine_fn_config_makefile dlls/riched32/tests enable_tests
20832 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20833 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20834 wine_fn_config_makefile dlls/rsabase enable_rsabase
20835 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20836 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20837 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20838 wine_fn_config_makefile dlls/rtutils enable_rtutils
20839 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20840 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20841 wine_fn_config_makefile dlls/samlib enable_samlib
20842 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20843 wine_fn_config_makefile dlls/sapi enable_sapi
20844 wine_fn_config_makefile dlls/sapi/tests enable_tests
20845 wine_fn_config_makefile dlls/sas enable_sas
20846 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20847 wine_fn_config_makefile dlls/sccbase enable_sccbase
20848 wine_fn_config_makefile dlls/schannel enable_schannel
20849 wine_fn_config_makefile dlls/schannel/tests enable_tests
20850 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20851 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20852 wine_fn_config_makefile dlls/scrobj enable_scrobj
20853 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20854 wine_fn_config_makefile dlls/scrrun enable_scrrun
20855 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20856 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20857 wine_fn_config_makefile dlls/sechost enable_sechost
20858 wine_fn_config_makefile dlls/secur32 enable_secur32
20859 wine_fn_config_makefile dlls/secur32/tests enable_tests
20860 wine_fn_config_makefile dlls/security enable_security
20861 wine_fn_config_makefile dlls/sensapi enable_sensapi
20862 wine_fn_config_makefile dlls/serialui enable_serialui
20863 wine_fn_config_makefile dlls/serialui/tests enable_tests
20864 wine_fn_config_makefile dlls/setupapi enable_setupapi
20865 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20866 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20867 wine_fn_config_makefile dlls/sfc enable_sfc
20868 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20869 wine_fn_config_makefile dlls/shcore enable_shcore
20870 wine_fn_config_makefile dlls/shcore/tests enable_tests
20871 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20872 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20873 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20874 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20875 wine_fn_config_makefile dlls/shell32 enable_shell32
20876 wine_fn_config_makefile dlls/shell32/tests enable_tests
20877 wine_fn_config_makefile dlls/shfolder enable_shfolder
20878 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20879 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20880 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20881 wine_fn_config_makefile dlls/slc enable_slc
20882 wine_fn_config_makefile dlls/slc/tests enable_tests
20883 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20884 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20885 wine_fn_config_makefile dlls/softpub enable_softpub
20886 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20887 wine_fn_config_makefile dlls/spoolss enable_spoolss
20888 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20889 wine_fn_config_makefile dlls/srclient enable_srclient
20890 wine_fn_config_makefile dlls/srvcli enable_srvcli
20891 wine_fn_config_makefile dlls/sspicli enable_sspicli
20892 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20893 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20894 wine_fn_config_makefile dlls/sti enable_sti
20895 wine_fn_config_makefile dlls/sti/tests enable_tests
20896 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20897 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20898 wine_fn_config_makefile dlls/strmbase enable_strmbase
20899 wine_fn_config_makefile dlls/strmdll enable_strmdll
20900 wine_fn_config_makefile dlls/strmiids enable_strmiids
20901 wine_fn_config_makefile dlls/svrapi enable_svrapi
20902 wine_fn_config_makefile dlls/sxs enable_sxs
20903 wine_fn_config_makefile dlls/sxs/tests enable_tests
20904 wine_fn_config_makefile dlls/system.drv16 enable_win16
20905 wine_fn_config_makefile dlls/t2embed enable_t2embed
20906 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20907 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20908 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20909 wine_fn_config_makefile dlls/taskschd enable_taskschd
20910 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20911 wine_fn_config_makefile dlls/tdh enable_tdh
20912 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20913 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20914 wine_fn_config_makefile dlls/traffic enable_traffic
20915 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20916 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20917 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20918 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20919 wine_fn_config_makefile dlls/tzres enable_tzres
20920 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20921 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20922 wine_fn_config_makefile dlls/uianimation enable_uianimation
20923 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20924 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20925 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20926 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20927 wine_fn_config_makefile dlls/unicows enable_unicows
20928 wine_fn_config_makefile dlls/updspapi enable_updspapi
20929 wine_fn_config_makefile dlls/url enable_url
20930 wine_fn_config_makefile dlls/urlmon enable_urlmon
20931 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20932 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20933 wine_fn_config_makefile dlls/user.exe16 enable_win16
20934 wine_fn_config_makefile dlls/user32 enable_user32
20935 wine_fn_config_makefile dlls/user32/tests enable_tests
20936 wine_fn_config_makefile dlls/userenv enable_userenv
20937 wine_fn_config_makefile dlls/userenv/tests enable_tests
20938 wine_fn_config_makefile dlls/usp10 enable_usp10
20939 wine_fn_config_makefile dlls/usp10/tests enable_tests
20940 wine_fn_config_makefile dlls/utildll enable_utildll
20941 wine_fn_config_makefile dlls/uuid enable_uuid
20942 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20943 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20944 wine_fn_config_makefile dlls/vbscript enable_vbscript
20945 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20946 wine_fn_config_makefile dlls/vcomp enable_vcomp
20947 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20948 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20949 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20950 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
20951 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20952 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20953 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20954 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20955 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20956 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20957 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20958 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20959 wine_fn_config_makefile dlls/version enable_version
20960 wine_fn_config_makefile dlls/version/tests enable_tests
20961 wine_fn_config_makefile dlls/vga enable_vga
20962 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20963 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20964 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20965 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20966 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20967 wine_fn_config_makefile dlls/vssapi enable_vssapi
20968 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20969 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20970 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20971 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20972 wine_fn_config_makefile dlls/w32skrnl enable_win16
20973 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20974 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20975 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20976 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20977 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20978 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20979 wine_fn_config_makefile dlls/wdscore enable_wdscore
20980 wine_fn_config_makefile dlls/webservices enable_webservices
20981 wine_fn_config_makefile dlls/webservices/tests enable_tests
20982 wine_fn_config_makefile dlls/wer enable_wer
20983 wine_fn_config_makefile dlls/wer/tests enable_tests
20984 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20985 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20986 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20987 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20988 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20989 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20990 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20991 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20992 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20993 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20994 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20995 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20996 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20997 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20998 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20999 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21000 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21001 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21002 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21003 wine_fn_config_makefile dlls/wined3d enable_wined3d
21004 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21005 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21006 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21007 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21008 wine_fn_config_makefile dlls/winemapi enable_winemapi
21009 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21010 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21011 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21012 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21013 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21014 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21015 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21016 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21017 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21018 wine_fn_config_makefile dlls/wing32 enable_wing32
21019 wine_fn_config_makefile dlls/winhttp enable_winhttp
21020 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21021 wine_fn_config_makefile dlls/wininet enable_wininet
21022 wine_fn_config_makefile dlls/wininet/tests enable_tests
21023 wine_fn_config_makefile dlls/winmm enable_winmm
21024 wine_fn_config_makefile dlls/winmm/tests enable_tests
21025 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21026 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21027 wine_fn_config_makefile dlls/winscard enable_winscard
21028 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21029 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21030 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21031 wine_fn_config_makefile dlls/winsta enable_winsta
21032 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21033 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21034 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21035 wine_fn_config_makefile dlls/wintrust enable_wintrust
21036 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21037 wine_fn_config_makefile dlls/winusb enable_winusb
21038 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21039 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21040 wine_fn_config_makefile dlls/wlanui enable_wlanui
21041 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21042 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21043 wine_fn_config_makefile dlls/wmasf enable_wmasf
21044 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21045 wine_fn_config_makefile dlls/wmi enable_wmi
21046 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21047 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21048 wine_fn_config_makefile dlls/wmp enable_wmp
21049 wine_fn_config_makefile dlls/wmp/tests enable_tests
21050 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21051 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21052 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21053 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21054 wine_fn_config_makefile dlls/wow32 enable_win16
21055 wine_fn_config_makefile dlls/wpc enable_wpc
21056 wine_fn_config_makefile dlls/wpc/tests enable_tests
21057 wine_fn_config_makefile dlls/wpcap enable_wpcap
21058 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21059 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21060 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21061 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21062 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21063 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21064 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21065 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21066 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21067 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21068 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21069 wine_fn_config_makefile dlls/wuapi enable_wuapi
21070 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21071 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21072 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21073 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21074 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21075 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21076 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21077 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21078 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21079 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21080 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21081 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21082 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21083 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21084 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21085 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21086 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21087 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21088 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21089 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21090 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21091 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21092 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21093 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21094 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21095 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21096 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21097 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21098 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21099 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21100 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21101 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21102 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21103 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21104 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21105 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21106 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21107 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21108 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21109 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21110 wine_fn_config_makefile dlls/xmllite enable_xmllite
21111 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21112 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21113 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21114 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21115 wine_fn_config_makefile fonts enable_fonts
21116 wine_fn_config_makefile include enable_include
21117 wine_fn_config_makefile libs/port enable_port
21118 wine_fn_config_makefile libs/wine enable_wine
21119 wine_fn_config_makefile libs/wpp enable_wpp
21120 wine_fn_config_makefile loader enable_loader
21121 wine_fn_config_makefile nls enable_nls
21122 wine_fn_config_makefile po enable_po
21123 wine_fn_config_makefile programs/arp enable_arp
21124 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21125 wine_fn_config_makefile programs/attrib enable_attrib
21126 wine_fn_config_makefile programs/cabarc enable_cabarc
21127 wine_fn_config_makefile programs/cacls enable_cacls
21128 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21129 wine_fn_config_makefile programs/clock enable_clock
21130 wine_fn_config_makefile programs/cmd enable_cmd
21131 wine_fn_config_makefile programs/cmd/tests enable_tests
21132 wine_fn_config_makefile programs/conhost enable_conhost
21133 wine_fn_config_makefile programs/conhost/tests enable_tests
21134 wine_fn_config_makefile programs/control enable_control
21135 wine_fn_config_makefile programs/cscript enable_cscript
21136 wine_fn_config_makefile programs/dism enable_dism
21137 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21138 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21139 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21140 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21141 wine_fn_config_makefile programs/eject enable_eject
21142 wine_fn_config_makefile programs/expand enable_expand
21143 wine_fn_config_makefile programs/explorer enable_explorer
21144 wine_fn_config_makefile programs/extrac32 enable_extrac32
21145 wine_fn_config_makefile programs/fc enable_fc
21146 wine_fn_config_makefile programs/find enable_find
21147 wine_fn_config_makefile programs/find/tests enable_tests
21148 wine_fn_config_makefile programs/findstr enable_findstr
21149 wine_fn_config_makefile programs/fsutil enable_fsutil
21150 wine_fn_config_makefile programs/fsutil/tests enable_tests
21151 wine_fn_config_makefile programs/hh enable_hh
21152 wine_fn_config_makefile programs/hostname enable_hostname
21153 wine_fn_config_makefile programs/icacls enable_icacls
21154 wine_fn_config_makefile programs/icinfo enable_icinfo
21155 wine_fn_config_makefile programs/iexplore enable_iexplore
21156 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21157 wine_fn_config_makefile programs/lodctr enable_lodctr
21158 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21159 wine_fn_config_makefile programs/mshta enable_mshta
21160 wine_fn_config_makefile programs/msidb enable_msidb
21161 wine_fn_config_makefile programs/msiexec enable_msiexec
21162 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21163 wine_fn_config_makefile programs/net enable_net
21164 wine_fn_config_makefile programs/netsh enable_netsh
21165 wine_fn_config_makefile programs/netstat enable_netstat
21166 wine_fn_config_makefile programs/ngen enable_ngen
21167 wine_fn_config_makefile programs/notepad enable_notepad
21168 wine_fn_config_makefile programs/oleview enable_oleview
21169 wine_fn_config_makefile programs/ping enable_ping
21170 wine_fn_config_makefile programs/plugplay enable_plugplay
21171 wine_fn_config_makefile programs/powershell enable_powershell
21172 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21173 wine_fn_config_makefile programs/progman enable_progman
21174 wine_fn_config_makefile programs/reg enable_reg
21175 wine_fn_config_makefile programs/reg/tests enable_tests
21176 wine_fn_config_makefile programs/regasm enable_regasm
21177 wine_fn_config_makefile programs/regedit enable_regedit
21178 wine_fn_config_makefile programs/regedit/tests enable_tests
21179 wine_fn_config_makefile programs/regini enable_regini
21180 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21181 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21182 wine_fn_config_makefile programs/rpcss enable_rpcss
21183 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21184 wine_fn_config_makefile programs/rundll32 enable_rundll32
21185 wine_fn_config_makefile programs/sc enable_sc
21186 wine_fn_config_makefile programs/schtasks enable_schtasks
21187 wine_fn_config_makefile programs/schtasks/tests enable_tests
21188 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21189 wine_fn_config_makefile programs/secedit enable_secedit
21190 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21191 wine_fn_config_makefile programs/services enable_services
21192 wine_fn_config_makefile programs/services/tests enable_tests
21193 wine_fn_config_makefile programs/shutdown enable_shutdown
21194 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21195 wine_fn_config_makefile programs/start enable_start
21196 wine_fn_config_makefile programs/subst enable_subst
21197 wine_fn_config_makefile programs/svchost enable_svchost
21198 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21199 wine_fn_config_makefile programs/taskkill enable_taskkill
21200 wine_fn_config_makefile programs/tasklist enable_tasklist
21201 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21202 wine_fn_config_makefile programs/termsv enable_termsv
21203 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21204 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21205 wine_fn_config_makefile programs/view enable_view
21206 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21207 wine_fn_config_makefile programs/where enable_where
21208 wine_fn_config_makefile programs/whoami enable_whoami
21209 wine_fn_config_makefile programs/wineboot enable_wineboot
21210 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21211 wine_fn_config_makefile programs/winecfg enable_winecfg
21212 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21213 wine_fn_config_makefile programs/winedbg enable_winedbg
21214 wine_fn_config_makefile programs/winedevice enable_winedevice
21215 wine_fn_config_makefile programs/winefile enable_winefile
21216 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21217 wine_fn_config_makefile programs/winemine enable_winemine
21218 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21219 wine_fn_config_makefile programs/winepath enable_winepath
21220 wine_fn_config_makefile programs/winetest enable_winetest
21221 wine_fn_config_makefile programs/winevdm enable_win16
21222 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21223 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21224 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21225 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21226 wine_fn_config_makefile programs/winver enable_winver
21227 wine_fn_config_makefile programs/wmic enable_wmic
21228 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21229 wine_fn_config_makefile programs/wordpad enable_wordpad
21230 wine_fn_config_makefile programs/write enable_write
21231 wine_fn_config_makefile programs/wscript enable_wscript
21232 wine_fn_config_makefile programs/wscript/tests enable_tests
21233 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21234 wine_fn_config_makefile programs/wusa enable_wusa
21235 wine_fn_config_makefile programs/xcopy enable_xcopy
21236 wine_fn_config_makefile programs/xcopy/tests enable_tests
21237 wine_fn_config_makefile server enable_server
21238 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21239 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21240 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21241 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21242 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21243 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21244 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21245 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21246 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21249 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21250 wine_fn_append_file CONFIGURE_TARGETS "tags"
21251 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21252 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21253 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21254 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21255 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21256 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21258 if test "x$enable_tools" != xno
21259 then
21260 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21261 ac_config_commands="$ac_config_commands tools/makedep"
21265 ac_config_commands="$ac_config_commands Makefile"
21268 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21272 if test "x$enable_maintainer_mode" = xyes
21273 then
21274 wine_fn_append_rule "configure: configure.ac aclocal.m4
21275 autoconf --warnings=all
21276 include/config.h.in: include/stamp-h.in
21277 include/stamp-h.in: configure.ac aclocal.m4
21278 autoheader --warnings=all
21279 @echo timestamp > \$@"
21282 if test "x$enable_tools" != xno
21283 then
21284 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21285 @./config.status tools/makedep
21286 Makefile: tools/makedep$ac_exeext"
21287 else
21288 wine_fn_append_rule "\$(MAKEDEP):
21289 @echo \"You need to run make in $TOOLSDIR first\" && false"
21292 if test -n "$with_wine64"
21293 then
21294 case "$with_wine64" in
21295 /*) reldir="" ;;
21296 *) reldir="../" ;;
21297 esac
21298 rm -f fonts server 2>/dev/null
21299 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21300 loader/wine64 loader/wine64-preloader:
21301 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21302 $with_wine64/loader/wine:
21303 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21304 $with_wine64/loader/wine-preloader:
21305 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21306 clean::
21307 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21308 else
21309 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21310 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21311 fonts \
21312 loader/wine.inf \
21313 nls \
21314 programs/msidb/msidb \
21315 programs/msiexec/msiexec \
21316 programs/notepad/notepad \
21317 programs/regedit/regedit \
21318 programs/regsvr32/regsvr32 \
21319 programs/wineboot/wineboot \
21320 programs/winecfg/winecfg \
21321 programs/wineconsole/wineconsole \
21322 programs/winedbg/winedbg \
21323 programs/winefile/winefile \
21324 programs/winemine/winemine \
21325 programs/winepath/winepath \
21326 server/wineserver"
21328 case $host_os in
21329 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21330 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21331 esac
21334 $as_echo " done" >&6
21335 cat >confcache <<\_ACEOF
21336 # This file is a shell script that caches the results of configure
21337 # tests run on this system so they can be shared between configure
21338 # scripts and configure runs, see configure's option --config-cache.
21339 # It is not useful on other systems. If it contains results you don't
21340 # want to keep, you may remove or edit it.
21342 # config.status only pays attention to the cache file if you give it
21343 # the --recheck option to rerun configure.
21345 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21346 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21347 # following values.
21349 _ACEOF
21351 # The following way of writing the cache mishandles newlines in values,
21352 # but we know of no workaround that is simple, portable, and efficient.
21353 # So, we kill variables containing newlines.
21354 # Ultrix sh set writes to stderr and can't be redirected directly,
21355 # and sets the high bit in the cache file unless we assign to the vars.
21357 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21358 eval ac_val=\$$ac_var
21359 case $ac_val in #(
21360 *${as_nl}*)
21361 case $ac_var in #(
21362 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21363 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21364 esac
21365 case $ac_var in #(
21366 _ | IFS | as_nl) ;; #(
21367 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21368 *) { eval $ac_var=; unset $ac_var;} ;;
21369 esac ;;
21370 esac
21371 done
21373 (set) 2>&1 |
21374 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21375 *${as_nl}ac_space=\ *)
21376 # `set' does not quote correctly, so add quotes: double-quote
21377 # substitution turns \\\\ into \\, and sed turns \\ into \.
21378 sed -n \
21379 "s/'/'\\\\''/g;
21380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21381 ;; #(
21383 # `set' quotes correctly as required by POSIX, so do not add quotes.
21384 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21386 esac |
21387 sort
21389 sed '
21390 /^ac_cv_env_/b end
21391 t clear
21392 :clear
21393 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21394 t end
21395 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21396 :end' >>confcache
21397 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21398 if test -w "$cache_file"; then
21399 if test "x$cache_file" != "x/dev/null"; then
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21401 $as_echo "$as_me: updating cache $cache_file" >&6;}
21402 if test ! -f "$cache_file" || test -h "$cache_file"; then
21403 cat confcache >"$cache_file"
21404 else
21405 case $cache_file in #(
21406 */* | ?:*)
21407 mv -f confcache "$cache_file"$$ &&
21408 mv -f "$cache_file"$$ "$cache_file" ;; #(
21410 mv -f confcache "$cache_file" ;;
21411 esac
21414 else
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21416 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21419 rm -f confcache
21421 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21422 # Let make expand exec_prefix.
21423 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21425 DEFS=-DHAVE_CONFIG_H
21427 ac_libobjs=
21428 ac_ltlibobjs=
21430 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21431 # 1. Remove the extension, and $U if already installed.
21432 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21433 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21434 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21435 # will be set to the directory where LIBOBJS objects are built.
21436 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21437 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21438 done
21439 LIBOBJS=$ac_libobjs
21441 LTLIBOBJS=$ac_ltlibobjs
21445 : "${CONFIG_STATUS=./config.status}"
21446 ac_write_fail=0
21447 ac_clean_files_save=$ac_clean_files
21448 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21450 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21451 as_write_fail=0
21452 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21453 #! $SHELL
21454 # Generated by $as_me.
21455 # Run this file to recreate the current configuration.
21456 # Compiler output produced by configure, useful for debugging
21457 # configure, is in config.log if it exists.
21459 debug=false
21460 ac_cs_recheck=false
21461 ac_cs_silent=false
21463 SHELL=\${CONFIG_SHELL-$SHELL}
21464 export SHELL
21465 _ASEOF
21466 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21467 ## -------------------- ##
21468 ## M4sh Initialization. ##
21469 ## -------------------- ##
21471 # Be more Bourne compatible
21472 DUALCASE=1; export DUALCASE # for MKS sh
21473 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21474 emulate sh
21475 NULLCMD=:
21476 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21477 # is contrary to our usage. Disable this feature.
21478 alias -g '${1+"$@"}'='"$@"'
21479 setopt NO_GLOB_SUBST
21480 else
21481 case `(set -o) 2>/dev/null` in #(
21482 *posix*) :
21483 set -o posix ;; #(
21484 *) :
21486 esac
21490 as_nl='
21492 export as_nl
21493 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21494 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21495 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21496 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21497 # Prefer a ksh shell builtin over an external printf program on Solaris,
21498 # but without wasting forks for bash or zsh.
21499 if test -z "$BASH_VERSION$ZSH_VERSION" \
21500 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21501 as_echo='print -r --'
21502 as_echo_n='print -rn --'
21503 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21504 as_echo='printf %s\n'
21505 as_echo_n='printf %s'
21506 else
21507 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21508 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21509 as_echo_n='/usr/ucb/echo -n'
21510 else
21511 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21512 as_echo_n_body='eval
21513 arg=$1;
21514 case $arg in #(
21515 *"$as_nl"*)
21516 expr "X$arg" : "X\\(.*\\)$as_nl";
21517 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21518 esac;
21519 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21521 export as_echo_n_body
21522 as_echo_n='sh -c $as_echo_n_body as_echo'
21524 export as_echo_body
21525 as_echo='sh -c $as_echo_body as_echo'
21528 # The user is always right.
21529 if test "${PATH_SEPARATOR+set}" != set; then
21530 PATH_SEPARATOR=:
21531 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21532 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21533 PATH_SEPARATOR=';'
21538 # IFS
21539 # We need space, tab and new line, in precisely that order. Quoting is
21540 # there to prevent editors from complaining about space-tab.
21541 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21542 # splitting by setting IFS to empty value.)
21543 IFS=" "" $as_nl"
21545 # Find who we are. Look in the path if we contain no directory separator.
21546 as_myself=
21547 case $0 in #((
21548 *[\\/]* ) as_myself=$0 ;;
21549 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21550 for as_dir in $PATH
21552 IFS=$as_save_IFS
21553 test -z "$as_dir" && as_dir=.
21554 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21555 done
21556 IFS=$as_save_IFS
21559 esac
21560 # We did not find ourselves, most probably we were run as `sh COMMAND'
21561 # in which case we are not to be found in the path.
21562 if test "x$as_myself" = x; then
21563 as_myself=$0
21565 if test ! -f "$as_myself"; then
21566 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21567 exit 1
21570 # Unset variables that we do not need and which cause bugs (e.g. in
21571 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21572 # suppresses any "Segmentation fault" message there. '((' could
21573 # trigger a bug in pdksh 5.2.14.
21574 for as_var in BASH_ENV ENV MAIL MAILPATH
21575 do eval test x\${$as_var+set} = xset \
21576 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21577 done
21578 PS1='$ '
21579 PS2='> '
21580 PS4='+ '
21582 # NLS nuisances.
21583 LC_ALL=C
21584 export LC_ALL
21585 LANGUAGE=C
21586 export LANGUAGE
21588 # CDPATH.
21589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21592 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21593 # ----------------------------------------
21594 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21595 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21596 # script with STATUS, using 1 if that was 0.
21597 as_fn_error ()
21599 as_status=$1; test $as_status -eq 0 && as_status=1
21600 if test "$4"; then
21601 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21602 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21604 $as_echo "$as_me: error: $2" >&2
21605 as_fn_exit $as_status
21606 } # as_fn_error
21609 # as_fn_set_status STATUS
21610 # -----------------------
21611 # Set $? to STATUS, without forking.
21612 as_fn_set_status ()
21614 return $1
21615 } # as_fn_set_status
21617 # as_fn_exit STATUS
21618 # -----------------
21619 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21620 as_fn_exit ()
21622 set +e
21623 as_fn_set_status $1
21624 exit $1
21625 } # as_fn_exit
21627 # as_fn_unset VAR
21628 # ---------------
21629 # Portably unset VAR.
21630 as_fn_unset ()
21632 { eval $1=; unset $1;}
21634 as_unset=as_fn_unset
21635 # as_fn_append VAR VALUE
21636 # ----------------------
21637 # Append the text in VALUE to the end of the definition contained in VAR. Take
21638 # advantage of any shell optimizations that allow amortized linear growth over
21639 # repeated appends, instead of the typical quadratic growth present in naive
21640 # implementations.
21641 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21642 eval 'as_fn_append ()
21644 eval $1+=\$2
21646 else
21647 as_fn_append ()
21649 eval $1=\$$1\$2
21651 fi # as_fn_append
21653 # as_fn_arith ARG...
21654 # ------------------
21655 # Perform arithmetic evaluation on the ARGs, and store the result in the
21656 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21657 # must be portable across $(()) and expr.
21658 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21659 eval 'as_fn_arith ()
21661 as_val=$(( $* ))
21663 else
21664 as_fn_arith ()
21666 as_val=`expr "$@" || test $? -eq 1`
21668 fi # as_fn_arith
21671 if expr a : '\(a\)' >/dev/null 2>&1 &&
21672 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21673 as_expr=expr
21674 else
21675 as_expr=false
21678 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21679 as_basename=basename
21680 else
21681 as_basename=false
21684 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21685 as_dirname=dirname
21686 else
21687 as_dirname=false
21690 as_me=`$as_basename -- "$0" ||
21691 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21692 X"$0" : 'X\(//\)$' \| \
21693 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21694 $as_echo X/"$0" |
21695 sed '/^.*\/\([^/][^/]*\)\/*$/{
21696 s//\1/
21699 /^X\/\(\/\/\)$/{
21700 s//\1/
21703 /^X\/\(\/\).*/{
21704 s//\1/
21707 s/.*/./; q'`
21709 # Avoid depending upon Character Ranges.
21710 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21711 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21712 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21713 as_cr_digits='0123456789'
21714 as_cr_alnum=$as_cr_Letters$as_cr_digits
21716 ECHO_C= ECHO_N= ECHO_T=
21717 case `echo -n x` in #(((((
21718 -n*)
21719 case `echo 'xy\c'` in
21720 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21721 xy) ECHO_C='\c';;
21722 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21723 ECHO_T=' ';;
21724 esac;;
21726 ECHO_N='-n';;
21727 esac
21729 rm -f conf$$ conf$$.exe conf$$.file
21730 if test -d conf$$.dir; then
21731 rm -f conf$$.dir/conf$$.file
21732 else
21733 rm -f conf$$.dir
21734 mkdir conf$$.dir 2>/dev/null
21736 if (echo >conf$$.file) 2>/dev/null; then
21737 if ln -s conf$$.file conf$$ 2>/dev/null; then
21738 as_ln_s='ln -s'
21739 # ... but there are two gotchas:
21740 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21741 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21742 # In both cases, we have to default to `cp -pR'.
21743 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21744 as_ln_s='cp -pR'
21745 elif ln conf$$.file conf$$ 2>/dev/null; then
21746 as_ln_s=ln
21747 else
21748 as_ln_s='cp -pR'
21750 else
21751 as_ln_s='cp -pR'
21753 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21754 rmdir conf$$.dir 2>/dev/null
21757 # as_fn_mkdir_p
21758 # -------------
21759 # Create "$as_dir" as a directory, including parents if necessary.
21760 as_fn_mkdir_p ()
21763 case $as_dir in #(
21764 -*) as_dir=./$as_dir;;
21765 esac
21766 test -d "$as_dir" || eval $as_mkdir_p || {
21767 as_dirs=
21768 while :; do
21769 case $as_dir in #(
21770 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21771 *) as_qdir=$as_dir;;
21772 esac
21773 as_dirs="'$as_qdir' $as_dirs"
21774 as_dir=`$as_dirname -- "$as_dir" ||
21775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21776 X"$as_dir" : 'X\(//\)[^/]' \| \
21777 X"$as_dir" : 'X\(//\)$' \| \
21778 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21779 $as_echo X"$as_dir" |
21780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21781 s//\1/
21784 /^X\(\/\/\)[^/].*/{
21785 s//\1/
21788 /^X\(\/\/\)$/{
21789 s//\1/
21792 /^X\(\/\).*/{
21793 s//\1/
21796 s/.*/./; q'`
21797 test -d "$as_dir" && break
21798 done
21799 test -z "$as_dirs" || eval "mkdir $as_dirs"
21800 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21803 } # as_fn_mkdir_p
21804 if mkdir -p . 2>/dev/null; then
21805 as_mkdir_p='mkdir -p "$as_dir"'
21806 else
21807 test -d ./-p && rmdir ./-p
21808 as_mkdir_p=false
21812 # as_fn_executable_p FILE
21813 # -----------------------
21814 # Test if FILE is an executable regular file.
21815 as_fn_executable_p ()
21817 test -f "$1" && test -x "$1"
21818 } # as_fn_executable_p
21819 as_test_x='test -x'
21820 as_executable_p=as_fn_executable_p
21822 # Sed expression to map a string onto a valid CPP name.
21823 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21825 # Sed expression to map a string onto a valid variable name.
21826 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21829 exec 6>&1
21830 ## ----------------------------------- ##
21831 ## Main body of $CONFIG_STATUS script. ##
21832 ## ----------------------------------- ##
21833 _ASEOF
21834 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21837 # Save the log message, to keep $0 and so on meaningful, and to
21838 # report actual input values of CONFIG_FILES etc. instead of their
21839 # values after options handling.
21840 ac_log="
21841 This file was extended by Wine $as_me 6.2, which was
21842 generated by GNU Autoconf 2.69. Invocation command line was
21844 CONFIG_FILES = $CONFIG_FILES
21845 CONFIG_HEADERS = $CONFIG_HEADERS
21846 CONFIG_LINKS = $CONFIG_LINKS
21847 CONFIG_COMMANDS = $CONFIG_COMMANDS
21848 $ $0 $@
21850 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21853 _ACEOF
21855 case $ac_config_files in *"
21856 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21857 esac
21859 case $ac_config_headers in *"
21860 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21861 esac
21864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21865 # Files that config.status was made for.
21866 config_files="$ac_config_files"
21867 config_headers="$ac_config_headers"
21868 config_links="$ac_config_links"
21869 config_commands="$ac_config_commands"
21871 _ACEOF
21873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21874 ac_cs_usage="\
21875 \`$as_me' instantiates files and other configuration actions
21876 from templates according to the current configuration. Unless the files
21877 and actions are specified as TAGs, all are instantiated by default.
21879 Usage: $0 [OPTION]... [TAG]...
21881 -h, --help print this help, then exit
21882 -V, --version print version number and configuration settings, then exit
21883 --config print configuration, then exit
21884 -q, --quiet, --silent
21885 do not print progress messages
21886 -d, --debug don't remove temporary files
21887 --recheck update $as_me by reconfiguring in the same conditions
21888 --file=FILE[:TEMPLATE]
21889 instantiate the configuration file FILE
21890 --header=FILE[:TEMPLATE]
21891 instantiate the configuration header FILE
21893 Configuration files:
21894 $config_files
21896 Configuration headers:
21897 $config_headers
21899 Configuration links:
21900 $config_links
21902 Configuration commands:
21903 $config_commands
21905 Report bugs to <wine-devel@winehq.org>.
21906 Wine home page: <https://www.winehq.org>."
21908 _ACEOF
21909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21910 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21911 ac_cs_version="\\
21912 Wine config.status 6.2
21913 configured by $0, generated by GNU Autoconf 2.69,
21914 with options \\"\$ac_cs_config\\"
21916 Copyright (C) 2012 Free Software Foundation, Inc.
21917 This config.status script is free software; the Free Software Foundation
21918 gives unlimited permission to copy, distribute and modify it."
21920 ac_pwd='$ac_pwd'
21921 srcdir='$srcdir'
21922 test -n "\$AWK" || AWK=awk
21923 _ACEOF
21925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21926 # The default lists apply if the user does not specify any file.
21927 ac_need_defaults=:
21928 while test $# != 0
21930 case $1 in
21931 --*=?*)
21932 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21933 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21934 ac_shift=:
21936 --*=)
21937 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21938 ac_optarg=
21939 ac_shift=:
21942 ac_option=$1
21943 ac_optarg=$2
21944 ac_shift=shift
21946 esac
21948 case $ac_option in
21949 # Handling of the options.
21950 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21951 ac_cs_recheck=: ;;
21952 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21953 $as_echo "$ac_cs_version"; exit ;;
21954 --config | --confi | --conf | --con | --co | --c )
21955 $as_echo "$ac_cs_config"; exit ;;
21956 --debug | --debu | --deb | --de | --d | -d )
21957 debug=: ;;
21958 --file | --fil | --fi | --f )
21959 $ac_shift
21960 case $ac_optarg in
21961 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21962 '') as_fn_error $? "missing file argument" ;;
21963 esac
21964 as_fn_append CONFIG_FILES " '$ac_optarg'"
21965 ac_need_defaults=false;;
21966 --header | --heade | --head | --hea )
21967 $ac_shift
21968 case $ac_optarg in
21969 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21970 esac
21971 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21972 ac_need_defaults=false;;
21973 --he | --h)
21974 # Conflict between --help and --header
21975 as_fn_error $? "ambiguous option: \`$1'
21976 Try \`$0 --help' for more information.";;
21977 --help | --hel | -h )
21978 $as_echo "$ac_cs_usage"; exit ;;
21979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21980 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21981 ac_cs_silent=: ;;
21983 # This is an error.
21984 -*) as_fn_error $? "unrecognized option: \`$1'
21985 Try \`$0 --help' for more information." ;;
21987 *) as_fn_append ac_config_targets " $1"
21988 ac_need_defaults=false ;;
21990 esac
21991 shift
21992 done
21994 ac_configure_extra_args=
21996 if $ac_cs_silent; then
21997 exec 6>/dev/null
21998 ac_configure_extra_args="$ac_configure_extra_args --silent"
22001 _ACEOF
22002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22003 if \$ac_cs_recheck; then
22004 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22005 shift
22006 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22007 CONFIG_SHELL='$SHELL'
22008 export CONFIG_SHELL
22009 exec "\$@"
22012 _ACEOF
22013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22014 exec 5>>config.log
22016 echo
22017 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22018 ## Running $as_me. ##
22019 _ASBOX
22020 $as_echo "$ac_log"
22021 } >&5
22023 _ACEOF
22024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22026 # INIT-COMMANDS
22028 wine_fn_output_makedep ()
22030 as_dir=tools; as_fn_mkdir_p
22031 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22033 wine_fn_output_makefile ()
22035 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22036 `cat $wine_rules_file`
22037 _WINE_EOF
22038 as_fn_error $? "could not create Makefile" "$LINENO" 5
22041 _ACEOF
22043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22045 # Handling of arguments.
22046 for ac_config_target in $ac_config_targets
22048 case $ac_config_target in
22049 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22050 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22051 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22052 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22053 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22054 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22055 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22057 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22058 esac
22059 done
22062 # If the user did not use the arguments to specify the items to instantiate,
22063 # then the envvar interface is used. Set only those that are not.
22064 # We use the long form for the default assignment because of an extremely
22065 # bizarre bug on SunOS 4.1.3.
22066 if $ac_need_defaults; then
22067 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22068 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22069 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22070 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22073 # Have a temporary directory for convenience. Make it in the build tree
22074 # simply because there is no reason against having it here, and in addition,
22075 # creating and moving files from /tmp can sometimes cause problems.
22076 # Hook for its removal unless debugging.
22077 # Note that there is a small window in which the directory will not be cleaned:
22078 # after its creation but before its name has been assigned to `$tmp'.
22079 $debug ||
22081 tmp= ac_tmp=
22082 trap 'exit_status=$?
22083 : "${ac_tmp:=$tmp}"
22084 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22086 trap 'as_fn_exit 1' 1 2 13 15
22088 # Create a (secure) tmp directory for tmp files.
22091 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22092 test -d "$tmp"
22093 } ||
22095 tmp=./conf$$-$RANDOM
22096 (umask 077 && mkdir "$tmp")
22097 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22098 ac_tmp=$tmp
22100 # Set up the scripts for CONFIG_FILES section.
22101 # No need to generate them if there are no CONFIG_FILES.
22102 # This happens for instance with `./config.status config.h'.
22103 if test -n "$CONFIG_FILES"; then
22106 ac_cr=`echo X | tr X '\015'`
22107 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22108 # But we know of no other shell where ac_cr would be empty at this
22109 # point, so we can use a bashism as a fallback.
22110 if test "x$ac_cr" = x; then
22111 eval ac_cr=\$\'\\r\'
22113 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22114 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22115 ac_cs_awk_cr='\\r'
22116 else
22117 ac_cs_awk_cr=$ac_cr
22120 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22121 _ACEOF
22125 echo "cat >conf$$subs.awk <<_ACEOF" &&
22126 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22127 echo "_ACEOF"
22128 } >conf$$subs.sh ||
22129 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22130 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22131 ac_delim='%!_!# '
22132 for ac_last_try in false false false false false :; do
22133 . ./conf$$subs.sh ||
22134 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22136 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22137 if test $ac_delim_n = $ac_delim_num; then
22138 break
22139 elif $ac_last_try; then
22140 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22141 else
22142 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22144 done
22145 rm -f conf$$subs.sh
22147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22148 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22149 _ACEOF
22150 sed -n '
22152 s/^/S["/; s/!.*/"]=/
22155 s/^[^!]*!//
22156 :repl
22157 t repl
22158 s/'"$ac_delim"'$//
22159 t delim
22162 s/\(.\{148\}\)..*/\1/
22163 t more1
22164 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22167 b repl
22168 :more1
22169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22172 s/.\{148\}//
22173 t nl
22174 :delim
22176 s/\(.\{148\}\)..*/\1/
22177 t more2
22178 s/["\\]/\\&/g; s/^/"/; s/$/"/
22181 :more2
22182 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22185 s/.\{148\}//
22186 t delim
22187 ' <conf$$subs.awk | sed '
22188 /^[^""]/{
22190 s/\n//
22192 ' >>$CONFIG_STATUS || ac_write_fail=1
22193 rm -f conf$$subs.awk
22194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22195 _ACAWK
22196 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22197 for (key in S) S_is_set[key] = 1
22198 FS = "\a"
22202 line = $ 0
22203 nfields = split(line, field, "@")
22204 substed = 0
22205 len = length(field[1])
22206 for (i = 2; i < nfields; i++) {
22207 key = field[i]
22208 keylen = length(key)
22209 if (S_is_set[key]) {
22210 value = S[key]
22211 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22212 len += length(value) + length(field[++i])
22213 substed = 1
22214 } else
22215 len += 1 + keylen
22218 print line
22221 _ACAWK
22222 _ACEOF
22223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22224 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22225 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22226 else
22228 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22229 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22230 _ACEOF
22232 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22233 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22234 # trailing colons and then remove the whole line if VPATH becomes empty
22235 # (actually we leave an empty line to preserve line numbers).
22236 if test "x$srcdir" = x.; then
22237 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22239 s///
22240 s/^/:/
22241 s/[ ]*$/:/
22242 s/:\$(srcdir):/:/g
22243 s/:\${srcdir}:/:/g
22244 s/:@srcdir@:/:/g
22245 s/^:*//
22246 s/:*$//
22248 s/\(=[ ]*\).*/\1/
22250 s/\n//
22251 s/^[^=]*=[ ]*$//
22255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22256 fi # test -n "$CONFIG_FILES"
22258 # Set up the scripts for CONFIG_HEADERS section.
22259 # No need to generate them if there are no CONFIG_HEADERS.
22260 # This happens for instance with `./config.status Makefile'.
22261 if test -n "$CONFIG_HEADERS"; then
22262 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22263 BEGIN {
22264 _ACEOF
22266 # Transform confdefs.h into an awk script `defines.awk', embedded as
22267 # here-document in config.status, that substitutes the proper values into
22268 # config.h.in to produce config.h.
22270 # Create a delimiter string that does not exist in confdefs.h, to ease
22271 # handling of long lines.
22272 ac_delim='%!_!# '
22273 for ac_last_try in false false :; do
22274 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22275 if test -z "$ac_tt"; then
22276 break
22277 elif $ac_last_try; then
22278 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22279 else
22280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22282 done
22284 # For the awk script, D is an array of macro values keyed by name,
22285 # likewise P contains macro parameters if any. Preserve backslash
22286 # newline sequences.
22288 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22289 sed -n '
22290 s/.\{148\}/&'"$ac_delim"'/g
22291 t rset
22292 :rset
22293 s/^[ ]*#[ ]*define[ ][ ]*/ /
22294 t def
22296 :def
22297 s/\\$//
22298 t bsnl
22299 s/["\\]/\\&/g
22300 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22301 D["\1"]=" \3"/p
22302 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22304 :bsnl
22305 s/["\\]/\\&/g
22306 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22307 D["\1"]=" \3\\\\\\n"\\/p
22308 t cont
22309 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22310 t cont
22312 :cont
22314 s/.\{148\}/&'"$ac_delim"'/g
22315 t clear
22316 :clear
22317 s/\\$//
22318 t bsnlc
22319 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22321 :bsnlc
22322 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22323 b cont
22324 ' <confdefs.h | sed '
22325 s/'"$ac_delim"'/"\\\
22326 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22329 for (key in D) D_is_set[key] = 1
22330 FS = "\a"
22332 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22333 line = \$ 0
22334 split(line, arg, " ")
22335 if (arg[1] == "#") {
22336 defundef = arg[2]
22337 mac1 = arg[3]
22338 } else {
22339 defundef = substr(arg[1], 2)
22340 mac1 = arg[2]
22342 split(mac1, mac2, "(") #)
22343 macro = mac2[1]
22344 prefix = substr(line, 1, index(line, defundef) - 1)
22345 if (D_is_set[macro]) {
22346 # Preserve the white space surrounding the "#".
22347 print prefix "define", macro P[macro] D[macro]
22348 next
22349 } else {
22350 # Replace #undef with comments. This is necessary, for example,
22351 # in the case of _POSIX_SOURCE, which is predefined and required
22352 # on some systems where configure will not decide to define it.
22353 if (defundef == "undef") {
22354 print "/*", prefix defundef, macro, "*/"
22355 next
22359 { print }
22360 _ACAWK
22361 _ACEOF
22362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22363 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22364 fi # test -n "$CONFIG_HEADERS"
22367 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22368 shift
22369 for ac_tag
22371 case $ac_tag in
22372 :[FHLC]) ac_mode=$ac_tag; continue;;
22373 esac
22374 case $ac_mode$ac_tag in
22375 :[FHL]*:*);;
22376 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22377 :[FH]-) ac_tag=-:-;;
22378 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22379 esac
22380 ac_save_IFS=$IFS
22381 IFS=:
22382 set x $ac_tag
22383 IFS=$ac_save_IFS
22384 shift
22385 ac_file=$1
22386 shift
22388 case $ac_mode in
22389 :L) ac_source=$1;;
22390 :[FH])
22391 ac_file_inputs=
22392 for ac_f
22394 case $ac_f in
22395 -) ac_f="$ac_tmp/stdin";;
22396 *) # Look for the file first in the build tree, then in the source tree
22397 # (if the path is not absolute). The absolute path cannot be DOS-style,
22398 # because $ac_f cannot contain `:'.
22399 test -f "$ac_f" ||
22400 case $ac_f in
22401 [\\/$]*) false;;
22402 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22403 esac ||
22404 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22405 esac
22406 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22407 as_fn_append ac_file_inputs " '$ac_f'"
22408 done
22410 # Let's still pretend it is `configure' which instantiates (i.e., don't
22411 # use $as_me), people would be surprised to read:
22412 # /* config.h. Generated by config.status. */
22413 configure_input='Generated from '`
22414 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22415 `' by configure.'
22416 if test x"$ac_file" != x-; then
22417 configure_input="$ac_file. $configure_input"
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22419 $as_echo "$as_me: creating $ac_file" >&6;}
22421 # Neutralize special characters interpreted by sed in replacement strings.
22422 case $configure_input in #(
22423 *\&* | *\|* | *\\* )
22424 ac_sed_conf_input=`$as_echo "$configure_input" |
22425 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22426 *) ac_sed_conf_input=$configure_input;;
22427 esac
22429 case $ac_tag in
22430 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22431 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22432 esac
22434 esac
22436 ac_dir=`$as_dirname -- "$ac_file" ||
22437 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22438 X"$ac_file" : 'X\(//\)[^/]' \| \
22439 X"$ac_file" : 'X\(//\)$' \| \
22440 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22441 $as_echo X"$ac_file" |
22442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22443 s//\1/
22446 /^X\(\/\/\)[^/].*/{
22447 s//\1/
22450 /^X\(\/\/\)$/{
22451 s//\1/
22454 /^X\(\/\).*/{
22455 s//\1/
22458 s/.*/./; q'`
22459 as_dir="$ac_dir"; as_fn_mkdir_p
22460 ac_builddir=.
22462 case "$ac_dir" in
22463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22466 # A ".." for each directory in $ac_dir_suffix.
22467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22468 case $ac_top_builddir_sub in
22469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22471 esac ;;
22472 esac
22473 ac_abs_top_builddir=$ac_pwd
22474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22475 # for backward compatibility:
22476 ac_top_builddir=$ac_top_build_prefix
22478 case $srcdir in
22479 .) # We are building in place.
22480 ac_srcdir=.
22481 ac_top_srcdir=$ac_top_builddir_sub
22482 ac_abs_top_srcdir=$ac_pwd ;;
22483 [\\/]* | ?:[\\/]* ) # Absolute name.
22484 ac_srcdir=$srcdir$ac_dir_suffix;
22485 ac_top_srcdir=$srcdir
22486 ac_abs_top_srcdir=$srcdir ;;
22487 *) # Relative name.
22488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22489 ac_top_srcdir=$ac_top_build_prefix$srcdir
22490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22491 esac
22492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22495 case $ac_mode in
22498 # CONFIG_FILE
22501 _ACEOF
22503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22504 # If the template does not know about datarootdir, expand it.
22505 # FIXME: This hack should be removed a few years after 2.60.
22506 ac_datarootdir_hack=; ac_datarootdir_seen=
22507 ac_sed_dataroot='
22508 /datarootdir/ {
22512 /@datadir@/p
22513 /@docdir@/p
22514 /@infodir@/p
22515 /@localedir@/p
22516 /@mandir@/p'
22517 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22518 *datarootdir*) ac_datarootdir_seen=yes;;
22519 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22521 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22522 _ACEOF
22523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22524 ac_datarootdir_hack='
22525 s&@datadir@&$datadir&g
22526 s&@docdir@&$docdir&g
22527 s&@infodir@&$infodir&g
22528 s&@localedir@&$localedir&g
22529 s&@mandir@&$mandir&g
22530 s&\\\${datarootdir}&$datarootdir&g' ;;
22531 esac
22532 _ACEOF
22534 # Neutralize VPATH when `$srcdir' = `.'.
22535 # Shell code in configure.ac might set extrasub.
22536 # FIXME: do we really want to maintain this feature?
22537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22538 ac_sed_extra="$ac_vpsub
22539 $extrasub
22540 _ACEOF
22541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22544 s|@configure_input@|$ac_sed_conf_input|;t t
22545 s&@top_builddir@&$ac_top_builddir_sub&;t t
22546 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22547 s&@srcdir@&$ac_srcdir&;t t
22548 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22549 s&@top_srcdir@&$ac_top_srcdir&;t t
22550 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22551 s&@builddir@&$ac_builddir&;t t
22552 s&@abs_builddir@&$ac_abs_builddir&;t t
22553 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22554 $ac_datarootdir_hack
22556 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22557 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22559 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22560 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22561 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22562 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22564 which seems to be undefined. Please make sure it is defined" >&5
22565 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22566 which seems to be undefined. Please make sure it is defined" >&2;}
22568 rm -f "$ac_tmp/stdin"
22569 case $ac_file in
22570 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22571 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22572 esac \
22573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22577 # CONFIG_HEADER
22579 if test x"$ac_file" != x-; then
22581 $as_echo "/* $configure_input */" \
22582 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22583 } >"$ac_tmp/config.h" \
22584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22585 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22587 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22588 else
22589 rm -f "$ac_file"
22590 mv "$ac_tmp/config.h" "$ac_file" \
22591 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22593 else
22594 $as_echo "/* $configure_input */" \
22595 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22596 || as_fn_error $? "could not create -" "$LINENO" 5
22601 # CONFIG_LINK
22604 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22606 else
22607 # Prefer the file from the source tree if names are identical.
22608 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22609 ac_source=$srcdir/$ac_source
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22613 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22615 if test ! -r "$ac_source"; then
22616 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22618 rm -f "$ac_file"
22620 # Try a relative symlink, then a hard link, then a copy.
22621 case $ac_source in
22622 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22623 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22624 esac
22625 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22626 ln "$ac_source" "$ac_file" 2>/dev/null ||
22627 cp -p "$ac_source" "$ac_file" ||
22628 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22631 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22632 $as_echo "$as_me: executing $ac_file commands" >&6;}
22634 esac
22637 case $ac_file$ac_mode in
22638 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22639 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22640 "Makefile":C) wine_fn_output_makefile Makefile ;;
22642 esac
22643 done # for ac_tag
22646 as_fn_exit 0
22647 _ACEOF
22648 ac_clean_files=$ac_clean_files_save
22650 test $ac_write_fail = 0 ||
22651 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22654 # configure is writing to config.log, and then calls config.status.
22655 # config.status does its own redirection, appending to config.log.
22656 # Unfortunately, on DOS this fails, as config.log is still kept open
22657 # by configure, so config.status won't be able to write to it; its
22658 # output is simply discarded. So we exec the FD to /dev/null,
22659 # effectively closing config.log, so it can be properly (re)opened and
22660 # appended to by config.status. When coming back to configure, we
22661 # need to make the FD available again.
22662 if test "$no_create" != yes; then
22663 ac_cs_success=:
22664 ac_config_status_args=
22665 test "$silent" = yes &&
22666 ac_config_status_args="$ac_config_status_args --quiet"
22667 exec 5>/dev/null
22668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22669 exec 5>>config.log
22670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22671 # would make configure fail if this is the last instruction.
22672 $ac_cs_success || as_fn_exit 1
22674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22680 if test "$no_create" = "yes"
22681 then
22682 exit 0
22685 ac_save_IFS="$IFS"
22686 if test "x$wine_notices" != x; then
22687 echo >&6
22688 IFS="|"
22689 for msg in $wine_notices; do
22690 IFS="$ac_save_IFS"
22691 if ${msg:+false} :; then :
22693 else
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22695 $as_echo "$as_me: $msg" >&6;}
22697 done
22699 IFS="|"
22700 for msg in $wine_warnings; do
22701 IFS="$ac_save_IFS"
22702 if ${msg:+false} :; then :
22704 else
22705 echo >&2
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22707 $as_echo "$as_me: WARNING: $msg" >&2;}
22709 done
22710 IFS="$ac_save_IFS"
22712 $as_echo "
22713 $as_me: Finished. Do '${ac_make}' to compile Wine.
22714 " >&6