d3d11: Don't grab wined3d lock for reference incrementing functions.
[wine.git] / configure
blobd1edbdc684a16ff6700a2be72441a03dbbc9d517
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.19.
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.19'
584 PACKAGE_STRING='Wine 6.19'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 TOOLSEXT
632 MSVCRTFLAGS
633 VKD3D_SHADER_LIBS
634 VKD3D_SHADER_CFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 MPG123_LIBS
641 MPG123_CFLAGS
642 TIFF_LIBS
643 TIFF_CFLAGS
644 PNG_LIBS
645 PNG_CFLAGS
646 JXRLIB_LIBS
647 JXRLIB_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 USB_LIBS
686 USB_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 EXCESS_PRECISION_CFLAGS
709 CROSSDEBUG
710 DELAYLOADFLAG
711 CROSSLDFLAGS
712 EXTRACROSSCFLAGS
713 CROSSCFLAGS
714 CROSSCC
715 CROSSTARGET
716 LIBWINE_DEPENDS
717 PRELINK
718 WINELOADER_DEPENDS
719 LIBWINE_LDFLAGS
720 LIBWINE_SHAREDLIB
721 METAL_LIBS
722 CARBON_LIBS
723 QUICKTIME_LIBS
724 OPENCL_LIBS
725 OPENAL_LIBS
726 COREAUDIO_LIBS
727 SECURITY_LIBS
728 DISKARBITRATION_LIBS
729 SYSTEMCONFIGURATION_LIBS
730 APPKIT_LIBS
731 CORESERVICES_LIBS
732 APPLICATIONSERVICES_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 UNIXLDFLAGS
752 UNIXDLLFLAGS
753 EXTRACFLAGS
754 LDEXECFLAGS
755 LDDLLFLAGS
756 DLLFLAGS
758 OPENGL_LIBS
759 I386_LIBS
760 ICOTOOL
761 CONVERT
762 RSVG
763 FONTFORGE
764 PKG_CONFIG
765 MSGFMT
766 LDCONFIG
767 EGREP
768 GREP
769 LN_S
770 RANLIB
771 STRIP
772 ac_ct_AR
774 BISON
775 FLEX
776 TOOLSDIR
777 TARGETFLAGS
779 CPPBIN
780 ac_ct_CXX
781 CXXFLAGS
783 OBJEXT
784 EXEEXT
785 ac_ct_CC
786 CPPFLAGS
787 LDFLAGS
788 CFLAGS
790 SET_MAKE
791 host_os
792 host_vendor
793 host_cpu
794 host
795 build_os
796 build_vendor
797 build_cpu
798 build
799 target_alias
800 host_alias
801 build_alias
802 LIBS
803 ECHO_T
804 ECHO_N
805 ECHO_C
806 DEFS
807 mandir
808 localedir
809 libdir
810 psdir
811 pdfdir
812 dvidir
813 htmldir
814 infodir
815 docdir
816 oldincludedir
817 includedir
818 runstatedir
819 localstatedir
820 sharedstatedir
821 sysconfdir
822 datadir
823 datarootdir
824 libexecdir
825 sbindir
826 bindir
827 program_transform_name
828 prefix
829 exec_prefix
830 PACKAGE_URL
831 PACKAGE_BUGREPORT
832 PACKAGE_STRING
833 PACKAGE_VERSION
834 PACKAGE_TARNAME
835 PACKAGE_NAME
836 PATH_SEPARATOR
837 SHELL'
838 ac_subst_files=''
839 ac_user_opts='
840 enable_option_checking
841 enable_win16
842 enable_win64
843 enable_tests
844 enable_build_id
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_adsldp
916 enable_adsldpc
917 enable_advapi32
918 enable_advpack
919 enable_amsi
920 enable_amstream
921 enable_api_ms_win_appmodel_identity_l1_1_0
922 enable_api_ms_win_appmodel_runtime_l1_1_1
923 enable_api_ms_win_appmodel_runtime_l1_1_2
924 enable_api_ms_win_core_apiquery_l1_1_0
925 enable_api_ms_win_core_appcompat_l1_1_1
926 enable_api_ms_win_core_appinit_l1_1_0
927 enable_api_ms_win_core_atoms_l1_1_0
928 enable_api_ms_win_core_bem_l1_1_0
929 enable_api_ms_win_core_com_l1_1_0
930 enable_api_ms_win_core_com_l1_1_1
931 enable_api_ms_win_core_com_private_l1_1_0
932 enable_api_ms_win_core_comm_l1_1_0
933 enable_api_ms_win_core_console_l1_1_0
934 enable_api_ms_win_core_console_l1_2_0
935 enable_api_ms_win_core_console_l2_1_0
936 enable_api_ms_win_core_console_l3_2_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_featurestaging_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_0
951 enable_api_ms_win_core_fibers_l1_1_1
952 enable_api_ms_win_core_file_ansi_l2_1_0
953 enable_api_ms_win_core_file_fromapp_l1_1_0
954 enable_api_ms_win_core_file_l1_1_0
955 enable_api_ms_win_core_file_l1_2_0
956 enable_api_ms_win_core_file_l1_2_1
957 enable_api_ms_win_core_file_l1_2_2
958 enable_api_ms_win_core_file_l2_1_0
959 enable_api_ms_win_core_file_l2_1_1
960 enable_api_ms_win_core_file_l2_1_2
961 enable_api_ms_win_core_handle_l1_1_0
962 enable_api_ms_win_core_heap_l1_1_0
963 enable_api_ms_win_core_heap_l1_2_0
964 enable_api_ms_win_core_heap_l2_1_0
965 enable_api_ms_win_core_heap_obsolete_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_2_0
968 enable_api_ms_win_core_io_l1_1_0
969 enable_api_ms_win_core_io_l1_1_1
970 enable_api_ms_win_core_job_l1_1_0
971 enable_api_ms_win_core_job_l2_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_1
974 enable_api_ms_win_core_kernel32_legacy_l1_1_2
975 enable_api_ms_win_core_kernel32_legacy_l1_1_5
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_l1_1_0
1014 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1015 enable_api_ms_win_core_profile_l1_1_0
1016 enable_api_ms_win_core_psapi_ansi_l1_1_0
1017 enable_api_ms_win_core_psapi_l1_1_0
1018 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1019 enable_api_ms_win_core_psm_appnotify_l1_1_0
1020 enable_api_ms_win_core_quirks_l1_1_0
1021 enable_api_ms_win_core_realtime_l1_1_0
1022 enable_api_ms_win_core_realtime_l1_1_1
1023 enable_api_ms_win_core_registry_l1_1_0
1024 enable_api_ms_win_core_registry_l2_1_0
1025 enable_api_ms_win_core_registry_l2_2_0
1026 enable_api_ms_win_core_registryuserspecific_l1_1_0
1027 enable_api_ms_win_core_rtlsupport_l1_1_0
1028 enable_api_ms_win_core_rtlsupport_l1_2_0
1029 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1030 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1031 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1032 enable_api_ms_win_core_shutdown_l1_1_0
1033 enable_api_ms_win_core_sidebyside_l1_1_0
1034 enable_api_ms_win_core_string_l1_1_0
1035 enable_api_ms_win_core_string_l2_1_0
1036 enable_api_ms_win_core_string_obsolete_l1_1_0
1037 enable_api_ms_win_core_stringansi_l1_1_0
1038 enable_api_ms_win_core_stringloader_l1_1_1
1039 enable_api_ms_win_core_synch_ansi_l1_1_0
1040 enable_api_ms_win_core_synch_l1_1_0
1041 enable_api_ms_win_core_synch_l1_2_0
1042 enable_api_ms_win_core_synch_l1_2_1
1043 enable_api_ms_win_core_sysinfo_l1_1_0
1044 enable_api_ms_win_core_sysinfo_l1_2_0
1045 enable_api_ms_win_core_sysinfo_l1_2_1
1046 enable_api_ms_win_core_systemtopology_l1_1_0
1047 enable_api_ms_win_core_threadpool_l1_1_0
1048 enable_api_ms_win_core_threadpool_l1_2_0
1049 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1050 enable_api_ms_win_core_threadpool_private_l1_1_0
1051 enable_api_ms_win_core_timezone_l1_1_0
1052 enable_api_ms_win_core_toolhelp_l1_1_0
1053 enable_api_ms_win_core_url_l1_1_0
1054 enable_api_ms_win_core_util_l1_1_0
1055 enable_api_ms_win_core_version_l1_1_0
1056 enable_api_ms_win_core_version_l1_1_1
1057 enable_api_ms_win_core_version_private_l1_1_0
1058 enable_api_ms_win_core_versionansi_l1_1_0
1059 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1060 enable_api_ms_win_core_winrt_error_l1_1_0
1061 enable_api_ms_win_core_winrt_error_l1_1_1
1062 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1063 enable_api_ms_win_core_winrt_l1_1_0
1064 enable_api_ms_win_core_winrt_registration_l1_1_0
1065 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1066 enable_api_ms_win_core_winrt_string_l1_1_0
1067 enable_api_ms_win_core_winrt_string_l1_1_1
1068 enable_api_ms_win_core_wow64_l1_1_0
1069 enable_api_ms_win_core_wow64_l1_1_1
1070 enable_api_ms_win_core_xstate_l1_1_0
1071 enable_api_ms_win_core_xstate_l2_1_0
1072 enable_api_ms_win_crt_conio_l1_1_0
1073 enable_api_ms_win_crt_convert_l1_1_0
1074 enable_api_ms_win_crt_environment_l1_1_0
1075 enable_api_ms_win_crt_filesystem_l1_1_0
1076 enable_api_ms_win_crt_heap_l1_1_0
1077 enable_api_ms_win_crt_locale_l1_1_0
1078 enable_api_ms_win_crt_math_l1_1_0
1079 enable_api_ms_win_crt_multibyte_l1_1_0
1080 enable_api_ms_win_crt_private_l1_1_0
1081 enable_api_ms_win_crt_process_l1_1_0
1082 enable_api_ms_win_crt_runtime_l1_1_0
1083 enable_api_ms_win_crt_stdio_l1_1_0
1084 enable_api_ms_win_crt_string_l1_1_0
1085 enable_api_ms_win_crt_time_l1_1_0
1086 enable_api_ms_win_crt_utility_l1_1_0
1087 enable_api_ms_win_devices_config_l1_1_0
1088 enable_api_ms_win_devices_config_l1_1_1
1089 enable_api_ms_win_devices_query_l1_1_1
1090 enable_api_ms_win_downlevel_advapi32_l1_1_0
1091 enable_api_ms_win_downlevel_advapi32_l2_1_0
1092 enable_api_ms_win_downlevel_kernel32_l2_1_0
1093 enable_api_ms_win_downlevel_normaliz_l1_1_0
1094 enable_api_ms_win_downlevel_ole32_l1_1_0
1095 enable_api_ms_win_downlevel_shell32_l1_1_0
1096 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1097 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1098 enable_api_ms_win_downlevel_user32_l1_1_0
1099 enable_api_ms_win_downlevel_version_l1_1_0
1100 enable_api_ms_win_dx_d3dkmt_l1_1_0
1101 enable_api_ms_win_eventing_classicprovider_l1_1_0
1102 enable_api_ms_win_eventing_consumer_l1_1_0
1103 enable_api_ms_win_eventing_controller_l1_1_0
1104 enable_api_ms_win_eventing_legacy_l1_1_0
1105 enable_api_ms_win_eventing_provider_l1_1_0
1106 enable_api_ms_win_eventlog_legacy_l1_1_0
1107 enable_api_ms_win_gaming_tcui_l1_1_0
1108 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1109 enable_api_ms_win_mm_joystick_l1_1_0
1110 enable_api_ms_win_mm_misc_l1_1_1
1111 enable_api_ms_win_mm_mme_l1_1_0
1112 enable_api_ms_win_mm_time_l1_1_0
1113 enable_api_ms_win_ntuser_dc_access_l1_1_0
1114 enable_api_ms_win_ntuser_rectangle_l1_1_0
1115 enable_api_ms_win_ntuser_sysparams_l1_1_0
1116 enable_api_ms_win_perf_legacy_l1_1_0
1117 enable_api_ms_win_power_base_l1_1_0
1118 enable_api_ms_win_power_setting_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1122 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1123 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1124 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1125 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1126 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1127 enable_api_ms_win_security_audit_l1_1_1
1128 enable_api_ms_win_security_base_l1_1_0
1129 enable_api_ms_win_security_base_l1_2_0
1130 enable_api_ms_win_security_base_private_l1_1_1
1131 enable_api_ms_win_security_credentials_l1_1_0
1132 enable_api_ms_win_security_cryptoapi_l1_1_0
1133 enable_api_ms_win_security_grouppolicy_l1_1_0
1134 enable_api_ms_win_security_lsalookup_l1_1_0
1135 enable_api_ms_win_security_lsalookup_l1_1_1
1136 enable_api_ms_win_security_lsalookup_l2_1_0
1137 enable_api_ms_win_security_lsalookup_l2_1_1
1138 enable_api_ms_win_security_lsapolicy_l1_1_0
1139 enable_api_ms_win_security_provider_l1_1_0
1140 enable_api_ms_win_security_sddl_l1_1_0
1141 enable_api_ms_win_security_systemfunctions_l1_1_0
1142 enable_api_ms_win_service_core_l1_1_0
1143 enable_api_ms_win_service_core_l1_1_1
1144 enable_api_ms_win_service_management_l1_1_0
1145 enable_api_ms_win_service_management_l2_1_0
1146 enable_api_ms_win_service_private_l1_1_1
1147 enable_api_ms_win_service_winsvc_l1_1_0
1148 enable_api_ms_win_service_winsvc_l1_2_0
1149 enable_api_ms_win_shcore_obsolete_l1_1_0
1150 enable_api_ms_win_shcore_scaling_l1_1_0
1151 enable_api_ms_win_shcore_scaling_l1_1_1
1152 enable_api_ms_win_shcore_stream_l1_1_0
1153 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1154 enable_api_ms_win_shcore_thread_l1_1_0
1155 enable_api_ms_win_shell_shellcom_l1_1_0
1156 enable_api_ms_win_shell_shellfolders_l1_1_0
1157 enable_apphelp
1158 enable_appwiz_cpl
1159 enable_atl
1160 enable_atl100
1161 enable_atl110
1162 enable_atl80
1163 enable_atl90
1164 enable_atlthunk
1165 enable_atmlib
1166 enable_authz
1167 enable_avicap32
1168 enable_avifil32
1169 enable_avrt
1170 enable_bcrypt
1171 enable_bluetoothapis
1172 enable_browseui
1173 enable_bthprops_cpl
1174 enable_cabinet
1175 enable_capi2032
1176 enable_cards
1177 enable_cdosys
1178 enable_cfgmgr32
1179 enable_clusapi
1180 enable_combase
1181 enable_comcat
1182 enable_comctl32
1183 enable_comdlg32
1184 enable_compstui
1185 enable_comsvcs
1186 enable_concrt140
1187 enable_connect
1188 enable_credui
1189 enable_crtdll
1190 enable_crypt32
1191 enable_cryptdlg
1192 enable_cryptdll
1193 enable_cryptext
1194 enable_cryptnet
1195 enable_cryptsp
1196 enable_cryptui
1197 enable_ctapi32
1198 enable_ctl3d32
1199 enable_d2d1
1200 enable_d3d10
1201 enable_d3d10_1
1202 enable_d3d10core
1203 enable_d3d11
1204 enable_d3d12
1205 enable_d3d8
1206 enable_d3d8thk
1207 enable_d3d9
1208 enable_d3dcompiler_33
1209 enable_d3dcompiler_34
1210 enable_d3dcompiler_35
1211 enable_d3dcompiler_36
1212 enable_d3dcompiler_37
1213 enable_d3dcompiler_38
1214 enable_d3dcompiler_39
1215 enable_d3dcompiler_40
1216 enable_d3dcompiler_41
1217 enable_d3dcompiler_42
1218 enable_d3dcompiler_43
1219 enable_d3dcompiler_46
1220 enable_d3dcompiler_47
1221 enable_d3dim
1222 enable_d3dim700
1223 enable_d3drm
1224 enable_d3dx10_33
1225 enable_d3dx10_34
1226 enable_d3dx10_35
1227 enable_d3dx10_36
1228 enable_d3dx10_37
1229 enable_d3dx10_38
1230 enable_d3dx10_39
1231 enable_d3dx10_40
1232 enable_d3dx10_41
1233 enable_d3dx10_42
1234 enable_d3dx10_43
1235 enable_d3dx11_42
1236 enable_d3dx11_43
1237 enable_d3dx9_24
1238 enable_d3dx9_25
1239 enable_d3dx9_26
1240 enable_d3dx9_27
1241 enable_d3dx9_28
1242 enable_d3dx9_29
1243 enable_d3dx9_30
1244 enable_d3dx9_31
1245 enable_d3dx9_32
1246 enable_d3dx9_33
1247 enable_d3dx9_34
1248 enable_d3dx9_35
1249 enable_d3dx9_36
1250 enable_d3dx9_37
1251 enable_d3dx9_38
1252 enable_d3dx9_39
1253 enable_d3dx9_40
1254 enable_d3dx9_41
1255 enable_d3dx9_42
1256 enable_d3dx9_43
1257 enable_d3dxof
1258 enable_davclnt
1259 enable_dbgeng
1260 enable_dbghelp
1261 enable_dciman32
1262 enable_dcomp
1263 enable_ddraw
1264 enable_ddrawex
1265 enable_devenum
1266 enable_dhcpcsvc
1267 enable_dhcpcsvc6
1268 enable_dhtmled_ocx
1269 enable_difxapi
1270 enable_dinput
1271 enable_dinput8
1272 enable_directmanipulation
1273 enable_dispex
1274 enable_dmband
1275 enable_dmcompos
1276 enable_dmime
1277 enable_dmloader
1278 enable_dmscript
1279 enable_dmstyle
1280 enable_dmsynth
1281 enable_dmusic
1282 enable_dmusic32
1283 enable_dnsapi
1284 enable_dplay
1285 enable_dplayx
1286 enable_dpnaddr
1287 enable_dpnet
1288 enable_dpnhpast
1289 enable_dpnhupnp
1290 enable_dpnlobby
1291 enable_dpvoice
1292 enable_dpwsockx
1293 enable_drmclien
1294 enable_dsdmo
1295 enable_dsound
1296 enable_dsquery
1297 enable_dssenh
1298 enable_dsuiext
1299 enable_dswave
1300 enable_dwmapi
1301 enable_dwrite
1302 enable_dx8vb
1303 enable_dxdiagn
1304 enable_dxgi
1305 enable_dxtrans
1306 enable_dxva2
1307 enable_esent
1308 enable_evr
1309 enable_explorerframe
1310 enable_ext_ms_win_authz_context_l1_1_0
1311 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1312 enable_ext_ms_win_dwmapi_ext_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_0
1314 enable_ext_ms_win_gdi_dc_create_l1_1_1
1315 enable_ext_ms_win_gdi_dc_l1_2_0
1316 enable_ext_ms_win_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_0
1318 enable_ext_ms_win_gdi_draw_l1_1_1
1319 enable_ext_ms_win_gdi_font_l1_1_0
1320 enable_ext_ms_win_gdi_font_l1_1_1
1321 enable_ext_ms_win_gdi_render_l1_1_0
1322 enable_ext_ms_win_kernel32_package_current_l1_1_0
1323 enable_ext_ms_win_kernel32_package_l1_1_1
1324 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1325 enable_ext_ms_win_ntuser_draw_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_1_0
1327 enable_ext_ms_win_ntuser_gui_l1_3_0
1328 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1329 enable_ext_ms_win_ntuser_message_l1_1_0
1330 enable_ext_ms_win_ntuser_message_l1_1_1
1331 enable_ext_ms_win_ntuser_misc_l1_1_0
1332 enable_ext_ms_win_ntuser_misc_l1_2_0
1333 enable_ext_ms_win_ntuser_misc_l1_5_1
1334 enable_ext_ms_win_ntuser_mouse_l1_1_0
1335 enable_ext_ms_win_ntuser_private_l1_1_1
1336 enable_ext_ms_win_ntuser_private_l1_3_1
1337 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_0
1340 enable_ext_ms_win_ntuser_window_l1_1_1
1341 enable_ext_ms_win_ntuser_window_l1_1_4
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1343 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1344 enable_ext_ms_win_oleacc_l1_1_0
1345 enable_ext_ms_win_ras_rasapi32_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1348 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1353 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1356 enable_ext_ms_win_security_credui_l1_1_0
1357 enable_ext_ms_win_security_cryptui_l1_1_0
1358 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1359 enable_ext_ms_win_shell_comdlg32_l1_1_0
1360 enable_ext_ms_win_shell_shell32_l1_2_0
1361 enable_ext_ms_win_uxtheme_themes_l1_1_0
1362 enable_faultrep
1363 enable_feclient
1364 enable_fltlib
1365 enable_fltmgr_sys
1366 enable_fntcache
1367 enable_fontsub
1368 enable_fusion
1369 enable_fwpuclnt
1370 enable_gameux
1371 enable_gamingtcui
1372 enable_gdi32
1373 enable_gdiplus
1374 enable_glu32
1375 enable_gphoto2_ds
1376 enable_gpkcsp
1377 enable_hal
1378 enable_hhctrl_ocx
1379 enable_hid
1380 enable_hidclass_sys
1381 enable_hidparse_sys
1382 enable_hlink
1383 enable_hnetcfg
1384 enable_http_sys
1385 enable_httpapi
1386 enable_iccvid
1387 enable_icmp
1388 enable_ieframe
1389 enable_ieproxy
1390 enable_imaadp32_acm
1391 enable_imagehlp
1392 enable_imm32
1393 enable_inetcomm
1394 enable_inetcpl_cpl
1395 enable_inetmib1
1396 enable_infosoft
1397 enable_initpki
1398 enable_inkobj
1399 enable_inseng
1400 enable_iphlpapi
1401 enable_iprop
1402 enable_irprops_cpl
1403 enable_itircl
1404 enable_itss
1405 enable_joy_cpl
1406 enable_jscript
1407 enable_jsproxy
1408 enable_kerberos
1409 enable_kernel32
1410 enable_kernelbase
1411 enable_ksecdd_sys
1412 enable_ksproxy_ax
1413 enable_ksuser
1414 enable_ktmw32
1415 enable_l3codeca_acm
1416 enable_light_msstyles
1417 enable_loadperf
1418 enable_localspl
1419 enable_localui
1420 enable_lz32
1421 enable_mapi32
1422 enable_mapistub
1423 enable_mciavi32
1424 enable_mcicda
1425 enable_mciqtz32
1426 enable_mciseq
1427 enable_mciwave
1428 enable_mf
1429 enable_mf3216
1430 enable_mferror
1431 enable_mfmediaengine
1432 enable_mfplat
1433 enable_mfplay
1434 enable_mfreadwrite
1435 enable_mgmtapi
1436 enable_midimap
1437 enable_mlang
1438 enable_mmcndmgr
1439 enable_mmdevapi
1440 enable_mountmgr_sys
1441 enable_mp3dmod
1442 enable_mpr
1443 enable_mprapi
1444 enable_msacm32_drv
1445 enable_msacm32
1446 enable_msado15
1447 enable_msadp32_acm
1448 enable_msasn1
1449 enable_mscat32
1450 enable_mscms
1451 enable_mscoree
1452 enable_mscorwks
1453 enable_msctf
1454 enable_msctfp
1455 enable_msdaps
1456 enable_msdelta
1457 enable_msdmo
1458 enable_msdrm
1459 enable_msftedit
1460 enable_msg711_acm
1461 enable_msgsm32_acm
1462 enable_mshtml_tlb
1463 enable_mshtml
1464 enable_msi
1465 enable_msident
1466 enable_msimg32
1467 enable_msimsg
1468 enable_msimtf
1469 enable_msisip
1470 enable_msisys_ocx
1471 enable_msls31
1472 enable_msnet32
1473 enable_mspatcha
1474 enable_msports
1475 enable_msrle32
1476 enable_msscript_ocx
1477 enable_mssign32
1478 enable_mssip32
1479 enable_mstask
1480 enable_msv1_0
1481 enable_msvcirt
1482 enable_msvcm80
1483 enable_msvcm90
1484 enable_msvcp100
1485 enable_msvcp110
1486 enable_msvcp120
1487 enable_msvcp120_app
1488 enable_msvcp140
1489 enable_msvcp140_1
1490 enable_msvcp60
1491 enable_msvcp70
1492 enable_msvcp71
1493 enable_msvcp80
1494 enable_msvcp90
1495 enable_msvcr100
1496 enable_msvcr110
1497 enable_msvcr120
1498 enable_msvcr120_app
1499 enable_msvcr70
1500 enable_msvcr71
1501 enable_msvcr80
1502 enable_msvcr90
1503 enable_msvcrt
1504 enable_msvcrt20
1505 enable_msvcrt40
1506 enable_msvcrtd
1507 enable_msvfw32
1508 enable_msvidc32
1509 enable_mswsock
1510 enable_msxml
1511 enable_msxml2
1512 enable_msxml3
1513 enable_msxml4
1514 enable_msxml6
1515 enable_mtxdm
1516 enable_ncrypt
1517 enable_nddeapi
1518 enable_ndis_sys
1519 enable_netapi32
1520 enable_netcfgx
1521 enable_netio_sys
1522 enable_netprofm
1523 enable_netutils
1524 enable_newdev
1525 enable_ninput
1526 enable_normaliz
1527 enable_npmshtml
1528 enable_npptools
1529 enable_nsi
1530 enable_nsiproxy_sys
1531 enable_ntdll
1532 enable_ntdsapi
1533 enable_ntoskrnl_exe
1534 enable_ntprint
1535 enable_objsel
1536 enable_odbc32
1537 enable_odbcbcp
1538 enable_odbccp32
1539 enable_odbccu32
1540 enable_ole32
1541 enable_oleacc
1542 enable_oleaut32
1543 enable_olecli32
1544 enable_oledb32
1545 enable_oledlg
1546 enable_olepro32
1547 enable_olesvr32
1548 enable_olethk32
1549 enable_opcservices
1550 enable_openal32
1551 enable_opencl
1552 enable_opengl32
1553 enable_packager
1554 enable_pdh
1555 enable_photometadatahandler
1556 enable_pidgen
1557 enable_powrprof
1558 enable_printui
1559 enable_prntvpt
1560 enable_propsys
1561 enable_psapi
1562 enable_pstorec
1563 enable_pwrshplugin
1564 enable_qasf
1565 enable_qcap
1566 enable_qdvd
1567 enable_qedit
1568 enable_qmgr
1569 enable_qmgrprxy
1570 enable_quartz
1571 enable_query
1572 enable_qwave
1573 enable_rasapi32
1574 enable_rasdlg
1575 enable_regapi
1576 enable_resutils
1577 enable_riched20
1578 enable_riched32
1579 enable_rpcrt4
1580 enable_rsabase
1581 enable_rsaenh
1582 enable_rstrtmgr
1583 enable_rtutils
1584 enable_rtworkq
1585 enable_samlib
1586 enable_sane_ds
1587 enable_sapi
1588 enable_sas
1589 enable_scarddlg
1590 enable_sccbase
1591 enable_schannel
1592 enable_schedsvc
1593 enable_scrobj
1594 enable_scrrun
1595 enable_scsiport_sys
1596 enable_sechost
1597 enable_secur32
1598 enable_security
1599 enable_sensapi
1600 enable_serialui
1601 enable_setupapi
1602 enable_sfc
1603 enable_sfc_os
1604 enable_shcore
1605 enable_shdoclc
1606 enable_shdocvw
1607 enable_shell32
1608 enable_shfolder
1609 enable_shlwapi
1610 enable_slbcsp
1611 enable_slc
1612 enable_snmpapi
1613 enable_softpub
1614 enable_spoolss
1615 enable_sppc
1616 enable_srclient
1617 enable_srvcli
1618 enable_sspicli
1619 enable_stdole2_tlb
1620 enable_stdole32_tlb
1621 enable_sti
1622 enable_strmbase
1623 enable_strmdll
1624 enable_svrapi
1625 enable_sxs
1626 enable_t2embed
1627 enable_tapi32
1628 enable_taskschd
1629 enable_tbs
1630 enable_tdh
1631 enable_tdi_sys
1632 enable_traffic
1633 enable_twain_32
1634 enable_tzres
1635 enable_ucrtbase
1636 enable_uianimation
1637 enable_uiautomationcore
1638 enable_uiribbon
1639 enable_unicows
1640 enable_updspapi
1641 enable_url
1642 enable_urlmon
1643 enable_usbd_sys
1644 enable_user32
1645 enable_userenv
1646 enable_usp10
1647 enable_utildll
1648 enable_uxtheme
1649 enable_vbscript
1650 enable_vcomp
1651 enable_vcomp100
1652 enable_vcomp110
1653 enable_vcomp120
1654 enable_vcomp140
1655 enable_vcomp90
1656 enable_vcruntime140
1657 enable_vcruntime140_1
1658 enable_vdmdbg
1659 enable_version
1660 enable_vga
1661 enable_virtdisk
1662 enable_vssapi
1663 enable_vulkan_1
1664 enable_wbemdisp
1665 enable_wbemprox
1666 enable_wdscore
1667 enable_webservices
1668 enable_websocket
1669 enable_wer
1670 enable_wevtapi
1671 enable_wevtsvc
1672 enable_wiaservc
1673 enable_wimgapi
1674 enable_win32u
1675 enable_windows_gaming_input
1676 enable_windows_globalization
1677 enable_windows_media_devices
1678 enable_windows_media_speech
1679 enable_windowscodecs
1680 enable_windowscodecsext
1681 enable_winealsa_drv
1682 enable_wineandroid_drv
1683 enable_winebus_sys
1684 enable_winecoreaudio_drv
1685 enable_winecrt0
1686 enable_wined3d
1687 enable_winegstreamer
1688 enable_winehid_sys
1689 enable_winejoystick_drv
1690 enable_winemac_drv
1691 enable_winemapi
1692 enable_wineoss_drv
1693 enable_wineps_drv
1694 enable_winepulse_drv
1695 enable_wineqtdecoder
1696 enable_wineusb_sys
1697 enable_winevulkan
1698 enable_winex11_drv
1699 enable_winexinput_sys
1700 enable_wing32
1701 enable_winhttp
1702 enable_wininet
1703 enable_winmm
1704 enable_winnls32
1705 enable_winscard
1706 enable_winspool_drv
1707 enable_winsta
1708 enable_wintab32
1709 enable_wintrust
1710 enable_winusb
1711 enable_wlanapi
1712 enable_wlanui
1713 enable_wldap32
1714 enable_wmasf
1715 enable_wmi
1716 enable_wmiutils
1717 enable_wmp
1718 enable_wmphoto
1719 enable_wmvcore
1720 enable_wnaspi32
1721 enable_wow64
1722 enable_wow64cpu
1723 enable_wow64win
1724 enable_wpc
1725 enable_wpcap
1726 enable_ws2_32
1727 enable_wsdapi
1728 enable_wshom_ocx
1729 enable_wsnmp32
1730 enable_wsock32
1731 enable_wtsapi32
1732 enable_wuapi
1733 enable_wuaueng
1734 enable_x3daudio1_0
1735 enable_x3daudio1_1
1736 enable_x3daudio1_2
1737 enable_x3daudio1_3
1738 enable_x3daudio1_4
1739 enable_x3daudio1_5
1740 enable_x3daudio1_6
1741 enable_x3daudio1_7
1742 enable_xactengine2_0
1743 enable_xactengine2_4
1744 enable_xactengine2_7
1745 enable_xactengine2_9
1746 enable_xactengine3_0
1747 enable_xactengine3_1
1748 enable_xactengine3_2
1749 enable_xactengine3_3
1750 enable_xactengine3_4
1751 enable_xactengine3_5
1752 enable_xactengine3_6
1753 enable_xactengine3_7
1754 enable_xapofx1_1
1755 enable_xapofx1_2
1756 enable_xapofx1_3
1757 enable_xapofx1_4
1758 enable_xapofx1_5
1759 enable_xaudio2_0
1760 enable_xaudio2_1
1761 enable_xaudio2_2
1762 enable_xaudio2_3
1763 enable_xaudio2_4
1764 enable_xaudio2_5
1765 enable_xaudio2_6
1766 enable_xaudio2_7
1767 enable_xaudio2_8
1768 enable_xaudio2_9
1769 enable_xinput1_1
1770 enable_xinput1_2
1771 enable_xinput1_3
1772 enable_xinput1_4
1773 enable_xinput9_1_0
1774 enable_xmllite
1775 enable_xolehlp
1776 enable_xpsprint
1777 enable_xpssvcs
1778 enable_fonts
1779 enable_include
1780 enable_adsiid
1781 enable_dmoguids
1782 enable_dxerr8
1783 enable_dxerr9
1784 enable_dxguid
1785 enable_mfuuid
1786 enable_strmiids
1787 enable_uuid
1788 enable_wbemuuid
1789 enable_wine
1790 enable_wmcodecdspuuid
1791 enable_loader
1792 enable_nls
1793 enable_po
1794 enable_arp
1795 enable_aspnet_regiis
1796 enable_attrib
1797 enable_cabarc
1798 enable_cacls
1799 enable_chcp_com
1800 enable_clock
1801 enable_cmd
1802 enable_conhost
1803 enable_control
1804 enable_cscript
1805 enable_dism
1806 enable_dplaysvr
1807 enable_dpnsvr
1808 enable_dpvsetup
1809 enable_dxdiag
1810 enable_eject
1811 enable_expand
1812 enable_explorer
1813 enable_extrac32
1814 enable_fc
1815 enable_find
1816 enable_findstr
1817 enable_fsutil
1818 enable_hh
1819 enable_hostname
1820 enable_icacls
1821 enable_icinfo
1822 enable_iexplore
1823 enable_ipconfig
1824 enable_lodctr
1825 enable_mofcomp
1826 enable_mshta
1827 enable_msidb
1828 enable_msiexec
1829 enable_msinfo32
1830 enable_net
1831 enable_netsh
1832 enable_netstat
1833 enable_ngen
1834 enable_notepad
1835 enable_oleview
1836 enable_ping
1837 enable_plugplay
1838 enable_powershell
1839 enable_presentationfontcache
1840 enable_progman
1841 enable_reg
1842 enable_regasm
1843 enable_regedit
1844 enable_regini
1845 enable_regsvcs
1846 enable_regsvr32
1847 enable_rpcss
1848 enable_rundll32
1849 enable_sc
1850 enable_schtasks
1851 enable_sdbinst
1852 enable_secedit
1853 enable_servicemodelreg
1854 enable_services
1855 enable_shutdown
1856 enable_spoolsv
1857 enable_start
1858 enable_subst
1859 enable_svchost
1860 enable_systeminfo
1861 enable_taskkill
1862 enable_tasklist
1863 enable_taskmgr
1864 enable_termsv
1865 enable_uninstaller
1866 enable_unlodctr
1867 enable_view
1868 enable_wevtutil
1869 enable_where
1870 enable_whoami
1871 enable_wineboot
1872 enable_winebrowser
1873 enable_winecfg
1874 enable_wineconsole
1875 enable_winedbg
1876 enable_winedevice
1877 enable_winefile
1878 enable_winemenubuilder
1879 enable_winemine
1880 enable_winemsibuilder
1881 enable_winepath
1882 enable_winetest
1883 enable_winhlp32
1884 enable_winmgmt
1885 enable_winver
1886 enable_wmic
1887 enable_wmplayer
1888 enable_wordpad
1889 enable_write
1890 enable_wscript
1891 enable_wuauserv
1892 enable_wusa
1893 enable_xcopy
1894 enable_server
1895 enable_tools
1896 enable_sfnt2fon
1897 enable_widl
1898 enable_winebuild
1899 enable_winedump
1900 enable_winegcc
1901 enable_winemaker
1902 enable_wmc
1903 enable_wrc
1905 ac_precious_vars='build_alias
1906 host_alias
1907 target_alias
1909 CFLAGS
1910 LDFLAGS
1911 LIBS
1912 CPPFLAGS
1914 CXXFLAGS
1917 OBJC
1918 OBJCFLAGS
1919 OBJCPP
1920 XMKMF
1921 XML2_CFLAGS
1922 XML2_LIBS
1923 XSLT_CFLAGS
1924 XSLT_LIBS
1925 INOTIFY_CFLAGS
1926 INOTIFY_LIBS
1927 DBUS_CFLAGS
1928 DBUS_LIBS
1929 HAL_CFLAGS
1930 HAL_LIBS
1931 GNUTLS_CFLAGS
1932 GNUTLS_LIBS
1933 SANE_CFLAGS
1934 SANE_LIBS
1935 USB_CFLAGS
1936 USB_LIBS
1937 GPHOTO2_CFLAGS
1938 GPHOTO2_LIBS
1939 GPHOTO2_PORT_CFLAGS
1940 GPHOTO2_PORT_LIBS
1941 LCMS2_CFLAGS
1942 LCMS2_LIBS
1943 FREETYPE_CFLAGS
1944 FREETYPE_LIBS
1945 PULSE_CFLAGS
1946 PULSE_LIBS
1947 GSTREAMER_CFLAGS
1948 GSTREAMER_LIBS
1949 UDEV_CFLAGS
1950 UDEV_LIBS
1951 UNWIND_CFLAGS
1952 UNWIND_LIBS
1953 SDL2_CFLAGS
1954 SDL2_LIBS
1955 FAUDIO_CFLAGS
1956 FAUDIO_LIBS
1957 CAPI20_CFLAGS
1958 CAPI20_LIBS
1959 CUPS_CFLAGS
1960 CUPS_LIBS
1961 FONTCONFIG_CFLAGS
1962 FONTCONFIG_LIBS
1963 KRB5_CFLAGS
1964 KRB5_LIBS
1965 GSSAPI_CFLAGS
1966 GSSAPI_LIBS
1967 JPEG_CFLAGS
1968 JPEG_LIBS
1969 JXRLIB_CFLAGS
1970 JXRLIB_LIBS
1971 PNG_CFLAGS
1972 PNG_LIBS
1973 TIFF_CFLAGS
1974 TIFF_LIBS
1975 MPG123_CFLAGS
1976 MPG123_LIBS
1977 NETAPI_CFLAGS
1978 NETAPI_LIBS
1979 VKD3D_CFLAGS
1980 VKD3D_LIBS
1981 VKD3D_SHADER_CFLAGS
1982 VKD3D_SHADER_LIBS
1983 LDAP_CFLAGS
1984 LDAP_LIBS'
1987 # Initialize some variables set by options.
1988 ac_init_help=
1989 ac_init_version=false
1990 ac_unrecognized_opts=
1991 ac_unrecognized_sep=
1992 # The variables have the same names as the options, with
1993 # dashes changed to underlines.
1994 cache_file=/dev/null
1995 exec_prefix=NONE
1996 no_create=
1997 no_recursion=
1998 prefix=NONE
1999 program_prefix=NONE
2000 program_suffix=NONE
2001 program_transform_name=s,x,x,
2002 silent=
2003 site=
2004 srcdir=
2005 verbose=
2006 x_includes=NONE
2007 x_libraries=NONE
2009 # Installation directory options.
2010 # These are left unexpanded so users can "make install exec_prefix=/foo"
2011 # and all the variables that are supposed to be based on exec_prefix
2012 # by default will actually change.
2013 # Use braces instead of parens because sh, perl, etc. also accept them.
2014 # (The list follows the same order as the GNU Coding Standards.)
2015 bindir='${exec_prefix}/bin'
2016 sbindir='${exec_prefix}/sbin'
2017 libexecdir='${exec_prefix}/libexec'
2018 datarootdir='${prefix}/share'
2019 datadir='${datarootdir}'
2020 sysconfdir='${prefix}/etc'
2021 sharedstatedir='${prefix}/com'
2022 localstatedir='${prefix}/var'
2023 runstatedir='${localstatedir}/run'
2024 includedir='${prefix}/include'
2025 oldincludedir='/usr/include'
2026 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2027 infodir='${datarootdir}/info'
2028 htmldir='${docdir}'
2029 dvidir='${docdir}'
2030 pdfdir='${docdir}'
2031 psdir='${docdir}'
2032 libdir='${exec_prefix}/lib'
2033 localedir='${datarootdir}/locale'
2034 mandir='${datarootdir}/man'
2036 ac_prev=
2037 ac_dashdash=
2038 for ac_option
2040 # If the previous option needs an argument, assign it.
2041 if test -n "$ac_prev"; then
2042 eval $ac_prev=\$ac_option
2043 ac_prev=
2044 continue
2047 case $ac_option in
2048 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2049 *=) ac_optarg= ;;
2050 *) ac_optarg=yes ;;
2051 esac
2053 # Accept the important Cygnus configure options, so we can diagnose typos.
2055 case $ac_dashdash$ac_option in
2057 ac_dashdash=yes ;;
2059 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2060 ac_prev=bindir ;;
2061 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2062 bindir=$ac_optarg ;;
2064 -build | --build | --buil | --bui | --bu)
2065 ac_prev=build_alias ;;
2066 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2067 build_alias=$ac_optarg ;;
2069 -cache-file | --cache-file | --cache-fil | --cache-fi \
2070 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2071 ac_prev=cache_file ;;
2072 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2073 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2074 cache_file=$ac_optarg ;;
2076 --config-cache | -C)
2077 cache_file=config.cache ;;
2079 -datadir | --datadir | --datadi | --datad)
2080 ac_prev=datadir ;;
2081 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2082 datadir=$ac_optarg ;;
2084 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2085 | --dataroo | --dataro | --datar)
2086 ac_prev=datarootdir ;;
2087 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2088 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2089 datarootdir=$ac_optarg ;;
2091 -disable-* | --disable-*)
2092 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2093 # Reject names that are not valid shell variable names.
2094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2095 as_fn_error $? "invalid feature name: $ac_useropt"
2096 ac_useropt_orig=$ac_useropt
2097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2098 case $ac_user_opts in
2100 "enable_$ac_useropt"
2101 "*) ;;
2102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2103 ac_unrecognized_sep=', ';;
2104 esac
2105 eval enable_$ac_useropt=no ;;
2107 -docdir | --docdir | --docdi | --doc | --do)
2108 ac_prev=docdir ;;
2109 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2110 docdir=$ac_optarg ;;
2112 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2113 ac_prev=dvidir ;;
2114 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2115 dvidir=$ac_optarg ;;
2117 -enable-* | --enable-*)
2118 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2119 # Reject names that are not valid shell variable names.
2120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2121 as_fn_error $? "invalid feature name: $ac_useropt"
2122 ac_useropt_orig=$ac_useropt
2123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2124 case $ac_user_opts in
2126 "enable_$ac_useropt"
2127 "*) ;;
2128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2129 ac_unrecognized_sep=', ';;
2130 esac
2131 eval enable_$ac_useropt=\$ac_optarg ;;
2133 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2134 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2135 | --exec | --exe | --ex)
2136 ac_prev=exec_prefix ;;
2137 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2138 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2139 | --exec=* | --exe=* | --ex=*)
2140 exec_prefix=$ac_optarg ;;
2142 -gas | --gas | --ga | --g)
2143 # Obsolete; use --with-gas.
2144 with_gas=yes ;;
2146 -help | --help | --hel | --he | -h)
2147 ac_init_help=long ;;
2148 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2149 ac_init_help=recursive ;;
2150 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2151 ac_init_help=short ;;
2153 -host | --host | --hos | --ho)
2154 ac_prev=host_alias ;;
2155 -host=* | --host=* | --hos=* | --ho=*)
2156 host_alias=$ac_optarg ;;
2158 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2159 ac_prev=htmldir ;;
2160 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2161 | --ht=*)
2162 htmldir=$ac_optarg ;;
2164 -includedir | --includedir | --includedi | --included | --include \
2165 | --includ | --inclu | --incl | --inc)
2166 ac_prev=includedir ;;
2167 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2168 | --includ=* | --inclu=* | --incl=* | --inc=*)
2169 includedir=$ac_optarg ;;
2171 -infodir | --infodir | --infodi | --infod | --info | --inf)
2172 ac_prev=infodir ;;
2173 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2174 infodir=$ac_optarg ;;
2176 -libdir | --libdir | --libdi | --libd)
2177 ac_prev=libdir ;;
2178 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2179 libdir=$ac_optarg ;;
2181 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2182 | --libexe | --libex | --libe)
2183 ac_prev=libexecdir ;;
2184 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2185 | --libexe=* | --libex=* | --libe=*)
2186 libexecdir=$ac_optarg ;;
2188 -localedir | --localedir | --localedi | --localed | --locale)
2189 ac_prev=localedir ;;
2190 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2191 localedir=$ac_optarg ;;
2193 -localstatedir | --localstatedir | --localstatedi | --localstated \
2194 | --localstate | --localstat | --localsta | --localst | --locals)
2195 ac_prev=localstatedir ;;
2196 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2197 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2198 localstatedir=$ac_optarg ;;
2200 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2201 ac_prev=mandir ;;
2202 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2203 mandir=$ac_optarg ;;
2205 -nfp | --nfp | --nf)
2206 # Obsolete; use --without-fp.
2207 with_fp=no ;;
2209 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2210 | --no-cr | --no-c | -n)
2211 no_create=yes ;;
2213 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2214 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2215 no_recursion=yes ;;
2217 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2218 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2219 | --oldin | --oldi | --old | --ol | --o)
2220 ac_prev=oldincludedir ;;
2221 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2222 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2223 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2224 oldincludedir=$ac_optarg ;;
2226 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2227 ac_prev=prefix ;;
2228 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2229 prefix=$ac_optarg ;;
2231 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2232 | --program-pre | --program-pr | --program-p)
2233 ac_prev=program_prefix ;;
2234 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2235 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2236 program_prefix=$ac_optarg ;;
2238 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2239 | --program-suf | --program-su | --program-s)
2240 ac_prev=program_suffix ;;
2241 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2242 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2243 program_suffix=$ac_optarg ;;
2245 -program-transform-name | --program-transform-name \
2246 | --program-transform-nam | --program-transform-na \
2247 | --program-transform-n | --program-transform- \
2248 | --program-transform | --program-transfor \
2249 | --program-transfo | --program-transf \
2250 | --program-trans | --program-tran \
2251 | --progr-tra | --program-tr | --program-t)
2252 ac_prev=program_transform_name ;;
2253 -program-transform-name=* | --program-transform-name=* \
2254 | --program-transform-nam=* | --program-transform-na=* \
2255 | --program-transform-n=* | --program-transform-=* \
2256 | --program-transform=* | --program-transfor=* \
2257 | --program-transfo=* | --program-transf=* \
2258 | --program-trans=* | --program-tran=* \
2259 | --progr-tra=* | --program-tr=* | --program-t=*)
2260 program_transform_name=$ac_optarg ;;
2262 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2263 ac_prev=pdfdir ;;
2264 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2265 pdfdir=$ac_optarg ;;
2267 -psdir | --psdir | --psdi | --psd | --ps)
2268 ac_prev=psdir ;;
2269 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2270 psdir=$ac_optarg ;;
2272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2273 | -silent | --silent | --silen | --sile | --sil)
2274 silent=yes ;;
2276 -runstatedir | --runstatedir | --runstatedi | --runstated \
2277 | --runstate | --runstat | --runsta | --runst | --runs \
2278 | --run | --ru | --r)
2279 ac_prev=runstatedir ;;
2280 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2281 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2282 | --run=* | --ru=* | --r=*)
2283 runstatedir=$ac_optarg ;;
2285 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2286 ac_prev=sbindir ;;
2287 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2288 | --sbi=* | --sb=*)
2289 sbindir=$ac_optarg ;;
2291 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2292 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2293 | --sharedst | --shareds | --shared | --share | --shar \
2294 | --sha | --sh)
2295 ac_prev=sharedstatedir ;;
2296 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2297 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2298 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2299 | --sha=* | --sh=*)
2300 sharedstatedir=$ac_optarg ;;
2302 -site | --site | --sit)
2303 ac_prev=site ;;
2304 -site=* | --site=* | --sit=*)
2305 site=$ac_optarg ;;
2307 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2308 ac_prev=srcdir ;;
2309 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2310 srcdir=$ac_optarg ;;
2312 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2313 | --syscon | --sysco | --sysc | --sys | --sy)
2314 ac_prev=sysconfdir ;;
2315 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2316 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2317 sysconfdir=$ac_optarg ;;
2319 -target | --target | --targe | --targ | --tar | --ta | --t)
2320 ac_prev=target_alias ;;
2321 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2322 target_alias=$ac_optarg ;;
2324 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2325 verbose=yes ;;
2327 -version | --version | --versio | --versi | --vers | -V)
2328 ac_init_version=: ;;
2330 -with-* | --with-*)
2331 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2332 # Reject names that are not valid shell variable names.
2333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2334 as_fn_error $? "invalid package name: $ac_useropt"
2335 ac_useropt_orig=$ac_useropt
2336 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2337 case $ac_user_opts in
2339 "with_$ac_useropt"
2340 "*) ;;
2341 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2342 ac_unrecognized_sep=', ';;
2343 esac
2344 eval with_$ac_useropt=\$ac_optarg ;;
2346 -without-* | --without-*)
2347 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2348 # Reject names that are not valid shell variable names.
2349 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2350 as_fn_error $? "invalid package name: $ac_useropt"
2351 ac_useropt_orig=$ac_useropt
2352 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2353 case $ac_user_opts in
2355 "with_$ac_useropt"
2356 "*) ;;
2357 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2358 ac_unrecognized_sep=', ';;
2359 esac
2360 eval with_$ac_useropt=no ;;
2362 --x)
2363 # Obsolete; use --with-x.
2364 with_x=yes ;;
2366 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2367 | --x-incl | --x-inc | --x-in | --x-i)
2368 ac_prev=x_includes ;;
2369 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2370 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2371 x_includes=$ac_optarg ;;
2373 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2374 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2375 ac_prev=x_libraries ;;
2376 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2377 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2378 x_libraries=$ac_optarg ;;
2380 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2381 Try \`$0 --help' for more information"
2384 *=*)
2385 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2386 # Reject names that are not valid shell variable names.
2387 case $ac_envvar in #(
2388 '' | [0-9]* | *[!_$as_cr_alnum]* )
2389 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2390 esac
2391 eval $ac_envvar=\$ac_optarg
2392 export $ac_envvar ;;
2395 # FIXME: should be removed in autoconf 3.0.
2396 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2397 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2398 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2399 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2402 esac
2403 done
2405 if test -n "$ac_prev"; then
2406 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2407 as_fn_error $? "missing argument to $ac_option"
2410 if test -n "$ac_unrecognized_opts"; then
2411 case $enable_option_checking in
2412 no) ;;
2413 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2414 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2415 esac
2418 # Check all directory arguments for consistency.
2419 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2420 datadir sysconfdir sharedstatedir localstatedir includedir \
2421 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2422 libdir localedir mandir runstatedir
2424 eval ac_val=\$$ac_var
2425 # Remove trailing slashes.
2426 case $ac_val in
2427 */ )
2428 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2429 eval $ac_var=\$ac_val;;
2430 esac
2431 # Be sure to have absolute directory names.
2432 case $ac_val in
2433 [\\/$]* | ?:[\\/]* ) continue;;
2434 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2435 esac
2436 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2437 done
2439 # There might be people who depend on the old broken behavior: `$host'
2440 # used to hold the argument of --host etc.
2441 # FIXME: To remove some day.
2442 build=$build_alias
2443 host=$host_alias
2444 target=$target_alias
2446 # FIXME: To remove some day.
2447 if test "x$host_alias" != x; then
2448 if test "x$build_alias" = x; then
2449 cross_compiling=maybe
2450 elif test "x$build_alias" != "x$host_alias"; then
2451 cross_compiling=yes
2455 ac_tool_prefix=
2456 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2458 test "$silent" = yes && exec 6>/dev/null
2461 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2462 ac_ls_di=`ls -di .` &&
2463 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2464 as_fn_error $? "working directory cannot be determined"
2465 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2466 as_fn_error $? "pwd does not report name of working directory"
2469 # Find the source files, if location was not specified.
2470 if test -z "$srcdir"; then
2471 ac_srcdir_defaulted=yes
2472 # Try the directory containing this script, then the parent directory.
2473 ac_confdir=`$as_dirname -- "$as_myself" ||
2474 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2475 X"$as_myself" : 'X\(//\)[^/]' \| \
2476 X"$as_myself" : 'X\(//\)$' \| \
2477 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2478 $as_echo X"$as_myself" |
2479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2480 s//\1/
2483 /^X\(\/\/\)[^/].*/{
2484 s//\1/
2487 /^X\(\/\/\)$/{
2488 s//\1/
2491 /^X\(\/\).*/{
2492 s//\1/
2495 s/.*/./; q'`
2496 srcdir=$ac_confdir
2497 if test ! -r "$srcdir/$ac_unique_file"; then
2498 srcdir=..
2500 else
2501 ac_srcdir_defaulted=no
2503 if test ! -r "$srcdir/$ac_unique_file"; then
2504 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2505 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2507 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2508 ac_abs_confdir=`(
2509 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2510 pwd)`
2511 # When building in place, set srcdir=.
2512 if test "$ac_abs_confdir" = "$ac_pwd"; then
2513 srcdir=.
2515 # Remove unnecessary trailing slashes from srcdir.
2516 # Double slashes in file names in object file debugging info
2517 # mess up M-x gdb in Emacs.
2518 case $srcdir in
2519 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2520 esac
2521 for ac_var in $ac_precious_vars; do
2522 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2523 eval ac_env_${ac_var}_value=\$${ac_var}
2524 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2525 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2526 done
2529 # Report the --help message.
2531 if test "$ac_init_help" = "long"; then
2532 # Omit some internal or obsolete options to make the list less imposing.
2533 # This message is too long to be a string in the A/UX 3.1 sh.
2534 cat <<_ACEOF
2535 \`configure' configures Wine 6.19 to adapt to many kinds of systems.
2537 Usage: $0 [OPTION]... [VAR=VALUE]...
2539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2540 VAR=VALUE. See below for descriptions of some of the useful variables.
2542 Defaults for the options are specified in brackets.
2544 Configuration:
2545 -h, --help display this help and exit
2546 --help=short display options specific to this package
2547 --help=recursive display the short help of all the included packages
2548 -V, --version display version information and exit
2549 -q, --quiet, --silent do not print \`checking ...' messages
2550 --cache-file=FILE cache test results in FILE [disabled]
2551 -C, --config-cache alias for \`--cache-file=config.cache'
2552 -n, --no-create do not create output files
2553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2555 Installation directories:
2556 --prefix=PREFIX install architecture-independent files in PREFIX
2557 [$ac_default_prefix]
2558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2559 [PREFIX]
2561 By default, \`make install' will install all the files in
2562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2564 for instance \`--prefix=\$HOME'.
2566 For better control, use the options below.
2568 Fine tuning of the installation directories:
2569 --bindir=DIR user executables [EPREFIX/bin]
2570 --sbindir=DIR system admin executables [EPREFIX/sbin]
2571 --libexecdir=DIR program executables [EPREFIX/libexec]
2572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2575 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2576 --libdir=DIR object code libraries [EPREFIX/lib]
2577 --includedir=DIR C header files [PREFIX/include]
2578 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2579 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2580 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2581 --infodir=DIR info documentation [DATAROOTDIR/info]
2582 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2583 --mandir=DIR man documentation [DATAROOTDIR/man]
2584 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2585 --htmldir=DIR html documentation [DOCDIR]
2586 --dvidir=DIR dvi documentation [DOCDIR]
2587 --pdfdir=DIR pdf documentation [DOCDIR]
2588 --psdir=DIR ps documentation [DOCDIR]
2589 _ACEOF
2591 cat <<\_ACEOF
2593 X features:
2594 --x-includes=DIR X include files are in DIR
2595 --x-libraries=DIR X library files are in DIR
2597 System types:
2598 --build=BUILD configure for building on BUILD [guessed]
2599 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2600 _ACEOF
2603 if test -n "$ac_init_help"; then
2604 case $ac_init_help in
2605 short | recursive ) echo "Configuration of Wine 6.19:";;
2606 esac
2607 cat <<\_ACEOF
2609 Optional Features:
2610 --disable-option-checking ignore unrecognized --enable/--with options
2611 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2612 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2613 --disable-win16 do not include Win16 support
2614 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2615 binaries)
2616 --disable-tests do not build the regression tests
2617 --enable-build-id include .buildid section in output objects
2618 --enable-maintainer-mode
2619 enable maintainer-specific build rules
2620 --enable-silent-rules use silent build rules (override: "make V=1")
2621 --enable-werror treat compilation warnings as errors
2622 --disable-largefile omit support for large files
2624 Optional Packages:
2625 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2626 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2627 --without-alsa do not use the Alsa sound support
2628 --without-capi do not use CAPI (ISDN support)
2629 --without-cms do not use CMS (color management support)
2630 --without-coreaudio do not use the CoreAudio sound support
2631 --without-cups do not use CUPS
2632 --without-dbus do not use DBus (dynamic device support)
2633 --without-faudio do not use FAudio (XAudio2 support)
2634 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2635 --without-fontconfig do not use fontconfig
2636 --without-freetype do not use the FreeType library
2637 --without-gettext do not use gettext
2638 --with-gettextpo use the GetTextPO library to rebuild po files
2639 --without-gphoto do not use gphoto (Digital Camera support)
2640 --without-gnutls do not use GnuTLS (schannel support)
2641 --without-gsm do not use libgsm (GSM 06.10 codec support)
2642 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2643 --without-gstreamer do not use GStreamer (codecs support)
2644 --without-hal do not use HAL (dynamic device support)
2645 --without-inotify do not use inotify (filesystem change notifications)
2646 --without-jpeg do not use JPEG
2647 --without-jxrlib do not use JPEG-XR
2648 --without-krb5 do not use krb5 (Kerberos)
2649 --without-ldap do not use LDAP
2650 --without-mingw do not use the MinGW cross-compiler
2651 --without-mpg123 do not use the mpg123 library
2652 --without-netapi do not use the Samba NetAPI library
2653 --without-openal do not use OpenAL
2654 --without-opencl do not use OpenCL
2655 --without-opengl do not use OpenGL
2656 --without-osmesa do not use the OSMesa library
2657 --without-oss do not use the OSS sound support
2658 --without-pcap do not use the Packet Capture library
2659 --without-png do not use PNG
2660 --without-pthread do not use the pthread library
2661 --without-pulse do not use PulseAudio sound support
2662 --without-quicktime do not use QuickTime support
2663 --without-sane do not use SANE (scanner support)
2664 --without-sdl do not use SDL
2665 --without-tiff do not use TIFF
2666 --without-udev do not use udev (plug and play support)
2667 --without-unwind do not use the libunwind library (exception
2668 handling)
2669 --without-usb do not use the libusb library
2670 --without-v4l2 do not use v4l2 (video capture)
2671 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2672 --without-vulkan do not use Vulkan
2673 --without-xcomposite do not use the Xcomposite extension
2674 --without-xcursor do not use the Xcursor extension
2675 --without-xfixes do not use Xfixes for clipboard change notifications
2676 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2677 --without-xinput do not use the Xinput extension
2678 --without-xinput2 do not use the Xinput 2 extension
2679 --without-xml do not use XML
2680 --without-xrandr do not use Xrandr (multi-monitor support)
2681 --without-xrender do not use the Xrender extension
2682 --without-xshape do not use the Xshape extension
2683 --without-xshm do not use XShm (shared memory extension)
2684 --without-xslt do not use XSLT
2685 --without-xxf86vm do not use XFree video mode extension
2686 --with-wine-tools=DIR use Wine tools from directory DIR
2687 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2688 --with-x use the X Window System
2690 Some influential environment variables:
2691 CC C compiler command
2692 CFLAGS C compiler flags
2693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2694 nonstandard directory <lib dir>
2695 LIBS libraries to pass to the linker, e.g. -l<library>
2696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2697 you have headers in a nonstandard directory <include dir>
2698 CXX C++ compiler command
2699 CXXFLAGS C++ compiler flags
2700 CPP C preprocessor
2701 OBJC Objective C compiler command
2702 OBJCFLAGS Objective C compiler flags
2703 OBJCPP Objective C preprocessor
2704 XMKMF Path to xmkmf, Makefile generator for X Window System
2705 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2706 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2707 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2708 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2709 INOTIFY_CFLAGS
2710 C compiler flags for libinotify, overriding pkg-config
2711 INOTIFY_LIBS
2712 Linker flags for libinotify, overriding pkg-config
2713 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2714 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2715 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2716 HAL_LIBS Linker flags for hal, overriding pkg-config
2717 GNUTLS_CFLAGS
2718 C compiler flags for gnutls, overriding pkg-config
2719 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2720 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2721 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2722 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2723 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2724 GPHOTO2_CFLAGS
2725 C compiler flags for libgphoto2, overriding pkg-config
2726 GPHOTO2_LIBS
2727 Linker flags for libgphoto2, overriding pkg-config
2728 GPHOTO2_PORT_CFLAGS
2729 C compiler flags for libgphoto2_port, overriding pkg-config
2730 GPHOTO2_PORT_LIBS
2731 Linker flags for libgphoto2_port, overriding pkg-config
2732 LCMS2_CFLAGS
2733 C compiler flags for lcms2, overriding pkg-config
2734 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2735 FREETYPE_CFLAGS
2736 C compiler flags for freetype2, overriding pkg-config
2737 FREETYPE_LIBS
2738 Linker flags for freetype2, overriding pkg-config
2739 PULSE_CFLAGS
2740 C compiler flags for libpulse, overriding pkg-config
2741 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2742 GSTREAMER_CFLAGS
2743 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2744 gstreamer-audio-1.0, overriding pkg-config
2745 GSTREAMER_LIBS
2746 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2747 gstreamer-audio-1.0, overriding pkg-config
2748 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2749 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2750 UNWIND_CFLAGS
2751 C compiler flags for libunwind, overriding pkg-config
2752 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2753 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2754 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2755 FAUDIO_CFLAGS
2756 C compiler flags for FAudio, overriding pkg-config
2757 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2758 CAPI20_CFLAGS
2759 C compiler flags for capi20, overriding pkg-config
2760 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2761 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2762 CUPS_LIBS Linker flags for cups, overriding pkg-config
2763 FONTCONFIG_CFLAGS
2764 C compiler flags for fontconfig, overriding pkg-config
2765 FONTCONFIG_LIBS
2766 Linker flags for fontconfig, overriding pkg-config
2767 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2768 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2769 GSSAPI_CFLAGS
2770 C compiler flags for krb5-gssapi, overriding pkg-config
2771 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2772 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2773 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2774 JXRLIB_CFLAGS
2775 C compiler flags for jxrlib, overriding pkg-config
2776 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2777 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2778 PNG_LIBS Linker flags for libpng, overriding pkg-config
2779 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2780 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2781 MPG123_CFLAGS
2782 C compiler flags for libmpg123, overriding pkg-config
2783 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2784 NETAPI_CFLAGS
2785 C compiler flags for netapi, overriding pkg-config
2786 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2787 VKD3D_CFLAGS
2788 C compiler flags for libvkd3d, overriding pkg-config
2789 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2790 VKD3D_SHADER_CFLAGS
2791 C compiler flags for libvkd3d-shader, overriding pkg-config
2792 VKD3D_SHADER_LIBS
2793 Linker flags for libvkd3d-shader, overriding pkg-config
2794 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2795 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2797 Use these variables to override the choices made by `configure' or to help
2798 it to find libraries and programs with nonstandard names/locations.
2800 Report bugs to <wine-devel@winehq.org>.
2801 Wine home page: <https://www.winehq.org>.
2802 _ACEOF
2803 ac_status=$?
2806 if test "$ac_init_help" = "recursive"; then
2807 # If there are subdirs, report their specific --help.
2808 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2809 test -d "$ac_dir" ||
2810 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2811 continue
2812 ac_builddir=.
2814 case "$ac_dir" in
2815 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2817 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2818 # A ".." for each directory in $ac_dir_suffix.
2819 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2820 case $ac_top_builddir_sub in
2821 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2822 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2823 esac ;;
2824 esac
2825 ac_abs_top_builddir=$ac_pwd
2826 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2827 # for backward compatibility:
2828 ac_top_builddir=$ac_top_build_prefix
2830 case $srcdir in
2831 .) # We are building in place.
2832 ac_srcdir=.
2833 ac_top_srcdir=$ac_top_builddir_sub
2834 ac_abs_top_srcdir=$ac_pwd ;;
2835 [\\/]* | ?:[\\/]* ) # Absolute name.
2836 ac_srcdir=$srcdir$ac_dir_suffix;
2837 ac_top_srcdir=$srcdir
2838 ac_abs_top_srcdir=$srcdir ;;
2839 *) # Relative name.
2840 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2841 ac_top_srcdir=$ac_top_build_prefix$srcdir
2842 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2843 esac
2844 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2846 cd "$ac_dir" || { ac_status=$?; continue; }
2847 # Check for guested configure.
2848 if test -f "$ac_srcdir/configure.gnu"; then
2849 echo &&
2850 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2851 elif test -f "$ac_srcdir/configure"; then
2852 echo &&
2853 $SHELL "$ac_srcdir/configure" --help=recursive
2854 else
2855 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2856 fi || ac_status=$?
2857 cd "$ac_pwd" || { ac_status=$?; break; }
2858 done
2861 test -n "$ac_init_help" && exit $ac_status
2862 if $ac_init_version; then
2863 cat <<\_ACEOF
2864 Wine configure 6.19
2865 generated by GNU Autoconf 2.69
2867 Copyright (C) 2012 Free Software Foundation, Inc.
2868 This configure script is free software; the Free Software Foundation
2869 gives unlimited permission to copy, distribute and modify it.
2870 _ACEOF
2871 exit
2874 ## ------------------------ ##
2875 ## Autoconf initialization. ##
2876 ## ------------------------ ##
2878 # ac_fn_c_try_compile LINENO
2879 # --------------------------
2880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2881 ac_fn_c_try_compile ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 rm -f conftest.$ac_objext
2885 if { { ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 $as_echo "$ac_try_echo"; } >&5
2892 (eval "$ac_compile") 2>conftest.err
2893 ac_status=$?
2894 if test -s conftest.err; then
2895 grep -v '^ *+' conftest.err >conftest.er1
2896 cat conftest.er1 >&5
2897 mv -f conftest.er1 conftest.err
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; } && {
2901 test -z "$ac_c_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext; then :
2904 ac_retval=0
2905 else
2906 $as_echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_retval=1
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 as_fn_set_status $ac_retval
2914 } # ac_fn_c_try_compile
2916 # ac_fn_cxx_try_compile LINENO
2917 # ----------------------------
2918 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2919 ac_fn_cxx_try_compile ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 rm -f conftest.$ac_objext
2923 if { { ac_try="$ac_compile"
2924 case "(($ac_try" in
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2927 esac
2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2929 $as_echo "$ac_try_echo"; } >&5
2930 (eval "$ac_compile") 2>conftest.err
2931 ac_status=$?
2932 if test -s conftest.err; then
2933 grep -v '^ *+' conftest.err >conftest.er1
2934 cat conftest.er1 >&5
2935 mv -f conftest.er1 conftest.err
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938 test $ac_status = 0; } && {
2939 test -z "$ac_cxx_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then :
2942 ac_retval=0
2943 else
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 ac_retval=1
2949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 as_fn_set_status $ac_retval
2952 } # ac_fn_cxx_try_compile
2954 # ac_fn_c_try_link LINENO
2955 # -----------------------
2956 # Try to link conftest.$ac_ext, and return whether this succeeded.
2957 ac_fn_c_try_link ()
2959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2960 rm -f conftest.$ac_objext conftest$ac_exeext
2961 if { { ac_try="$ac_link"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_link") 2>conftest.err
2969 ac_status=$?
2970 if test -s conftest.err; then
2971 grep -v '^ *+' conftest.err >conftest.er1
2972 cat conftest.er1 >&5
2973 mv -f conftest.er1 conftest.err
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } && {
2977 test -z "$ac_c_werror_flag" ||
2978 test ! -s conftest.err
2979 } && test -s conftest$ac_exeext && {
2980 test "$cross_compiling" = yes ||
2981 test -x conftest$ac_exeext
2982 }; then :
2983 ac_retval=0
2984 else
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 ac_retval=1
2990 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2991 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2992 # interfere with the next link command; also delete a directory that is
2993 # left behind by Apple's compiler. We do this before executing the actions.
2994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2996 as_fn_set_status $ac_retval
2998 } # ac_fn_c_try_link
3000 # ac_fn_c_try_cpp LINENO
3001 # ----------------------
3002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3003 ac_fn_c_try_cpp ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 if { { ac_try="$ac_cpp conftest.$ac_ext"
3007 case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3010 esac
3011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012 $as_echo "$ac_try_echo"; } >&5
3013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3014 ac_status=$?
3015 if test -s conftest.err; then
3016 grep -v '^ *+' conftest.err >conftest.er1
3017 cat conftest.er1 >&5
3018 mv -f conftest.er1 conftest.err
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3021 test $ac_status = 0; } > conftest.i && {
3022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 }; then :
3025 ac_retval=0
3026 else
3027 $as_echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3030 ac_retval=1
3032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3033 as_fn_set_status $ac_retval
3035 } # ac_fn_c_try_cpp
3037 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3038 # -------------------------------------------------------
3039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3040 # the include files in INCLUDES and setting the cache variable VAR
3041 # accordingly.
3042 ac_fn_c_check_header_mongrel ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 if eval \${$3+:} false; then :
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3047 $as_echo_n "checking for $2... " >&6; }
3048 if eval \${$3+:} false; then :
3049 $as_echo_n "(cached) " >&6
3051 eval ac_res=\$$3
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 else
3055 # Is the header compilable?
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3057 $as_echo_n "checking $2 usability... " >&6; }
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3061 #include <$2>
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 ac_header_compiler=yes
3065 else
3066 ac_header_compiler=no
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3070 $as_echo "$ac_header_compiler" >&6; }
3072 # Is the header present?
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3074 $as_echo_n "checking $2 presence... " >&6; }
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3077 #include <$2>
3078 _ACEOF
3079 if ac_fn_c_try_cpp "$LINENO"; then :
3080 ac_header_preproc=yes
3081 else
3082 ac_header_preproc=no
3084 rm -f conftest.err conftest.i conftest.$ac_ext
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3086 $as_echo "$ac_header_preproc" >&6; }
3088 # So? What about this header?
3089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3090 yes:no: )
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3096 no:yes:* )
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3107 ( $as_echo "## ------------------------------------ ##
3108 ## Report this to wine-devel@winehq.org ##
3109 ## ------------------------------------ ##"
3110 ) | sed "s/^/$as_me: WARNING: /" >&2
3112 esac
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3114 $as_echo_n "checking for $2... " >&6; }
3115 if eval \${$3+:} false; then :
3116 $as_echo_n "(cached) " >&6
3117 else
3118 eval "$3=\$ac_header_compiler"
3120 eval ac_res=\$$3
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 } # ac_fn_c_check_header_mongrel
3128 # ac_fn_c_try_run LINENO
3129 # ----------------------
3130 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3131 # that executables *can* be run.
3132 ac_fn_c_try_run ()
3134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3135 if { { ac_try="$ac_link"
3136 case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_link") 2>&5
3143 ac_status=$?
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3146 { { case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3149 esac
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152 (eval "$ac_try") 2>&5
3153 ac_status=$?
3154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155 test $ac_status = 0; }; }; then :
3156 ac_retval=0
3157 else
3158 $as_echo "$as_me: program exited with status $ac_status" >&5
3159 $as_echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3162 ac_retval=$ac_status
3164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3166 as_fn_set_status $ac_retval
3168 } # ac_fn_c_try_run
3170 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3171 # -------------------------------------------------------
3172 # Tests whether HEADER exists and can be compiled using the include files in
3173 # INCLUDES, setting the cache variable VAR accordingly.
3174 ac_fn_c_check_header_compile ()
3176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3178 $as_echo_n "checking for $2... " >&6; }
3179 if eval \${$3+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3185 #include <$2>
3186 _ACEOF
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 eval "$3=yes"
3189 else
3190 eval "$3=no"
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 eval ac_res=\$$3
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 $as_echo "$ac_res" >&6; }
3197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 } # ac_fn_c_check_header_compile
3201 # ac_fn_objc_try_compile LINENO
3202 # -----------------------------
3203 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3204 ac_fn_objc_try_compile ()
3206 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3207 rm -f conftest.$ac_objext
3208 if { { ac_try="$ac_compile"
3209 case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3212 esac
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_compile") 2>conftest.err
3216 ac_status=$?
3217 if test -s conftest.err; then
3218 grep -v '^ *+' conftest.err >conftest.er1
3219 cat conftest.er1 >&5
3220 mv -f conftest.er1 conftest.err
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; } && {
3224 test -z "$ac_objc_werror_flag" ||
3225 test ! -s conftest.err
3226 } && test -s conftest.$ac_objext; then :
3227 ac_retval=0
3228 else
3229 $as_echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 ac_retval=1
3234 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3235 as_fn_set_status $ac_retval
3237 } # ac_fn_objc_try_compile
3239 # ac_fn_objc_try_cpp LINENO
3240 # -------------------------
3241 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3242 ac_fn_objc_try_cpp ()
3244 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3245 if { { ac_try="$ac_cpp conftest.$ac_ext"
3246 case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249 esac
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3253 ac_status=$?
3254 if test -s conftest.err; then
3255 grep -v '^ *+' conftest.err >conftest.er1
3256 cat conftest.er1 >&5
3257 mv -f conftest.er1 conftest.err
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; } > conftest.i && {
3261 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3262 test ! -s conftest.err
3263 }; then :
3264 ac_retval=0
3265 else
3266 $as_echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_retval=1
3271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3272 as_fn_set_status $ac_retval
3274 } # ac_fn_objc_try_cpp
3276 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3277 # ----------------------------------------------------------
3278 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3279 # the include files in INCLUDES and setting the cache variable VAR
3280 # accordingly.
3281 ac_fn_objc_check_header_mongrel ()
3283 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3284 if eval \${$3+:} false; then :
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3286 $as_echo_n "checking for $2... " >&6; }
3287 if eval \${$3+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 eval ac_res=\$$3
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3292 $as_echo "$ac_res" >&6; }
3293 else
3294 # Is the header compilable?
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3296 $as_echo_n "checking $2 usability... " >&6; }
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3300 #include <$2>
3301 _ACEOF
3302 if ac_fn_objc_try_compile "$LINENO"; then :
3303 ac_header_compiler=yes
3304 else
3305 ac_header_compiler=no
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3309 $as_echo "$ac_header_compiler" >&6; }
3311 # Is the header present?
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3313 $as_echo_n "checking $2 presence... " >&6; }
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3316 #include <$2>
3317 _ACEOF
3318 if ac_fn_objc_try_cpp "$LINENO"; then :
3319 ac_header_preproc=yes
3320 else
3321 ac_header_preproc=no
3323 rm -f conftest.err conftest.i conftest.$ac_ext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3325 $as_echo "$ac_header_preproc" >&6; }
3327 # So? What about this header?
3328 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3329 yes:no: )
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3331 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3333 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3335 no:yes:* )
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3337 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3339 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3341 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3343 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3345 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3346 ( $as_echo "## ------------------------------------ ##
3347 ## Report this to wine-devel@winehq.org ##
3348 ## ------------------------------------ ##"
3349 ) | sed "s/^/$as_me: WARNING: /" >&2
3351 esac
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3353 $as_echo_n "checking for $2... " >&6; }
3354 if eval \${$3+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 eval "$3=\$ac_header_compiler"
3359 eval ac_res=\$$3
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3361 $as_echo "$ac_res" >&6; }
3363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3365 } # ac_fn_objc_check_header_mongrel
3367 # ac_fn_c_check_func LINENO FUNC VAR
3368 # ----------------------------------
3369 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3370 ac_fn_c_check_func ()
3372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3374 $as_echo_n "checking for $2... " >&6; }
3375 if eval \${$3+:} false; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3380 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3382 #define $2 innocuous_$2
3384 /* System header to define __stub macros and hopefully few prototypes,
3385 which can conflict with char $2 (); below.
3386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3387 <limits.h> exists even on freestanding compilers. */
3389 #ifdef __STDC__
3390 # include <limits.h>
3391 #else
3392 # include <assert.h>
3393 #endif
3395 #undef $2
3397 /* Override any GCC internal prototype to avoid an error.
3398 Use char because int might match the return type of a GCC
3399 builtin and then its argument prototype would still apply. */
3400 #ifdef __cplusplus
3401 extern "C"
3402 #endif
3403 char $2 ();
3404 /* The GNU C library defines this for functions which it implements
3405 to always fail with ENOSYS. Some functions are actually named
3406 something starting with __ and the normal name is an alias. */
3407 #if defined __stub_$2 || defined __stub___$2
3408 choke me
3409 #endif
3412 main ()
3414 return $2 ();
3416 return 0;
3418 _ACEOF
3419 if ac_fn_c_try_link "$LINENO"; then :
3420 eval "$3=yes"
3421 else
3422 eval "$3=no"
3424 rm -f core conftest.err conftest.$ac_objext \
3425 conftest$ac_exeext conftest.$ac_ext
3427 eval ac_res=\$$3
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3429 $as_echo "$ac_res" >&6; }
3430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3432 } # ac_fn_c_check_func
3434 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3435 # ----------------------------------------------------
3436 # Tries to find if the field MEMBER exists in type AGGR, after including
3437 # INCLUDES, setting cache variable VAR accordingly.
3438 ac_fn_c_check_member ()
3440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3442 $as_echo_n "checking for $2.$3... " >&6; }
3443 if eval \${$4+:} false; then :
3444 $as_echo_n "(cached) " >&6
3445 else
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3452 static $2 ac_aggr;
3453 if (ac_aggr.$3)
3454 return 0;
3456 return 0;
3458 _ACEOF
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 eval "$4=yes"
3461 else
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3466 main ()
3468 static $2 ac_aggr;
3469 if (sizeof ac_aggr.$3)
3470 return 0;
3472 return 0;
3474 _ACEOF
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476 eval "$4=yes"
3477 else
3478 eval "$4=no"
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 eval ac_res=\$$4
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3486 $as_echo "$ac_res" >&6; }
3487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3489 } # ac_fn_c_check_member
3491 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3492 # -------------------------------------------
3493 # Tests whether TYPE exists after having included INCLUDES, setting cache
3494 # variable VAR accordingly.
3495 ac_fn_c_check_type ()
3497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3499 $as_echo_n "checking for $2... " >&6; }
3500 if eval \${$3+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 eval "$3=no"
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3508 main ()
3510 if (sizeof ($2))
3511 return 0;
3513 return 0;
3515 _ACEOF
3516 if ac_fn_c_try_compile "$LINENO"; then :
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3523 if (sizeof (($2)))
3524 return 0;
3526 return 0;
3528 _ACEOF
3529 if ac_fn_c_try_compile "$LINENO"; then :
3531 else
3532 eval "$3=yes"
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 eval ac_res=\$$3
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3540 $as_echo "$ac_res" >&6; }
3541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3543 } # ac_fn_c_check_type
3544 cat >config.log <<_ACEOF
3545 This file contains any messages produced by compilers while
3546 running configure, to aid debugging if configure makes a mistake.
3548 It was created by Wine $as_me 6.19, which was
3549 generated by GNU Autoconf 2.69. Invocation command line was
3551 $ $0 $@
3553 _ACEOF
3554 exec 5>>config.log
3556 cat <<_ASUNAME
3557 ## --------- ##
3558 ## Platform. ##
3559 ## --------- ##
3561 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3562 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3563 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3564 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3565 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3567 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3568 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3570 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3571 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3572 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3573 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3574 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3575 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3576 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3578 _ASUNAME
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 $as_echo "PATH: $as_dir"
3586 done
3587 IFS=$as_save_IFS
3589 } >&5
3591 cat >&5 <<_ACEOF
3594 ## ----------- ##
3595 ## Core tests. ##
3596 ## ----------- ##
3598 _ACEOF
3601 # Keep a trace of the command line.
3602 # Strip out --no-create and --no-recursion so they do not pile up.
3603 # Strip out --silent because we don't want to record it for future runs.
3604 # Also quote any args containing shell meta-characters.
3605 # Make two passes to allow for proper duplicate-argument suppression.
3606 ac_configure_args=
3607 ac_configure_args0=
3608 ac_configure_args1=
3609 ac_must_keep_next=false
3610 for ac_pass in 1 2
3612 for ac_arg
3614 case $ac_arg in
3615 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3617 | -silent | --silent | --silen | --sile | --sil)
3618 continue ;;
3619 *\'*)
3620 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3621 esac
3622 case $ac_pass in
3623 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3625 as_fn_append ac_configure_args1 " '$ac_arg'"
3626 if test $ac_must_keep_next = true; then
3627 ac_must_keep_next=false # Got value, back to normal.
3628 else
3629 case $ac_arg in
3630 *=* | --config-cache | -C | -disable-* | --disable-* \
3631 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3632 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3633 | -with-* | --with-* | -without-* | --without-* | --x)
3634 case "$ac_configure_args0 " in
3635 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3636 esac
3638 -* ) ac_must_keep_next=true ;;
3639 esac
3641 as_fn_append ac_configure_args " '$ac_arg'"
3643 esac
3644 done
3645 done
3646 { ac_configure_args0=; unset ac_configure_args0;}
3647 { ac_configure_args1=; unset ac_configure_args1;}
3649 # When interrupted or exit'd, cleanup temporary files, and complete
3650 # config.log. We remove comments because anyway the quotes in there
3651 # would cause problems or look ugly.
3652 # WARNING: Use '\'' to represent an apostrophe within the trap.
3653 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3654 trap 'exit_status=$?
3655 # Save into config.log some information that might help in debugging.
3657 echo
3659 $as_echo "## ---------------- ##
3660 ## Cache variables. ##
3661 ## ---------------- ##"
3662 echo
3663 # The following way of writing the cache mishandles newlines in values,
3665 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3666 eval ac_val=\$$ac_var
3667 case $ac_val in #(
3668 *${as_nl}*)
3669 case $ac_var in #(
3670 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3671 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3672 esac
3673 case $ac_var in #(
3674 _ | IFS | as_nl) ;; #(
3675 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3676 *) { eval $ac_var=; unset $ac_var;} ;;
3677 esac ;;
3678 esac
3679 done
3680 (set) 2>&1 |
3681 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3682 *${as_nl}ac_space=\ *)
3683 sed -n \
3684 "s/'\''/'\''\\\\'\'''\''/g;
3685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3686 ;; #(
3688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3690 esac |
3691 sort
3693 echo
3695 $as_echo "## ----------------- ##
3696 ## Output variables. ##
3697 ## ----------------- ##"
3698 echo
3699 for ac_var in $ac_subst_vars
3701 eval ac_val=\$$ac_var
3702 case $ac_val in
3703 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3704 esac
3705 $as_echo "$ac_var='\''$ac_val'\''"
3706 done | sort
3707 echo
3709 if test -n "$ac_subst_files"; then
3710 $as_echo "## ------------------- ##
3711 ## File substitutions. ##
3712 ## ------------------- ##"
3713 echo
3714 for ac_var in $ac_subst_files
3716 eval ac_val=\$$ac_var
3717 case $ac_val in
3718 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3719 esac
3720 $as_echo "$ac_var='\''$ac_val'\''"
3721 done | sort
3722 echo
3725 if test -s confdefs.h; then
3726 $as_echo "## ----------- ##
3727 ## confdefs.h. ##
3728 ## ----------- ##"
3729 echo
3730 cat confdefs.h
3731 echo
3733 test "$ac_signal" != 0 &&
3734 $as_echo "$as_me: caught signal $ac_signal"
3735 $as_echo "$as_me: exit $exit_status"
3736 } >&5
3737 rm -f core *.core core.conftest.* &&
3738 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3739 exit $exit_status
3741 for ac_signal in 1 2 13 15; do
3742 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3743 done
3744 ac_signal=0
3746 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3747 rm -f -r conftest* confdefs.h
3749 $as_echo "/* confdefs.h */" > confdefs.h
3751 # Predefined preprocessor variables.
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_NAME "$PACKAGE_NAME"
3755 _ACEOF
3757 cat >>confdefs.h <<_ACEOF
3758 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3759 _ACEOF
3761 cat >>confdefs.h <<_ACEOF
3762 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3763 _ACEOF
3765 cat >>confdefs.h <<_ACEOF
3766 #define PACKAGE_STRING "$PACKAGE_STRING"
3767 _ACEOF
3769 cat >>confdefs.h <<_ACEOF
3770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3771 _ACEOF
3773 cat >>confdefs.h <<_ACEOF
3774 #define PACKAGE_URL "$PACKAGE_URL"
3775 _ACEOF
3778 # Let the site file select an alternate cache file if it wants to.
3779 # Prefer an explicitly selected file to automatically selected ones.
3780 ac_site_file1=NONE
3781 ac_site_file2=NONE
3782 if test -n "$CONFIG_SITE"; then
3783 # We do not want a PATH search for config.site.
3784 case $CONFIG_SITE in #((
3785 -*) ac_site_file1=./$CONFIG_SITE;;
3786 */*) ac_site_file1=$CONFIG_SITE;;
3787 *) ac_site_file1=./$CONFIG_SITE;;
3788 esac
3789 elif test "x$prefix" != xNONE; then
3790 ac_site_file1=$prefix/share/config.site
3791 ac_site_file2=$prefix/etc/config.site
3792 else
3793 ac_site_file1=$ac_default_prefix/share/config.site
3794 ac_site_file2=$ac_default_prefix/etc/config.site
3796 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3798 test "x$ac_site_file" = xNONE && continue
3799 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3801 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3802 sed 's/^/| /' "$ac_site_file" >&5
3803 . "$ac_site_file" \
3804 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "failed to load site script $ac_site_file
3807 See \`config.log' for more details" "$LINENO" 5; }
3809 done
3811 if test -r "$cache_file"; then
3812 # Some versions of bash will fail to source /dev/null (special files
3813 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3814 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3816 $as_echo "$as_me: loading cache $cache_file" >&6;}
3817 case $cache_file in
3818 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3819 *) . "./$cache_file";;
3820 esac
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3824 $as_echo "$as_me: creating cache $cache_file" >&6;}
3825 >$cache_file
3828 # Check that the precious variables saved in the cache have kept the same
3829 # value.
3830 ac_cache_corrupted=false
3831 for ac_var in $ac_precious_vars; do
3832 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3833 eval ac_new_set=\$ac_env_${ac_var}_set
3834 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3835 eval ac_new_val=\$ac_env_${ac_var}_value
3836 case $ac_old_set,$ac_new_set in
3837 set,)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3839 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3840 ac_cache_corrupted=: ;;
3841 ,set)
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3843 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3844 ac_cache_corrupted=: ;;
3845 ,);;
3847 if test "x$ac_old_val" != "x$ac_new_val"; then
3848 # differences in whitespace do not lead to failure.
3849 ac_old_val_w=`echo x $ac_old_val`
3850 ac_new_val_w=`echo x $ac_new_val`
3851 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3853 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3854 ac_cache_corrupted=:
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3857 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3858 eval $ac_var=\$ac_old_val
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3861 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3863 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3864 fi;;
3865 esac
3866 # Pass precious variables to config.status.
3867 if test "$ac_new_set" = set; then
3868 case $ac_new_val in
3869 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3870 *) ac_arg=$ac_var=$ac_new_val ;;
3871 esac
3872 case " $ac_configure_args " in
3873 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3874 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3875 esac
3877 done
3878 if $ac_cache_corrupted; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3882 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3883 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3885 ## -------------------- ##
3886 ## Main body of script. ##
3887 ## -------------------- ##
3889 ac_ext=c
3890 ac_cpp='$CPP $CPPFLAGS'
3891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3897 ac_config_headers="$ac_config_headers include/config.h"
3899 ac_aux_dir=
3900 for ac_dir in tools "$srcdir"/tools; do
3901 if test -f "$ac_dir/install-sh"; then
3902 ac_aux_dir=$ac_dir
3903 ac_install_sh="$ac_aux_dir/install-sh -c"
3904 break
3905 elif test -f "$ac_dir/install.sh"; then
3906 ac_aux_dir=$ac_dir
3907 ac_install_sh="$ac_aux_dir/install.sh -c"
3908 break
3909 elif test -f "$ac_dir/shtool"; then
3910 ac_aux_dir=$ac_dir
3911 ac_install_sh="$ac_aux_dir/shtool install -c"
3912 break
3914 done
3915 if test -z "$ac_aux_dir"; then
3916 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3919 # These three variables are undocumented and unsupported,
3920 # and are intended to be withdrawn in a future Autoconf release.
3921 # They can cause serious problems if a builder's source tree is in a directory
3922 # whose full name contains unusual characters.
3923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3929 libwine_version="1.0"
3933 # Check whether --enable-win16 was given.
3934 if test "${enable_win16+set}" = set; then :
3935 enableval=$enable_win16;
3938 # Check whether --enable-win64 was given.
3939 if test "${enable_win64+set}" = set; then :
3940 enableval=$enable_win64;
3943 # Check whether --enable-tests was given.
3944 if test "${enable_tests+set}" = set; then :
3945 enableval=$enable_tests;
3948 # Check whether --enable-build-id was given.
3949 if test "${enable_build_id+set}" = set; then :
3950 enableval=$enable_build_id;
3953 # Check whether --enable-maintainer-mode was given.
3954 if test "${enable_maintainer_mode+set}" = set; then :
3955 enableval=$enable_maintainer_mode;
3958 # Check whether --enable-silent-rules was given.
3959 if test "${enable_silent_rules+set}" = set; then :
3960 enableval=$enable_silent_rules;
3963 # Check whether --enable-werror was given.
3964 if test "${enable_werror+set}" = set; then :
3965 enableval=$enable_werror;
3970 # Check whether --with-alsa was given.
3971 if test "${with_alsa+set}" = set; then :
3972 withval=$with_alsa;
3976 # Check whether --with-capi was given.
3977 if test "${with_capi+set}" = set; then :
3978 withval=$with_capi;
3982 # Check whether --with-cms was given.
3983 if test "${with_cms+set}" = set; then :
3984 withval=$with_cms;
3988 # Check whether --with-coreaudio was given.
3989 if test "${with_coreaudio+set}" = set; then :
3990 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3994 # Check whether --with-cups was given.
3995 if test "${with_cups+set}" = set; then :
3996 withval=$with_cups;
4000 # Check whether --with-dbus was given.
4001 if test "${with_dbus+set}" = set; then :
4002 withval=$with_dbus;
4006 # Check whether --with-faudio was given.
4007 if test "${with_faudio+set}" = set; then :
4008 withval=$with_faudio;
4012 # Check whether --with-float-abi was given.
4013 if test "${with_float_abi+set}" = set; then :
4014 withval=$with_float_abi;
4018 # Check whether --with-fontconfig was given.
4019 if test "${with_fontconfig+set}" = set; then :
4020 withval=$with_fontconfig;
4024 # Check whether --with-freetype was given.
4025 if test "${with_freetype+set}" = set; then :
4026 withval=$with_freetype;
4030 # Check whether --with-gettext was given.
4031 if test "${with_gettext+set}" = set; then :
4032 withval=$with_gettext;
4036 # Check whether --with-gettextpo was given.
4037 if test "${with_gettextpo+set}" = set; then :
4038 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4042 # Check whether --with-gphoto was given.
4043 if test "${with_gphoto+set}" = set; then :
4044 withval=$with_gphoto;
4048 # Check whether --with-gnutls was given.
4049 if test "${with_gnutls+set}" = set; then :
4050 withval=$with_gnutls;
4054 # Check whether --with-gsm was given.
4055 if test "${with_gsm+set}" = set; then :
4056 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4060 # Check whether --with-gssapi was given.
4061 if test "${with_gssapi+set}" = set; then :
4062 withval=$with_gssapi;
4066 # Check whether --with-gstreamer was given.
4067 if test "${with_gstreamer+set}" = set; then :
4068 withval=$with_gstreamer;
4072 # Check whether --with-hal was given.
4073 if test "${with_hal+set}" = set; then :
4074 withval=$with_hal;
4078 # Check whether --with-inotify was given.
4079 if test "${with_inotify+set}" = set; then :
4080 withval=$with_inotify;
4084 # Check whether --with-jpeg was given.
4085 if test "${with_jpeg+set}" = set; then :
4086 withval=$with_jpeg;
4090 # Check whether --with-jxrlib was given.
4091 if test "${with_jxrlib+set}" = set; then :
4092 withval=$with_jxrlib;
4096 # Check whether --with-krb5 was given.
4097 if test "${with_krb5+set}" = set; then :
4098 withval=$with_krb5;
4102 # Check whether --with-ldap was given.
4103 if test "${with_ldap+set}" = set; then :
4104 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4108 # Check whether --with-mingw was given.
4109 if test "${with_mingw+set}" = set; then :
4110 withval=$with_mingw;
4114 # Check whether --with-mpg123 was given.
4115 if test "${with_mpg123+set}" = set; then :
4116 withval=$with_mpg123;
4120 # Check whether --with-netapi was given.
4121 if test "${with_netapi+set}" = set; then :
4122 withval=$with_netapi;
4126 # Check whether --with-openal was given.
4127 if test "${with_openal+set}" = set; then :
4128 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4132 # Check whether --with-opencl was given.
4133 if test "${with_opencl+set}" = set; then :
4134 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4138 # Check whether --with-opengl was given.
4139 if test "${with_opengl+set}" = set; then :
4140 withval=$with_opengl;
4144 # Check whether --with-osmesa was given.
4145 if test "${with_osmesa+set}" = set; then :
4146 withval=$with_osmesa;
4150 # Check whether --with-oss was given.
4151 if test "${with_oss+set}" = set; then :
4152 withval=$with_oss;
4156 # Check whether --with-pcap was given.
4157 if test "${with_pcap+set}" = set; then :
4158 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4162 # Check whether --with-png was given.
4163 if test "${with_png+set}" = set; then :
4164 withval=$with_png;
4168 # Check whether --with-pthread was given.
4169 if test "${with_pthread+set}" = set; then :
4170 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4174 # Check whether --with-pulse was given.
4175 if test "${with_pulse+set}" = set; then :
4176 withval=$with_pulse;
4180 # Check whether --with-quicktime was given.
4181 if test "${with_quicktime+set}" = set; then :
4182 withval=$with_quicktime;
4186 # Check whether --with-sane was given.
4187 if test "${with_sane+set}" = set; then :
4188 withval=$with_sane;
4192 # Check whether --with-sdl was given.
4193 if test "${with_sdl+set}" = set; then :
4194 withval=$with_sdl;
4198 # Check whether --with-tiff was given.
4199 if test "${with_tiff+set}" = set; then :
4200 withval=$with_tiff;
4204 # Check whether --with-udev was given.
4205 if test "${with_udev+set}" = set; then :
4206 withval=$with_udev;
4210 # Check whether --with-unwind was given.
4211 if test "${with_unwind+set}" = set; then :
4212 withval=$with_unwind;
4216 # Check whether --with-usb was given.
4217 if test "${with_usb+set}" = set; then :
4218 withval=$with_usb;
4222 # Check whether --with-v4l2 was given.
4223 if test "${with_v4l2+set}" = set; then :
4224 withval=$with_v4l2;
4228 # Check whether --with-vkd3d was given.
4229 if test "${with_vkd3d+set}" = set; then :
4230 withval=$with_vkd3d;
4234 # Check whether --with-vulkan was given.
4235 if test "${with_vulkan+set}" = set; then :
4236 withval=$with_vulkan;
4240 # Check whether --with-xcomposite was given.
4241 if test "${with_xcomposite+set}" = set; then :
4242 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4246 # Check whether --with-xcursor was given.
4247 if test "${with_xcursor+set}" = set; then :
4248 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4252 # Check whether --with-xfixes was given.
4253 if test "${with_xfixes+set}" = set; then :
4254 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4258 # Check whether --with-xinerama was given.
4259 if test "${with_xinerama+set}" = set; then :
4260 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4264 # Check whether --with-xinput was given.
4265 if test "${with_xinput+set}" = set; then :
4266 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4270 # Check whether --with-xinput2 was given.
4271 if test "${with_xinput2+set}" = set; then :
4272 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4276 # Check whether --with-xml was given.
4277 if test "${with_xml+set}" = set; then :
4278 withval=$with_xml;
4282 # Check whether --with-xrandr was given.
4283 if test "${with_xrandr+set}" = set; then :
4284 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4288 # Check whether --with-xrender was given.
4289 if test "${with_xrender+set}" = set; then :
4290 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4294 # Check whether --with-xshape was given.
4295 if test "${with_xshape+set}" = set; then :
4296 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4300 # Check whether --with-xshm was given.
4301 if test "${with_xshm+set}" = set; then :
4302 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4306 # Check whether --with-xslt was given.
4307 if test "${with_xslt+set}" = set; then :
4308 withval=$with_xslt;
4312 # Check whether --with-xxf86vm was given.
4313 if test "${with_xxf86vm+set}" = set; then :
4314 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4319 # Check whether --with-wine-tools was given.
4320 if test "${with_wine_tools+set}" = set; then :
4321 withval=$with_wine_tools;
4325 # Check whether --with-wine64 was given.
4326 if test "${with_wine64+set}" = set; then :
4327 withval=$with_wine64;
4331 # Make sure we can run config.sub.
4332 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4333 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4336 $as_echo_n "checking build system type... " >&6; }
4337 if ${ac_cv_build+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 ac_build_alias=$build_alias
4341 test "x$ac_build_alias" = x &&
4342 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4343 test "x$ac_build_alias" = x &&
4344 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4345 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4346 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4350 $as_echo "$ac_cv_build" >&6; }
4351 case $ac_cv_build in
4352 *-*-*) ;;
4353 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4354 esac
4355 build=$ac_cv_build
4356 ac_save_IFS=$IFS; IFS='-'
4357 set x $ac_cv_build
4358 shift
4359 build_cpu=$1
4360 build_vendor=$2
4361 shift; shift
4362 # Remember, the first character of IFS is used to create $*,
4363 # except with old shells:
4364 build_os=$*
4365 IFS=$ac_save_IFS
4366 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4370 $as_echo_n "checking host system type... " >&6; }
4371 if ${ac_cv_host+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 if test "x$host_alias" = x; then
4375 ac_cv_host=$ac_cv_build
4376 else
4377 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4378 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4383 $as_echo "$ac_cv_host" >&6; }
4384 case $ac_cv_host in
4385 *-*-*) ;;
4386 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4387 esac
4388 host=$ac_cv_host
4389 ac_save_IFS=$IFS; IFS='-'
4390 set x $ac_cv_host
4391 shift
4392 host_cpu=$1
4393 host_vendor=$2
4394 shift; shift
4395 # Remember, the first character of IFS is used to create $*,
4396 # except with old shells:
4397 host_os=$*
4398 IFS=$ac_save_IFS
4399 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4405 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4406 set x ${MAKE-make}
4407 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4408 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
4411 cat >conftest.make <<\_ACEOF
4412 SHELL = /bin/sh
4413 all:
4414 @echo '@@@%%%=$(MAKE)=@@@%%%'
4415 _ACEOF
4416 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4417 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4418 *@@@%%%=?*=@@@%%%*)
4419 eval ac_cv_prog_make_${ac_make}_set=yes;;
4421 eval ac_cv_prog_make_${ac_make}_set=no;;
4422 esac
4423 rm -f conftest.make
4425 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4427 $as_echo "yes" >&6; }
4428 SET_MAKE=
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4432 SET_MAKE="MAKE=${MAKE-make}"
4435 ac_ext=c
4436 ac_cpp='$CPP $CPPFLAGS'
4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440 if test -n "$ac_tool_prefix"; then
4441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_CC+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 if test -n "$CC"; then
4449 ac_cv_prog_CC="$CC" # Let the user override the test.
4450 else
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 for as_dir in $PATH
4454 IFS=$as_save_IFS
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 break 2
4462 done
4463 done
4464 IFS=$as_save_IFS
4468 CC=$ac_cv_prog_CC
4469 if test -n "$CC"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4471 $as_echo "$CC" >&6; }
4472 else
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4479 if test -z "$ac_cv_prog_CC"; then
4480 ac_ct_CC=$CC
4481 # Extract the first word of "gcc", so it can be a program name with args.
4482 set dummy gcc; ac_word=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 if test -n "$ac_ct_CC"; then
4489 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4490 else
4491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 for as_dir in $PATH
4494 IFS=$as_save_IFS
4495 test -z "$as_dir" && as_dir=.
4496 for ac_exec_ext in '' $ac_executable_extensions; do
4497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4498 ac_cv_prog_ac_ct_CC="gcc"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 break 2
4502 done
4503 done
4504 IFS=$as_save_IFS
4508 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4509 if test -n "$ac_ct_CC"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4511 $as_echo "$ac_ct_CC" >&6; }
4512 else
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4517 if test "x$ac_ct_CC" = x; then
4518 CC=""
4519 else
4520 case $cross_compiling:$ac_tool_warned in
4521 yes:)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4524 ac_tool_warned=yes ;;
4525 esac
4526 CC=$ac_ct_CC
4528 else
4529 CC="$ac_cv_prog_CC"
4532 if test -z "$CC"; then
4533 if test -n "$ac_tool_prefix"; then
4534 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4535 set dummy ${ac_tool_prefix}cc; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_CC+:} false; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 if test -n "$CC"; then
4542 ac_cv_prog_CC="$CC" # Let the user override the test.
4543 else
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4547 IFS=$as_save_IFS
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_CC="${ac_tool_prefix}cc"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 break 2
4555 done
4556 done
4557 IFS=$as_save_IFS
4561 CC=$ac_cv_prog_CC
4562 if test -n "$CC"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4564 $as_echo "$CC" >&6; }
4565 else
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4573 if test -z "$CC"; then
4574 # Extract the first word of "cc", so it can be a program name with args.
4575 set dummy cc; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_CC+:} false; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 if test -n "$CC"; then
4582 ac_cv_prog_CC="$CC" # Let the user override the test.
4583 else
4584 ac_prog_rejected=no
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH
4588 IFS=$as_save_IFS
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4593 ac_prog_rejected=yes
4594 continue
4596 ac_cv_prog_CC="cc"
4597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 break 2
4600 done
4601 done
4602 IFS=$as_save_IFS
4604 if test $ac_prog_rejected = yes; then
4605 # We found a bogon in the path, so make sure we never use it.
4606 set dummy $ac_cv_prog_CC
4607 shift
4608 if test $# != 0; then
4609 # We chose a different compiler from the bogus one.
4610 # However, it has the same basename, so the bogon will be chosen
4611 # first if we set CC to just the basename; use the full file name.
4612 shift
4613 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4618 CC=$ac_cv_prog_CC
4619 if test -n "$CC"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4621 $as_echo "$CC" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4629 if test -z "$CC"; then
4630 if test -n "$ac_tool_prefix"; then
4631 for ac_prog in cl.exe
4633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_prog_CC+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 if test -n "$CC"; then
4641 ac_cv_prog_CC="$CC" # Let the user override the test.
4642 else
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 for as_dir in $PATH
4646 IFS=$as_save_IFS
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 break 2
4654 done
4655 done
4656 IFS=$as_save_IFS
4660 CC=$ac_cv_prog_CC
4661 if test -n "$CC"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4663 $as_echo "$CC" >&6; }
4664 else
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4670 test -n "$CC" && break
4671 done
4673 if test -z "$CC"; then
4674 ac_ct_CC=$CC
4675 for ac_prog in cl.exe
4677 # Extract the first word of "$ac_prog", so it can be a program name with args.
4678 set dummy $ac_prog; ac_word=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683 else
4684 if test -n "$ac_ct_CC"; then
4685 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4686 else
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_ac_ct_CC="$ac_prog"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4705 if test -n "$ac_ct_CC"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4707 $as_echo "$ac_ct_CC" >&6; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4714 test -n "$ac_ct_CC" && break
4715 done
4717 if test "x$ac_ct_CC" = x; then
4718 CC=""
4719 else
4720 case $cross_compiling:$ac_tool_warned in
4721 yes:)
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4724 ac_tool_warned=yes ;;
4725 esac
4726 CC=$ac_ct_CC
4733 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4735 as_fn_error $? "no acceptable C compiler found in \$PATH
4736 See \`config.log' for more details" "$LINENO" 5; }
4738 # Provide some information about the compiler.
4739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4740 set X $ac_compile
4741 ac_compiler=$2
4742 for ac_option in --version -v -V -qversion; do
4743 { { ac_try="$ac_compiler $ac_option >&5"
4744 case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4749 $as_echo "$ac_try_echo"; } >&5
4750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4751 ac_status=$?
4752 if test -s conftest.err; then
4753 sed '10a\
4754 ... rest of stderr output deleted ...
4755 10q' conftest.err >conftest.er1
4756 cat conftest.er1 >&5
4758 rm -f conftest.er1 conftest.err
4759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4760 test $ac_status = 0; }
4761 done
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4767 main ()
4771 return 0;
4773 _ACEOF
4774 ac_clean_files_save=$ac_clean_files
4775 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4776 # Try to create an executable without -o first, disregard a.out.
4777 # It will help us diagnose broken compilers, and finding out an intuition
4778 # of exeext.
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4780 $as_echo_n "checking whether the C compiler works... " >&6; }
4781 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4783 # The possible output files:
4784 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4786 ac_rmfiles=
4787 for ac_file in $ac_files
4789 case $ac_file in
4790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4791 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4792 esac
4793 done
4794 rm -f $ac_rmfiles
4796 if { { ac_try="$ac_link_default"
4797 case "(($ac_try" in
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4800 esac
4801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4802 $as_echo "$ac_try_echo"; } >&5
4803 (eval "$ac_link_default") 2>&5
4804 ac_status=$?
4805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4806 test $ac_status = 0; }; then :
4807 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4808 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4809 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4810 # so that the user can short-circuit this test for compilers unknown to
4811 # Autoconf.
4812 for ac_file in $ac_files ''
4814 test -f "$ac_file" || continue
4815 case $ac_file in
4816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4818 [ab].out )
4819 # We found the default executable, but exeext='' is most
4820 # certainly right.
4821 break;;
4822 *.* )
4823 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4824 then :; else
4825 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4827 # We set ac_cv_exeext here because the later test for it is not
4828 # safe: cross compilers may not add the suffix if given an `-o'
4829 # argument, so we may need to know it at that point already.
4830 # Even if this section looks crufty: it has the advantage of
4831 # actually working.
4832 break;;
4834 break;;
4835 esac
4836 done
4837 test "$ac_cv_exeext" = no && ac_cv_exeext=
4839 else
4840 ac_file=''
4842 if test -z "$ac_file"; then :
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4845 $as_echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4850 as_fn_error 77 "C compiler cannot create executables
4851 See \`config.log' for more details" "$LINENO" 5; }
4852 else
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854 $as_echo "yes" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4857 $as_echo_n "checking for C compiler default output file name... " >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4859 $as_echo "$ac_file" >&6; }
4860 ac_exeext=$ac_cv_exeext
4862 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4863 ac_clean_files=$ac_clean_files_save
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4865 $as_echo_n "checking for suffix of executables... " >&6; }
4866 if { { ac_try="$ac_link"
4867 case "(($ac_try" in
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4870 esac
4871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4872 $as_echo "$ac_try_echo"; } >&5
4873 (eval "$ac_link") 2>&5
4874 ac_status=$?
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }; then :
4877 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4878 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4879 # work properly (i.e., refer to `conftest.exe'), while it won't with
4880 # `rm'.
4881 for ac_file in conftest.exe conftest conftest.*; do
4882 test -f "$ac_file" || continue
4883 case $ac_file in
4884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4885 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4886 break;;
4887 * ) break;;
4888 esac
4889 done
4890 else
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4894 See \`config.log' for more details" "$LINENO" 5; }
4896 rm -f conftest conftest$ac_cv_exeext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4898 $as_echo "$ac_cv_exeext" >&6; }
4900 rm -f conftest.$ac_ext
4901 EXEEXT=$ac_cv_exeext
4902 ac_exeext=$EXEEXT
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4905 #include <stdio.h>
4907 main ()
4909 FILE *f = fopen ("conftest.out", "w");
4910 return ferror (f) || fclose (f) != 0;
4913 return 0;
4915 _ACEOF
4916 ac_clean_files="$ac_clean_files conftest.out"
4917 # Check that the compiler produces executables we can run. If not, either
4918 # the compiler is broken, or we cross compile.
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4920 $as_echo_n "checking whether we are cross compiling... " >&6; }
4921 if test "$cross_compiling" != yes; then
4922 { { ac_try="$ac_link"
4923 case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926 esac
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_link") 2>&5
4930 ac_status=$?
4931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4932 test $ac_status = 0; }
4933 if { ac_try='./conftest$ac_cv_exeext'
4934 { { case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4939 $as_echo "$ac_try_echo"; } >&5
4940 (eval "$ac_try") 2>&5
4941 ac_status=$?
4942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4943 test $ac_status = 0; }; }; then
4944 cross_compiling=no
4945 else
4946 if test "$cross_compiling" = maybe; then
4947 cross_compiling=yes
4948 else
4949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4951 as_fn_error $? "cannot run C compiled programs.
4952 If you meant to cross compile, use \`--host'.
4953 See \`config.log' for more details" "$LINENO" 5; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4958 $as_echo "$cross_compiling" >&6; }
4960 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4961 ac_clean_files=$ac_clean_files_save
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4963 $as_echo_n "checking for suffix of object files... " >&6; }
4964 if ${ac_cv_objext+:} false; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 rm -f conftest.o conftest.obj
4979 if { { ac_try="$ac_compile"
4980 case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4983 esac
4984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4985 $as_echo "$ac_try_echo"; } >&5
4986 (eval "$ac_compile") 2>&5
4987 ac_status=$?
4988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4989 test $ac_status = 0; }; then :
4990 for ac_file in conftest.o conftest.obj conftest.*; do
4991 test -f "$ac_file" || continue;
4992 case $ac_file in
4993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4994 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4995 break;;
4996 esac
4997 done
4998 else
4999 $as_echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5004 as_fn_error $? "cannot compute suffix of object files: cannot compile
5005 See \`config.log' for more details" "$LINENO" 5; }
5007 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5010 $as_echo "$ac_cv_objext" >&6; }
5011 OBJEXT=$ac_cv_objext
5012 ac_objext=$OBJEXT
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5014 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5015 if ${ac_cv_c_compiler_gnu+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5024 #ifndef __GNUC__
5025 choke me
5026 #endif
5029 return 0;
5031 _ACEOF
5032 if ac_fn_c_try_compile "$LINENO"; then :
5033 ac_compiler_gnu=yes
5034 else
5035 ac_compiler_gnu=no
5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5042 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5043 if test $ac_compiler_gnu = yes; then
5044 GCC=yes
5045 else
5046 GCC=
5048 ac_test_CFLAGS=${CFLAGS+set}
5049 ac_save_CFLAGS=$CFLAGS
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5051 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5052 if ${ac_cv_prog_cc_g+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 ac_save_c_werror_flag=$ac_c_werror_flag
5056 ac_c_werror_flag=yes
5057 ac_cv_prog_cc_g=no
5058 CFLAGS="-g"
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 ac_cv_prog_cc_g=yes
5072 else
5073 CFLAGS=""
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5078 main ()
5082 return 0;
5084 _ACEOF
5085 if ac_fn_c_try_compile "$LINENO"; then :
5087 else
5088 ac_c_werror_flag=$ac_save_c_werror_flag
5089 CFLAGS="-g"
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5094 main ()
5098 return 0;
5100 _ACEOF
5101 if ac_fn_c_try_compile "$LINENO"; then :
5102 ac_cv_prog_cc_g=yes
5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5109 ac_c_werror_flag=$ac_save_c_werror_flag
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5112 $as_echo "$ac_cv_prog_cc_g" >&6; }
5113 if test "$ac_test_CFLAGS" = set; then
5114 CFLAGS=$ac_save_CFLAGS
5115 elif test $ac_cv_prog_cc_g = yes; then
5116 if test "$GCC" = yes; then
5117 CFLAGS="-g -O2"
5118 else
5119 CFLAGS="-g"
5121 else
5122 if test "$GCC" = yes; then
5123 CFLAGS="-O2"
5124 else
5125 CFLAGS=
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5129 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5130 if ${ac_cv_prog_cc_c89+:} false; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5133 ac_cv_prog_cc_c89=no
5134 ac_save_CC=$CC
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <stdarg.h>
5138 #include <stdio.h>
5139 struct stat;
5140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5141 struct buf { int x; };
5142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5143 static char *e (p, i)
5144 char **p;
5145 int i;
5147 return p[i];
5149 static char *f (char * (*g) (char **, int), char **p, ...)
5151 char *s;
5152 va_list v;
5153 va_start (v,p);
5154 s = g (p, va_arg (v,int));
5155 va_end (v);
5156 return s;
5159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5160 function prototypes and stuff, but not '\xHH' hex character constants.
5161 These don't provoke an error unfortunately, instead are silently treated
5162 as 'x'. The following induces an error, until -std is added to get
5163 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5164 array size at least. It's necessary to write '\x00'==0 to get something
5165 that's true only with -std. */
5166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5169 inside strings and character constants. */
5170 #define FOO(x) 'x'
5171 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5173 int test (int i, double x);
5174 struct s1 {int (*f) (int a);};
5175 struct s2 {int (*f) (double a);};
5176 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5177 int argc;
5178 char **argv;
5180 main ()
5182 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5184 return 0;
5186 _ACEOF
5187 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5188 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5190 CC="$ac_save_CC $ac_arg"
5191 if ac_fn_c_try_compile "$LINENO"; then :
5192 ac_cv_prog_cc_c89=$ac_arg
5194 rm -f core conftest.err conftest.$ac_objext
5195 test "x$ac_cv_prog_cc_c89" != "xno" && break
5196 done
5197 rm -f conftest.$ac_ext
5198 CC=$ac_save_CC
5201 # AC_CACHE_VAL
5202 case "x$ac_cv_prog_cc_c89" in
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5205 $as_echo "none needed" >&6; } ;;
5206 xno)
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5208 $as_echo "unsupported" >&6; } ;;
5210 CC="$CC $ac_cv_prog_cc_c89"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5212 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5213 esac
5214 if test "x$ac_cv_prog_cc_c89" != xno; then :
5218 ac_ext=c
5219 ac_cpp='$CPP $CPPFLAGS'
5220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5224 ac_ext=cpp
5225 ac_cpp='$CXXCPP $CPPFLAGS'
5226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5229 if test -z "$CXX"; then
5230 if test -n "$CCC"; then
5231 CXX=$CCC
5232 else
5233 if test -n "$ac_tool_prefix"; then
5234 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_CXX+:} false; then :
5241 $as_echo_n "(cached) " >&6
5242 else
5243 if test -n "$CXX"; then
5244 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5245 else
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5249 IFS=$as_save_IFS
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 break 2
5257 done
5258 done
5259 IFS=$as_save_IFS
5263 CXX=$ac_cv_prog_CXX
5264 if test -n "$CXX"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5266 $as_echo "$CXX" >&6; }
5267 else
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5273 test -n "$CXX" && break
5274 done
5276 if test -z "$CXX"; then
5277 ac_ct_CXX=$CXX
5278 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$ac_ct_CXX"; then
5288 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_ac_ct_CXX="$ac_prog"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5308 if test -n "$ac_ct_CXX"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5310 $as_echo "$ac_ct_CXX" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$ac_ct_CXX" && break
5318 done
5320 if test "x$ac_ct_CXX" = x; then
5321 CXX="g++"
5322 else
5323 case $cross_compiling:$ac_tool_warned in
5324 yes:)
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5327 ac_tool_warned=yes ;;
5328 esac
5329 CXX=$ac_ct_CXX
5335 # Provide some information about the compiler.
5336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5337 set X $ac_compile
5338 ac_compiler=$2
5339 for ac_option in --version -v -V -qversion; do
5340 { { ac_try="$ac_compiler $ac_option >&5"
5341 case "(($ac_try" in
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5344 esac
5345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5346 $as_echo "$ac_try_echo"; } >&5
5347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5348 ac_status=$?
5349 if test -s conftest.err; then
5350 sed '10a\
5351 ... rest of stderr output deleted ...
5352 10q' conftest.err >conftest.er1
5353 cat conftest.er1 >&5
5355 rm -f conftest.er1 conftest.err
5356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5357 test $ac_status = 0; }
5358 done
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5361 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5362 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5371 #ifndef __GNUC__
5372 choke me
5373 #endif
5376 return 0;
5378 _ACEOF
5379 if ac_fn_cxx_try_compile "$LINENO"; then :
5380 ac_compiler_gnu=yes
5381 else
5382 ac_compiler_gnu=no
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5389 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5390 if test $ac_compiler_gnu = yes; then
5391 GXX=yes
5392 else
5393 GXX=
5395 ac_test_CXXFLAGS=${CXXFLAGS+set}
5396 ac_save_CXXFLAGS=$CXXFLAGS
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5398 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5399 if ${ac_cv_prog_cxx_g+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5403 ac_cxx_werror_flag=yes
5404 ac_cv_prog_cxx_g=no
5405 CXXFLAGS="-g"
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5410 main ()
5414 return 0;
5416 _ACEOF
5417 if ac_fn_cxx_try_compile "$LINENO"; then :
5418 ac_cv_prog_cxx_g=yes
5419 else
5420 CXXFLAGS=""
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5425 main ()
5429 return 0;
5431 _ACEOF
5432 if ac_fn_cxx_try_compile "$LINENO"; then :
5434 else
5435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5436 CXXFLAGS="-g"
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5441 main ()
5445 return 0;
5447 _ACEOF
5448 if ac_fn_cxx_try_compile "$LINENO"; then :
5449 ac_cv_prog_cxx_g=yes
5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5459 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5460 if test "$ac_test_CXXFLAGS" = set; then
5461 CXXFLAGS=$ac_save_CXXFLAGS
5462 elif test $ac_cv_prog_cxx_g = yes; then
5463 if test "$GXX" = yes; then
5464 CXXFLAGS="-g -O2"
5465 else
5466 CXXFLAGS="-g"
5468 else
5469 if test "$GXX" = yes; then
5470 CXXFLAGS="-O2"
5471 else
5472 CXXFLAGS=
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5481 if test -n "$ac_tool_prefix"; then
5482 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5483 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_CPPBIN+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$CPPBIN"; then
5490 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5503 done
5504 done
5505 IFS=$as_save_IFS
5509 CPPBIN=$ac_cv_prog_CPPBIN
5510 if test -n "$CPPBIN"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5512 $as_echo "$CPPBIN" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5520 if test -z "$ac_cv_prog_CPPBIN"; then
5521 ac_ct_CPPBIN=$CPPBIN
5522 # Extract the first word of "cpp", so it can be a program name with args.
5523 set dummy cpp; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5527 $as_echo_n "(cached) " >&6
5528 else
5529 if test -n "$ac_ct_CPPBIN"; then
5530 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5539 ac_cv_prog_ac_ct_CPPBIN="cpp"
5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5550 if test -n "$ac_ct_CPPBIN"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5552 $as_echo "$ac_ct_CPPBIN" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5558 if test "x$ac_ct_CPPBIN" = x; then
5559 CPPBIN="cpp"
5560 else
5561 case $cross_compiling:$ac_tool_warned in
5562 yes:)
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5565 ac_tool_warned=yes ;;
5566 esac
5567 CPPBIN=$ac_ct_CPPBIN
5569 else
5570 CPPBIN="$ac_cv_prog_CPPBIN"
5574 cat >>confdefs.h <<_ACEOF
5575 #define EXEEXT "$ac_exeext"
5576 _ACEOF
5578 if test -n "$ac_tool_prefix"; then
5579 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5580 set dummy ${ac_tool_prefix}ld; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_LD+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -n "$LD"; then
5587 ac_cv_prog_LD="$LD" # Let the user override the test.
5588 else
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 for as_dir in $PATH
5592 IFS=$as_save_IFS
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5596 ac_cv_prog_LD="${ac_tool_prefix}ld"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 break 2
5600 done
5601 done
5602 IFS=$as_save_IFS
5606 LD=$ac_cv_prog_LD
5607 if test -n "$LD"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5609 $as_echo "$LD" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5617 if test -z "$ac_cv_prog_LD"; then
5618 ac_ct_LD=$LD
5619 # Extract the first word of "ld", so it can be a program name with args.
5620 set dummy ld; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 if test -n "$ac_ct_LD"; then
5627 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5628 else
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_ac_ct_LD="ld"
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 break 2
5640 done
5641 done
5642 IFS=$as_save_IFS
5646 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5647 if test -n "$ac_ct_LD"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5649 $as_echo "$ac_ct_LD" >&6; }
5650 else
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5655 if test "x$ac_ct_LD" = x; then
5656 LD=""
5657 else
5658 case $cross_compiling:$ac_tool_warned in
5659 yes:)
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned=yes ;;
5663 esac
5664 LD=$ac_ct_LD
5666 else
5667 LD="$ac_cv_prog_LD"
5671 case $host in
5672 *-darwin*)
5673 with_fontconfig=${with_fontconfig:-no}
5675 *-mingw32*|*-cygwin*)
5676 enable_win16=${enable_win16:-no}
5677 with_mingw=${with_mingw:-no}
5679 esac
5682 case $host in
5683 x86_64*|amd64*)
5684 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5685 then
5686 CC="$CC -m32"
5687 CXX="$CXX -m32"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5690 $as_echo_n "checking whether $CC works... " >&6; }
5691 if ${wine_cv_cc_m32+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5698 main ()
5702 return 0;
5704 _ACEOF
5705 if ac_fn_c_try_link "$LINENO"; then :
5706 wine_cv_cc_m32=yes
5707 else
5708 wine_cv_cc_m32=no
5710 rm -f core conftest.err conftest.$ac_objext \
5711 conftest$ac_exeext conftest.$ac_ext
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5714 $as_echo "$wine_cv_cc_m32" >&6; }
5715 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
5716 host_cpu="i386"
5717 notice_platform="32-bit "
5718 TARGETFLAGS="$TARGETFLAGS -m32"
5719 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5720 export PKG_CONFIG_PATH
5721 enable_win16=${enable_win16:-yes}
5722 with_unwind=${with_unwind:-no}
5723 else
5724 if test "x${GCC}" = "xyes"
5725 then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5727 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5728 if ${wine_cv_builtin_ms_va_list+:} false; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5733 #include <stdarg.h>
5735 main ()
5737 void func(__builtin_ms_va_list *args);
5739 return 0;
5741 _ACEOF
5742 if ac_fn_c_try_compile "$LINENO"; then :
5743 wine_cv_builtin_ms_va_list=yes
5744 else
5745 wine_cv_builtin_ms_va_list=no
5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5750 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5751 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
5753 CC="$CC -m64"
5754 CXX="$CXX -m64"
5755 host_cpu="x86_64"
5756 notice_platform="64-bit "
5757 TARGETFLAGS="$TARGETFLAGS -m64"
5758 enable_wow64=${enable_wow64:-yes}
5759 enable_wow64win=${enable_wow64win:-yes}
5760 enable_wow64cpu=${enable_wow64cpu:-yes}
5763 arm*)
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5765 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5766 if ${wine_cv_thumb2+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5773 main ()
5775 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5777 return 0;
5779 _ACEOF
5780 if ac_fn_c_try_link "$LINENO"; then :
5781 wine_cv_thumb2=yes
5782 else
5783 wine_cv_thumb2=no
5785 rm -f core conftest.err conftest.$ac_objext \
5786 conftest$ac_exeext conftest.$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5789 $as_echo "$wine_cv_thumb2" >&6; }
5790 if test x"$wine_cv_thumb2" = xyes
5791 then
5792 CFLAGS="$CFLAGS -mthumb"
5793 TARGETFLAGS="$TARGETFLAGS -mthumb"
5794 else
5795 CFLAGS="$CFLAGS -marm"
5796 TARGETFLAGS="$TARGETFLAGS -marm"
5798 case $with_float_abi in
5799 soft|softfp|hard)
5800 float_abi=$with_float_abi ;;
5802 case $host_os in
5803 *eabihf)
5804 float_abi=hard ;;
5806 float_abi=softfp
5807 saved_CFLAGS=$CFLAGS
5808 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5810 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5811 if ${wine_cv_float_abi+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5818 main ()
5820 asm("vmrs r2,fpscr");
5822 return 0;
5824 _ACEOF
5825 if ac_fn_c_try_link "$LINENO"; then :
5826 wine_cv_float_abi=yes
5827 else
5828 wine_cv_float_abi=no
5830 rm -f core conftest.err conftest.$ac_objext \
5831 conftest$ac_exeext conftest.$ac_ext
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5834 $as_echo "$wine_cv_float_abi" >&6; }
5835 if test $wine_cv_float_abi = no
5836 then
5837 float_abi=soft
5838 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5840 CFLAGS=$saved_CFLAGS
5841 esac
5843 esac
5844 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5845 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5847 aarch64*)
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5849 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5850 if ${wine_cv_builtin_ms_va_list+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5855 #include <stdarg.h>
5857 main ()
5859 void func(__builtin_ms_va_list *args);
5861 return 0;
5863 _ACEOF
5864 if ac_fn_c_try_compile "$LINENO"; then :
5865 wine_cv_builtin_ms_va_list=yes
5866 else
5867 wine_cv_builtin_ms_va_list=no
5869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5872 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5873 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5874 enable_wow64=${enable_wow64:-yes}
5875 enable_wow64win=${enable_wow64win:-yes}
5877 i[3456789]86*)
5878 enable_win16=${enable_win16:-yes}
5879 with_unwind=${with_unwind:-no}
5881 esac
5883 enable_win16=${enable_win16:-no}
5884 enable_win64=${enable_win64:-no}
5885 enable_wow64=${enable_wow64:-no}
5886 enable_wow64win=${enable_wow64win:-no}
5887 enable_wow64cpu=${enable_wow64cpu:-no}
5889 enable_winetest=${enable_winetest:-$enable_tests}
5891 if test "x$enable_win64" = "xyes"
5892 then
5893 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5894 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5898 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5899 if ${wine_cv_toolsdir+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 wine_cv_toolsdir="$with_wine_tools"
5903 if test -z "$with_wine_tools"; then
5904 if test "$cross_compiling" = "yes"; then
5905 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5906 elif test -n "$with_wine64"; then
5907 wine_cv_toolsdir="$with_wine64"
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5912 $as_echo "$wine_cv_toolsdir" >&6; }
5913 if test -z "$wine_cv_toolsdir"; then
5914 wine_makedep=tools/makedep
5915 TOOLSDIR="."
5917 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5918 wine_makedep=$wine_cv_toolsdir/tools/makedep
5919 TOOLSDIR=$wine_cv_toolsdir
5921 enable_tools=${enable_tools:-no}
5922 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5923 else
5924 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5926 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5927 then
5928 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5931 for ac_prog in flex
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_FLEX+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$FLEX"; then
5941 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_FLEX="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 FLEX=$ac_cv_prog_FLEX
5961 if test -n "$FLEX"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5963 $as_echo "$FLEX" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$FLEX" && break
5971 done
5972 test -n "$FLEX" || FLEX="none"
5974 if test "$FLEX" = "none"
5975 then
5976 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5979 $as_echo_n "checking whether flex is recent enough... " >&6; }
5980 if ${wine_cv_recent_flex+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 cat >conftest.l <<EOF
5984 %top{
5985 #include "prediluvian.h"
5989 if $FLEX -t conftest.l >/dev/null 2>&5
5990 then
5991 wine_cv_recent_flex=yes
5992 else
5993 wine_cv_recent_flex=no
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5997 $as_echo "$wine_cv_recent_flex" >&6; }
5998 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
6000 for ac_prog in bison
6002 # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 set dummy $ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_BISON+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$BISON"; then
6010 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_BISON="$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 BISON=$ac_cv_prog_BISON
6030 if test -n "$BISON"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6032 $as_echo "$BISON" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$BISON" && break
6040 done
6041 test -n "$BISON" || BISON="none"
6043 if test "$BISON" = "none"
6044 then
6045 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6048 $as_echo_n "checking whether bison is recent enough... " >&6; }
6049 if ${wine_cv_recent_bison+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 cat >conftest.y <<EOF
6053 %define parse.error verbose
6055 empty: ;
6057 if $BISON conftest.y >/dev/null 2>&5
6058 then
6059 wine_cv_recent_bison=yes
6060 else
6061 wine_cv_recent_bison=no
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6065 $as_echo "$wine_cv_recent_bison" >&6; }
6066 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
6068 if test -n "$ac_tool_prefix"; then
6069 for ac_prog in ar gar
6071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_AR+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$AR"; then
6079 ac_cv_prog_AR="$AR" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 AR=$ac_cv_prog_AR
6099 if test -n "$AR"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6101 $as_echo "$AR" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6108 test -n "$AR" && break
6109 done
6111 if test -z "$AR"; then
6112 ac_ct_AR=$AR
6113 for ac_prog in ar gar
6115 # Extract the first word of "$ac_prog", so it can be a program name with args.
6116 set dummy $ac_prog; ac_word=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 $as_echo_n "checking for $ac_word... " >&6; }
6119 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6120 $as_echo_n "(cached) " >&6
6121 else
6122 if test -n "$ac_ct_AR"; then
6123 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 test -z "$as_dir" && as_dir=.
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_AR="$ac_prog"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6143 if test -n "$ac_ct_AR"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6145 $as_echo "$ac_ct_AR" >&6; }
6146 else
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 $as_echo "no" >&6; }
6152 test -n "$ac_ct_AR" && break
6153 done
6155 if test "x$ac_ct_AR" = x; then
6156 AR="ar"
6157 else
6158 case $cross_compiling:$ac_tool_warned in
6159 yes:)
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6163 esac
6164 AR=$ac_ct_AR
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}strip; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172 $as_echo_n "checking for $ac_word... " >&6; }
6173 if ${ac_cv_prog_STRIP+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 if test -n "$STRIP"; then
6177 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6186 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 break 2
6190 done
6191 done
6192 IFS=$as_save_IFS
6196 STRIP=$ac_cv_prog_STRIP
6197 if test -n "$STRIP"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6199 $as_echo "$STRIP" >&6; }
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6207 if test -z "$ac_cv_prog_STRIP"; then
6208 ac_ct_STRIP=$STRIP
6209 # Extract the first word of "strip", so it can be a program name with args.
6210 set dummy strip; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$ac_ct_STRIP"; then
6217 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226 ac_cv_prog_ac_ct_STRIP="strip"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6237 if test -n "$ac_ct_STRIP"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6239 $as_echo "$ac_ct_STRIP" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6245 if test "x$ac_ct_STRIP" = x; then
6246 STRIP="strip"
6247 else
6248 case $cross_compiling:$ac_tool_warned in
6249 yes:)
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252 ac_tool_warned=yes ;;
6253 esac
6254 STRIP=$ac_ct_STRIP
6256 else
6257 STRIP="$ac_cv_prog_STRIP"
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 $as_echo_n "checking for $ac_word... " >&6; }
6265 if ${ac_cv_prog_RANLIB+:} false; then :
6266 $as_echo_n "(cached) " >&6
6267 else
6268 if test -n "$RANLIB"; then
6269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6270 else
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH
6274 IFS=$as_save_IFS
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 break 2
6282 done
6283 done
6284 IFS=$as_save_IFS
6288 RANLIB=$ac_cv_prog_RANLIB
6289 if test -n "$RANLIB"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6291 $as_echo "$RANLIB" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6299 if test -z "$ac_cv_prog_RANLIB"; then
6300 ac_ct_RANLIB=$RANLIB
6301 # Extract the first word of "ranlib", so it can be a program name with args.
6302 set dummy ranlib; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 if test -n "$ac_ct_RANLIB"; then
6309 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6310 else
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 for as_dir in $PATH
6314 IFS=$as_save_IFS
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318 ac_cv_prog_ac_ct_RANLIB="ranlib"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 break 2
6322 done
6323 done
6324 IFS=$as_save_IFS
6328 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6329 if test -n "$ac_ct_RANLIB"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6331 $as_echo "$ac_ct_RANLIB" >&6; }
6332 else
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6337 if test "x$ac_ct_RANLIB" = x; then
6338 RANLIB=":"
6339 else
6340 case $cross_compiling:$ac_tool_warned in
6341 yes:)
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6344 ac_tool_warned=yes ;;
6345 esac
6346 RANLIB=$ac_ct_RANLIB
6348 else
6349 RANLIB="$ac_cv_prog_RANLIB"
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6353 $as_echo_n "checking whether ln -s works... " >&6; }
6354 LN_S=$as_ln_s
6355 if test "$LN_S" = "ln -s"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6357 $as_echo "yes" >&6; }
6358 else
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6360 $as_echo "no, using $LN_S" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6364 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6365 if ${ac_cv_path_GREP+:} false; then :
6366 $as_echo_n "(cached) " >&6
6367 else
6368 if test -z "$GREP"; then
6369 ac_path_GREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in grep ggrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_GREP" || continue
6380 # Check for GNU ac_path_GREP and select it if it is found.
6381 # Check for GNU $ac_path_GREP
6382 case `"$ac_path_GREP" --version 2>&1` in
6383 *GNU*)
6384 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6386 ac_count=0
6387 $as_echo_n 0123456789 >"conftest.in"
6388 while :
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'GREP' >> "conftest.nl"
6394 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_GREP="$ac_path_GREP"
6400 ac_path_GREP_max=$ac_count
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6404 done
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6406 esac
6408 $ac_path_GREP_found && break 3
6409 done
6410 done
6411 done
6412 IFS=$as_save_IFS
6413 if test -z "$ac_cv_path_GREP"; then
6414 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6416 else
6417 ac_cv_path_GREP=$GREP
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6422 $as_echo "$ac_cv_path_GREP" >&6; }
6423 GREP="$ac_cv_path_GREP"
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6427 $as_echo_n "checking for egrep... " >&6; }
6428 if ${ac_cv_path_EGREP+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6432 then ac_cv_path_EGREP="$GREP -E"
6433 else
6434 if test -z "$EGREP"; then
6435 ac_path_EGREP_found=false
6436 # Loop through the user's path and test for each of PROGNAME-LIST
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_prog in egrep; do
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6445 as_fn_executable_p "$ac_path_EGREP" || continue
6446 # Check for GNU ac_path_EGREP and select it if it is found.
6447 # Check for GNU $ac_path_EGREP
6448 case `"$ac_path_EGREP" --version 2>&1` in
6449 *GNU*)
6450 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6452 ac_count=0
6453 $as_echo_n 0123456789 >"conftest.in"
6454 while :
6456 cat "conftest.in" "conftest.in" >"conftest.tmp"
6457 mv "conftest.tmp" "conftest.in"
6458 cp "conftest.in" "conftest.nl"
6459 $as_echo 'EGREP' >> "conftest.nl"
6460 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6461 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6462 as_fn_arith $ac_count + 1 && ac_count=$as_val
6463 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6464 # Best one so far, save it but keep looking for a better one
6465 ac_cv_path_EGREP="$ac_path_EGREP"
6466 ac_path_EGREP_max=$ac_count
6468 # 10*(2^10) chars as input seems more than enough
6469 test $ac_count -gt 10 && break
6470 done
6471 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6472 esac
6474 $ac_path_EGREP_found && break 3
6475 done
6476 done
6477 done
6478 IFS=$as_save_IFS
6479 if test -z "$ac_cv_path_EGREP"; then
6480 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6482 else
6483 ac_cv_path_EGREP=$EGREP
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6489 $as_echo "$ac_cv_path_EGREP" >&6; }
6490 EGREP="$ac_cv_path_EGREP"
6493 # Extract the first word of "ldconfig", so it can be a program name with args.
6494 set dummy ldconfig; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_path_LDCONFIG+:} false; then :
6498 $as_echo_n "(cached) " >&6
6499 else
6500 case $LDCONFIG in
6501 [\\/]* | ?:[\\/]*)
6502 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 for as_dir in /sbin /usr/sbin $PATH
6508 IFS=$as_save_IFS
6509 test -z "$as_dir" && as_dir=.
6510 for ac_exec_ext in '' $ac_executable_extensions; do
6511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6512 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 break 2
6516 done
6517 done
6518 IFS=$as_save_IFS
6520 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6522 esac
6524 LDCONFIG=$ac_cv_path_LDCONFIG
6525 if test -n "$LDCONFIG"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6527 $as_echo "$LDCONFIG" >&6; }
6528 else
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6534 for ac_prog in msgfmt
6536 # Extract the first word of "$ac_prog", so it can be a program name with args.
6537 set dummy $ac_prog; ac_word=$2
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 $as_echo_n "checking for $ac_word... " >&6; }
6540 if ${ac_cv_prog_MSGFMT+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 if test -n "$MSGFMT"; then
6544 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6545 else
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in $PATH
6549 IFS=$as_save_IFS
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6553 ac_cv_prog_MSGFMT="$ac_prog"
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6555 break 2
6557 done
6558 done
6559 IFS=$as_save_IFS
6563 MSGFMT=$ac_cv_prog_MSGFMT
6564 if test -n "$MSGFMT"; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6566 $as_echo "$MSGFMT" >&6; }
6567 else
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 $as_echo "no" >&6; }
6573 test -n "$MSGFMT" && break
6574 done
6575 test -n "$MSGFMT" || MSGFMT="false"
6577 if ${ac_tool_prefix+:} false; then :
6578 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6579 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6583 $as_echo_n "(cached) " >&6
6584 else
6585 if test -n "$PKG_CONFIG"; then
6586 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6591 IFS=$as_save_IFS
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6606 if test -n "$PKG_CONFIG"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6608 $as_echo "$PKG_CONFIG" >&6; }
6609 else
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6616 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6617 if test "x$cross_compiling" = xyes; then :
6619 else
6620 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6621 # Extract the first word of "pkg-config", so it can be a program name with args.
6622 set dummy pkg-config; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$PKG_CONFIG"; then
6629 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_PKG_CONFIG="pkg-config"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6648 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6649 if test -n "$PKG_CONFIG"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6651 $as_echo "$PKG_CONFIG" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6659 else
6660 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6663 if test "x$enable_maintainer_mode" != "xyes"
6664 then
6665 FONTFORGE=""
6666 RSVG=""
6667 CONVERT=""
6668 ICOTOOL=""
6669 else
6670 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6671 for ac_prog in fontforge
6673 # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy $ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_FONTFORGE+:} false; then :
6678 $as_echo_n "(cached) " >&6
6679 else
6680 if test -n "$FONTFORGE"; then
6681 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6682 else
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 for as_dir in $PATH
6686 IFS=$as_save_IFS
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6690 ac_cv_prog_FONTFORGE="$ac_prog"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 break 2
6694 done
6695 done
6696 IFS=$as_save_IFS
6700 FONTFORGE=$ac_cv_prog_FONTFORGE
6701 if test -n "$FONTFORGE"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6703 $as_echo "$FONTFORGE" >&6; }
6704 else
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6710 test -n "$FONTFORGE" && break
6711 done
6712 test -n "$FONTFORGE" || FONTFORGE="false"
6714 for ac_prog in rsvg-convert rsvg
6716 # Extract the first word of "$ac_prog", so it can be a program name with args.
6717 set dummy $ac_prog; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if ${ac_cv_prog_RSVG+:} false; then :
6721 $as_echo_n "(cached) " >&6
6722 else
6723 if test -n "$RSVG"; then
6724 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6729 IFS=$as_save_IFS
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_RSVG="$ac_prog"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 break 2
6737 done
6738 done
6739 IFS=$as_save_IFS
6743 RSVG=$ac_cv_prog_RSVG
6744 if test -n "$RSVG"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6746 $as_echo "$RSVG" >&6; }
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6753 test -n "$RSVG" && break
6754 done
6755 test -n "$RSVG" || RSVG="false"
6757 for ac_prog in convert
6759 # Extract the first word of "$ac_prog", so it can be a program name with args.
6760 set dummy $ac_prog; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 $as_echo_n "checking for $ac_word... " >&6; }
6763 if ${ac_cv_prog_CONVERT+:} false; then :
6764 $as_echo_n "(cached) " >&6
6765 else
6766 if test -n "$CONVERT"; then
6767 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6768 else
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 for as_dir in $PATH
6772 IFS=$as_save_IFS
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_CONVERT="$ac_prog"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 break 2
6780 done
6781 done
6782 IFS=$as_save_IFS
6786 CONVERT=$ac_cv_prog_CONVERT
6787 if test -n "$CONVERT"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6789 $as_echo "$CONVERT" >&6; }
6790 else
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 $as_echo "no" >&6; }
6796 test -n "$CONVERT" && break
6797 done
6798 test -n "$CONVERT" || CONVERT="false"
6800 for ac_prog in icotool
6802 # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ICOTOOL+:} false; then :
6807 $as_echo_n "(cached) " >&6
6808 else
6809 if test -n "$ICOTOOL"; then
6810 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6815 IFS=$as_save_IFS
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_ICOTOOL="$ac_prog"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 break 2
6823 done
6824 done
6825 IFS=$as_save_IFS
6829 ICOTOOL=$ac_cv_prog_ICOTOOL
6830 if test -n "$ICOTOOL"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6832 $as_echo "$ICOTOOL" >&6; }
6833 else
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6839 test -n "$ICOTOOL" && break
6840 done
6841 test -n "$ICOTOOL" || ICOTOOL="false"
6843 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6844 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6846 if test "$CONVERT" = false
6847 then
6848 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6849 else
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6851 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6852 convert_version=`convert --version | head -n1`
6853 if test "x$convert_version" != "x"
6854 then
6855 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6856 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6857 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6858 then
6859 CONVERT=false
6862 if test "$CONVERT" = false
6863 then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6865 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6866 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6867 else
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6869 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6873 if test "$ICOTOOL" = false
6874 then
6875 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6876 else
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6878 $as_echo_n "checking for recent enough icotool... " >&6; }
6879 icotool_version=`icotool --version | head -n1`
6880 if test "x$icotool_version" != "x"
6881 then
6882 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6883 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6884 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6885 then
6886 ICOTOOL=false
6887 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6890 if test "$ICOTOOL" = false
6891 then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6893 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6894 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6895 else
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6897 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6901 with_gettext=yes
6902 with_gettextpo=yes
6904 enable_werror=yes
6907 test "x$with_gettext" != xno || MSGFMT=false
6908 if test "$MSGFMT" != "false"
6909 then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6911 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6912 if ${wine_cv_msgfmt_contexts+:} false; then :
6913 $as_echo_n "(cached) " >&6
6914 else
6915 cat >conftest.po <<EOF
6916 # comment
6917 msgctxt "ctxt"
6918 msgid "id"
6919 msgstr "str"
6921 if $MSGFMT -o /dev/null conftest.po 2>&5
6922 then
6923 wine_cv_msgfmt_contexts=yes
6924 else
6925 wine_cv_msgfmt_contexts=no
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6929 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6930 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6932 if test "$MSGFMT" = false; then :
6933 case "x$with_gettext" in
6934 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6935 xno) ;;
6936 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6937 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6938 esac
6939 enable_po=${enable_po:-no}
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6944 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6945 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 ac_check_lib_save_LIBS=$LIBS
6949 LIBS="-li386 $LIBS"
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6953 /* Override any GCC internal prototype to avoid an error.
6954 Use char because int might match the return type of a GCC
6955 builtin and then its argument prototype would still apply. */
6956 #ifdef __cplusplus
6957 extern "C"
6958 #endif
6959 char i386_set_ldt ();
6961 main ()
6963 return i386_set_ldt ();
6965 return 0;
6967 _ACEOF
6968 if ac_fn_c_try_link "$LINENO"; then :
6969 ac_cv_lib_i386_i386_set_ldt=yes
6970 else
6971 ac_cv_lib_i386_i386_set_ldt=no
6973 rm -f core conftest.err conftest.$ac_objext \
6974 conftest$ac_exeext conftest.$ac_ext
6975 LIBS=$ac_check_lib_save_LIBS
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6978 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6979 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6980 I386_LIBS="-li386"
6985 OPENGL_LIBS=""
6989 # Check whether --enable-largefile was given.
6990 if test "${enable_largefile+set}" = set; then :
6991 enableval=$enable_largefile;
6994 if test "$enable_largefile" != no; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6997 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6998 if ${ac_cv_sys_largefile_CC+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 ac_cv_sys_largefile_CC=no
7002 if test "$GCC" != yes; then
7003 ac_save_CC=$CC
7004 while :; do
7005 # IRIX 6.2 and later do not support large files by default,
7006 # so use the C compiler's -n32 option if that helps.
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 break
7029 rm -f core conftest.err conftest.$ac_objext
7030 CC="$CC -n32"
7031 if ac_fn_c_try_compile "$LINENO"; then :
7032 ac_cv_sys_largefile_CC=' -n32'; break
7034 rm -f core conftest.err conftest.$ac_objext
7035 break
7036 done
7037 CC=$ac_save_CC
7038 rm -f conftest.$ac_ext
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7042 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7043 if test "$ac_cv_sys_largefile_CC" != no; then
7044 CC=$CC$ac_cv_sys_largefile_CC
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7048 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7049 if ${ac_cv_sys_file_offset_bits+:} false; then :
7050 $as_echo_n "(cached) " >&6
7051 else
7052 while :; do
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055 #include <sys/types.h>
7056 /* Check that off_t can represent 2**63 - 1 correctly.
7057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7058 since some C++ compilers masquerading as C compilers
7059 incorrectly reject 9223372036854775807. */
7060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7062 && LARGE_OFF_T % 2147483647 == 1)
7063 ? 1 : -1];
7065 main ()
7069 return 0;
7071 _ACEOF
7072 if ac_fn_c_try_compile "$LINENO"; then :
7073 ac_cv_sys_file_offset_bits=no; break
7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #define _FILE_OFFSET_BITS 64
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_file_offset_bits=64; break
7099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7100 ac_cv_sys_file_offset_bits=unknown
7101 break
7102 done
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7105 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7106 case $ac_cv_sys_file_offset_bits in #(
7107 no | unknown) ;;
7109 cat >>confdefs.h <<_ACEOF
7110 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7111 _ACEOF
7113 esac
7114 rm -rf conftest*
7115 if test $ac_cv_sys_file_offset_bits = unknown; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7117 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7118 if ${ac_cv_sys_large_files+:} false; then :
7119 $as_echo_n "(cached) " >&6
7120 else
7121 while :; do
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7124 #include <sys/types.h>
7125 /* Check that off_t can represent 2**63 - 1 correctly.
7126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7127 since some C++ compilers masquerading as C compilers
7128 incorrectly reject 9223372036854775807. */
7129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7131 && LARGE_OFF_T % 2147483647 == 1)
7132 ? 1 : -1];
7134 main ()
7138 return 0;
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142 ac_cv_sys_large_files=no; break
7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7147 #define _LARGE_FILES 1
7148 #include <sys/types.h>
7149 /* Check that off_t can represent 2**63 - 1 correctly.
7150 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7151 since some C++ compilers masquerading as C compilers
7152 incorrectly reject 9223372036854775807. */
7153 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7155 && LARGE_OFF_T % 2147483647 == 1)
7156 ? 1 : -1];
7158 main ()
7162 return 0;
7164 _ACEOF
7165 if ac_fn_c_try_compile "$LINENO"; then :
7166 ac_cv_sys_large_files=1; break
7168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7169 ac_cv_sys_large_files=unknown
7170 break
7171 done
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7174 $as_echo "$ac_cv_sys_large_files" >&6; }
7175 case $ac_cv_sys_large_files in #(
7176 no | unknown) ;;
7178 cat >>confdefs.h <<_ACEOF
7179 #define _LARGE_FILES $ac_cv_sys_large_files
7180 _ACEOF
7182 esac
7183 rm -rf conftest*
7190 ac_ext=c
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7196 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7197 # On Suns, sometimes $CPP names a directory.
7198 if test -n "$CPP" && test -d "$CPP"; then
7199 CPP=
7201 if test -z "$CPP"; then
7202 if ${ac_cv_prog_CPP+:} false; then :
7203 $as_echo_n "(cached) " >&6
7204 else
7205 # Double quotes because CPP needs to be expanded
7206 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7208 ac_preproc_ok=false
7209 for ac_c_preproc_warn_flag in '' yes
7211 # Use a header file that comes with gcc, so configuring glibc
7212 # with a fresh cross-compiler works.
7213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7214 # <limits.h> exists even on freestanding compilers.
7215 # On the NeXT, cc -E runs the code through the compiler's parser,
7216 # not just through cpp. "Syntax error" is here to catch this case.
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #ifdef __STDC__
7220 # include <limits.h>
7221 #else
7222 # include <assert.h>
7223 #endif
7224 Syntax error
7225 _ACEOF
7226 if ac_fn_c_try_cpp "$LINENO"; then :
7228 else
7229 # Broken: fails on valid input.
7230 continue
7232 rm -f conftest.err conftest.i conftest.$ac_ext
7234 # OK, works on sane cases. Now check whether nonexistent headers
7235 # can be detected and how.
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <ac_nonexistent.h>
7239 _ACEOF
7240 if ac_fn_c_try_cpp "$LINENO"; then :
7241 # Broken: success on invalid input.
7242 continue
7243 else
7244 # Passes both tests.
7245 ac_preproc_ok=:
7246 break
7248 rm -f conftest.err conftest.i conftest.$ac_ext
7250 done
7251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7252 rm -f conftest.i conftest.err conftest.$ac_ext
7253 if $ac_preproc_ok; then :
7254 break
7257 done
7258 ac_cv_prog_CPP=$CPP
7261 CPP=$ac_cv_prog_CPP
7262 else
7263 ac_cv_prog_CPP=$CPP
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7266 $as_echo "$CPP" >&6; }
7267 ac_preproc_ok=false
7268 for ac_c_preproc_warn_flag in '' yes
7270 # Use a header file that comes with gcc, so configuring glibc
7271 # with a fresh cross-compiler works.
7272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7273 # <limits.h> exists even on freestanding compilers.
7274 # On the NeXT, cc -E runs the code through the compiler's parser,
7275 # not just through cpp. "Syntax error" is here to catch this case.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #ifdef __STDC__
7279 # include <limits.h>
7280 #else
7281 # include <assert.h>
7282 #endif
7283 Syntax error
7284 _ACEOF
7285 if ac_fn_c_try_cpp "$LINENO"; then :
7287 else
7288 # Broken: fails on valid input.
7289 continue
7291 rm -f conftest.err conftest.i conftest.$ac_ext
7293 # OK, works on sane cases. Now check whether nonexistent headers
7294 # can be detected and how.
7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7296 /* end confdefs.h. */
7297 #include <ac_nonexistent.h>
7298 _ACEOF
7299 if ac_fn_c_try_cpp "$LINENO"; then :
7300 # Broken: success on invalid input.
7301 continue
7302 else
7303 # Passes both tests.
7304 ac_preproc_ok=:
7305 break
7307 rm -f conftest.err conftest.i conftest.$ac_ext
7309 done
7310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7311 rm -f conftest.i conftest.err conftest.$ac_ext
7312 if $ac_preproc_ok; then :
7314 else
7315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7317 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7318 See \`config.log' for more details" "$LINENO" 5; }
7321 ac_ext=c
7322 ac_cpp='$CPP $CPPFLAGS'
7323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7329 $as_echo_n "checking for ANSI C header files... " >&6; }
7330 if ${ac_cv_header_stdc+:} false; then :
7331 $as_echo_n "(cached) " >&6
7332 else
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7335 #include <stdlib.h>
7336 #include <stdarg.h>
7337 #include <string.h>
7338 #include <float.h>
7341 main ()
7345 return 0;
7347 _ACEOF
7348 if ac_fn_c_try_compile "$LINENO"; then :
7349 ac_cv_header_stdc=yes
7350 else
7351 ac_cv_header_stdc=no
7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7355 if test $ac_cv_header_stdc = yes; then
7356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7359 #include <string.h>
7361 _ACEOF
7362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7363 $EGREP "memchr" >/dev/null 2>&1; then :
7365 else
7366 ac_cv_header_stdc=no
7368 rm -f conftest*
7372 if test $ac_cv_header_stdc = yes; then
7373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7376 #include <stdlib.h>
7378 _ACEOF
7379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7380 $EGREP "free" >/dev/null 2>&1; then :
7382 else
7383 ac_cv_header_stdc=no
7385 rm -f conftest*
7389 if test $ac_cv_header_stdc = yes; then
7390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7391 if test "$cross_compiling" = yes; then :
7393 else
7394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7395 /* end confdefs.h. */
7396 #include <ctype.h>
7397 #include <stdlib.h>
7398 #if ((' ' & 0x0FF) == 0x020)
7399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7401 #else
7402 # define ISLOWER(c) \
7403 (('a' <= (c) && (c) <= 'i') \
7404 || ('j' <= (c) && (c) <= 'r') \
7405 || ('s' <= (c) && (c) <= 'z'))
7406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7407 #endif
7409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7411 main ()
7413 int i;
7414 for (i = 0; i < 256; i++)
7415 if (XOR (islower (i), ISLOWER (i))
7416 || toupper (i) != TOUPPER (i))
7417 return 2;
7418 return 0;
7420 _ACEOF
7421 if ac_fn_c_try_run "$LINENO"; then :
7423 else
7424 ac_cv_header_stdc=no
7426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7427 conftest.$ac_objext conftest.beam conftest.$ac_ext
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7433 $as_echo "$ac_cv_header_stdc" >&6; }
7434 if test $ac_cv_header_stdc = yes; then
7436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7442 inttypes.h stdint.h unistd.h
7443 do :
7444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7448 cat >>confdefs.h <<_ACEOF
7449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7450 _ACEOF
7454 done
7457 for ac_header in \
7458 AL/al.h \
7459 ApplicationServices/ApplicationServices.h \
7460 CL/cl.h \
7461 Carbon/Carbon.h \
7462 CoreAudio/CoreAudio.h \
7463 DiskArbitration/DiskArbitration.h \
7464 EGL/egl.h \
7465 IOKit/IOKitLib.h \
7466 IOKit/hid/IOHIDLib.h \
7467 OpenAL/al.h \
7468 OpenCL/opencl.h \
7469 QuickTime/ImageCompression.h \
7470 Security/Security.h \
7471 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7472 SystemConfiguration/SCNetworkConfiguration.h \
7473 alias.h \
7474 arpa/inet.h \
7475 arpa/nameser.h \
7476 asm/types.h \
7477 asm/user.h \
7478 dirent.h \
7479 elf.h \
7480 float.h \
7481 gettext-po.h \
7482 gsm.h \
7483 gsm/gsm.h \
7484 ieeefp.h \
7485 libproc.h \
7486 link.h \
7487 linux/cdrom.h \
7488 linux/filter.h \
7489 linux/hdreg.h \
7490 linux/hidraw.h \
7491 linux/input.h \
7492 linux/ioctl.h \
7493 linux/joystick.h \
7494 linux/major.h \
7495 linux/param.h \
7496 linux/serial.h \
7497 linux/types.h \
7498 linux/ucdrom.h \
7499 lwp.h \
7500 mach-o/loader.h \
7501 mach/mach.h \
7502 machine/cpu.h \
7503 machine/sysarch.h \
7504 mntent.h \
7505 netdb.h \
7506 netinet/in.h \
7507 netinet/in_systm.h \
7508 netinet/tcp.h \
7509 netinet/tcp_fsm.h \
7510 pcap/pcap.h \
7511 poll.h \
7512 port.h \
7513 pthread.h \
7514 pwd.h \
7515 sasl/sasl.h \
7516 sched.h \
7517 scsi/scsi.h \
7518 scsi/scsi_ioctl.h \
7519 scsi/sg.h \
7520 stdint.h \
7521 sys/attr.h \
7522 sys/auxv.h \
7523 sys/cdio.h \
7524 sys/epoll.h \
7525 sys/event.h \
7526 sys/filio.h \
7527 sys/ioctl.h \
7528 sys/ipc.h \
7529 sys/link.h \
7530 sys/mman.h \
7531 sys/modem.h \
7532 sys/mtio.h \
7533 sys/param.h \
7534 sys/poll.h \
7535 sys/prctl.h \
7536 sys/protosw.h \
7537 sys/ptrace.h \
7538 sys/queue.h \
7539 sys/random.h \
7540 sys/resource.h \
7541 sys/scsiio.h \
7542 sys/shm.h \
7543 sys/signal.h \
7544 sys/socket.h \
7545 sys/socketvar.h \
7546 sys/sockio.h \
7547 sys/statvfs.h \
7548 sys/strtio.h \
7549 sys/syscall.h \
7550 sys/sysinfo.h \
7551 sys/time.h \
7552 sys/timeout.h \
7553 sys/times.h \
7554 sys/uio.h \
7555 sys/user.h \
7556 sys/utsname.h \
7557 sys/vnode.h \
7558 sys/wait.h \
7559 syscall.h \
7560 termios.h \
7561 unistd.h \
7562 utime.h \
7563 valgrind/memcheck.h \
7564 valgrind/valgrind.h
7566 do :
7567 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7568 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7569 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7570 cat >>confdefs.h <<_ACEOF
7571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7572 _ACEOF
7576 done
7578 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7579 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7581 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7586 if test $ac_cv_header_sys_mkdev_h = no; then
7587 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7588 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7590 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7597 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7598 if ${ac_cv_header_stat_broken+:} false; then :
7599 $as_echo_n "(cached) " >&6
7600 else
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #include <sys/types.h>
7604 #include <sys/stat.h>
7606 #if defined S_ISBLK && defined S_IFDIR
7607 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7608 #endif
7610 #if defined S_ISBLK && defined S_IFCHR
7611 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7612 #endif
7614 #if defined S_ISLNK && defined S_IFREG
7615 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7616 #endif
7618 #if defined S_ISSOCK && defined S_IFREG
7619 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7620 #endif
7622 _ACEOF
7623 if ac_fn_c_try_compile "$LINENO"; then :
7624 ac_cv_header_stat_broken=no
7625 else
7626 ac_cv_header_stat_broken=yes
7628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7631 $as_echo "$ac_cv_header_stat_broken" >&6; }
7632 if test $ac_cv_header_stat_broken = yes; then
7634 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7640 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7641 do :
7642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7644 #ifdef HAVE_SYS_PARAM_H
7645 # include <sys/param.h>
7646 #endif
7648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7649 cat >>confdefs.h <<_ACEOF
7650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7658 saved_sysctl_h_CFLAGS=$CFLAGS
7659 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7660 for ac_header in sys/sysctl.h
7661 do :
7662 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7663 #ifdef HAVE_SYS_PARAM_H
7664 # include <sys/param.h>
7665 #endif
7667 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7668 cat >>confdefs.h <<_ACEOF
7669 #define HAVE_SYS_SYSCTL_H 1
7670 _ACEOF
7674 done
7676 CFLAGS=$saved_sysctl_h_CFLAGS
7678 for ac_header in \
7679 netinet/ip.h \
7680 net/if.h \
7681 net/if_arp.h \
7682 net/if_dl.h \
7683 net/if_types.h \
7684 net/route.h \
7685 netinet/if_ether.h \
7686 netinet/if_inarp.h \
7687 netinet/in_pcb.h \
7688 netinet/ip_icmp.h \
7689 netinet/ip_var.h \
7690 netinet/udp.h \
7691 netipx/ipx.h \
7692 sys/un.h \
7694 do :
7695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7696 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7697 #ifdef HAVE_SYS_SOCKET_H
7698 # include <sys/socket.h>
7699 #endif
7700 #ifdef HAVE_SYS_SOCKETVAR_H
7701 # include <sys/socketvar.h>
7702 #endif
7703 #ifdef HAVE_NET_ROUTE_H
7704 # include <net/route.h>
7705 #endif
7706 #ifdef HAVE_NETINET_IN_H
7707 # include <netinet/in.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IN_SYSTM_H
7710 # include <netinet/in_systm.h>
7711 #endif
7712 #ifdef HAVE_NET_IF_H
7713 # include <net/if.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IP_H
7716 # include <netinet/ip.h>
7717 #endif
7719 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7720 cat >>confdefs.h <<_ACEOF
7721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722 _ACEOF
7726 done
7729 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7730 do :
7731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7732 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7733 #ifdef HAVE_ALIAS_H
7734 # include <alias.h>
7735 #endif
7736 #ifdef HAVE_SYS_SOCKET_H
7737 # include <sys/socket.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKETVAR_H
7740 # include <sys/socketvar.h>
7741 #endif
7742 #ifdef HAVE_SYS_TIMEOUT_H
7743 # include <sys/timeout.h>
7744 #endif
7745 #ifdef HAVE_NETINET_IN_H
7746 # include <netinet/in.h>
7747 #endif
7748 #ifdef HAVE_NETINET_IN_SYSTM_H
7749 # include <netinet/in_systm.h>
7750 #endif
7751 #ifdef HAVE_NETINET_IP_H
7752 # include <netinet/ip.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IP_VAR_H
7755 # include <netinet/ip_var.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IP_ICMP_H
7758 # include <netinet/ip_icmp.h>
7759 #endif
7760 #ifdef HAVE_NETINET_UDP_H
7761 # include <netinet/udp.h>
7762 #endif
7763 #ifdef HAVE_NETINET_TCP_H
7764 # include <netinet/tcp.h>
7765 #endif
7766 #ifdef HAVE_NETINET_TCP_TIMER_H
7767 #include <netinet/tcp_timer.h>
7768 #endif
7770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7773 _ACEOF
7777 done
7780 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7781 do :
7782 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7783 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7784 #ifdef HAVE_ASM_TYPES_H
7785 # include <asm/types.h>
7786 #endif
7787 #ifdef HAVE_SYS_SOCKET_H
7788 # include <sys/socket.h>
7789 #endif
7790 #ifdef HAVE_LINUX_TYPES_H
7791 # include <linux/types.h>
7792 #endif
7794 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7795 cat >>confdefs.h <<_ACEOF
7796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7797 _ACEOF
7801 done
7804 for ac_header in resolv.h
7805 do :
7806 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7807 #ifdef HAVE_SYS_SOCKET_H
7808 # include <sys/socket.h>
7809 #endif
7810 #ifdef HAVE_NETINET_IN_H
7811 # include <netinet/in.h>
7812 #endif
7813 #ifdef HAVE_ARPA_NAMESER_H
7814 # include <arpa/nameser.h>
7815 #endif
7817 if test "x$ac_cv_header_resolv_h" = xyes; then :
7818 cat >>confdefs.h <<_ACEOF
7819 #define HAVE_RESOLV_H 1
7820 _ACEOF
7824 done
7827 for ac_header in ifaddrs.h
7828 do :
7829 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7831 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7832 cat >>confdefs.h <<_ACEOF
7833 #define HAVE_IFADDRS_H 1
7834 _ACEOF
7838 done
7841 for ac_header in sys/ucontext.h
7842 do :
7843 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7845 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_SYS_UCONTEXT_H 1
7848 _ACEOF
7852 done
7855 for ac_header in sys/thr.h
7856 do :
7857 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7858 #ifdef HAVE_SYS_UCONTEXT_H
7859 #include <sys/ucontext.h>
7860 #endif
7862 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7863 cat >>confdefs.h <<_ACEOF
7864 #define HAVE_SYS_THR_H 1
7865 _ACEOF
7869 done
7872 for ac_header in pthread_np.h
7873 do :
7874 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7875 #include <pthread.h>
7876 #endif
7878 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7879 cat >>confdefs.h <<_ACEOF
7880 #define HAVE_PTHREAD_NP_H 1
7881 _ACEOF
7885 done
7888 for ac_header in linux/videodev2.h
7889 do :
7890 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7891 #include <sys/time.h>
7892 #endif
7893 #include <sys/types.h>
7894 #ifdef HAVE_ASM_TYPES_H
7895 #include <asm/types.h>
7896 #endif
7898 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7899 cat >>confdefs.h <<_ACEOF
7900 #define HAVE_LINUX_VIDEODEV2_H 1
7901 _ACEOF
7905 done
7908 for ac_header in libprocstat.h
7909 do :
7910 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7911 #include <sys/param.h>
7912 #endif
7913 #ifdef HAVE_SYS_QUEUE_H
7914 #include <sys/queue.h>
7915 #endif
7916 #ifdef HAVE_SYS_SOCKET_H
7917 #include <sys/socket.h>
7918 #endif
7920 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_LIBPROCSTAT_H 1
7923 _ACEOF
7927 done
7931 DLLFLAGS=""
7933 LDDLLFLAGS=""
7935 LDEXECFLAGS=""
7937 EXTRACFLAGS=""
7939 UNIXDLLFLAGS="-fPIC"
7941 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7943 TOP_INSTALL_LIB=""
7945 TOP_INSTALL_DEV=""
7947 WINELOADER_LDFLAGS=""
7949 WINEPRELOADER_LDFLAGS=""
7951 LIBEXT="so"
7952 # Extract the first word of "ldd", so it can be a program name with args.
7953 set dummy ldd; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_path_LDD+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 case $LDD in
7960 [\\/]* | ?:[\\/]*)
7961 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 as_dummy="/sbin:/usr/sbin:$PATH"
7966 for as_dir in $as_dummy
7968 IFS=$as_save_IFS
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 break 2
7976 done
7977 done
7978 IFS=$as_save_IFS
7980 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7982 esac
7984 LDD=$ac_cv_path_LDD
7985 if test -n "$LDD"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7987 $as_echo "$LDD" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7994 if test -n "$ac_tool_prefix"; then
7995 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7996 set dummy ${ac_tool_prefix}otool; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_OTOOL+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 if test -n "$OTOOL"; then
8003 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8004 else
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 for as_dir in $PATH
8008 IFS=$as_save_IFS
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 break 2
8016 done
8017 done
8018 IFS=$as_save_IFS
8022 OTOOL=$ac_cv_prog_OTOOL
8023 if test -n "$OTOOL"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8025 $as_echo "$OTOOL" >&6; }
8026 else
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8033 if test -z "$ac_cv_prog_OTOOL"; then
8034 ac_ct_OTOOL=$OTOOL
8035 # Extract the first word of "otool", so it can be a program name with args.
8036 set dummy otool; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 $as_echo_n "checking for $ac_word... " >&6; }
8039 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 if test -n "$ac_ct_OTOOL"; then
8043 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8048 IFS=$as_save_IFS
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_ac_ct_OTOOL="otool"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 break 2
8056 done
8057 done
8058 IFS=$as_save_IFS
8062 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8063 if test -n "$ac_ct_OTOOL"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8065 $as_echo "$ac_ct_OTOOL" >&6; }
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8068 $as_echo "no" >&6; }
8071 if test "x$ac_ct_OTOOL" = x; then
8072 OTOOL="otool"
8073 else
8074 case $cross_compiling:$ac_tool_warned in
8075 yes:)
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8078 ac_tool_warned=yes ;;
8079 esac
8080 OTOOL=$ac_ct_OTOOL
8082 else
8083 OTOOL="$ac_cv_prog_OTOOL"
8086 if test -n "$ac_tool_prefix"; then
8087 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8088 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8090 $as_echo_n "checking for $ac_word... " >&6; }
8091 if ${ac_cv_prog_READELF+:} false; then :
8092 $as_echo_n "(cached) " >&6
8093 else
8094 if test -n "$READELF"; then
8095 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8096 else
8097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098 for as_dir in $PATH
8100 IFS=$as_save_IFS
8101 test -z "$as_dir" && as_dir=.
8102 for ac_exec_ext in '' $ac_executable_extensions; do
8103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8104 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 break 2
8108 done
8109 done
8110 IFS=$as_save_IFS
8114 READELF=$ac_cv_prog_READELF
8115 if test -n "$READELF"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8117 $as_echo "$READELF" >&6; }
8118 else
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8120 $as_echo "no" >&6; }
8125 if test -z "$ac_cv_prog_READELF"; then
8126 ac_ct_READELF=$READELF
8127 # Extract the first word of "readelf", so it can be a program name with args.
8128 set dummy readelf; ac_word=$2
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8130 $as_echo_n "checking for $ac_word... " >&6; }
8131 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 if test -n "$ac_ct_READELF"; then
8135 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8136 else
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 for as_dir in $PATH
8140 IFS=$as_save_IFS
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8144 ac_cv_prog_ac_ct_READELF="readelf"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 break 2
8148 done
8149 done
8150 IFS=$as_save_IFS
8154 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8155 if test -n "$ac_ct_READELF"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8157 $as_echo "$ac_ct_READELF" >&6; }
8158 else
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 $as_echo "no" >&6; }
8163 if test "x$ac_ct_READELF" = x; then
8164 READELF="true"
8165 else
8166 case $cross_compiling:$ac_tool_warned in
8167 yes:)
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8170 ac_tool_warned=yes ;;
8171 esac
8172 READELF=$ac_ct_READELF
8174 else
8175 READELF="$ac_cv_prog_READELF"
8178 wine_rules_file=conf$$rules.make
8179 rm -f $wine_rules_file
8180 SUBDIRS=""
8182 DISABLED_SUBDIRS=""
8184 CONFIGURE_TARGETS=""
8187 wine_fn_append_file ()
8189 as_fn_append $1 " \\$as_nl $2"
8192 wine_fn_append_rule ()
8194 $as_echo "$1" >>$wine_rules_file
8197 wine_fn_config_makefile ()
8199 wine_fn_append_file SUBDIRS $1
8200 if eval test \"x\$"$2"\" = x"no"; then :
8201 wine_fn_append_file DISABLED_SUBDIRS $1
8205 wine_fn_config_symlink ()
8207 ac_links=$@
8208 wine_fn_append_rule \
8209 "$ac_links:
8210 @./config.status \$@"
8211 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8214 wine_binary="wine"
8215 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8216 WINELOADER_PROGRAMS="$wine_binary"
8218 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8220 case $host_os in
8221 cygwin*|mingw32*)
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8226 $as_echo_n "checking for $ac_word... " >&6; }
8227 if ${ac_cv_prog_DLLTOOL+:} false; then :
8228 $as_echo_n "(cached) " >&6
8229 else
8230 if test -n "$DLLTOOL"; then
8231 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8232 else
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 for as_dir in $PATH
8236 IFS=$as_save_IFS
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8240 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8242 break 2
8244 done
8245 done
8246 IFS=$as_save_IFS
8250 DLLTOOL=$ac_cv_prog_DLLTOOL
8251 if test -n "$DLLTOOL"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8253 $as_echo "$DLLTOOL" >&6; }
8254 else
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8261 if test -z "$ac_cv_prog_DLLTOOL"; then
8262 ac_ct_DLLTOOL=$DLLTOOL
8263 # Extract the first word of "dlltool", so it can be a program name with args.
8264 set dummy dlltool; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266 $as_echo_n "checking for $ac_word... " >&6; }
8267 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 if test -n "$ac_ct_DLLTOOL"; then
8271 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8272 else
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 for as_dir in $PATH
8276 IFS=$as_save_IFS
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8280 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8282 break 2
8284 done
8285 done
8286 IFS=$as_save_IFS
8290 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8291 if test -n "$ac_ct_DLLTOOL"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8293 $as_echo "$ac_ct_DLLTOOL" >&6; }
8294 else
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8299 if test "x$ac_ct_DLLTOOL" = x; then
8300 DLLTOOL="false"
8301 else
8302 case $cross_compiling:$ac_tool_warned in
8303 yes:)
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8306 ac_tool_warned=yes ;;
8307 esac
8308 DLLTOOL=$ac_ct_DLLTOOL
8310 else
8311 DLLTOOL="$ac_cv_prog_DLLTOOL"
8314 LIBEXT="dll"
8315 EXTRACFLAGS="-D__WINE_PE_BUILD"
8316 case $host_cpu in
8317 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8318 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8319 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 ac_wine_try_cflags_saved=$CFLAGS
8323 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8330 else
8331 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 CFLAGS=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8338 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8339 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8340 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8341 fi ;;
8342 esac
8343 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
8344 enable_loader=${enable_loader:-no}
8345 enable_server=${enable_server:-no}
8346 with_x=${with_x:-no}
8347 with_pthread=${with_pthread:-no}
8350 darwin*|macosx*)
8351 ac_ext=m
8352 ac_cpp='$OBJCPP $CPPFLAGS'
8353 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8354 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8355 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8357 ac_ext=m
8358 ac_cpp='$OBJCPP $CPPFLAGS'
8359 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8360 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8361 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8362 if test -n "$ac_tool_prefix"; then
8363 for ac_prog in gcc objcc objc cc CC
8365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if ${ac_cv_prog_OBJC+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 if test -n "$OBJC"; then
8373 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8374 else
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 for as_dir in $PATH
8378 IFS=$as_save_IFS
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 break 2
8386 done
8387 done
8388 IFS=$as_save_IFS
8392 OBJC=$ac_cv_prog_OBJC
8393 if test -n "$OBJC"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8395 $as_echo "$OBJC" >&6; }
8396 else
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8402 test -n "$OBJC" && break
8403 done
8405 if test -z "$OBJC"; then
8406 ac_ct_OBJC=$OBJC
8407 for ac_prog in gcc objcc objc cc CC
8409 # Extract the first word of "$ac_prog", so it can be a program name with args.
8410 set dummy $ac_prog; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8412 $as_echo_n "checking for $ac_word... " >&6; }
8413 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 if test -n "$ac_ct_OBJC"; then
8417 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8418 else
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 for as_dir in $PATH
8422 IFS=$as_save_IFS
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8426 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8428 break 2
8430 done
8431 done
8432 IFS=$as_save_IFS
8436 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8437 if test -n "$ac_ct_OBJC"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8439 $as_echo "$ac_ct_OBJC" >&6; }
8440 else
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8446 test -n "$ac_ct_OBJC" && break
8447 done
8449 if test "x$ac_ct_OBJC" = x; then
8450 OBJC="gcc"
8451 else
8452 case $cross_compiling:$ac_tool_warned in
8453 yes:)
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8456 ac_tool_warned=yes ;;
8457 esac
8458 OBJC=$ac_ct_OBJC
8462 # Provide some information about the compiler.
8463 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8464 set X $ac_compile
8465 ac_compiler=$2
8466 for ac_option in --version -v -V -qversion; do
8467 { { ac_try="$ac_compiler $ac_option >&5"
8468 case "(($ac_try" in
8469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8470 *) ac_try_echo=$ac_try;;
8471 esac
8472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8473 $as_echo "$ac_try_echo"; } >&5
8474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8475 ac_status=$?
8476 if test -s conftest.err; then
8477 sed '10a\
8478 ... rest of stderr output deleted ...
8479 10q' conftest.err >conftest.er1
8480 cat conftest.er1 >&5
8482 rm -f conftest.er1 conftest.err
8483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8484 test $ac_status = 0; }
8485 done
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8488 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8489 if ${ac_cv_objc_compiler_gnu+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8496 main ()
8498 #ifndef __GNUC__
8499 choke me
8500 #endif
8503 return 0;
8505 _ACEOF
8506 if ac_fn_objc_try_compile "$LINENO"; then :
8507 ac_compiler_gnu=yes
8508 else
8509 ac_compiler_gnu=no
8511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8512 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8516 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8517 if test $ac_compiler_gnu = yes; then
8518 GOBJC=yes
8519 else
8520 GOBJC=
8522 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8523 ac_save_OBJCFLAGS=$OBJCFLAGS
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8525 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8526 if ${ac_cv_prog_objc_g+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_save_objc_werror_flag=$ac_objc_werror_flag
8530 ac_objc_werror_flag=yes
8531 ac_cv_prog_objc_g=no
8532 OBJCFLAGS="-g"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8537 main ()
8541 return 0;
8543 _ACEOF
8544 if ac_fn_objc_try_compile "$LINENO"; then :
8545 ac_cv_prog_objc_g=yes
8546 else
8547 OBJCFLAGS=""
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8552 main ()
8556 return 0;
8558 _ACEOF
8559 if ac_fn_objc_try_compile "$LINENO"; then :
8561 else
8562 ac_objc_werror_flag=$ac_save_objc_werror_flag
8563 OBJCFLAGS="-g"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8568 main ()
8572 return 0;
8574 _ACEOF
8575 if ac_fn_objc_try_compile "$LINENO"; then :
8576 ac_cv_prog_objc_g=yes
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 ac_objc_werror_flag=$ac_save_objc_werror_flag
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8586 $as_echo "$ac_cv_prog_objc_g" >&6; }
8587 if test "$ac_test_OBJCFLAGS" = set; then
8588 OBJCFLAGS=$ac_save_OBJCFLAGS
8589 elif test $ac_cv_prog_objc_g = yes; then
8590 if test "$GOBJC" = yes; then
8591 OBJCFLAGS="-g -O2"
8592 else
8593 OBJCFLAGS="-g"
8595 else
8596 if test "$GOBJC" = yes; then
8597 OBJCFLAGS="-O2"
8598 else
8599 OBJCFLAGS=
8602 ac_ext=m
8603 ac_cpp='$OBJCPP $CPPFLAGS'
8604 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8605 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8606 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8609 ac_ext=m
8610 ac_cpp='$OBJCPP $CPPFLAGS'
8611 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8612 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8613 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8615 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8616 if test -z "$OBJCPP"; then
8617 if ${ac_cv_prog_OBJCPP+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 # Double quotes because OBJCPP needs to be expanded
8621 for OBJCPP in "$OBJC -E" "/lib/cpp"
8623 ac_preproc_ok=false
8624 for ac_objc_preproc_warn_flag in '' yes
8626 # Use a header file that comes with gcc, so configuring glibc
8627 # with a fresh cross-compiler works.
8628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8629 # <limits.h> exists even on freestanding compilers.
8630 # On the NeXT, cc -E runs the code through the compiler's parser,
8631 # not just through cpp. "Syntax error" is here to catch this case.
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 #ifdef __STDC__
8635 # include <limits.h>
8636 #else
8637 # include <assert.h>
8638 #endif
8639 Syntax error
8640 _ACEOF
8641 if ac_fn_objc_try_cpp "$LINENO"; then :
8643 else
8644 # Broken: fails on valid input.
8645 continue
8647 rm -f conftest.err conftest.i conftest.$ac_ext
8649 # OK, works on sane cases. Now check whether nonexistent headers
8650 # can be detected and how.
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 #include <ac_nonexistent.h>
8654 _ACEOF
8655 if ac_fn_objc_try_cpp "$LINENO"; then :
8656 # Broken: success on invalid input.
8657 continue
8658 else
8659 # Passes both tests.
8660 ac_preproc_ok=:
8661 break
8663 rm -f conftest.err conftest.i conftest.$ac_ext
8665 done
8666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8667 rm -f conftest.i conftest.err conftest.$ac_ext
8668 if $ac_preproc_ok; then :
8669 break
8672 done
8673 ac_cv_prog_OBJCPP=$OBJCPP
8676 OBJCPP=$ac_cv_prog_OBJCPP
8677 else
8678 ac_cv_prog_OBJCPP=$OBJCPP
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8681 $as_echo "$OBJCPP" >&6; }
8682 ac_preproc_ok=false
8683 for ac_objc_preproc_warn_flag in '' yes
8685 # Use a header file that comes with gcc, so configuring glibc
8686 # with a fresh cross-compiler works.
8687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8688 # <limits.h> exists even on freestanding compilers.
8689 # On the NeXT, cc -E runs the code through the compiler's parser,
8690 # not just through cpp. "Syntax error" is here to catch this case.
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 #ifdef __STDC__
8694 # include <limits.h>
8695 #else
8696 # include <assert.h>
8697 #endif
8698 Syntax error
8699 _ACEOF
8700 if ac_fn_objc_try_cpp "$LINENO"; then :
8702 else
8703 # Broken: fails on valid input.
8704 continue
8706 rm -f conftest.err conftest.i conftest.$ac_ext
8708 # OK, works on sane cases. Now check whether nonexistent headers
8709 # can be detected and how.
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #include <ac_nonexistent.h>
8713 _ACEOF
8714 if ac_fn_objc_try_cpp "$LINENO"; then :
8715 # Broken: success on invalid input.
8716 continue
8717 else
8718 # Passes both tests.
8719 ac_preproc_ok=:
8720 break
8722 rm -f conftest.err conftest.i conftest.$ac_ext
8724 done
8725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8726 rm -f conftest.i conftest.err conftest.$ac_ext
8727 if $ac_preproc_ok; then :
8729 else
8730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8732 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8733 See \`config.log' for more details" "$LINENO" 5; }
8736 ac_ext=m
8737 ac_cpp='$OBJCPP $CPPFLAGS'
8738 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8743 for ac_header in Metal/Metal.h
8744 do :
8745 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8746 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8747 cat >>confdefs.h <<_ACEOF
8748 #define HAVE_METAL_METAL_H 1
8749 _ACEOF
8753 done
8755 ac_ext=c
8756 ac_cpp='$CPP $CPPFLAGS'
8757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8761 LIBEXT="dylib"
8762 DLLFLAGS="$DLLFLAGS -fPIC"
8763 LDDLLFLAGS="-fPIC"
8764 COREFOUNDATION_LIBS="-framework CoreFoundation"
8766 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8768 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8770 CORESERVICES_LIBS="-framework CoreServices"
8772 APPKIT_LIBS="-framework AppKit"
8774 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8777 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8779 wine_can_build_preloader=yes
8780 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8782 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8783 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__Wl__no_new_main__e__main=yes
8794 else
8795 ac_cv_cflags__Wl__no_new_main__e__main=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8802 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8803 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8804 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8806 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8807 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 int main(int argc, char **argv) { return 0; }
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8818 else
8819 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8826 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8827 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8828 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8829 else
8830 { $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
8831 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8832 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 ac_wine_try_cflags_saved=$CFLAGS
8836 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8839 int main(int argc, char **argv) { return 0; }
8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then :
8842 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8843 else
8844 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8846 rm -f core conftest.err conftest.$ac_objext \
8847 conftest$ac_exeext conftest.$ac_ext
8848 CFLAGS=$ac_wine_try_cflags_saved
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8851 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8852 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8853 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8854 else
8855 wine_can_build_preloader=no
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8860 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8861 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_wine_try_cflags_saved=$CFLAGS
8865 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8868 int main(int argc, char **argv) { return 0; }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8872 else
8873 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8875 rm -f core conftest.err conftest.$ac_objext \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8880 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8881 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8882 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8883 else
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8885 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8886 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8887 $as_echo_n "(cached) " >&6
8888 else
8889 ac_wine_try_cflags_saved=$CFLAGS
8890 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8893 int main(int argc, char **argv) { return 0; }
8894 _ACEOF
8895 if ac_fn_c_try_link "$LINENO"; then :
8896 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8897 else
8898 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8902 CFLAGS=$ac_wine_try_cflags_saved
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8905 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8906 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8907 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8908 else
8909 wine_can_build_preloader=no
8913 if test "$wine_can_build_preloader" = "yes"
8914 then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8916 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8917 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8918 $as_echo_n "(cached) " >&6
8919 else
8920 ac_wine_try_cflags_saved=$CFLAGS
8921 CFLAGS="$CFLAGS -Wl,-no_pie"
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8924 int main(int argc, char **argv) { return 0; }
8925 _ACEOF
8926 if ac_fn_c_try_link "$LINENO"; then :
8927 ac_cv_cflags__Wl__no_pie=yes
8928 else
8929 ac_cv_cflags__Wl__no_pie=no
8931 rm -f core conftest.err conftest.$ac_objext \
8932 conftest$ac_exeext conftest.$ac_ext
8933 CFLAGS=$ac_wine_try_cflags_saved
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8936 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8937 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8938 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8940 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8941 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8942 else
8943 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8946 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8947 then
8948 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8951 if test "$ac_cv_header_Security_Security_h" = "yes"
8952 then
8953 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8956 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8957 then
8958 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8960 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
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 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9106 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9108 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9110 WINELOADER_DEPENDS="wine_info.plist"
9112 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9115 linux-android*)
9117 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9119 DLLFLAGS="$DLLFLAGS -fPIC"
9120 LDDLLFLAGS="-fPIC"
9121 LDEXECFLAGS="-Wl,-pie"
9122 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9124 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9125 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9126 $as_echo_n "(cached) " >&6
9127 else
9128 ac_wine_try_cflags_saved=$CFLAGS
9129 CFLAGS="$CFLAGS -Wl,-z,defs"
9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9132 int main(int argc, char **argv) { return 0; }
9133 _ACEOF
9134 if ac_fn_c_try_link "$LINENO"; then :
9135 ac_cv_cflags__Wl__z_defs=yes
9136 else
9137 ac_cv_cflags__Wl__z_defs=no
9139 rm -f core conftest.err conftest.$ac_objext \
9140 conftest$ac_exeext conftest.$ac_ext
9141 CFLAGS=$ac_wine_try_cflags_saved
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9144 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9145 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9146 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9149 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9150 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9151 $as_echo_n "(cached) " >&6
9152 else
9153 ac_wine_try_cflags_saved=$CFLAGS
9154 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 int main(int argc, char **argv) { return 0; }
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9161 else
9162 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 CFLAGS=$ac_wine_try_cflags_saved
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9169 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9170 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9171 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9173 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9176 $as_echo_n "checking for -lEGL... " >&6; }
9177 if ${ac_cv_lib_soname_EGL+:} false; then :
9178 $as_echo_n "(cached) " >&6
9179 else
9180 ac_check_soname_save_LIBS=$LIBS
9181 LIBS="-lEGL $LIBS"
9182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9185 /* Override any GCC internal prototype to avoid an error.
9186 Use char because int might match the return type of a GCC
9187 builtin and then its argument prototype would still apply. */
9188 #ifdef __cplusplus
9189 extern "C"
9190 #endif
9191 char eglGetProcAddress ();
9193 main ()
9195 return eglGetProcAddress ();
9197 return 0;
9199 _ACEOF
9200 if ac_fn_c_try_link "$LINENO"; then :
9201 case "$LIBEXT" in
9202 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9203 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'` ;;
9204 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9205 if ${ac_cv_lib_soname_EGL:+false} :; then :
9206 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9207 fi ;;
9208 esac
9209 else
9210 ac_cv_lib_soname_EGL=
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 LIBS=$ac_check_soname_save_LIBS
9216 if ${ac_cv_lib_soname_EGL:+false} :; then :
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9218 $as_echo "not found" >&6; }
9220 else
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9222 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9224 cat >>confdefs.h <<_ACEOF
9225 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9226 _ACEOF
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9231 $as_echo_n "checking for -lGLESv2... " >&6; }
9232 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9233 $as_echo_n "(cached) " >&6
9234 else
9235 ac_check_soname_save_LIBS=$LIBS
9236 LIBS="-lGLESv2 $LIBS"
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9240 /* Override any GCC internal prototype to avoid an error.
9241 Use char because int might match the return type of a GCC
9242 builtin and then its argument prototype would still apply. */
9243 #ifdef __cplusplus
9244 extern "C"
9245 #endif
9246 char glFlush ();
9248 main ()
9250 return glFlush ();
9252 return 0;
9254 _ACEOF
9255 if ac_fn_c_try_link "$LINENO"; then :
9256 case "$LIBEXT" in
9257 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9258 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'` ;;
9259 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9260 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9261 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9262 fi ;;
9263 esac
9264 else
9265 ac_cv_lib_soname_GLESv2=
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_soname_save_LIBS
9271 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9273 $as_echo "not found" >&6; }
9275 else
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9277 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9279 cat >>confdefs.h <<_ACEOF
9280 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9281 _ACEOF
9286 if test "x$exec_prefix" = xNONE
9287 then
9288 case $host_cpu in
9289 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9290 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9291 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9292 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9293 esac
9299 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9301 case $host_cpu in
9302 *i[3456789]86*)
9303 DLLFLAGS="$DLLFLAGS -fno-PIC"
9304 LDDLLFLAGS="-fno-PIC"
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9306 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9307 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_wine_try_cflags_saved=$CFLAGS
9311 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9314 int main(int argc, char **argv) { return 0; }
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9318 else
9319 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 CFLAGS=$ac_wine_try_cflags_saved
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9326 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9327 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9328 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9332 DLLFLAGS="$DLLFLAGS -fPIC"
9333 LDDLLFLAGS="-fPIC" ;;
9334 esac
9335 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9337 echo '{ global: *; };' >conftest.map
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9339 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9340 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_wine_try_cflags_saved=$CFLAGS
9344 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 int main(int argc, char **argv) { return 0; }
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9351 else
9352 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 CFLAGS=$ac_wine_try_cflags_saved
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9359 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9360 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9361 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9363 rm -f conftest.map
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9366 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9367 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_wine_try_cflags_saved=$CFLAGS
9371 CFLAGS="$CFLAGS -Wl,-z,defs"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9374 int main(int argc, char **argv) { return 0; }
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_cflags__Wl__z_defs=yes
9378 else
9379 ac_cv_cflags__Wl__z_defs=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 CFLAGS=$ac_wine_try_cflags_saved
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9386 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9387 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9388 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9391 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9392 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9393 $as_echo_n "(cached) " >&6
9394 else
9395 ac_wine_try_cflags_saved=$CFLAGS
9396 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9399 int main(int argc, char **argv) { return 0; }
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_cflags__Wl___export_dynamic=yes
9403 else
9404 ac_cv_cflags__Wl___export_dynamic=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 CFLAGS=$ac_wine_try_cflags_saved
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9411 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9412 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9413 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9415 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9417 case $host_cpu in
9418 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9420 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9421 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
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__Ttext_segment_0x7bc00000=yes
9432 else
9433 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=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__Ttext_segment_0x7bc00000" >&5
9440 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9441 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9442 case $host_os in
9443 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9444 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9445 esac
9446 else
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9449 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9460 else
9461 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9468 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9469 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9470 case $host_os in
9471 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9472 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9473 esac
9475 # Extract the first word of "prelink", so it can be a program name with args.
9476 set dummy prelink; ac_word=$2
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9478 $as_echo_n "checking for $ac_word... " >&6; }
9479 if ${ac_cv_path_PRELINK+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 case $PRELINK in
9483 [\\/]* | ?:[\\/]*)
9484 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9488 for as_dir in /sbin /usr/sbin $PATH
9490 IFS=$as_save_IFS
9491 test -z "$as_dir" && as_dir=.
9492 for ac_exec_ext in '' $ac_executable_extensions; do
9493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9494 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9496 break 2
9498 done
9499 done
9500 IFS=$as_save_IFS
9502 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9504 esac
9506 PRELINK=$ac_cv_path_PRELINK
9507 if test -n "$PRELINK"; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9509 $as_echo "$PRELINK" >&6; }
9510 else
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9512 $as_echo "no" >&6; }
9516 if test "x$PRELINK" = xfalse
9517 then
9518 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9522 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9523 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 ac_wine_try_cflags_saved=$CFLAGS
9527 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9530 int main(int argc, char **argv) { return 0; }
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9534 else
9535 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9537 rm -f core conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9539 CFLAGS=$ac_wine_try_cflags_saved
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9542 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9543 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9544 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9547 esac
9548 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9550 LIBWINE_DEPENDS="wine.map"
9552 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9554 esac
9556 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9557 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9558 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9559 enable_winemac_drv=${enable_winemac_drv:-no}
9560 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9563 if test "x$with_mingw" != xno
9564 then
9565 case "x$with_mingw" in
9566 x|xyes) case "$host_cpu" in
9567 aarch64*)
9568 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9569 arm*)
9570 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9571 i[3456789]86*)
9572 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
9573 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9574 mingw32-gcc clang" ;;
9575 x86_64)
9576 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
9577 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9579 ac_prefix_list="" ;;
9580 esac
9581 for ac_prog in $ac_prefix_list
9583 # Extract the first word of "$ac_prog", so it can be a program name with args.
9584 set dummy $ac_prog; ac_word=$2
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9586 $as_echo_n "checking for $ac_word... " >&6; }
9587 if ${ac_cv_prog_CROSSCC+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 if test -n "$CROSSCC"; then
9591 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9592 else
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 for as_dir in $PATH
9596 IFS=$as_save_IFS
9597 test -z "$as_dir" && as_dir=.
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_CROSSCC="$ac_prog"
9601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 break 2
9604 done
9605 done
9606 IFS=$as_save_IFS
9610 CROSSCC=$ac_cv_prog_CROSSCC
9611 if test -n "$CROSSCC"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9613 $as_echo "$CROSSCC" >&6; }
9614 else
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 $as_echo "no" >&6; }
9620 test -n "$CROSSCC" && break
9621 done
9622 test -n "$CROSSCC" || CROSSCC="false"
9624 *) CROSSCC=$with_mingw ;;
9625 esac
9626 if test "$CROSSCC" != "false"
9627 then
9628 ac_save_CC="$CC"
9629 saved_CFLAGS=$CFLAGS
9630 saved_LDFLAGS=$LDFLAGS
9631 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9633 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
9637 CC="$CROSSCC"
9638 CFLAGS=$CROSSCFLAGS
9639 LDFLAGS=$CROSSLDFLAGS
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9641 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9642 if ${wine_cv_crosscc+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9649 main ()
9653 return 0;
9655 _ACEOF
9656 if ac_fn_c_try_compile "$LINENO"; then :
9657 wine_cv_crosscc=yes
9658 else
9659 wine_cv_crosscc=no
9661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9664 $as_echo "$wine_cv_crosscc" >&6; }
9665 if test $wine_cv_crosscc = yes
9666 then
9667 set x $CROSSCC
9668 shift
9669 while test $# -ge 1
9671 case "$1" in
9672 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9673 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9674 esac
9675 shift
9676 done
9678 llvm_target=$CROSSTARGET
9679 llvm_cflags="-fuse-ld=lld"
9680 if test -z "$llvm_target"
9681 then
9682 case $host_cpu in
9683 *i[3456789]86*) llvm_target=i686-windows ;;
9684 *) llvm_target=$host_cpu-windows ;;
9685 esac
9687 case $llvm_target in
9688 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9689 esac
9690 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9692 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9693 if eval \${$as_ac_var+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_wine_try_cflags_saved=$CFLAGS
9697 ac_wine_try_cflags_saved_cc=$CC
9698 ac_wine_try_cflags_saved_exeext=$ac_exeext
9699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9700 CC="$CROSSCC"
9701 ac_exeext=".exe"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9704 int __cdecl mainCRTStartup(void) { return 0; }
9705 _ACEOF
9706 if ac_fn_c_try_link "$LINENO"; then :
9707 eval "$as_ac_var=yes"
9708 else
9709 eval "$as_ac_var=no"
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 CFLAGS=$ac_wine_try_cflags_saved
9714 CC=$ac_wine_try_cflags_saved_cc
9715 ac_exeext=$ac_wine_try_cflags_saved_exeext
9717 eval ac_res=\$$as_ac_var
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9719 $as_echo "$ac_res" >&6; }
9720 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9721 CROSSTARGET=$llvm_target
9722 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9723 DELAYLOADFLAG="-Wl,-delayload,"
9725 CFLAGS="$CFLAGS $llvm_cflags"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9729 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9730 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9731 $as_echo_n "(cached) " >&6
9732 else
9733 ac_wine_try_cflags_saved=$CFLAGS
9734 ac_wine_try_cflags_saved_cc=$CC
9735 ac_wine_try_cflags_saved_exeext=$ac_exeext
9736 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9737 CC="$CROSSCC"
9738 ac_exeext=".exe"
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9741 int __cdecl mainCRTStartup(void) { return 0; }
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 ac_cv_crosscflags__fno_strict_aliasing=yes
9745 else
9746 ac_cv_crosscflags__fno_strict_aliasing=no
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 CFLAGS=$ac_wine_try_cflags_saved
9751 CC=$ac_wine_try_cflags_saved_cc
9752 ac_exeext=$ac_wine_try_cflags_saved_exeext
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9755 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9756 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9757 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9760 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9761 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 ac_wine_try_cflags_saved=$CFLAGS
9765 ac_wine_try_cflags_saved_cc=$CC
9766 ac_wine_try_cflags_saved_exeext=$ac_exeext
9767 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9768 CC="$CROSSCC"
9769 ac_exeext=".exe"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9772 int __cdecl mainCRTStartup(void) { return 0; }
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9776 else
9777 ac_cv_crosscflags__Werror_unknown_warning_option=no
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 CFLAGS=$ac_wine_try_cflags_saved
9782 CC=$ac_wine_try_cflags_saved_cc
9783 ac_exeext=$ac_wine_try_cflags_saved_exeext
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9786 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9787 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9788 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9791 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9792 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 ac_wine_try_cflags_saved=$CFLAGS
9796 ac_wine_try_cflags_saved_cc=$CC
9797 ac_wine_try_cflags_saved_exeext=$ac_exeext
9798 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9799 CC="$CROSSCC"
9800 ac_exeext=".exe"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9803 int __cdecl mainCRTStartup(void) { return 0; }
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9807 else
9808 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9810 rm -f core conftest.err conftest.$ac_objext \
9811 conftest$ac_exeext conftest.$ac_ext
9812 CFLAGS=$ac_wine_try_cflags_saved
9813 CC=$ac_wine_try_cflags_saved_cc
9814 ac_exeext=$ac_wine_try_cflags_saved_exeext
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9817 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9818 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9819 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9822 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9823 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_wine_try_cflags_saved=$CFLAGS
9827 ac_wine_try_cflags_saved_cc=$CC
9828 ac_wine_try_cflags_saved_exeext=$ac_exeext
9829 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9830 CC="$CROSSCC"
9831 ac_exeext=".exe"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9834 int __cdecl mainCRTStartup(void) { return 0; }
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9838 else
9839 ac_cv_crosscflags__Wdeclaration_after_statement=no
9841 rm -f core conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 CFLAGS=$ac_wine_try_cflags_saved
9844 CC=$ac_wine_try_cflags_saved_cc
9845 ac_exeext=$ac_wine_try_cflags_saved_exeext
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9848 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9849 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9850 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9853 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9854 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9855 $as_echo_n "(cached) " >&6
9856 else
9857 ac_wine_try_cflags_saved=$CFLAGS
9858 ac_wine_try_cflags_saved_cc=$CC
9859 ac_wine_try_cflags_saved_exeext=$ac_exeext
9860 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9861 CC="$CROSSCC"
9862 ac_exeext=".exe"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9865 int __cdecl mainCRTStartup(void) { return 0; }
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"; then :
9868 ac_cv_crosscflags__Wempty_body=yes
9869 else
9870 ac_cv_crosscflags__Wempty_body=no
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 CFLAGS=$ac_wine_try_cflags_saved
9875 CC=$ac_wine_try_cflags_saved_cc
9876 ac_exeext=$ac_wine_try_cflags_saved_exeext
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9879 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9880 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9881 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9884 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9885 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_wine_try_cflags_saved=$CFLAGS
9889 ac_wine_try_cflags_saved_cc=$CC
9890 ac_wine_try_cflags_saved_exeext=$ac_exeext
9891 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9892 CC="$CROSSCC"
9893 ac_exeext=".exe"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9896 int __cdecl mainCRTStartup(void) { return 0; }
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_crosscflags__Wignored_qualifiers=yes
9900 else
9901 ac_cv_crosscflags__Wignored_qualifiers=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 CFLAGS=$ac_wine_try_cflags_saved
9906 CC=$ac_wine_try_cflags_saved_cc
9907 ac_exeext=$ac_wine_try_cflags_saved_exeext
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9910 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9911 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9912 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9915 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9916 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9917 $as_echo_n "(cached) " >&6
9918 else
9919 ac_wine_try_cflags_saved=$CFLAGS
9920 ac_wine_try_cflags_saved_cc=$CC
9921 ac_wine_try_cflags_saved_exeext=$ac_exeext
9922 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9923 CC="$CROSSCC"
9924 ac_exeext=".exe"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 int __cdecl mainCRTStartup(void) { return 0; }
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"; then :
9930 ac_cv_crosscflags__Winit_self=yes
9931 else
9932 ac_cv_crosscflags__Winit_self=no
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 CFLAGS=$ac_wine_try_cflags_saved
9937 CC=$ac_wine_try_cflags_saved_cc
9938 ac_exeext=$ac_wine_try_cflags_saved_exeext
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9941 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9942 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9943 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9946 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9947 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9948 $as_echo_n "(cached) " >&6
9949 else
9950 ac_wine_try_cflags_saved=$CFLAGS
9951 ac_wine_try_cflags_saved_cc=$CC
9952 ac_wine_try_cflags_saved_exeext=$ac_exeext
9953 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9954 CC="$CROSSCC"
9955 ac_exeext=".exe"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9958 int __cdecl mainCRTStartup(void) { return 0; }
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 ac_cv_crosscflags__Wpacked_not_aligned=yes
9962 else
9963 ac_cv_crosscflags__Wpacked_not_aligned=no
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 CFLAGS=$ac_wine_try_cflags_saved
9968 CC=$ac_wine_try_cflags_saved_cc
9969 ac_exeext=$ac_wine_try_cflags_saved_exeext
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9972 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9973 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9974 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9977 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9978 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9979 $as_echo_n "(cached) " >&6
9980 else
9981 ac_wine_try_cflags_saved=$CFLAGS
9982 ac_wine_try_cflags_saved_cc=$CC
9983 ac_wine_try_cflags_saved_exeext=$ac_exeext
9984 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9985 CC="$CROSSCC"
9986 ac_exeext=".exe"
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9989 int __cdecl mainCRTStartup(void) { return 0; }
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 ac_cv_crosscflags__Wpragma_pack=yes
9993 else
9994 ac_cv_crosscflags__Wpragma_pack=no
9996 rm -f core conftest.err conftest.$ac_objext \
9997 conftest$ac_exeext conftest.$ac_ext
9998 CFLAGS=$ac_wine_try_cflags_saved
9999 CC=$ac_wine_try_cflags_saved_cc
10000 ac_exeext=$ac_wine_try_cflags_saved_exeext
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10003 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10004 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10005 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10008 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10009 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_wine_try_cflags_saved=$CFLAGS
10013 ac_wine_try_cflags_saved_cc=$CC
10014 ac_wine_try_cflags_saved_exeext=$ac_exeext
10015 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10016 CC="$CROSSCC"
10017 ac_exeext=".exe"
10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10020 int __cdecl mainCRTStartup(void) { return 0; }
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 ac_cv_crosscflags__Wshift_overflow_2=yes
10024 else
10025 ac_cv_crosscflags__Wshift_overflow_2=no
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 CFLAGS=$ac_wine_try_cflags_saved
10030 CC=$ac_wine_try_cflags_saved_cc
10031 ac_exeext=$ac_wine_try_cflags_saved_exeext
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10034 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10035 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10036 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10039 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10040 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10041 $as_echo_n "(cached) " >&6
10042 else
10043 ac_wine_try_cflags_saved=$CFLAGS
10044 ac_wine_try_cflags_saved_cc=$CC
10045 ac_wine_try_cflags_saved_exeext=$ac_exeext
10046 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10047 CC="$CROSSCC"
10048 ac_exeext=".exe"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10051 int __cdecl mainCRTStartup(void) { return 0; }
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"; then :
10054 ac_cv_crosscflags__Wstrict_prototypes=yes
10055 else
10056 ac_cv_crosscflags__Wstrict_prototypes=no
10058 rm -f core conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 CFLAGS=$ac_wine_try_cflags_saved
10061 CC=$ac_wine_try_cflags_saved_cc
10062 ac_exeext=$ac_wine_try_cflags_saved_exeext
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10065 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10066 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10067 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10070 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10071 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10072 $as_echo_n "(cached) " >&6
10073 else
10074 ac_wine_try_cflags_saved=$CFLAGS
10075 ac_wine_try_cflags_saved_cc=$CC
10076 ac_wine_try_cflags_saved_exeext=$ac_exeext
10077 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10078 CC="$CROSSCC"
10079 ac_exeext=".exe"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10082 int __cdecl mainCRTStartup(void) { return 0; }
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 ac_cv_crosscflags__Wtype_limits=yes
10086 else
10087 ac_cv_crosscflags__Wtype_limits=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 CFLAGS=$ac_wine_try_cflags_saved
10092 CC=$ac_wine_try_cflags_saved_cc
10093 ac_exeext=$ac_wine_try_cflags_saved_exeext
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10096 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10097 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10098 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10101 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10102 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 ac_wine_try_cflags_saved=$CFLAGS
10106 ac_wine_try_cflags_saved_cc=$CC
10107 ac_wine_try_cflags_saved_exeext=$ac_exeext
10108 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10109 CC="$CROSSCC"
10110 ac_exeext=".exe"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int __cdecl mainCRTStartup(void) { return 0; }
10114 _ACEOF
10115 if ac_fn_c_try_link "$LINENO"; then :
10116 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10117 else
10118 ac_cv_crosscflags__Wunused_but_set_parameter=no
10120 rm -f core conftest.err conftest.$ac_objext \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10123 CC=$ac_wine_try_cflags_saved_cc
10124 ac_exeext=$ac_wine_try_cflags_saved_exeext
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10127 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10128 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10129 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10132 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10133 if ${ac_cv_crosscflags__Wvla+:} false; then :
10134 $as_echo_n "(cached) " >&6
10135 else
10136 ac_wine_try_cflags_saved=$CFLAGS
10137 ac_wine_try_cflags_saved_cc=$CC
10138 ac_wine_try_cflags_saved_exeext=$ac_exeext
10139 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10140 CC="$CROSSCC"
10141 ac_exeext=".exe"
10142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10144 int __cdecl mainCRTStartup(void) { return 0; }
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"; then :
10147 ac_cv_crosscflags__Wvla=yes
10148 else
10149 ac_cv_crosscflags__Wvla=no
10151 rm -f core conftest.err conftest.$ac_objext \
10152 conftest$ac_exeext conftest.$ac_ext
10153 CFLAGS=$ac_wine_try_cflags_saved
10154 CC=$ac_wine_try_cflags_saved_cc
10155 ac_exeext=$ac_wine_try_cflags_saved_exeext
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10158 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10159 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10160 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10163 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10164 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10165 $as_echo_n "(cached) " >&6
10166 else
10167 ac_wine_try_cflags_saved=$CFLAGS
10168 ac_wine_try_cflags_saved_cc=$CC
10169 ac_wine_try_cflags_saved_exeext=$ac_exeext
10170 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10171 CC="$CROSSCC"
10172 ac_exeext=".exe"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int __cdecl mainCRTStartup(void) { return 0; }
10176 _ACEOF
10177 if ac_fn_c_try_link "$LINENO"; then :
10178 ac_cv_crosscflags__Wwrite_strings=yes
10179 else
10180 ac_cv_crosscflags__Wwrite_strings=no
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 CFLAGS=$ac_wine_try_cflags_saved
10185 CC=$ac_wine_try_cflags_saved_cc
10186 ac_exeext=$ac_wine_try_cflags_saved_exeext
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10189 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10190 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10191 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10194 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10195 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 ac_wine_try_cflags_saved_cc=$CC
10200 ac_wine_try_cflags_saved_exeext=$ac_exeext
10201 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10202 CC="$CROSSCC"
10203 ac_exeext=".exe"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10206 int __cdecl mainCRTStartup(void) { return 0; }
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 ac_cv_crosscflags__Wpointer_arith=yes
10210 else
10211 ac_cv_crosscflags__Wpointer_arith=no
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10216 CC=$ac_wine_try_cflags_saved_cc
10217 ac_exeext=$ac_wine_try_cflags_saved_exeext
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10220 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10221 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10222 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10225 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10226 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_wine_try_cflags_saved=$CFLAGS
10230 ac_wine_try_cflags_saved_cc=$CC
10231 ac_wine_try_cflags_saved_exeext=$ac_exeext
10232 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10233 CC="$CROSSCC"
10234 ac_exeext=".exe"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10237 int __cdecl mainCRTStartup(void) { return 0; }
10238 _ACEOF
10239 if ac_fn_c_try_link "$LINENO"; then :
10240 ac_cv_crosscflags__Wlogical_op=yes
10241 else
10242 ac_cv_crosscflags__Wlogical_op=no
10244 rm -f core conftest.err conftest.$ac_objext \
10245 conftest$ac_exeext conftest.$ac_ext
10246 CFLAGS=$ac_wine_try_cflags_saved
10247 CC=$ac_wine_try_cflags_saved_cc
10248 ac_exeext=$ac_wine_try_cflags_saved_exeext
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10251 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10252 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10253 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10256 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10257 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 ac_wine_try_cflags_saved=$CFLAGS
10261 ac_wine_try_cflags_saved_cc=$CC
10262 ac_wine_try_cflags_saved_exeext=$ac_exeext
10263 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10264 CC="$CROSSCC"
10265 ac_exeext=".exe"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10268 int __cdecl mainCRTStartup(void) { return 0; }
10269 _ACEOF
10270 if ac_fn_c_try_link "$LINENO"; then :
10271 ac_cv_crosscflags__Wabsolute_value=yes
10272 else
10273 ac_cv_crosscflags__Wabsolute_value=no
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 CFLAGS=$ac_wine_try_cflags_saved
10278 CC=$ac_wine_try_cflags_saved_cc
10279 ac_exeext=$ac_wine_try_cflags_saved_exeext
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10282 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10283 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10284 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10287 case $host_cpu in
10288 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10289 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10290 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10291 $as_echo_n "(cached) " >&6
10292 else
10293 ac_wine_try_cflags_saved=$CFLAGS
10294 ac_wine_try_cflags_saved_cc=$CC
10295 ac_wine_try_cflags_saved_exeext=$ac_exeext
10296 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10297 CC="$CROSSCC"
10298 ac_exeext=".exe"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10301 int __cdecl mainCRTStartup(void) { return 0; }
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"; then :
10304 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10305 else
10306 ac_cv_crosscflags__fno_omit_frame_pointer=no
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 CFLAGS=$ac_wine_try_cflags_saved
10311 CC=$ac_wine_try_cflags_saved_cc
10312 ac_exeext=$ac_wine_try_cflags_saved_exeext
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10315 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10316 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10317 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10318 fi ;;
10319 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10320 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10321 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10322 $as_echo_n "(cached) " >&6
10323 else
10324 ac_wine_try_cflags_saved=$CFLAGS
10325 ac_wine_try_cflags_saved_cc=$CC
10326 ac_wine_try_cflags_saved_exeext=$ac_exeext
10327 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10328 CC="$CROSSCC"
10329 ac_exeext=".exe"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10332 int __cdecl mainCRTStartup(void) { return 0; }
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 ac_cv_crosscflags__Wno_format=yes
10336 else
10337 ac_cv_crosscflags__Wno_format=no
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 CFLAGS=$ac_wine_try_cflags_saved
10342 CC=$ac_wine_try_cflags_saved_cc
10343 ac_exeext=$ac_wine_try_cflags_saved_exeext
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10346 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10347 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10348 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10351 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10352 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10353 $as_echo_n "(cached) " >&6
10354 else
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 ac_wine_try_cflags_saved_cc=$CC
10357 ac_wine_try_cflags_saved_exeext=$ac_exeext
10358 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10359 CC="$CROSSCC"
10360 ac_exeext=".exe"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10363 int __cdecl mainCRTStartup(void) { return 0; }
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 ac_cv_crosscflags__Wformat_overflow=yes
10367 else
10368 ac_cv_crosscflags__Wformat_overflow=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 CFLAGS=$ac_wine_try_cflags_saved
10373 CC=$ac_wine_try_cflags_saved_cc
10374 ac_exeext=$ac_wine_try_cflags_saved_exeext
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10377 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10378 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10379 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10382 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10383 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10384 $as_echo_n "(cached) " >&6
10385 else
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 ac_wine_try_cflags_saved_cc=$CC
10388 ac_wine_try_cflags_saved_exeext=$ac_exeext
10389 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10390 CC="$CROSSCC"
10391 ac_exeext=".exe"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 int __cdecl mainCRTStartup(void) { return 0; }
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 ac_cv_crosscflags__Wnonnull=yes
10398 else
10399 ac_cv_crosscflags__Wnonnull=no
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 CFLAGS=$ac_wine_try_cflags_saved
10404 CC=$ac_wine_try_cflags_saved_cc
10405 ac_exeext=$ac_wine_try_cflags_saved_exeext
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10408 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10409 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10410 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10413 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10414 if ${ac_cv_crosscflags__mcx16+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_wine_try_cflags_saved=$CFLAGS
10418 ac_wine_try_cflags_saved_cc=$CC
10419 ac_wine_try_cflags_saved_exeext=$ac_exeext
10420 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10421 CC="$CROSSCC"
10422 ac_exeext=".exe"
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10425 int __cdecl mainCRTStartup(void) { return 0; }
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 ac_cv_crosscflags__mcx16=yes
10429 else
10430 ac_cv_crosscflags__mcx16=no
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 CFLAGS=$ac_wine_try_cflags_saved
10435 CC=$ac_wine_try_cflags_saved_cc
10436 ac_exeext=$ac_wine_try_cflags_saved_exeext
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10439 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10440 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10441 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10442 fi ;;
10443 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10444 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10445 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10446 $as_echo_n "(cached) " >&6
10447 else
10448 ac_wine_try_cflags_saved=$CFLAGS
10449 ac_wine_try_cflags_saved_cc=$CC
10450 ac_wine_try_cflags_saved_exeext=$ac_exeext
10451 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10452 CC="$CROSSCC"
10453 ac_exeext=".exe"
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 int __cdecl mainCRTStartup(void) { return 0; }
10457 _ACEOF
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 ac_cv_crosscflags__Wno_format=yes
10460 else
10461 ac_cv_crosscflags__Wno_format=no
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 CFLAGS=$ac_wine_try_cflags_saved
10466 CC=$ac_wine_try_cflags_saved_cc
10467 ac_exeext=$ac_wine_try_cflags_saved_exeext
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10470 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10471 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10472 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10473 fi ;;
10474 esac
10477 if test -z "$CROSSDEBUG"
10478 then
10479 for ac_flag in $CROSSCFLAGS; do
10480 case $ac_flag in
10481 -gdwarf*) CROSSDEBUG=dwarf ;;
10482 -gcodeview) CROSSDEBUG=pdb ;;
10483 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10484 esac
10485 done
10487 case $CROSSDEBUG in
10488 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10489 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10490 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 ac_wine_try_cflags_saved=$CFLAGS
10494 ac_wine_try_cflags_saved_cc=$CC
10495 ac_wine_try_cflags_saved_exeext=$ac_exeext
10496 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10497 CC="$CROSSCC"
10498 ac_exeext=".exe"
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 int __cdecl mainCRTStartup(void) { return 0; }
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_crosscflags__gdwarf_2=yes
10505 else
10506 ac_cv_crosscflags__gdwarf_2=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 CFLAGS=$ac_wine_try_cflags_saved
10511 CC=$ac_wine_try_cflags_saved_cc
10512 ac_exeext=$ac_wine_try_cflags_saved_exeext
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10515 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10516 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10517 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10520 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10521 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_wine_try_cflags_saved=$CFLAGS
10525 ac_wine_try_cflags_saved_cc=$CC
10526 ac_wine_try_cflags_saved_exeext=$ac_exeext
10527 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10528 CC="$CROSSCC"
10529 ac_exeext=".exe"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10532 int __cdecl mainCRTStartup(void) { return 0; }
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_crosscflags__gstrict_dwarf=yes
10536 else
10537 ac_cv_crosscflags__gstrict_dwarf=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 CFLAGS=$ac_wine_try_cflags_saved
10542 CC=$ac_wine_try_cflags_saved_cc
10543 ac_exeext=$ac_wine_try_cflags_saved_exeext
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10546 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10547 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10548 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10549 fi ;;
10550 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10551 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10552 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10553 $as_echo_n "(cached) " >&6
10554 else
10555 ac_wine_try_cflags_saved=$CFLAGS
10556 ac_wine_try_cflags_saved_cc=$CC
10557 ac_wine_try_cflags_saved_exeext=$ac_exeext
10558 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10559 CC="$CROSSCC"
10560 ac_exeext=".exe"
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int __cdecl mainCRTStartup(void) { return 0; }
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 ac_cv_crosscflags__gcodeview=yes
10567 else
10568 ac_cv_crosscflags__gcodeview=no
10570 rm -f core conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 CFLAGS=$ac_wine_try_cflags_saved
10573 CC=$ac_wine_try_cflags_saved_cc
10574 ac_exeext=$ac_wine_try_cflags_saved_exeext
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10577 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10578 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10579 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10580 fi ;;
10581 esac
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10584 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10585 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 ac_wine_try_cflags_saved=$CFLAGS
10589 ac_wine_try_cflags_saved_cc=$CC
10590 ac_wine_try_cflags_saved_exeext=$ac_exeext
10591 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10592 CC="$CROSSCC"
10593 ac_exeext=".exe"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 int __cdecl mainCRTStartup(void) { return 0; }
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 ac_cv_crosscflags__fexcess_precision_standard=yes
10600 else
10601 ac_cv_crosscflags__fexcess_precision_standard=no
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 CFLAGS=$ac_wine_try_cflags_saved
10606 CC=$ac_wine_try_cflags_saved_cc
10607 ac_exeext=$ac_wine_try_cflags_saved_exeext
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10610 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10611 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10612 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10616 if test "x$enable_werror" = "xyes"
10617 then
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10619 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10620 if ${ac_cv_crosscflags__Werror+:} false; then :
10621 $as_echo_n "(cached) " >&6
10622 else
10623 ac_wine_try_cflags_saved=$CFLAGS
10624 ac_wine_try_cflags_saved_cc=$CC
10625 ac_wine_try_cflags_saved_exeext=$ac_exeext
10626 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10627 CC="$CROSSCC"
10628 ac_exeext=".exe"
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10631 int __cdecl mainCRTStartup(void) { return 0; }
10632 _ACEOF
10633 if ac_fn_c_try_link "$LINENO"; then :
10634 ac_cv_crosscflags__Werror=yes
10635 else
10636 ac_cv_crosscflags__Werror=no
10638 rm -f core conftest.err conftest.$ac_objext \
10639 conftest$ac_exeext conftest.$ac_ext
10640 CFLAGS=$ac_wine_try_cflags_saved
10641 CC=$ac_wine_try_cflags_saved_cc
10642 ac_exeext=$ac_wine_try_cflags_saved_exeext
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10645 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10646 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10647 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10650 if test "x$enable_build_id" = "xyes"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10653 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10654 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_wine_try_cflags_saved=$CFLAGS
10658 ac_wine_try_cflags_saved_cc=$CC
10659 ac_wine_try_cflags_saved_exeext=$ac_exeext
10660 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10661 CC="$CROSSCC"
10662 ac_exeext=".exe"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10665 int __cdecl mainCRTStartup(void) { return 0; }
10666 _ACEOF
10667 if ac_fn_c_try_link "$LINENO"; then :
10668 ac_cv_crosscflags__Wl___build_id=yes
10669 else
10670 ac_cv_crosscflags__Wl___build_id=no
10672 rm -f core conftest.err conftest.$ac_objext \
10673 conftest$ac_exeext conftest.$ac_ext
10674 CFLAGS=$ac_wine_try_cflags_saved
10675 CC=$ac_wine_try_cflags_saved_cc
10676 ac_exeext=$ac_wine_try_cflags_saved_exeext
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10679 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10680 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10681 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10682 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10686 CFLAGS=$saved_CFLAGS
10687 LDFLAGS=$saved_LDFLAGS
10688 CC="$ac_save_CC"
10691 if test "x$CROSSTARGET" = "x"; then :
10692 case "x$with_mingw" in
10693 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10694 xno) ;;
10695 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10696 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10697 esac
10702 if test "$ac_cv_header_pthread_h" = "yes"
10703 then
10704 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10705 if test "x$ac_cv_func_pthread_create" = xyes; then :
10707 else
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10709 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10710 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_lib_save_LIBS=$LIBS
10714 LIBS="-lpthread $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char pthread_create ();
10726 main ()
10728 return pthread_create ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 ac_cv_lib_pthread_pthread_create=yes
10735 else
10736 ac_cv_lib_pthread_pthread_create=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10743 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10744 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10745 PTHREAD_LIBS="-lpthread"
10752 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10753 case "x$with_pthread" in
10754 xno) ;;
10755 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10756 Wine cannot support threads without libpthread.
10757 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10758 esac
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10764 $as_echo_n "checking for X... " >&6; }
10767 # Check whether --with-x was given.
10768 if test "${with_x+set}" = set; then :
10769 withval=$with_x;
10772 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10773 if test "x$with_x" = xno; then
10774 # The user explicitly disabled X.
10775 have_x=disabled
10776 else
10777 case $x_includes,$x_libraries in #(
10778 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10779 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10780 $as_echo_n "(cached) " >&6
10781 else
10782 # One or both of the vars are not set, and there is no cached value.
10783 ac_x_includes=no ac_x_libraries=no
10784 rm -f -r conftest.dir
10785 if mkdir conftest.dir; then
10786 cd conftest.dir
10787 cat >Imakefile <<'_ACEOF'
10788 incroot:
10789 @echo incroot='${INCROOT}'
10790 usrlibdir:
10791 @echo usrlibdir='${USRLIBDIR}'
10792 libdir:
10793 @echo libdir='${LIBDIR}'
10794 _ACEOF
10795 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10796 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10797 for ac_var in incroot usrlibdir libdir; do
10798 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10799 done
10800 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10801 for ac_extension in a so sl dylib la dll; do
10802 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10803 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10804 ac_im_usrlibdir=$ac_im_libdir; break
10806 done
10807 # Screen out bogus values from the imake configuration. They are
10808 # bogus both because they are the default anyway, and because
10809 # using them would break gcc on systems where it needs fixed includes.
10810 case $ac_im_incroot in
10811 /usr/include) ac_x_includes= ;;
10812 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10813 esac
10814 case $ac_im_usrlibdir in
10815 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10816 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10817 esac
10819 cd ..
10820 rm -f -r conftest.dir
10823 # Standard set of common directories for X headers.
10824 # Check X11 before X11Rn because it is often a symlink to the current release.
10825 ac_x_header_dirs='
10826 /usr/X11/include
10827 /usr/X11R7/include
10828 /usr/X11R6/include
10829 /usr/X11R5/include
10830 /usr/X11R4/include
10832 /usr/include/X11
10833 /usr/include/X11R7
10834 /usr/include/X11R6
10835 /usr/include/X11R5
10836 /usr/include/X11R4
10838 /usr/local/X11/include
10839 /usr/local/X11R7/include
10840 /usr/local/X11R6/include
10841 /usr/local/X11R5/include
10842 /usr/local/X11R4/include
10844 /usr/local/include/X11
10845 /usr/local/include/X11R7
10846 /usr/local/include/X11R6
10847 /usr/local/include/X11R5
10848 /usr/local/include/X11R4
10850 /usr/X386/include
10851 /usr/x386/include
10852 /usr/XFree86/include/X11
10854 /usr/include
10855 /usr/local/include
10856 /usr/unsupported/include
10857 /usr/athena/include
10858 /usr/local/x11r5/include
10859 /usr/lpp/Xamples/include
10861 /usr/openwin/include
10862 /usr/openwin/share/include'
10864 if test "$ac_x_includes" = no; then
10865 # Guess where to find include files, by looking for Xlib.h.
10866 # First, try using that file with no special directory specified.
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10869 #include <X11/Xlib.h>
10870 _ACEOF
10871 if ac_fn_c_try_cpp "$LINENO"; then :
10872 # We can compile using X headers with no special include directory.
10873 ac_x_includes=
10874 else
10875 for ac_dir in $ac_x_header_dirs; do
10876 if test -r "$ac_dir/X11/Xlib.h"; then
10877 ac_x_includes=$ac_dir
10878 break
10880 done
10882 rm -f conftest.err conftest.i conftest.$ac_ext
10883 fi # $ac_x_includes = no
10885 if test "$ac_x_libraries" = no; then
10886 # Check for the libraries.
10887 # See if we find them without any special options.
10888 # Don't add to $LIBS permanently.
10889 ac_save_LIBS=$LIBS
10890 LIBS="-lX11 $LIBS"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 #include <X11/Xlib.h>
10895 main ()
10897 XrmInitialize ()
10899 return 0;
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 LIBS=$ac_save_LIBS
10904 # We can link X programs with no special library path.
10905 ac_x_libraries=
10906 else
10907 LIBS=$ac_save_LIBS
10908 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10910 # Don't even attempt the hair of trying to link an X program!
10911 for ac_extension in a so sl dylib la dll; do
10912 if test -r "$ac_dir/libX11.$ac_extension"; then
10913 ac_x_libraries=$ac_dir
10914 break 2
10916 done
10917 done
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 fi # $ac_x_libraries = no
10923 case $ac_x_includes,$ac_x_libraries in #(
10924 no,* | *,no | *\'*)
10925 # Didn't find X, or a directory has "'" in its name.
10926 ac_cv_have_x="have_x=no";; #(
10928 # Record where we found X for the cache.
10929 ac_cv_have_x="have_x=yes\
10930 ac_x_includes='$ac_x_includes'\
10931 ac_x_libraries='$ac_x_libraries'"
10932 esac
10934 ;; #(
10935 *) have_x=yes;;
10936 esac
10937 eval "$ac_cv_have_x"
10938 fi # $with_x != no
10940 if test "$have_x" != yes; then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10942 $as_echo "$have_x" >&6; }
10943 no_x=yes
10944 else
10945 # If each of the values was on the command line, it overrides each guess.
10946 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10947 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10948 # Update the cache value to reflect the command line values.
10949 ac_cv_have_x="have_x=yes\
10950 ac_x_includes='$x_includes'\
10951 ac_x_libraries='$x_libraries'"
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10953 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10956 if test "$no_x" = yes; then
10957 # Not all programs may use this symbol, but it does not hurt to define it.
10959 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10961 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10962 else
10963 if test -n "$x_includes"; then
10964 X_CFLAGS="$X_CFLAGS -I$x_includes"
10967 # It would also be nice to do this for all -L options, not just this one.
10968 if test -n "$x_libraries"; then
10969 X_LIBS="$X_LIBS -L$x_libraries"
10970 # For Solaris; some versions of Sun CC require a space after -R and
10971 # others require no space. Words are not sufficient . . . .
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10973 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10974 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10975 ac_xsave_c_werror_flag=$ac_c_werror_flag
10976 ac_c_werror_flag=yes
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10981 main ()
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990 $as_echo "no" >&6; }
10991 X_LIBS="$X_LIBS -R$x_libraries"
10992 else
10993 LIBS="$ac_xsave_LIBS -R $x_libraries"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10998 main ()
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11007 $as_echo "yes" >&6; }
11008 X_LIBS="$X_LIBS -R $x_libraries"
11009 else
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11011 $as_echo "neither works" >&6; }
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 ac_c_werror_flag=$ac_xsave_c_werror_flag
11019 LIBS=$ac_xsave_LIBS
11022 # Check for system-dependent libraries X programs must link with.
11023 # Do this before checking for the system-independent R6 libraries
11024 # (-lICE), since we may need -lsocket or whatever for X linking.
11026 if test "$ISC" = yes; then
11027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11028 else
11029 # Martyn Johnson says this is needed for Ultrix, if the X
11030 # libraries were built with DECnet support. And Karl Berry says
11031 # the Alpha needs dnet_stub (dnet does not exist).
11032 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char XOpenDisplay ();
11044 main ()
11046 return XOpenDisplay ();
11048 return 0;
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"; then :
11053 else
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11055 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11056 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-ldnet $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char dnet_ntoa ();
11072 main ()
11074 return dnet_ntoa ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_dnet_dnet_ntoa=yes
11081 else
11082 ac_cv_lib_dnet_dnet_ntoa=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11089 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11090 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11091 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11094 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11096 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11097 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11098 $as_echo_n "(cached) " >&6
11099 else
11100 ac_check_lib_save_LIBS=$LIBS
11101 LIBS="-ldnet_stub $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 #endif
11111 char dnet_ntoa ();
11113 main ()
11115 return dnet_ntoa ();
11117 return 0;
11119 _ACEOF
11120 if ac_fn_c_try_link "$LINENO"; then :
11121 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11122 else
11123 ac_cv_lib_dnet_stub_dnet_ntoa=no
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11130 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11131 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11132 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS="$ac_xsave_LIBS"
11141 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11142 # to get the SysV transport functions.
11143 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11144 # needs -lnsl.
11145 # The nsl library prevents programs from opening the X display
11146 # on Irix 5.2, according to T.E. Dickey.
11147 # The functions gethostbyname, getservbyname, and inet_addr are
11148 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11149 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11150 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11154 if test $ac_cv_func_gethostbyname = no; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11156 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11157 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11158 $as_echo_n "(cached) " >&6
11159 else
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lnsl $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11168 #ifdef __cplusplus
11169 extern "C"
11170 #endif
11171 char gethostbyname ();
11173 main ()
11175 return gethostbyname ();
11177 return 0;
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_nsl_gethostbyname=yes
11182 else
11183 ac_cv_lib_nsl_gethostbyname=no
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11190 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11191 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11195 if test $ac_cv_lib_nsl_gethostbyname = no; then
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11197 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11198 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-lbsd $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char gethostbyname ();
11214 main ()
11216 return gethostbyname ();
11218 return 0;
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 ac_cv_lib_bsd_gethostbyname=yes
11223 else
11224 ac_cv_lib_bsd_gethostbyname=no
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11231 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11232 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11239 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11240 # socket/setsockopt and other routines are undefined under SCO ODT
11241 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11242 # on later versions), says Simon Leinen: it contains gethostby*
11243 # variants that don't use the name server (or something). -lsocket
11244 # must be given before -lnsl if both are needed. We assume that
11245 # if connect needs -lnsl, so does gethostbyname.
11246 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11247 if test "x$ac_cv_func_connect" = xyes; then :
11251 if test $ac_cv_func_connect = no; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11253 $as_echo_n "checking for connect in -lsocket... " >&6; }
11254 if ${ac_cv_lib_socket_connect+:} false; then :
11255 $as_echo_n "(cached) " >&6
11256 else
11257 ac_check_lib_save_LIBS=$LIBS
11258 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11265 #ifdef __cplusplus
11266 extern "C"
11267 #endif
11268 char connect ();
11270 main ()
11272 return connect ();
11274 return 0;
11276 _ACEOF
11277 if ac_fn_c_try_link "$LINENO"; then :
11278 ac_cv_lib_socket_connect=yes
11279 else
11280 ac_cv_lib_socket_connect=no
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_lib_save_LIBS
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11287 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11288 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11289 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11294 # Guillermo Gomez says -lposix is necessary on A/UX.
11295 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11296 if test "x$ac_cv_func_remove" = xyes; then :
11300 if test $ac_cv_func_remove = no; then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11302 $as_echo_n "checking for remove in -lposix... " >&6; }
11303 if ${ac_cv_lib_posix_remove+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_lib_save_LIBS=$LIBS
11307 LIBS="-lposix $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char remove ();
11319 main ()
11321 return remove ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 ac_cv_lib_posix_remove=yes
11328 else
11329 ac_cv_lib_posix_remove=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11336 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11337 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11343 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11344 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11345 if test "x$ac_cv_func_shmat" = xyes; then :
11349 if test $ac_cv_func_shmat = no; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11351 $as_echo_n "checking for shmat in -lipc... " >&6; }
11352 if ${ac_cv_lib_ipc_shmat+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-lipc $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char shmat ();
11368 main ()
11370 return shmat ();
11372 return 0;
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 ac_cv_lib_ipc_shmat=yes
11377 else
11378 ac_cv_lib_ipc_shmat=no
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11385 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11386 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11387 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11393 # Check for libraries that X11R6 Xt/Xaw programs need.
11394 ac_save_LDFLAGS=$LDFLAGS
11395 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11396 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11397 # check for ICE first), but we must link in the order -lSM -lICE or
11398 # we get undefined symbols. So assume we have SM if we have ICE.
11399 # These have to be linked with before -lX11, unlike the other
11400 # libraries we check for below, so use a different variable.
11401 # John Interrante, Karl Berry
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11403 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11404 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char IceConnectionNumber ();
11420 main ()
11422 return IceConnectionNumber ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_ICE_IceConnectionNumber=yes
11429 else
11430 ac_cv_lib_ICE_IceConnectionNumber=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11437 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11438 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11439 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11442 LDFLAGS=$ac_save_LDFLAGS
11447 if test "$have_x" = "yes"
11448 then
11449 ac_save_CPPFLAGS="$CPPFLAGS"
11450 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11453 $as_echo_n "checking for -lX11... " >&6; }
11454 if ${ac_cv_lib_soname_X11+:} false; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 ac_check_soname_save_LIBS=$LIBS
11458 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11465 #ifdef __cplusplus
11466 extern "C"
11467 #endif
11468 char XCreateWindow ();
11470 main ()
11472 return XCreateWindow ();
11474 return 0;
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 case "$LIBEXT" in
11479 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11480 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'` ;;
11481 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11482 if ${ac_cv_lib_soname_X11:+false} :; then :
11483 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11484 fi ;;
11485 esac
11486 else
11487 ac_cv_lib_soname_X11=
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_X11:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11497 else
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11499 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11501 cat >>confdefs.h <<_ACEOF
11502 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11503 _ACEOF
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11508 $as_echo_n "checking for -lXext... " >&6; }
11509 if ${ac_cv_lib_soname_Xext+:} false; then :
11510 $as_echo_n "(cached) " >&6
11511 else
11512 ac_check_soname_save_LIBS=$LIBS
11513 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11520 #ifdef __cplusplus
11521 extern "C"
11522 #endif
11523 char XextCreateExtension ();
11525 main ()
11527 return XextCreateExtension ();
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 case "$LIBEXT" in
11534 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11535 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'` ;;
11536 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11537 if ${ac_cv_lib_soname_Xext:+false} :; then :
11538 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11539 fi ;;
11540 esac
11541 else
11542 ac_cv_lib_soname_Xext=
11544 rm -f core conftest.err conftest.$ac_objext \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_soname_save_LIBS
11548 if ${ac_cv_lib_soname_Xext:+false} :; then :
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11550 $as_echo "not found" >&6; }
11552 else
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11554 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11556 cat >>confdefs.h <<_ACEOF
11557 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11558 _ACEOF
11560 X_LIBS="$X_LIBS -lXext"
11562 X_LIBS="$X_LIBS -lX11"
11564 for ac_header in X11/Xlib.h \
11565 X11/XKBlib.h \
11566 X11/Xutil.h \
11567 X11/Xcursor/Xcursor.h \
11568 X11/extensions/shape.h \
11569 X11/extensions/XInput.h \
11570 X11/extensions/XInput2.h \
11571 X11/extensions/XShm.h \
11572 X11/extensions/Xcomposite.h \
11573 X11/extensions/Xfixes.h \
11574 X11/extensions/Xinerama.h \
11575 X11/extensions/Xrandr.h \
11576 X11/extensions/Xrender.h \
11577 X11/extensions/xf86vmode.h \
11578 X11/extensions/xf86vmproto.h
11579 do :
11580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11581 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11582 # include <X11/Xlib.h>
11583 #endif
11584 #ifdef HAVE_X11_XUTIL_H
11585 # include <X11/Xutil.h>
11586 #endif
11588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11589 cat >>confdefs.h <<_ACEOF
11590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11591 _ACEOF
11595 done
11598 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11599 then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11601 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11602 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_lib_save_LIBS=$LIBS
11606 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char XkbQueryExtension ();
11618 main ()
11620 return XkbQueryExtension ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 ac_cv_lib_X11_XkbQueryExtension=yes
11627 else
11628 ac_cv_lib_X11_XkbQueryExtension=no
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11635 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11636 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11638 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11644 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11645 then
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11647 $as_echo_n "checking for -lXcursor... " >&6; }
11648 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11649 $as_echo_n "(cached) " >&6
11650 else
11651 ac_check_soname_save_LIBS=$LIBS
11652 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11656 /* Override any GCC internal prototype to avoid an error.
11657 Use char because int might match the return type of a GCC
11658 builtin and then its argument prototype would still apply. */
11659 #ifdef __cplusplus
11660 extern "C"
11661 #endif
11662 char XcursorImageLoadCursor ();
11664 main ()
11666 return XcursorImageLoadCursor ();
11668 return 0;
11670 _ACEOF
11671 if ac_fn_c_try_link "$LINENO"; then :
11672 case "$LIBEXT" in
11673 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11674 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'` ;;
11675 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11676 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11677 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11678 fi ;;
11679 esac
11680 else
11681 ac_cv_lib_soname_Xcursor=
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_soname_save_LIBS
11687 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11689 $as_echo "not found" >&6; }
11691 else
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11693 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11695 cat >>confdefs.h <<_ACEOF
11696 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11697 _ACEOF
11702 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11703 case "x$with_xcursor" in
11704 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11705 xno) ;;
11706 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11707 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11708 esac
11712 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11713 then
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11715 $as_echo_n "checking for -lXi... " >&6; }
11716 if ${ac_cv_lib_soname_Xi+:} false; then :
11717 $as_echo_n "(cached) " >&6
11718 else
11719 ac_check_soname_save_LIBS=$LIBS
11720 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11724 /* Override any GCC internal prototype to avoid an error.
11725 Use char because int might match the return type of a GCC
11726 builtin and then its argument prototype would still apply. */
11727 #ifdef __cplusplus
11728 extern "C"
11729 #endif
11730 char XOpenDevice ();
11732 main ()
11734 return XOpenDevice ();
11736 return 0;
11738 _ACEOF
11739 if ac_fn_c_try_link "$LINENO"; then :
11740 case "$LIBEXT" in
11741 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11742 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'` ;;
11743 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11744 if ${ac_cv_lib_soname_Xi:+false} :; then :
11745 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11746 fi ;;
11747 esac
11748 else
11749 ac_cv_lib_soname_Xi=
11751 rm -f core conftest.err conftest.$ac_objext \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_soname_save_LIBS
11755 if ${ac_cv_lib_soname_Xi:+false} :; then :
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11757 $as_echo "not found" >&6; }
11759 else
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11761 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11763 cat >>confdefs.h <<_ACEOF
11764 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11765 _ACEOF
11770 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11771 case "x$with_xinput" in
11772 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11773 xno) ;;
11774 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11775 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11776 esac
11780 if test "x$ac_cv_lib_soname_Xi" != x
11781 then
11782 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11783 case "x$with_xinput2" in
11784 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11785 xno) ;;
11786 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11787 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11788 esac
11793 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11794 then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11796 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11797 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_check_lib_save_LIBS=$LIBS
11801 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char XShmQueryExtension ();
11813 main ()
11815 return XShmQueryExtension ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 ac_cv_lib_Xext_XShmQueryExtension=yes
11822 else
11823 ac_cv_lib_Xext_XShmQueryExtension=no
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_lib_save_LIBS
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11830 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11831 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11833 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11838 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11839 case "x$with_xshm" in
11840 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11841 xno) ;;
11842 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11843 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11844 esac
11848 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11849 then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11851 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11852 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 ac_check_lib_save_LIBS=$LIBS
11856 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11863 #ifdef __cplusplus
11864 extern "C"
11865 #endif
11866 char XShapeQueryExtension ();
11868 main ()
11870 return XShapeQueryExtension ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"; then :
11876 ac_cv_lib_Xext_XShapeQueryExtension=yes
11877 else
11878 ac_cv_lib_Xext_XShapeQueryExtension=no
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_lib_save_LIBS
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11885 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11886 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11888 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11893 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11894 case "x$with_xshape" in
11895 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11896 xno) ;;
11897 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11898 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11899 esac
11903 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11904 then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11906 $as_echo_n "checking for -lXxf86vm... " >&6; }
11907 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11908 $as_echo_n "(cached) " >&6
11909 else
11910 ac_check_soname_save_LIBS=$LIBS
11911 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11918 #ifdef __cplusplus
11919 extern "C"
11920 #endif
11921 char XF86VidModeQueryExtension ();
11923 main ()
11925 return XF86VidModeQueryExtension ();
11927 return 0;
11929 _ACEOF
11930 if ac_fn_c_try_link "$LINENO"; then :
11931 case "$LIBEXT" in
11932 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11933 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'` ;;
11934 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11935 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11936 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11937 fi ;;
11938 esac
11939 else
11940 ac_cv_lib_soname_Xxf86vm=
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_soname_save_LIBS
11946 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11948 $as_echo "not found" >&6; }
11950 else
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11952 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11954 cat >>confdefs.h <<_ACEOF
11955 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11956 _ACEOF
11961 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11962 case "x$with_xxf86vm" in
11963 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11964 xno) ;;
11965 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11966 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11967 esac
11971 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11972 then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11974 $as_echo_n "checking for -lXrender... " >&6; }
11975 if ${ac_cv_lib_soname_Xrender+:} false; then :
11976 $as_echo_n "(cached) " >&6
11977 else
11978 ac_check_soname_save_LIBS=$LIBS
11979 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11986 #ifdef __cplusplus
11987 extern "C"
11988 #endif
11989 char XRenderQueryExtension ();
11991 main ()
11993 return XRenderQueryExtension ();
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_link "$LINENO"; then :
11999 case "$LIBEXT" in
12000 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12001 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'` ;;
12002 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12003 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12004 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12005 fi ;;
12006 esac
12007 else
12008 ac_cv_lib_soname_Xrender=
12010 rm -f core conftest.err conftest.$ac_objext \
12011 conftest$ac_exeext conftest.$ac_ext
12012 LIBS=$ac_check_soname_save_LIBS
12014 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12016 $as_echo "not found" >&6; }
12018 else
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12020 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12022 cat >>confdefs.h <<_ACEOF
12023 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12024 _ACEOF
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12027 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12028 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_lib_save_LIBS=$LIBS
12032 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char XRenderSetPictureTransform ();
12044 main ()
12046 return XRenderSetPictureTransform ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12053 else
12054 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12061 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12062 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12064 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12069 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12070 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_lib_save_LIBS=$LIBS
12074 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char XRenderCreateLinearGradient ();
12086 main ()
12088 return XRenderCreateLinearGradient ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12095 else
12096 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12098 rm -f core conftest.err conftest.$ac_objext \
12099 conftest$ac_exeext conftest.$ac_ext
12100 LIBS=$ac_check_lib_save_LIBS
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12103 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12104 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12106 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12113 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12114 case "x$with_xrender" in
12115 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12116 xno) ;;
12117 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12118 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12119 esac
12123 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12124 then
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12127 #include <X11/Xlib.h>
12128 #include <X11/extensions/Xrandr.h>
12130 main ()
12132 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_compile "$LINENO"; then :
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12139 $as_echo_n "checking for -lXrandr... " >&6; }
12140 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_soname_save_LIBS=$LIBS
12144 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char XRRQueryExtension ();
12156 main ()
12158 return XRRQueryExtension ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 case "$LIBEXT" in
12165 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12166 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'` ;;
12167 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12168 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12169 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12170 fi ;;
12171 esac
12172 else
12173 ac_cv_lib_soname_Xrandr=
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_soname_save_LIBS
12179 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12181 $as_echo "not found" >&6; }
12183 else
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12185 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12187 cat >>confdefs.h <<_ACEOF
12188 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12189 _ACEOF
12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12193 #include <X11/Xlib.h>
12194 #include <X11/extensions/Xrandr.h>
12196 main ()
12198 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12200 return 0;
12202 _ACEOF
12203 if ac_fn_c_try_compile "$LINENO"; then :
12205 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12207 else
12208 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12215 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12216 case "x$with_xrandr" in
12217 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12218 xno) ;;
12219 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12220 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12221 esac
12225 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12226 then
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <X11/Xlib.h>
12230 #include <X11/extensions/Xfixes.h>
12232 main ()
12234 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_compile "$LINENO"; then :
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12241 $as_echo_n "checking for -lXfixes... " >&6; }
12242 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12243 $as_echo_n "(cached) " >&6
12244 else
12245 ac_check_soname_save_LIBS=$LIBS
12246 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12248 /* end confdefs.h. */
12250 /* Override any GCC internal prototype to avoid an error.
12251 Use char because int might match the return type of a GCC
12252 builtin and then its argument prototype would still apply. */
12253 #ifdef __cplusplus
12254 extern "C"
12255 #endif
12256 char XFixesQueryVersion ();
12258 main ()
12260 return XFixesQueryVersion ();
12262 return 0;
12264 _ACEOF
12265 if ac_fn_c_try_link "$LINENO"; then :
12266 case "$LIBEXT" in
12267 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12268 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'` ;;
12269 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12270 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12271 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12272 fi ;;
12273 esac
12274 else
12275 ac_cv_lib_soname_Xfixes=
12277 rm -f core conftest.err conftest.$ac_objext \
12278 conftest$ac_exeext conftest.$ac_ext
12279 LIBS=$ac_check_soname_save_LIBS
12281 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12283 $as_echo "not found" >&6; }
12285 else
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12287 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12289 cat >>confdefs.h <<_ACEOF
12290 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12291 _ACEOF
12296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12298 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12299 case "x$with_xfixes" in
12300 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12301 xno) ;;
12302 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12303 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12304 esac
12308 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12309 then
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 #include <X11/Xlib.h>
12313 #include <X11/extensions/Xinerama.h>
12315 main ()
12317 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12319 return 0;
12321 _ACEOF
12322 if ac_fn_c_try_compile "$LINENO"; then :
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12324 $as_echo_n "checking for -lXinerama... " >&6; }
12325 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 ac_check_soname_save_LIBS=$LIBS
12329 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12336 #ifdef __cplusplus
12337 extern "C"
12338 #endif
12339 char XineramaQueryScreens ();
12341 main ()
12343 return XineramaQueryScreens ();
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"; then :
12349 case "$LIBEXT" in
12350 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12351 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'` ;;
12352 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12353 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12354 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12355 fi ;;
12356 esac
12357 else
12358 ac_cv_lib_soname_Xinerama=
12360 rm -f core conftest.err conftest.$ac_objext \
12361 conftest$ac_exeext conftest.$ac_ext
12362 LIBS=$ac_check_soname_save_LIBS
12364 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12366 $as_echo "not found" >&6; }
12368 else
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12370 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12372 cat >>confdefs.h <<_ACEOF
12373 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12374 _ACEOF
12379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12381 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12382 case "x$with_xinerama" in
12383 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12384 xno) ;;
12385 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12386 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12387 esac
12391 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12392 then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12394 $as_echo_n "checking for -lXcomposite... " >&6; }
12395 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_soname_save_LIBS=$LIBS
12399 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char XCompositeRedirectWindow ();
12411 main ()
12413 return XCompositeRedirectWindow ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 case "$LIBEXT" in
12420 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12421 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'` ;;
12422 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12423 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12424 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12425 fi ;;
12426 esac
12427 else
12428 ac_cv_lib_soname_Xcomposite=
12430 rm -f core conftest.err conftest.$ac_objext \
12431 conftest$ac_exeext conftest.$ac_ext
12432 LIBS=$ac_check_soname_save_LIBS
12434 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12436 $as_echo "not found" >&6; }
12438 else
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12440 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12442 cat >>confdefs.h <<_ACEOF
12443 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12444 _ACEOF
12449 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12450 case "x$with_xcomposite" in
12451 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12452 xno) ;;
12453 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12454 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12455 esac
12459 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12460 #include <X11/Xlib.h>
12461 #endif
12463 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12465 cat >>confdefs.h <<_ACEOF
12466 #define HAVE_XICCALLBACK_CALLBACK 1
12467 _ACEOF
12471 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12472 #include <X11/Xlib.h>
12473 #endif
12475 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12477 cat >>confdefs.h <<_ACEOF
12478 #define HAVE_XEVENT_XCOOKIE 1
12479 _ACEOF
12486 opengl_msg=""
12487 if test "x$with_opengl" != "xno"
12488 then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12490 $as_echo_n "checking for -lGL... " >&6; }
12491 if ${ac_cv_lib_soname_GL+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_soname_save_LIBS=$LIBS
12495 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12502 #ifdef __cplusplus
12503 extern "C"
12504 #endif
12505 char glXCreateContext ();
12507 main ()
12509 return glXCreateContext ();
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_link "$LINENO"; then :
12515 case "$LIBEXT" in
12516 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12517 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'` ;;
12518 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12519 if ${ac_cv_lib_soname_GL:+false} :; then :
12520 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12521 fi ;;
12522 esac
12523 else
12524 ac_cv_lib_soname_GL=
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12528 LIBS=$ac_check_soname_save_LIBS
12530 if ${ac_cv_lib_soname_GL:+false} :; then :
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12532 $as_echo "not found" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12534 $as_echo_n "checking for -lGL... " >&6; }
12535 if ${ac_cv_lib_soname_GL+:} false; then :
12536 $as_echo_n "(cached) " >&6
12537 else
12538 ac_check_soname_save_LIBS=$LIBS
12539 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"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12546 #ifdef __cplusplus
12547 extern "C"
12548 #endif
12549 char glXCreateContext ();
12551 main ()
12553 return glXCreateContext ();
12555 return 0;
12557 _ACEOF
12558 if ac_fn_c_try_link "$LINENO"; then :
12559 case "$LIBEXT" in
12560 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12561 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'` ;;
12562 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12563 if ${ac_cv_lib_soname_GL:+false} :; then :
12564 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12565 fi ;;
12566 esac
12567 else
12568 ac_cv_lib_soname_GL=
12570 rm -f core conftest.err conftest.$ac_objext \
12571 conftest$ac_exeext conftest.$ac_ext
12572 LIBS=$ac_check_soname_save_LIBS
12574 if ${ac_cv_lib_soname_GL:+false} :; then :
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12576 $as_echo "not found" >&6; }
12577 if test -f /usr/X11R6/lib/libGL.a
12578 then
12579 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12580 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12581 else
12582 opengl_msg="No OpenGL library found on this system."
12584 else
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12586 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12588 cat >>confdefs.h <<_ACEOF
12589 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12590 _ACEOF
12592 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"
12594 else
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12596 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12598 cat >>confdefs.h <<_ACEOF
12599 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12600 _ACEOF
12602 OPENGL_LIBS="-lGL"
12604 if test "x$with_osmesa" != "xno"
12605 then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12607 $as_echo_n "checking for -lOSMesa... " >&6; }
12608 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_soname_save_LIBS=$LIBS
12612 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char OSMesaGetProcAddress ();
12624 main ()
12626 return OSMesaGetProcAddress ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 case "$LIBEXT" in
12633 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12634 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'` ;;
12635 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12636 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12637 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12638 fi ;;
12639 esac
12640 else
12641 ac_cv_lib_soname_OSMesa=
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_soname_save_LIBS
12647 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12649 $as_echo "not found" >&6; }
12651 else
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12653 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12655 cat >>confdefs.h <<_ACEOF
12656 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12657 _ACEOF
12661 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12662 case "x$with_osmesa" in
12663 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12664 xno) ;;
12665 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12666 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12667 esac
12672 if test -n "$opengl_msg"; then :
12673 case "x$with_opengl" in
12674 x) as_fn_append wine_warnings "|$opengl_msg
12675 OpenGL and Direct3D won't be supported." ;;
12676 xno) ;;
12677 *) as_fn_error $? "$opengl_msg
12678 OpenGL and Direct3D won't be supported.
12679 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12680 esac
12684 CPPFLAGS="$ac_save_CPPFLAGS"
12685 else
12686 X_CFLAGS=""
12687 X_LIBS=""
12690 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12691 then
12692 if test "x$X_LIBS" = "x"; then :
12693 case "x$with_x" in
12694 xno) ;;
12695 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12696 without X support, which probably isn't what you want. You will need
12697 to install ${notice_platform}development packages of Xlib at the very least.
12698 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12699 esac
12700 enable_winex11_drv=${enable_winex11_drv:-no}
12702 else
12703 if test "x$X_LIBS" = "x"; then :
12704 case "x$with_x" in
12705 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12708 This is an error since --with-x was requested." "$LINENO" 5 ;;
12709 esac
12710 enable_winex11_drv=${enable_winex11_drv:-no}
12714 if test "$ac_cv_header_CL_cl_h" = "yes"
12715 then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12717 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12718 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12719 $as_echo_n "(cached) " >&6
12720 else
12721 ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lOpenCL $LIBS"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12729 #ifdef __cplusplus
12730 extern "C"
12731 #endif
12732 char clGetPlatformInfo ();
12734 main ()
12736 return clGetPlatformInfo ();
12738 return 0;
12740 _ACEOF
12741 if ac_fn_c_try_link "$LINENO"; then :
12742 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12743 else
12744 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12746 rm -f core conftest.err conftest.$ac_objext \
12747 conftest$ac_exeext conftest.$ac_ext
12748 LIBS=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12751 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12752 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12753 OPENCL_LIBS="-lOpenCL"
12758 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12759 case "x$with_opencl" in
12760 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12761 xno) ;;
12762 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12763 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12764 esac
12765 enable_opencl=${enable_opencl:-no}
12768 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12769 then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12771 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12772 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 ac_check_lib_save_LIBS=$LIBS
12776 LIBS="-lpcap $LIBS"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12783 #ifdef __cplusplus
12784 extern "C"
12785 #endif
12786 char pcap_create ();
12788 main ()
12790 return pcap_create ();
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_link "$LINENO"; then :
12796 ac_cv_lib_pcap_pcap_create=yes
12797 else
12798 ac_cv_lib_pcap_pcap_create=no
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_lib_save_LIBS
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12805 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12806 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12807 PCAP_LIBS="-lpcap"
12812 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12813 case "x$with_pcap" in
12814 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12815 xno) ;;
12816 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12817 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12818 esac
12819 enable_wpcap=${enable_wpcap:-no}
12823 if test "x$with_xml" != "xno"
12824 then
12825 if ${XML2_CFLAGS:+false} :; then :
12826 if ${PKG_CONFIG+:} false; then :
12827 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12830 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12831 if ${XML2_LIBS:+false} :; then :
12832 if ${PKG_CONFIG+:} false; then :
12833 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12836 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12837 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12838 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12839 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12840 ac_save_CPPFLAGS=$CPPFLAGS
12841 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12842 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12843 do :
12844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12845 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12847 cat >>confdefs.h <<_ACEOF
12848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12849 _ACEOF
12853 done
12855 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"
12856 then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12858 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12859 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12860 $as_echo_n "(cached) " >&6
12861 else
12862 ac_check_lib_save_LIBS=$LIBS
12863 LIBS="-lxml2 $XML2_LIBS $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 #ifdef __cplusplus
12871 extern "C"
12872 #endif
12873 char xmlParseMemory ();
12875 main ()
12877 return xmlParseMemory ();
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_link "$LINENO"; then :
12883 ac_cv_lib_xml2_xmlParseMemory=yes
12884 else
12885 ac_cv_lib_xml2_xmlParseMemory=no
12887 rm -f core conftest.err conftest.$ac_objext \
12888 conftest$ac_exeext conftest.$ac_ext
12889 LIBS=$ac_check_lib_save_LIBS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12892 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12893 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12895 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12897 else
12898 XML2_LIBS=""
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12902 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12903 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12904 $as_echo_n "(cached) " >&6
12905 else
12906 ac_check_lib_save_LIBS=$LIBS
12907 LIBS="-lxml2 $XML2_LIBS $LIBS"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12911 /* Override any GCC internal prototype to avoid an error.
12912 Use char because int might match the return type of a GCC
12913 builtin and then its argument prototype would still apply. */
12914 #ifdef __cplusplus
12915 extern "C"
12916 #endif
12917 char xmlReadMemory ();
12919 main ()
12921 return xmlReadMemory ();
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_link "$LINENO"; then :
12927 ac_cv_lib_xml2_xmlReadMemory=yes
12928 else
12929 ac_cv_lib_xml2_xmlReadMemory=no
12931 rm -f core conftest.err conftest.$ac_objext \
12932 conftest$ac_exeext conftest.$ac_ext
12933 LIBS=$ac_check_lib_save_LIBS
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12936 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12937 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12939 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12944 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12945 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12946 $as_echo_n "(cached) " >&6
12947 else
12948 ac_check_lib_save_LIBS=$LIBS
12949 LIBS="-lxml2 $XML2_LIBS $LIBS"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12956 #ifdef __cplusplus
12957 extern "C"
12958 #endif
12959 char xmlNewDocPI ();
12961 main ()
12963 return xmlNewDocPI ();
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"; then :
12969 ac_cv_lib_xml2_xmlNewDocPI=yes
12970 else
12971 ac_cv_lib_xml2_xmlNewDocPI=no
12973 rm -f core conftest.err conftest.$ac_objext \
12974 conftest$ac_exeext conftest.$ac_ext
12975 LIBS=$ac_check_lib_save_LIBS
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12978 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12979 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12981 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12986 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12987 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12988 $as_echo_n "(cached) " >&6
12989 else
12990 ac_check_lib_save_LIBS=$LIBS
12991 LIBS="-lxml2 $XML2_LIBS $LIBS"
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
12998 #ifdef __cplusplus
12999 extern "C"
13000 #endif
13001 char xmlSchemaSetParserStructuredErrors ();
13003 main ()
13005 return xmlSchemaSetParserStructuredErrors ();
13007 return 0;
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"; then :
13011 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13012 else
13013 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13015 rm -f core conftest.err conftest.$ac_objext \
13016 conftest$ac_exeext conftest.$ac_ext
13017 LIBS=$ac_check_lib_save_LIBS
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13020 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13021 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13023 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13028 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13029 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13030 $as_echo_n "(cached) " >&6
13031 else
13032 ac_check_lib_save_LIBS=$LIBS
13033 LIBS="-lxml2 $XML2_LIBS $LIBS"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13040 #ifdef __cplusplus
13041 extern "C"
13042 #endif
13043 char xmlSchemaSetValidStructuredErrors ();
13045 main ()
13047 return xmlSchemaSetValidStructuredErrors ();
13049 return 0;
13051 _ACEOF
13052 if ac_fn_c_try_link "$LINENO"; then :
13053 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13054 else
13055 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13057 rm -f core conftest.err conftest.$ac_objext \
13058 conftest$ac_exeext conftest.$ac_ext
13059 LIBS=$ac_check_lib_save_LIBS
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13062 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13063 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13065 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13070 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13071 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13072 $as_echo_n "(cached) " >&6
13073 else
13074 ac_check_lib_save_LIBS=$LIBS
13075 LIBS="-lxml2 $XML2_LIBS $LIBS"
13076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13079 /* Override any GCC internal prototype to avoid an error.
13080 Use char because int might match the return type of a GCC
13081 builtin and then its argument prototype would still apply. */
13082 #ifdef __cplusplus
13083 extern "C"
13084 #endif
13085 char xmlFirstElementChild ();
13087 main ()
13089 return xmlFirstElementChild ();
13091 return 0;
13093 _ACEOF
13094 if ac_fn_c_try_link "$LINENO"; then :
13095 ac_cv_lib_xml2_xmlFirstElementChild=yes
13096 else
13097 ac_cv_lib_xml2_xmlFirstElementChild=no
13099 rm -f core conftest.err conftest.$ac_objext \
13100 conftest$ac_exeext conftest.$ac_ext
13101 LIBS=$ac_check_lib_save_LIBS
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13104 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13105 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13107 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13111 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13113 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13115 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13119 else
13120 XML2_CFLAGS=""
13121 XML2_LIBS=""
13123 CPPFLAGS=$ac_save_CPPFLAGS
13126 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13127 case "x$with_xml" in
13128 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13129 xno) ;;
13130 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13131 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13132 esac
13136 if test "x$with_xslt" != "xno"
13137 then
13138 if ${XSLT_CFLAGS:+false} :; then :
13139 if ${PKG_CONFIG+:} false; then :
13140 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13143 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13144 if ${XSLT_LIBS:+false} :; then :
13145 if ${PKG_CONFIG+:} false; then :
13146 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13149 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13150 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13151 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13152 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13153 ac_save_CPPFLAGS=$CPPFLAGS
13154 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13155 for ac_header in libxslt/pattern.h libxslt/transform.h
13156 do :
13157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13158 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13159 # include <libxslt/pattern.h>
13160 #endif
13162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13163 cat >>confdefs.h <<_ACEOF
13164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13165 _ACEOF
13169 done
13171 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13172 then
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13174 $as_echo_n "checking for -lxslt... " >&6; }
13175 if ${ac_cv_lib_soname_xslt+:} false; then :
13176 $as_echo_n "(cached) " >&6
13177 else
13178 ac_check_soname_save_LIBS=$LIBS
13179 LIBS="-lxslt $XSLT_LIBS $LIBS"
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13186 #ifdef __cplusplus
13187 extern "C"
13188 #endif
13189 char xsltCompilePattern ();
13191 main ()
13193 return xsltCompilePattern ();
13195 return 0;
13197 _ACEOF
13198 if ac_fn_c_try_link "$LINENO"; then :
13199 case "$LIBEXT" in
13200 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13201 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'` ;;
13202 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13203 if ${ac_cv_lib_soname_xslt:+false} :; then :
13204 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13205 fi ;;
13206 esac
13207 else
13208 ac_cv_lib_soname_xslt=
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_soname_save_LIBS
13214 if ${ac_cv_lib_soname_xslt:+false} :; then :
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13216 $as_echo "not found" >&6; }
13218 else
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13220 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13222 cat >>confdefs.h <<_ACEOF
13223 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13224 _ACEOF
13228 else
13229 XSLT_CFLAGS=""
13231 CPPFLAGS=$ac_save_CPPFLAGS
13234 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13235 case "x$with_xslt" in
13236 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13237 xno) ;;
13238 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13239 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13240 esac
13244 if test "x$with_inotify" != "xno"
13245 then
13246 if ${INOTIFY_CFLAGS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13252 if ${INOTIFY_LIBS:+false} :; then :
13253 if ${PKG_CONFIG+:} false; then :
13254 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13259 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13260 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13261 ac_save_CPPFLAGS=$CPPFLAGS
13262 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13263 for ac_header in sys/inotify.h
13264 do :
13265 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13266 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13267 cat >>confdefs.h <<_ACEOF
13268 #define HAVE_SYS_INOTIFY_H 1
13269 _ACEOF
13273 done
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13276 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13277 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_lib_save_LIBS=$LIBS
13281 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 #ifdef __cplusplus
13289 extern "C"
13290 #endif
13291 char inotify_add_watch ();
13293 main ()
13295 return inotify_add_watch ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 ac_cv_lib_inotify_inotify_add_watch=yes
13302 else
13303 ac_cv_lib_inotify_inotify_add_watch=no
13305 rm -f core conftest.err conftest.$ac_objext \
13306 conftest$ac_exeext conftest.$ac_ext
13307 LIBS=$ac_check_lib_save_LIBS
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13310 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13311 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13313 else
13314 INOTIFY_LIBS=""
13317 CPPFLAGS=$ac_save_CPPFLAGS
13320 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13321 case "x$with_inotify" in
13322 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13323 xno) ;;
13324 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13325 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13326 esac
13330 if test "x$with_dbus" != "xno"
13331 then
13332 if ${DBUS_CFLAGS:+false} :; then :
13333 if ${PKG_CONFIG+:} false; then :
13334 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13338 if ${DBUS_LIBS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13345 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13347 ac_save_CPPFLAGS=$CPPFLAGS
13348 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13349 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13350 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13352 $as_echo_n "checking for -ldbus-1... " >&6; }
13353 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_soname_save_LIBS=$LIBS
13357 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char dbus_connection_close ();
13369 main ()
13371 return dbus_connection_close ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 case "$LIBEXT" in
13378 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) 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'`
13381 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13382 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13383 fi ;;
13384 esac
13385 else
13386 ac_cv_lib_soname_dbus_1=
13388 rm -f core conftest.err conftest.$ac_objext \
13389 conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_soname_save_LIBS
13392 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13394 $as_echo "not found" >&6; }
13395 DBUS_CFLAGS=""
13396 else
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13398 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13400 cat >>confdefs.h <<_ACEOF
13401 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13402 _ACEOF
13406 else
13407 DBUS_CFLAGS=""
13411 CPPFLAGS=$ac_save_CPPFLAGS
13414 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13415 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13416 case "x$with_dbus" in
13417 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13418 xno) ;;
13419 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13420 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13421 esac
13425 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13426 then
13427 if ${HAL_CFLAGS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13433 if ${HAL_LIBS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13439 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13440 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13442 ac_save_CPPFLAGS=$CPPFLAGS
13443 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13444 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13447 $as_echo_n "checking for -lhal... " >&6; }
13448 if ${ac_cv_lib_soname_hal+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 ac_check_soname_save_LIBS=$LIBS
13452 LIBS="-lhal $HAL_LIBS $LIBS"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13459 #ifdef __cplusplus
13460 extern "C"
13461 #endif
13462 char libhal_ctx_new ();
13464 main ()
13466 return libhal_ctx_new ();
13468 return 0;
13470 _ACEOF
13471 if ac_fn_c_try_link "$LINENO"; then :
13472 case "$LIBEXT" in
13473 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13474 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'` ;;
13475 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13476 if ${ac_cv_lib_soname_hal:+false} :; then :
13477 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13478 fi ;;
13479 esac
13480 else
13481 ac_cv_lib_soname_hal=
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_hal:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13490 HAL_CFLAGS=""
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13493 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13497 _ACEOF
13501 else
13502 HAL_CFLAGS=""
13506 CPPFLAGS=$ac_save_CPPFLAGS
13508 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13509 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13510 case "x$with_hal" in
13511 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13512 xno) ;;
13513 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13514 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13515 esac
13520 if test "x$with_gnutls" != "xno"
13521 then
13522 if ${GNUTLS_CFLAGS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13528 if ${GNUTLS_LIBS:+false} :; then :
13529 if ${PKG_CONFIG+:} false; then :
13530 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13534 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13535 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13536 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13537 ac_save_CPPFLAGS=$CPPFLAGS
13538 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13539 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13540 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13543 #include <gnutls/gnutls.h>
13544 #include <gnutls/crypto.h>
13546 main ()
13548 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13550 return 0;
13552 _ACEOF
13553 if ac_fn_c_try_compile "$LINENO"; then :
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13555 $as_echo_n "checking for -lgnutls... " >&6; }
13556 if ${ac_cv_lib_soname_gnutls+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_check_soname_save_LIBS=$LIBS
13560 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13564 /* Override any GCC internal prototype to avoid an error.
13565 Use char because int might match the return type of a GCC
13566 builtin and then its argument prototype would still apply. */
13567 #ifdef __cplusplus
13568 extern "C"
13569 #endif
13570 char gnutls_global_init ();
13572 main ()
13574 return gnutls_global_init ();
13576 return 0;
13578 _ACEOF
13579 if ac_fn_c_try_link "$LINENO"; then :
13580 case "$LIBEXT" in
13581 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13582 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'` ;;
13583 *) 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'`
13584 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13585 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'`
13586 fi ;;
13587 esac
13588 else
13589 ac_cv_lib_soname_gnutls=
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS=$ac_check_soname_save_LIBS
13595 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13597 $as_echo "not found" >&6; }
13598 GNUTLS_CFLAGS=""
13599 else
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13601 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13603 cat >>confdefs.h <<_ACEOF
13604 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13605 _ACEOF
13609 ac_wine_check_funcs_save_LIBS="$LIBS"
13610 LIBS="$LIBS $GNUTLS_LIBS"
13611 for ac_func in gnutls_cipher_init
13612 do :
13613 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13614 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13615 cat >>confdefs.h <<_ACEOF
13616 #define HAVE_GNUTLS_CIPHER_INIT 1
13617 _ACEOF
13619 else
13620 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13622 done
13624 LIBS="$ac_wine_check_funcs_save_LIBS"
13626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13627 else
13628 GNUTLS_CFLAGS=""
13632 CPPFLAGS=$ac_save_CPPFLAGS
13635 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13636 case "x$with_gnutls" in
13637 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13638 xno) ;;
13639 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13640 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13641 esac
13645 if test "x$with_sane" != "xno"
13646 then
13647 if ${SANE_CFLAGS:+false} :; then :
13648 if ${PKG_CONFIG+:} false; then :
13649 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13652 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13653 if ${SANE_LIBS:+false} :; then :
13654 if ${PKG_CONFIG+:} false; then :
13655 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13658 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13660 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13661 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13662 ac_save_CPPFLAGS=$CPPFLAGS
13663 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13664 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13665 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13667 $as_echo_n "checking for -lsane... " >&6; }
13668 if ${ac_cv_lib_soname_sane+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_check_soname_save_LIBS=$LIBS
13672 LIBS="-lsane $SANE_LIBS $LIBS"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 /* Override any GCC internal prototype to avoid an error.
13677 Use char because int might match the return type of a GCC
13678 builtin and then its argument prototype would still apply. */
13679 #ifdef __cplusplus
13680 extern "C"
13681 #endif
13682 char sane_init ();
13684 main ()
13686 return sane_init ();
13688 return 0;
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"; then :
13692 case "$LIBEXT" in
13693 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13694 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'` ;;
13695 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13696 if ${ac_cv_lib_soname_sane:+false} :; then :
13697 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13698 fi ;;
13699 esac
13700 else
13701 ac_cv_lib_soname_sane=
13703 rm -f core conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 LIBS=$ac_check_soname_save_LIBS
13707 if ${ac_cv_lib_soname_sane:+false} :; then :
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13709 $as_echo "not found" >&6; }
13710 SANE_CFLAGS=""
13711 else
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13713 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13715 cat >>confdefs.h <<_ACEOF
13716 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13717 _ACEOF
13721 else
13722 SANE_CFLAGS=""
13726 CPPFLAGS=$ac_save_CPPFLAGS
13729 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13730 case "x$with_sane" in
13731 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13732 xno) ;;
13733 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13734 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13735 esac
13739 if test "x$with_usb" != "xno"
13740 then
13741 if ${USB_CFLAGS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13747 if ${USB_LIBS:+false} :; then :
13748 if ${PKG_CONFIG+:} false; then :
13749 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13753 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13754 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13755 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13756 ac_save_CPPFLAGS=$CPPFLAGS
13757 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13758 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13759 if test "x$ac_cv_header_libusb_h" = xyes; then :
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13761 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13762 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 ac_check_lib_save_LIBS=$LIBS
13766 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 #ifdef __cplusplus
13774 extern "C"
13775 #endif
13776 char libusb_interrupt_event_handler ();
13778 main ()
13780 return libusb_interrupt_event_handler ();
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"; then :
13786 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13787 else
13788 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13790 rm -f core conftest.err conftest.$ac_objext \
13791 conftest$ac_exeext conftest.$ac_ext
13792 LIBS=$ac_check_lib_save_LIBS
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13795 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13796 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13798 else
13799 USB_LIBS=""
13802 else
13803 USB_LIBS=""
13807 CPPFLAGS=$ac_save_CPPFLAGS
13810 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13811 case "x$with_usb" in
13812 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13813 xno) ;;
13814 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13815 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13816 esac
13817 enable_wineusb_sys=${enable_wineusb_sys:-no}
13820 if test "x$with_v4l2" != "xno"
13821 then
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13823 $as_echo_n "checking for -lv4l2... " >&6; }
13824 if ${ac_cv_lib_soname_v4l2+:} false; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 ac_check_soname_save_LIBS=$LIBS
13828 LIBS="-lv4l2 $LIBS"
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13835 #ifdef __cplusplus
13836 extern "C"
13837 #endif
13838 char v4l2_open ();
13840 main ()
13842 return v4l2_open ();
13844 return 0;
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 case "$LIBEXT" in
13849 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13850 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'` ;;
13851 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13852 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13853 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13854 fi ;;
13855 esac
13856 else
13857 ac_cv_lib_soname_v4l2=
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_soname_save_LIBS
13863 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13865 $as_echo "not found" >&6; }
13867 else
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13869 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13871 cat >>confdefs.h <<_ACEOF
13872 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13873 _ACEOF
13878 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13879 case "x$with_v4l2" in
13880 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13881 xno) ;;
13882 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13883 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13884 esac
13888 if test "x$with_gphoto" != "xno"
13889 then
13890 if ${GPHOTO2_CFLAGS:+false} :; then :
13891 if ${PKG_CONFIG+:} false; then :
13892 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13895 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13896 if ${GPHOTO2_LIBS:+false} :; then :
13897 if ${PKG_CONFIG+:} false; then :
13898 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13901 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13902 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13903 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13904 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13905 ac_save_CPPFLAGS=$CPPFLAGS
13906 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13907 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13908 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13910 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13911 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 ac_check_lib_save_LIBS=$LIBS
13915 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13919 /* Override any GCC internal prototype to avoid an error.
13920 Use char because int might match the return type of a GCC
13921 builtin and then its argument prototype would still apply. */
13922 #ifdef __cplusplus
13923 extern "C"
13924 #endif
13925 char gp_camera_new ();
13927 main ()
13929 return gp_camera_new ();
13931 return 0;
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 ac_cv_lib_gphoto2_gp_camera_new=yes
13936 else
13937 ac_cv_lib_gphoto2_gp_camera_new=no
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_lib_save_LIBS
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13944 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13945 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13947 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13949 else
13950 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13953 else
13954 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13958 CPPFLAGS=$ac_save_CPPFLAGS
13960 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13961 if ${PKG_CONFIG+:} false; then :
13962 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13965 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13966 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13971 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13972 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13974 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13975 ac_save_CPPFLAGS=$CPPFLAGS
13976 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13977 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13978 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13980 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13981 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_check_lib_save_LIBS=$LIBS
13985 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 char gp_port_info_list_new ();
13997 main ()
13999 return gp_port_info_list_new ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14006 else
14007 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_lib_save_LIBS
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14014 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14015 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14017 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14019 else
14020 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14023 else
14024 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14028 CPPFLAGS=$ac_save_CPPFLAGS
14031 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14032 case "x$with_gphoto" in
14033 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14034 xno) ;;
14035 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14036 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14037 esac
14040 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14041 case "x$with_gphoto" in
14042 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14043 xno) ;;
14044 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14045 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14046 esac
14051 if test "$ac_cv_header_resolv_h" = "yes"
14052 then
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14054 $as_echo_n "checking for resolver library... " >&6; }
14055 if ${ac_cv_have_resolv+:} false; then :
14056 $as_echo_n "(cached) " >&6
14057 else
14058 ac_save_LIBS="$LIBS"
14059 for lib in '' -lresolv
14061 LIBS="$lib $ac_save_LIBS"
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14064 #ifdef HAVE_NETINET_IN_H
14065 #include <netinet/in.h>
14066 #endif
14067 #include <resolv.h>
14069 main ()
14071 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_have_resolv=${lib:-"none required"}
14078 else
14079 ac_cv_have_resolv="not found"
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 test "x$ac_cv_have_resolv" = "xnot found" || break
14084 done
14085 LIBS="$ac_save_LIBS"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14088 $as_echo "$ac_cv_have_resolv" >&6; }
14090 case "$ac_cv_have_resolv" in
14091 "not found") ;;
14092 "none required")
14094 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14097 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14099 RESOLV_LIBS=$ac_cv_have_resolv
14101 esac
14103 if test "x$ac_cv_have_resolv" != "xnot found"
14104 then
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14106 $as_echo_n "checking for res_getservers... " >&6; }
14107 if ${ac_cv_have_res_getservers+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_save_LIBS="$LIBS"
14111 LIBS="$RESOLV_LIBS $LIBS"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 #include <resolv.h>
14116 main ()
14118 res_getservers(NULL, NULL, 0);
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 ac_cv_have_res_getservers=yes
14125 else
14126 ac_cv_have_res_getservers=no
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS="$ac_save_LIBS"
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14133 $as_echo "$ac_cv_have_res_getservers" >&6; }
14134 if test "$ac_cv_have_res_getservers" = "yes"
14135 then
14137 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14143 if test "x$with_cms" != "xno"
14144 then
14145 if ${LCMS2_CFLAGS:+false} :; then :
14146 if ${PKG_CONFIG+:} false; then :
14147 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14151 if ${LCMS2_LIBS:+false} :; then :
14152 if ${PKG_CONFIG+:} false; then :
14153 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14157 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14158 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14159 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14160 ac_save_CPPFLAGS=$CPPFLAGS
14161 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14162 for ac_header in lcms2.h
14163 do :
14164 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14165 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14166 cat >>confdefs.h <<_ACEOF
14167 #define HAVE_LCMS2_H 1
14168 _ACEOF
14172 done
14174 if test "$ac_cv_header_lcms2_h" = "yes"
14175 then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14177 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14178 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_check_lib_save_LIBS=$LIBS
14182 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14186 /* Override any GCC internal prototype to avoid an error.
14187 Use char because int might match the return type of a GCC
14188 builtin and then its argument prototype would still apply. */
14189 #ifdef __cplusplus
14190 extern "C"
14191 #endif
14192 char cmsOpenProfileFromFile ();
14194 main ()
14196 return cmsOpenProfileFromFile ();
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14203 else
14204 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_lib_save_LIBS
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14211 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14212 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14214 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14216 else
14217 LCMS2_LIBS=""
14220 else
14221 LCMS2_CFLAGS=""
14222 LCMS2_LIBS=""
14224 CPPFLAGS=$ac_save_CPPFLAGS
14227 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14228 case "x$with_cms" in
14229 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14230 xno) ;;
14231 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14232 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14233 esac
14237 if test "x$with_freetype" != "xno"
14238 then
14239 if ${FREETYPE_CFLAGS:+false} :; then :
14240 if ${PKG_CONFIG+:} false; then :
14241 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14244 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14245 if ${FREETYPE_LIBS:+false} :; then :
14246 if ${PKG_CONFIG+:} false; then :
14247 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14250 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14251 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14252 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14253 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14254 ac_save_CPPFLAGS=$CPPFLAGS
14255 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14256 for ac_header in ft2build.h
14257 do :
14258 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14259 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14260 cat >>confdefs.h <<_ACEOF
14261 #define HAVE_FT2BUILD_H 1
14262 _ACEOF
14266 done
14268 if test "$ac_cv_header_ft2build_h" = "yes"
14269 then
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14271 $as_echo_n "checking for -lfreetype... " >&6; }
14272 if ${ac_cv_lib_soname_freetype+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_check_soname_save_LIBS=$LIBS
14276 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14280 /* Override any GCC internal prototype to avoid an error.
14281 Use char because int might match the return type of a GCC
14282 builtin and then its argument prototype would still apply. */
14283 #ifdef __cplusplus
14284 extern "C"
14285 #endif
14286 char FT_Init_FreeType ();
14288 main ()
14290 return FT_Init_FreeType ();
14292 return 0;
14294 _ACEOF
14295 if ac_fn_c_try_link "$LINENO"; then :
14296 case "$LIBEXT" in
14297 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14298 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'` ;;
14299 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14300 if ${ac_cv_lib_soname_freetype:+false} :; then :
14301 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14302 fi ;;
14303 esac
14304 else
14305 ac_cv_lib_soname_freetype=
14307 rm -f core conftest.err conftest.$ac_objext \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_soname_save_LIBS
14311 if ${ac_cv_lib_soname_freetype:+false} :; then :
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14313 $as_echo "not found" >&6; }
14314 FREETYPE_LIBS=""
14315 else
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14317 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14319 cat >>confdefs.h <<_ACEOF
14320 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14321 _ACEOF
14324 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14326 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14327 #include FT_MODULE_H
14329 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14331 cat >>confdefs.h <<_ACEOF
14332 #define HAVE_FT_TRUETYPEENGINETYPE 1
14333 _ACEOF
14339 else
14340 FREETYPE_CFLAGS=""
14341 FREETYPE_LIBS=""
14343 CPPFLAGS=$ac_save_CPPFLAGS
14346 if test "x$ac_cv_lib_soname_freetype" = x; then :
14347 case "x$with_freetype" in
14348 xno) ;;
14349 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14350 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14351 esac
14352 enable_fonts=${enable_fonts:-no}
14355 ac_wine_check_funcs_save_LIBS="$LIBS"
14356 LIBS="$LIBS $PTHREAD_LIBS"
14357 for ac_func in \
14358 pthread_getthreadid_np
14359 do :
14360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14362 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14363 cat >>confdefs.h <<_ACEOF
14364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14365 _ACEOF
14368 done
14370 LIBS="$ac_wine_check_funcs_save_LIBS"
14372 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14373 then
14374 if test "$ac_cv_header_gettext_po_h" = "yes"
14375 then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14377 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14378 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 ac_check_lib_save_LIBS=$LIBS
14382 LIBS="-lgettextpo $LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14386 /* Override any GCC internal prototype to avoid an error.
14387 Use char because int might match the return type of a GCC
14388 builtin and then its argument prototype would still apply. */
14389 #ifdef __cplusplus
14390 extern "C"
14391 #endif
14392 char po_message_msgctxt ();
14394 main ()
14396 return po_message_msgctxt ();
14398 return 0;
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14403 else
14404 ac_cv_lib_gettextpo_po_message_msgctxt=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_lib_save_LIBS
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14411 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14412 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14414 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14416 GETTEXTPO_LIBS="-lgettextpo"
14421 if test "x$GETTEXTPO_LIBS" = "x"; then :
14422 case "x$with_gettextpo" in
14423 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14424 xno) ;;
14425 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14426 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14427 esac
14430 if test "$srcdir" != .; then :
14431 case "x$with_gettextpo" in
14432 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14433 xno) ;;
14434 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14435 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14436 esac
14441 if test "x$with_pulse" != "xno";
14442 then
14443 if ${PULSE_CFLAGS:+false} :; then :
14444 if ${PKG_CONFIG+:} false; then :
14445 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14449 if ${PULSE_LIBS:+false} :; then :
14450 if ${PKG_CONFIG+:} false; then :
14451 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14456 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14457 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14458 ac_save_CPPFLAGS=$CPPFLAGS
14459 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14460 for ac_header in pulse/pulseaudio.h
14461 do :
14462 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14463 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14464 cat >>confdefs.h <<_ACEOF
14465 #define HAVE_PULSE_PULSEAUDIO_H 1
14466 _ACEOF
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14468 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14469 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_check_lib_save_LIBS=$LIBS
14473 LIBS="-lpulse $PULSE_LIBS $LIBS"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14480 #ifdef __cplusplus
14481 extern "C"
14482 #endif
14483 char pa_stream_is_corked ();
14485 main ()
14487 return pa_stream_is_corked ();
14489 return 0;
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_lib_pulse_pa_stream_is_corked=yes
14494 else
14495 ac_cv_lib_pulse_pa_stream_is_corked=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LIBS=$ac_check_lib_save_LIBS
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14502 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14503 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14505 else
14506 PULSE_LIBS=""
14509 else
14510 PULSE_LIBS=""
14513 done
14515 CPPFLAGS=$ac_save_CPPFLAGS
14518 if test -z "$PULSE_LIBS"; then :
14519 case "x$with_pulse" in
14520 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14521 xno) ;;
14522 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14523 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14524 esac
14525 enable_winepulse_drv=${enable_winepulse_drv:-no}
14528 if test "x$with_gstreamer" != "xno"
14529 then
14530 if ${GSTREAMER_CFLAGS:+false} :; then :
14531 if ${PKG_CONFIG+:} false; then :
14532 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14536 if ${GSTREAMER_LIBS:+false} :; then :
14537 if ${PKG_CONFIG+:} false; then :
14538 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14543 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14544 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14545 ac_save_CPPFLAGS=$CPPFLAGS
14546 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14547 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14548 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14550 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <gst/gst.h>
14555 main ()
14557 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_compile "$LINENO"; then :
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14564 $as_echo "yes" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14566 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14567 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_check_lib_save_LIBS=$LIBS
14571 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14578 #ifdef __cplusplus
14579 extern "C"
14580 #endif
14581 char gst_pad_new ();
14583 main ()
14585 return gst_pad_new ();
14587 return 0;
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"; then :
14591 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14592 else
14593 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_lib_save_LIBS
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14600 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14601 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14605 else
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14608 ac_glib2_broken=yes
14609 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 CPPFLAGS=$ac_save_CPPFLAGS
14618 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14619 then
14620 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14621 case "x$with_gstreamer" in
14622 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14623 xno) ;;
14624 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14625 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14626 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; 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_xactengine2_0=${enable_xactengine2_0:-no}
16365 enable_xactengine2_4=${enable_xactengine2_4:-no}
16366 enable_xactengine2_7=${enable_xactengine2_7:-no}
16367 enable_xactengine2_9=${enable_xactengine2_9:-no}
16368 enable_xactengine3_0=${enable_xactengine3_0:-no}
16369 enable_xactengine3_1=${enable_xactengine3_1:-no}
16370 enable_xactengine3_2=${enable_xactengine3_2:-no}
16371 enable_xactengine3_3=${enable_xactengine3_3:-no}
16372 enable_xactengine3_4=${enable_xactengine3_4:-no}
16373 enable_xactengine3_5=${enable_xactengine3_5:-no}
16374 enable_xactengine3_6=${enable_xactengine3_6:-no}
16375 enable_xactengine3_7=${enable_xactengine3_7:-no}
16376 enable_xapofx1_1=${enable_xapofx1_1:-no}
16377 enable_xapofx1_2=${enable_xapofx1_2:-no}
16378 enable_xapofx1_3=${enable_xapofx1_3:-no}
16379 enable_xapofx1_4=${enable_xapofx1_4:-no}
16380 enable_xapofx1_5=${enable_xapofx1_5:-no}
16381 enable_xaudio2_0=${enable_xaudio2_0:-no}
16382 enable_xaudio2_1=${enable_xaudio2_1:-no}
16383 enable_xaudio2_2=${enable_xaudio2_2:-no}
16384 enable_xaudio2_3=${enable_xaudio2_3:-no}
16385 enable_xaudio2_4=${enable_xaudio2_4:-no}
16386 enable_xaudio2_5=${enable_xaudio2_5:-no}
16387 enable_xaudio2_6=${enable_xaudio2_6:-no}
16388 enable_xaudio2_7=${enable_xaudio2_7:-no}
16389 enable_xaudio2_8=${enable_xaudio2_8:-no}
16390 enable_xaudio2_9=${enable_xaudio2_9:-no}
16393 if test "$ac_cv_header_libprocstat_h" = "yes"
16394 then
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16396 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16397 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 ac_check_lib_save_LIBS=$LIBS
16401 LIBS="-lprocstat $LIBS"
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16405 /* Override any GCC internal prototype to avoid an error.
16406 Use char because int might match the return type of a GCC
16407 builtin and then its argument prototype would still apply. */
16408 #ifdef __cplusplus
16409 extern "C"
16410 #endif
16411 char procstat_open_sysctl ();
16413 main ()
16415 return procstat_open_sysctl ();
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_link "$LINENO"; then :
16421 ac_cv_lib_procstat_procstat_open_sysctl=yes
16422 else
16423 ac_cv_lib_procstat_procstat_open_sysctl=no
16425 rm -f core conftest.err conftest.$ac_objext \
16426 conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_lib_save_LIBS
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16430 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16431 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16433 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16435 PROCSTAT_LIBS="-lprocstat"
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16442 $as_echo_n "checking for -lodbc... " >&6; }
16443 if ${ac_cv_lib_soname_odbc+:} false; then :
16444 $as_echo_n "(cached) " >&6
16445 else
16446 ac_check_soname_save_LIBS=$LIBS
16447 LIBS="-lodbc $LIBS"
16448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449 /* end confdefs.h. */
16451 /* Override any GCC internal prototype to avoid an error.
16452 Use char because int might match the return type of a GCC
16453 builtin and then its argument prototype would still apply. */
16454 #ifdef __cplusplus
16455 extern "C"
16456 #endif
16457 char SQLConnect ();
16459 main ()
16461 return SQLConnect ();
16463 return 0;
16465 _ACEOF
16466 if ac_fn_c_try_link "$LINENO"; then :
16467 case "$LIBEXT" in
16468 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16469 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'` ;;
16470 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16471 if ${ac_cv_lib_soname_odbc:+false} :; then :
16472 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16473 fi ;;
16474 esac
16475 else
16476 ac_cv_lib_soname_odbc=
16478 rm -f core conftest.err conftest.$ac_objext \
16479 conftest$ac_exeext conftest.$ac_ext
16480 LIBS=$ac_check_soname_save_LIBS
16482 if ${ac_cv_lib_soname_odbc:+false} :; then :
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16484 $as_echo "not found" >&6; }
16485 cat >>confdefs.h <<_ACEOF
16486 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16487 _ACEOF
16489 else
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16491 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16493 cat >>confdefs.h <<_ACEOF
16494 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16495 _ACEOF
16500 if test "x$with_netapi" != "xno"
16501 then
16502 if ${NETAPI_CFLAGS:+false} :; then :
16503 if ${PKG_CONFIG+:} false; then :
16504 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16508 if ${NETAPI_LIBS:+false} :; then :
16509 if ${PKG_CONFIG+:} false; then :
16510 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16515 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16516 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16517 ac_save_CPPFLAGS=$CPPFLAGS
16518 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16520 $as_echo_n "checking for -lnetapi... " >&6; }
16521 if ${ac_cv_lib_soname_netapi+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 ac_check_soname_save_LIBS=$LIBS
16525 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16529 /* Override any GCC internal prototype to avoid an error.
16530 Use char because int might match the return type of a GCC
16531 builtin and then its argument prototype would still apply. */
16532 #ifdef __cplusplus
16533 extern "C"
16534 #endif
16535 char libnetapi_init ();
16537 main ()
16539 return libnetapi_init ();
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_link "$LINENO"; then :
16545 case "$LIBEXT" in
16546 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16547 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'` ;;
16548 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16549 if ${ac_cv_lib_soname_netapi:+false} :; then :
16550 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16551 fi ;;
16552 esac
16553 else
16554 ac_cv_lib_soname_netapi=
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16558 LIBS=$ac_check_soname_save_LIBS
16560 if ${ac_cv_lib_soname_netapi:+false} :; then :
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16562 $as_echo "not found" >&6; }
16563 cat >>confdefs.h <<_ACEOF
16564 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16565 _ACEOF
16567 else
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16569 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16571 cat >>confdefs.h <<_ACEOF
16572 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16573 _ACEOF
16577 CPPFLAGS=$ac_save_CPPFLAGS
16581 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16582 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16583 then
16584 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16587 if test "x$with_vulkan" != "xno"
16588 then
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16590 $as_echo_n "checking for -lvulkan... " >&6; }
16591 if ${ac_cv_lib_soname_vulkan+:} false; then :
16592 $as_echo_n "(cached) " >&6
16593 else
16594 ac_check_soname_save_LIBS=$LIBS
16595 LIBS="-lvulkan $LIBS"
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16599 /* Override any GCC internal prototype to avoid an error.
16600 Use char because int might match the return type of a GCC
16601 builtin and then its argument prototype would still apply. */
16602 #ifdef __cplusplus
16603 extern "C"
16604 #endif
16605 char vkGetInstanceProcAddr ();
16607 main ()
16609 return vkGetInstanceProcAddr ();
16611 return 0;
16613 _ACEOF
16614 if ac_fn_c_try_link "$LINENO"; then :
16615 case "$LIBEXT" in
16616 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16617 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'` ;;
16618 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16619 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16620 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16621 fi ;;
16622 esac
16623 else
16624 ac_cv_lib_soname_vulkan=
16626 rm -f core conftest.err conftest.$ac_objext \
16627 conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_soname_save_LIBS
16630 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16632 $as_echo "not found" >&6; }
16634 else
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16636 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16638 cat >>confdefs.h <<_ACEOF
16639 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16640 _ACEOF
16644 if test "x$ac_cv_lib_soname_vulkan" = "x"
16645 then
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16647 $as_echo_n "checking for -lMoltenVK... " >&6; }
16648 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16649 $as_echo_n "(cached) " >&6
16650 else
16651 ac_check_soname_save_LIBS=$LIBS
16652 LIBS="-lMoltenVK $LIBS"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16659 #ifdef __cplusplus
16660 extern "C"
16661 #endif
16662 char vkGetInstanceProcAddr ();
16664 main ()
16666 return vkGetInstanceProcAddr ();
16668 return 0;
16670 _ACEOF
16671 if ac_fn_c_try_link "$LINENO"; then :
16672 case "$LIBEXT" in
16673 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16674 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'` ;;
16675 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16676 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16677 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16678 fi ;;
16679 esac
16680 else
16681 ac_cv_lib_soname_MoltenVK=
16683 rm -f core conftest.err conftest.$ac_objext \
16684 conftest$ac_exeext conftest.$ac_ext
16685 LIBS=$ac_check_soname_save_LIBS
16687 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16689 $as_echo "not found" >&6; }
16691 else
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16693 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16695 cat >>confdefs.h <<_ACEOF
16696 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16697 _ACEOF
16703 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16704 case "x$with_vulkan" in
16705 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16706 xno) ;;
16707 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16708 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16709 esac
16713 if test "x$with_vkd3d" != "xno"
16714 then
16715 if ${VKD3D_CFLAGS:+false} :; then :
16716 if ${PKG_CONFIG+:} false; then :
16717 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16721 if ${VKD3D_LIBS:+false} :; then :
16722 if ${PKG_CONFIG+:} false; then :
16723 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16728 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16729 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16730 ac_save_CPPFLAGS=$CPPFLAGS
16731 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16733 $as_echo_n "checking for -lvkd3d... " >&6; }
16734 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 ac_check_soname_save_LIBS=$LIBS
16738 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 #ifdef __cplusplus
16746 extern "C"
16747 #endif
16748 char vkd3d_serialize_versioned_root_signature ();
16750 main ()
16752 return vkd3d_serialize_versioned_root_signature ();
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 case "$LIBEXT" in
16759 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16760 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'` ;;
16761 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16762 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16763 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16764 fi ;;
16765 esac
16766 else
16767 ac_cv_lib_soname_vkd3d=
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_check_soname_save_LIBS
16773 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16775 $as_echo "not found" >&6; }
16777 else
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16779 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16781 cat >>confdefs.h <<_ACEOF
16782 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16783 _ACEOF
16787 CPPFLAGS=$ac_save_CPPFLAGS
16789 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16790 if ${PKG_CONFIG+:} false; then :
16791 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16795 if ${VKD3D_SHADER_LIBS:+false} :; then :
16796 if ${PKG_CONFIG+:} false; then :
16797 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16802 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16803 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16804 ac_save_CPPFLAGS=$CPPFLAGS
16805 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16807 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16808 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16809 $as_echo_n "(cached) " >&6
16810 else
16811 ac_check_soname_save_LIBS=$LIBS
16812 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 #ifdef __cplusplus
16820 extern "C"
16821 #endif
16822 char vkd3d_shader_compile ();
16824 main ()
16826 return vkd3d_shader_compile ();
16828 return 0;
16830 _ACEOF
16831 if ac_fn_c_try_link "$LINENO"; then :
16832 case "$LIBEXT" in
16833 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16834 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'` ;;
16835 *) 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'`
16836 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16837 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16838 fi ;;
16839 esac
16840 else
16841 ac_cv_lib_soname_vkd3d_shader=
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext conftest.$ac_ext
16845 LIBS=$ac_check_soname_save_LIBS
16847 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16849 $as_echo "not found" >&6; }
16851 else
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16853 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16855 cat >>confdefs.h <<_ACEOF
16856 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16857 _ACEOF
16861 CPPFLAGS=$ac_save_CPPFLAGS
16864 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16865 case "x$with_vkd3d" in
16866 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16867 xno) ;;
16868 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16869 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16870 esac
16873 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16876 if test "x${GCC}" = "xyes"
16877 then
16878 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
16880 saved_CFLAGS=$CFLAGS
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16882 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16883 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_wine_try_cflags_saved=$CFLAGS
16887 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 int main(int argc, char **argv) { return 0; }
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"; then :
16893 ac_cv_cflags__Werror_unknown_warning_option=yes
16894 else
16895 ac_cv_cflags__Werror_unknown_warning_option=no
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16899 CFLAGS=$ac_wine_try_cflags_saved
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16902 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16903 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16904 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16907 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16908 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 ac_wine_try_cflags_saved=$CFLAGS
16912 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 int main(int argc, char **argv) { return 0; }
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"; then :
16918 ac_cv_cflags__Werror_unused_command_line_argument=yes
16919 else
16920 ac_cv_cflags__Werror_unused_command_line_argument=no
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 CFLAGS=$ac_wine_try_cflags_saved
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16927 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16928 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16929 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16932 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16933 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 ac_wine_try_cflags_saved=$CFLAGS
16937 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 int main(int argc, char **argv) { return 0; }
16941 _ACEOF
16942 if ac_fn_c_try_link "$LINENO"; then :
16943 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16944 else
16945 ac_cv_cflags__Werror_ignored_optimization_argument=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16949 CFLAGS=$ac_wine_try_cflags_saved
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16952 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16953 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16954 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16957 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16958 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16959 $as_echo_n "(cached) " >&6
16960 else
16961 ac_wine_try_cflags_saved=$CFLAGS
16962 CFLAGS="$CFLAGS -fcf-protection=none"
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 int main(int argc, char **argv) { return 0; }
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_cflags__fcf_protection_none=yes
16969 else
16970 ac_cv_cflags__fcf_protection_none=no
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16974 CFLAGS=$ac_wine_try_cflags_saved
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16977 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16978 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16979 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16982 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16983 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 ac_wine_try_cflags_saved=$CFLAGS
16987 CFLAGS="$CFLAGS -fno-stack-protector"
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 int main(int argc, char **argv) { return 0; }
16991 _ACEOF
16992 if ac_fn_c_try_link "$LINENO"; then :
16993 ac_cv_cflags__fno_stack_protector=yes
16994 else
16995 ac_cv_cflags__fno_stack_protector=no
16997 rm -f core conftest.err conftest.$ac_objext \
16998 conftest$ac_exeext conftest.$ac_ext
16999 CFLAGS=$ac_wine_try_cflags_saved
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17002 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17003 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17004 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17007 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17008 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17011 ac_wine_try_cflags_saved=$CFLAGS
17012 CFLAGS="$CFLAGS -fno-strict-aliasing"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 int main(int argc, char **argv) { return 0; }
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_cflags__fno_strict_aliasing=yes
17019 else
17020 ac_cv_cflags__fno_strict_aliasing=no
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 CFLAGS=$ac_wine_try_cflags_saved
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17027 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17028 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17029 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17032 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17033 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_wine_try_cflags_saved=$CFLAGS
17037 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 int main(int argc, char **argv) { return 0; }
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_cflags__Wdeclaration_after_statement=yes
17044 else
17045 ac_cv_cflags__Wdeclaration_after_statement=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 CFLAGS=$ac_wine_try_cflags_saved
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17052 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17053 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17054 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17057 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17058 if ${ac_cv_cflags__Wempty_body+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 ac_wine_try_cflags_saved=$CFLAGS
17062 CFLAGS="$CFLAGS -Wempty-body"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 int main(int argc, char **argv) { return 0; }
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_cflags__Wempty_body=yes
17069 else
17070 ac_cv_cflags__Wempty_body=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 CFLAGS=$ac_wine_try_cflags_saved
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17077 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17078 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17079 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17082 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17083 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_wine_try_cflags_saved=$CFLAGS
17087 CFLAGS="$CFLAGS -Wignored-qualifiers"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 int main(int argc, char **argv) { return 0; }
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 ac_cv_cflags__Wignored_qualifiers=yes
17094 else
17095 ac_cv_cflags__Wignored_qualifiers=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17099 CFLAGS=$ac_wine_try_cflags_saved
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17102 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17103 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17104 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17107 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17108 if ${ac_cv_cflags__Winit_self+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -Winit-self"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 int main(int argc, char **argv) { return 0; }
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_cflags__Winit_self=yes
17119 else
17120 ac_cv_cflags__Winit_self=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 CFLAGS=$ac_wine_try_cflags_saved
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17127 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17128 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17129 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17132 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17133 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136 ac_wine_try_cflags_saved=$CFLAGS
17137 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 int main(int argc, char **argv) { return 0; }
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_cflags__Wpacked_not_aligned=yes
17144 else
17145 ac_cv_cflags__Wpacked_not_aligned=no
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17149 CFLAGS=$ac_wine_try_cflags_saved
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17152 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17153 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17154 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17157 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17158 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_wine_try_cflags_saved=$CFLAGS
17162 CFLAGS="$CFLAGS -Wpragma-pack"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 int main(int argc, char **argv) { return 0; }
17166 _ACEOF
17167 if ac_fn_c_try_link "$LINENO"; then :
17168 ac_cv_cflags__Wpragma_pack=yes
17169 else
17170 ac_cv_cflags__Wpragma_pack=no
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 CFLAGS=$ac_wine_try_cflags_saved
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17177 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17178 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17179 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17182 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17183 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_wine_try_cflags_saved=$CFLAGS
17187 CFLAGS="$CFLAGS -Wshift-overflow=2"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 int main(int argc, char **argv) { return 0; }
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 ac_cv_cflags__Wshift_overflow_2=yes
17194 else
17195 ac_cv_cflags__Wshift_overflow_2=no
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS=$ac_wine_try_cflags_saved
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17202 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17203 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17204 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17207 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17208 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17209 $as_echo_n "(cached) " >&6
17210 else
17211 ac_wine_try_cflags_saved=$CFLAGS
17212 CFLAGS="$CFLAGS -Wstrict-prototypes"
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 int main(int argc, char **argv) { return 0; }
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_cflags__Wstrict_prototypes=yes
17219 else
17220 ac_cv_cflags__Wstrict_prototypes=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 CFLAGS=$ac_wine_try_cflags_saved
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17227 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17228 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17229 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17232 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17233 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 ac_wine_try_cflags_saved=$CFLAGS
17237 CFLAGS="$CFLAGS -Wtype-limits"
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 int main(int argc, char **argv) { return 0; }
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_cflags__Wtype_limits=yes
17244 else
17245 ac_cv_cflags__Wtype_limits=no
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 CFLAGS=$ac_wine_try_cflags_saved
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17252 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17253 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17254 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17257 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17258 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 ac_wine_try_cflags_saved=$CFLAGS
17262 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 int main(int argc, char **argv) { return 0; }
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"; then :
17268 ac_cv_cflags__Wunused_but_set_parameter=yes
17269 else
17270 ac_cv_cflags__Wunused_but_set_parameter=no
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 CFLAGS=$ac_wine_try_cflags_saved
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17277 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17278 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17279 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17282 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17283 if ${ac_cv_cflags__Wvla+:} false; then :
17284 $as_echo_n "(cached) " >&6
17285 else
17286 ac_wine_try_cflags_saved=$CFLAGS
17287 CFLAGS="$CFLAGS -Wvla"
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17290 int main(int argc, char **argv) { return 0; }
17291 _ACEOF
17292 if ac_fn_c_try_link "$LINENO"; then :
17293 ac_cv_cflags__Wvla=yes
17294 else
17295 ac_cv_cflags__Wvla=no
17297 rm -f core conftest.err conftest.$ac_objext \
17298 conftest$ac_exeext conftest.$ac_ext
17299 CFLAGS=$ac_wine_try_cflags_saved
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17302 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17303 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17304 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17307 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17308 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 ac_wine_try_cflags_saved=$CFLAGS
17312 CFLAGS="$CFLAGS -Wwrite-strings"
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 int main(int argc, char **argv) { return 0; }
17316 _ACEOF
17317 if ac_fn_c_try_link "$LINENO"; then :
17318 ac_cv_cflags__Wwrite_strings=yes
17319 else
17320 ac_cv_cflags__Wwrite_strings=no
17322 rm -f core conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17324 CFLAGS=$ac_wine_try_cflags_saved
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17327 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17328 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17329 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17332 if test -z "$CROSSTARGET"
17333 then
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17335 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17336 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 ac_wine_try_cflags_saved=$CFLAGS
17340 CFLAGS="$CFLAGS -fexcess-precision=standard"
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 int main(int argc, char **argv) { return 0; }
17344 _ACEOF
17345 if ac_fn_c_try_link "$LINENO"; then :
17346 ac_cv_cflags__fexcess_precision_standard=yes
17347 else
17348 ac_cv_cflags__fexcess_precision_standard=no
17350 rm -f core conftest.err conftest.$ac_objext \
17351 conftest$ac_exeext conftest.$ac_ext
17352 CFLAGS=$ac_wine_try_cflags_saved
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17355 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17356 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17357 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17363 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17364 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367 ac_wine_try_cflags_saved=$CFLAGS
17368 CFLAGS="$CFLAGS -Wpointer-arith"
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 int main(int argc, char **argv) { return 0; }
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"; then :
17374 ac_cv_cflags__Wpointer_arith=yes
17375 else
17376 ac_cv_cflags__Wpointer_arith=no
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17380 CFLAGS=$ac_wine_try_cflags_saved
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17383 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17384 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17385 saved_string_h_CFLAGS=$CFLAGS
17386 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17388 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17389 if ${ac_cv_c_string_h_warnings+:} false; then :
17390 $as_echo_n "(cached) " >&6
17391 else
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #include <string.h>
17396 main ()
17400 return 0;
17402 _ACEOF
17403 if ac_fn_c_try_compile "$LINENO"; then :
17404 ac_cv_c_string_h_warnings=no
17405 else
17406 ac_cv_c_string_h_warnings=yes
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17411 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17412 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17413 CFLAGS=$saved_string_h_CFLAGS
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17417 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17418 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 ac_wine_try_cflags_saved=$CFLAGS
17422 CFLAGS="$CFLAGS -Wlogical-op"
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 int main(int argc, char **argv) { return 0; }
17426 _ACEOF
17427 if ac_fn_c_try_link "$LINENO"; then :
17428 ac_cv_cflags__Wlogical_op=yes
17429 else
17430 ac_cv_cflags__Wlogical_op=no
17432 rm -f core conftest.err conftest.$ac_objext \
17433 conftest$ac_exeext conftest.$ac_ext
17434 CFLAGS=$ac_wine_try_cflags_saved
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17437 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17438 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17439 saved_string_h_CFLAGS=$CFLAGS
17440 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17442 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17443 if ${ac_cv_c_logicalop_noisy+:} false; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #include <string.h>
17449 char*f(const char *h,char n) {return strchr(h,n);}
17451 main ()
17455 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_compile "$LINENO"; then :
17459 ac_cv_c_logicalop_noisy=no
17460 else
17461 ac_cv_c_logicalop_noisy=yes
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17466 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17467 CFLAGS=$saved_string_h_CFLAGS
17468 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17472 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17473 if ${wine_cv_64bit_compare_swap+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17479 #error no
17480 #endif
17482 main ()
17486 return 0;
17488 _ACEOF
17489 if ac_fn_c_try_compile "$LINENO"; then :
17490 wine_cv_64bit_compare_swap="none needed"
17491 else
17492 case $host_cpu in
17493 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17494 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17495 *) wine_cv_64bit_compare_swap="unknown" ;;
17496 esac
17497 if test "x$wine_cv_64bit_compare_swap" != xunknown
17498 then
17499 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17503 #error no
17504 #endif
17506 main ()
17510 return 0;
17512 _ACEOF
17513 if ac_fn_c_try_compile "$LINENO"; then :
17515 else
17516 wine_cv_64bit_compare_swap="unknown"
17518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 CFLAGS=$saved_CFLAGS
17522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17525 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17526 case "$wine_cv_64bit_compare_swap" in
17527 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17528 "none needed") ;;
17529 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17530 esac
17532 for ac_flag in $CFLAGS; do
17533 case $ac_flag in
17534 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17535 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17536 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 ac_wine_try_cflags_saved=$CFLAGS
17540 CFLAGS="$CFLAGS -gdwarf-2"
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 int main(int argc, char **argv) { return 0; }
17544 _ACEOF
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 ac_cv_cflags__gdwarf_2=yes
17547 else
17548 ac_cv_cflags__gdwarf_2=no
17550 rm -f core conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17552 CFLAGS=$ac_wine_try_cflags_saved
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17555 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17556 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17557 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17560 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17561 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -gstrict-dwarf"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 int main(int argc, char **argv) { return 0; }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_cflags__gstrict_dwarf=yes
17572 else
17573 ac_cv_cflags__gstrict_dwarf=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 CFLAGS=$ac_wine_try_cflags_saved
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17580 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17581 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17582 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17583 fi ;;
17584 esac
17585 done
17587 MSVCRTFLAGS=""
17589 case $host_os in
17590 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17591 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17592 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17593 $as_echo_n "(cached) " >&6
17594 else
17595 ac_wine_try_cflags_saved=$CFLAGS
17596 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 int main(int argc, char **argv) { return 0; }
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"; then :
17602 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17603 else
17604 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17606 rm -f core conftest.err conftest.$ac_objext \
17607 conftest$ac_exeext conftest.$ac_ext
17608 CFLAGS=$ac_wine_try_cflags_saved
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17611 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17612 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17613 DELAYLOADFLAG="-Wl,-delayload,"
17615 fi ;;
17616 *) MSVCRTFLAGS="-D_WIN32"
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17618 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17619 if ${ac_cv_cflags__fno_builtin+:} false; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17622 ac_wine_try_cflags_saved=$CFLAGS
17623 CFLAGS="$CFLAGS -fno-builtin"
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 int main(int argc, char **argv) { return 0; }
17627 _ACEOF
17628 if ac_fn_c_try_link "$LINENO"; then :
17629 ac_cv_cflags__fno_builtin=yes
17630 else
17631 ac_cv_cflags__fno_builtin=no
17633 rm -f core conftest.err conftest.$ac_objext \
17634 conftest$ac_exeext conftest.$ac_ext
17635 CFLAGS=$ac_wine_try_cflags_saved
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17638 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17639 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17640 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17643 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17644 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17645 $as_echo_n "(cached) " >&6
17646 else
17647 ac_wine_try_cflags_saved=$CFLAGS
17648 CFLAGS="$CFLAGS -fshort-wchar"
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17651 int main(int argc, char **argv) { return 0; }
17652 _ACEOF
17653 if ac_fn_c_try_link "$LINENO"; then :
17654 ac_cv_cflags__fshort_wchar=yes
17655 else
17656 ac_cv_cflags__fshort_wchar=no
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17660 CFLAGS=$ac_wine_try_cflags_saved
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17663 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17664 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17665 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17666 fi ;;
17667 esac
17669 case $host_cpu in
17670 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17671 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17672 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17673 $as_echo_n "(cached) " >&6
17674 else
17675 ac_wine_try_cflags_saved=$CFLAGS
17676 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 int main(int argc, char **argv) { return 0; }
17680 _ACEOF
17681 if ac_fn_c_try_link "$LINENO"; then :
17682 ac_cv_cflags__fno_omit_frame_pointer=yes
17683 else
17684 ac_cv_cflags__fno_omit_frame_pointer=no
17686 rm -f core conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17688 CFLAGS=$ac_wine_try_cflags_saved
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17691 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17692 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17693 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17694 fi ;;
17695 *x86_64*)
17696 case $host_os in
17697 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17698 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17699 if ${ac_cv_cflags__Wno_format+:} false; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 ac_wine_try_cflags_saved=$CFLAGS
17703 CFLAGS="$CFLAGS -Wno-format"
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 int main(int argc, char **argv) { return 0; }
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"; then :
17709 ac_cv_cflags__Wno_format=yes
17710 else
17711 ac_cv_cflags__Wno_format=no
17713 rm -f core conftest.err conftest.$ac_objext \
17714 conftest$ac_exeext conftest.$ac_ext
17715 CFLAGS=$ac_wine_try_cflags_saved
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17718 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17719 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17720 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17721 fi ;;
17722 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17723 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17724 if ${ac_cv_cflags__mabi_ms+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 ac_wine_try_cflags_saved=$CFLAGS
17728 CFLAGS="$CFLAGS -mabi=ms"
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 int main(int argc, char **argv) { return 0; }
17732 _ACEOF
17733 if ac_fn_c_try_link "$LINENO"; then :
17734 ac_cv_cflags__mabi_ms=yes
17735 else
17736 ac_cv_cflags__mabi_ms=no
17738 rm -f core conftest.err conftest.$ac_objext \
17739 conftest$ac_exeext conftest.$ac_ext
17740 CFLAGS=$ac_wine_try_cflags_saved
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17743 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17744 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17745 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17746 fi ;;
17747 esac ;;
17748 esac
17750 CFLAGS=$saved_CFLAGS
17752 if test "x$enable_werror" = "xyes"
17753 then
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17755 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17756 if ${ac_cv_cflags__Werror+:} false; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759 ac_wine_try_cflags_saved=$CFLAGS
17760 CFLAGS="$CFLAGS -Werror"
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 int main(int argc, char **argv) { return 0; }
17764 _ACEOF
17765 if ac_fn_c_try_link "$LINENO"; then :
17766 ac_cv_cflags__Werror=yes
17767 else
17768 ac_cv_cflags__Werror=no
17770 rm -f core conftest.err conftest.$ac_objext \
17771 conftest$ac_exeext conftest.$ac_ext
17772 CFLAGS=$ac_wine_try_cflags_saved
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17775 $as_echo "$ac_cv_cflags__Werror" >&6; }
17776 if test "x$ac_cv_cflags__Werror" = xyes; then :
17777 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17780 if test "x$enable_build_id" = "xyes"
17781 then
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17783 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17784 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787 ac_wine_try_cflags_saved=$CFLAGS
17788 CFLAGS="$CFLAGS -Wl,--build-id"
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17791 int main(int argc, char **argv) { return 0; }
17792 _ACEOF
17793 if ac_fn_c_try_link "$LINENO"; then :
17794 ac_cv_cflags__Wl___build_id=yes
17795 else
17796 ac_cv_cflags__Wl___build_id=no
17798 rm -f core conftest.err conftest.$ac_objext \
17799 conftest$ac_exeext conftest.$ac_ext
17800 CFLAGS=$ac_wine_try_cflags_saved
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17803 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17804 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17805 CFLAGS="$CFLAGS -Wl,--build-id"
17806 LDFLAGS="$LDFLAGS -Wl,--build-id"
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17813 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17814 if ${ac_cv_c_fortify_enabled+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17818 /* end confdefs.h. */
17819 #include <string.h>
17821 main ()
17823 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17824 #error Fortify enabled
17825 #endif
17827 return 0;
17829 _ACEOF
17830 if ac_fn_c_try_compile "$LINENO"; then :
17831 ac_cv_c_fortify_enabled=no
17832 else
17833 ac_cv_c_fortify_enabled=yes
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17838 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17839 if test "$ac_cv_c_fortify_enabled" = yes
17840 then
17841 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17846 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17847 if ${ac_cv_c_cfi_support+:} false; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17854 main ()
17858 return 0;
17860 _ACEOF
17861 if ac_fn_c_try_compile "$LINENO"; then :
17862 ac_cv_c_cfi_support="yes"
17863 else
17864 ac_cv_c_cfi_support="no"
17866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17869 $as_echo "$ac_cv_c_cfi_support" >&6; }
17870 if test "$ac_cv_c_cfi_support" = "yes"
17871 then
17872 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17873 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17874 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
17875 else
17876 if test "x$enable_win64" = "xyes"
17877 then
17878 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17883 case $build_os in
17884 cygwin*|mingw32*) TOOLSEXT=".exe"
17886 esac
17888 case $host_os in
17889 linux*)
17890 case $host_cpu in
17891 *i[3456789]86*|x86_64*|*aarch64*|arm*)
17892 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17893 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17895 esac
17897 esac
17900 ac_save_CFLAGS="$CFLAGS"
17901 CFLAGS="$CFLAGS $BUILTINFLAG"
17902 for ac_func in \
17903 epoll_create \
17904 fork \
17905 fstatfs \
17906 futimens \
17907 futimes \
17908 futimesat \
17909 getattrlist \
17910 getauxval \
17911 getifaddrs \
17912 getrandom \
17913 kqueue \
17914 mach_continuous_time \
17915 pipe2 \
17916 port_create \
17917 posix_fadvise \
17918 posix_fallocate \
17919 prctl \
17920 proc_pidinfo \
17921 setproctitle \
17922 setprogname \
17923 sigprocmask \
17924 sysinfo \
17925 tcdrain \
17926 thr_kill2
17928 do :
17929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17932 cat >>confdefs.h <<_ACEOF
17933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17934 _ACEOF
17937 done
17939 CFLAGS="$ac_save_CFLAGS"
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17942 $as_echo_n "checking for library containing dlopen... " >&6; }
17943 if ${ac_cv_search_dlopen+:} false; then :
17944 $as_echo_n "(cached) " >&6
17945 else
17946 ac_func_search_save_LIBS=$LIBS
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17950 /* Override any GCC internal prototype to avoid an error.
17951 Use char because int might match the return type of a GCC
17952 builtin and then its argument prototype would still apply. */
17953 #ifdef __cplusplus
17954 extern "C"
17955 #endif
17956 char dlopen ();
17958 main ()
17960 return dlopen ();
17962 return 0;
17964 _ACEOF
17965 for ac_lib in '' dl; do
17966 if test -z "$ac_lib"; then
17967 ac_res="none required"
17968 else
17969 ac_res=-l$ac_lib
17970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17972 if ac_fn_c_try_link "$LINENO"; then :
17973 ac_cv_search_dlopen=$ac_res
17975 rm -f core conftest.err conftest.$ac_objext \
17976 conftest$ac_exeext
17977 if ${ac_cv_search_dlopen+:} false; then :
17978 break
17980 done
17981 if ${ac_cv_search_dlopen+:} false; then :
17983 else
17984 ac_cv_search_dlopen=no
17986 rm conftest.$ac_ext
17987 LIBS=$ac_func_search_save_LIBS
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17990 $as_echo "$ac_cv_search_dlopen" >&6; }
17991 ac_res=$ac_cv_search_dlopen
17992 if test "$ac_res" != no; then :
17993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17997 ac_wine_check_funcs_save_LIBS="$LIBS"
17998 LIBS="$LIBS $DL_LIBS"
17999 for ac_func in dlinfo
18000 do :
18001 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
18002 if test "x$ac_cv_func_dlinfo" = xyes; then :
18003 cat >>confdefs.h <<_ACEOF
18004 #define HAVE_DLINFO 1
18005 _ACEOF
18008 done
18010 LIBS="$ac_wine_check_funcs_save_LIBS"
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18013 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18014 if ${ac_cv_search_gethostbyname+:} false; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017 ac_func_search_save_LIBS=$LIBS
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18021 /* Override any GCC internal prototype to avoid an error.
18022 Use char because int might match the return type of a GCC
18023 builtin and then its argument prototype would still apply. */
18024 #ifdef __cplusplus
18025 extern "C"
18026 #endif
18027 char gethostbyname ();
18029 main ()
18031 return gethostbyname ();
18033 return 0;
18035 _ACEOF
18036 for ac_lib in '' nsl; do
18037 if test -z "$ac_lib"; then
18038 ac_res="none required"
18039 else
18040 ac_res=-l$ac_lib
18041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18043 if ac_fn_c_try_link "$LINENO"; then :
18044 ac_cv_search_gethostbyname=$ac_res
18046 rm -f core conftest.err conftest.$ac_objext \
18047 conftest$ac_exeext
18048 if ${ac_cv_search_gethostbyname+:} false; then :
18049 break
18051 done
18052 if ${ac_cv_search_gethostbyname+:} false; then :
18054 else
18055 ac_cv_search_gethostbyname=no
18057 rm conftest.$ac_ext
18058 LIBS=$ac_func_search_save_LIBS
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18061 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18062 ac_res=$ac_cv_search_gethostbyname
18063 if test "$ac_res" != no; then :
18064 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18070 $as_echo_n "checking for library containing connect... " >&6; }
18071 if ${ac_cv_search_connect+:} false; then :
18072 $as_echo_n "(cached) " >&6
18073 else
18074 ac_func_search_save_LIBS=$LIBS
18075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18076 /* end confdefs.h. */
18078 /* Override any GCC internal prototype to avoid an error.
18079 Use char because int might match the return type of a GCC
18080 builtin and then its argument prototype would still apply. */
18081 #ifdef __cplusplus
18082 extern "C"
18083 #endif
18084 char connect ();
18086 main ()
18088 return connect ();
18090 return 0;
18092 _ACEOF
18093 for ac_lib in '' socket; do
18094 if test -z "$ac_lib"; then
18095 ac_res="none required"
18096 else
18097 ac_res=-l$ac_lib
18098 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18100 if ac_fn_c_try_link "$LINENO"; then :
18101 ac_cv_search_connect=$ac_res
18103 rm -f core conftest.err conftest.$ac_objext \
18104 conftest$ac_exeext
18105 if ${ac_cv_search_connect+:} false; then :
18106 break
18108 done
18109 if ${ac_cv_search_connect+:} false; then :
18111 else
18112 ac_cv_search_connect=no
18114 rm conftest.$ac_ext
18115 LIBS=$ac_func_search_save_LIBS
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18118 $as_echo "$ac_cv_search_connect" >&6; }
18119 ac_res=$ac_cv_search_connect
18120 if test "$ac_res" != no; then :
18121 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18127 $as_echo_n "checking for library containing inet_aton... " >&6; }
18128 if ${ac_cv_search_inet_aton+:} false; then :
18129 $as_echo_n "(cached) " >&6
18130 else
18131 ac_func_search_save_LIBS=$LIBS
18132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18133 /* end confdefs.h. */
18135 /* Override any GCC internal prototype to avoid an error.
18136 Use char because int might match the return type of a GCC
18137 builtin and then its argument prototype would still apply. */
18138 #ifdef __cplusplus
18139 extern "C"
18140 #endif
18141 char inet_aton ();
18143 main ()
18145 return inet_aton ();
18147 return 0;
18149 _ACEOF
18150 for ac_lib in '' resolv; do
18151 if test -z "$ac_lib"; then
18152 ac_res="none required"
18153 else
18154 ac_res=-l$ac_lib
18155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18157 if ac_fn_c_try_link "$LINENO"; then :
18158 ac_cv_search_inet_aton=$ac_res
18160 rm -f core conftest.err conftest.$ac_objext \
18161 conftest$ac_exeext
18162 if ${ac_cv_search_inet_aton+:} false; then :
18163 break
18165 done
18166 if ${ac_cv_search_inet_aton+:} false; then :
18168 else
18169 ac_cv_search_inet_aton=no
18171 rm conftest.$ac_ext
18172 LIBS=$ac_func_search_save_LIBS
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18175 $as_echo "$ac_cv_search_inet_aton" >&6; }
18176 ac_res=$ac_cv_search_inet_aton
18177 if test "$ac_res" != no; then :
18178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18183 for ac_func in getaddrinfo
18184 do :
18185 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18186 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18187 cat >>confdefs.h <<_ACEOF
18188 #define HAVE_GETADDRINFO 1
18189 _ACEOF
18192 done
18195 case $host_os in
18196 darwin*|macosx*) ;;
18197 *) ac_save_LIBS=$LIBS
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18199 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18200 if ${ac_cv_search_clock_gettime+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 ac_func_search_save_LIBS=$LIBS
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18207 /* Override any GCC internal prototype to avoid an error.
18208 Use char because int might match the return type of a GCC
18209 builtin and then its argument prototype would still apply. */
18210 #ifdef __cplusplus
18211 extern "C"
18212 #endif
18213 char clock_gettime ();
18215 main ()
18217 return clock_gettime ();
18219 return 0;
18221 _ACEOF
18222 for ac_lib in '' rt; do
18223 if test -z "$ac_lib"; then
18224 ac_res="none required"
18225 else
18226 ac_res=-l$ac_lib
18227 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18229 if ac_fn_c_try_link "$LINENO"; then :
18230 ac_cv_search_clock_gettime=$ac_res
18232 rm -f core conftest.err conftest.$ac_objext \
18233 conftest$ac_exeext
18234 if ${ac_cv_search_clock_gettime+:} false; then :
18235 break
18237 done
18238 if ${ac_cv_search_clock_gettime+:} false; then :
18240 else
18241 ac_cv_search_clock_gettime=no
18243 rm conftest.$ac_ext
18244 LIBS=$ac_func_search_save_LIBS
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18247 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18248 ac_res=$ac_cv_search_clock_gettime
18249 if test "$ac_res" != no; then :
18250 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18252 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18254 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18258 LIBS=$ac_save_LIBS
18260 esac
18262 if test "x$with_ldap" != "xno"
18263 then
18264 if ${LDAP_CFLAGS:+false} :; then :
18265 if ${PKG_CONFIG+:} false; then :
18266 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18270 if ${LDAP_LIBS:+false} :; then :
18271 if ${PKG_CONFIG+:} false; then :
18272 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18276 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18277 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18278 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18279 ac_save_CPPFLAGS=$CPPFLAGS
18280 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18281 for ac_header in ldap.h lber.h
18282 do :
18283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18284 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18286 cat >>confdefs.h <<_ACEOF
18287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18288 _ACEOF
18292 done
18294 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18295 then
18296 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18298 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18300 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18301 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18302 $as_echo_n "(cached) " >&6
18303 else
18304 ac_check_lib_save_LIBS=$LIBS
18305 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18309 /* Override any GCC internal prototype to avoid an error.
18310 Use char because int might match the return type of a GCC
18311 builtin and then its argument prototype would still apply. */
18312 #ifdef __cplusplus
18313 extern "C"
18314 #endif
18315 char ldap_initialize ();
18317 main ()
18319 return ldap_initialize ();
18321 return 0;
18323 _ACEOF
18324 if ac_fn_c_try_link "$LINENO"; then :
18325 ac_cv_lib_ldap_r_ldap_initialize=yes
18326 else
18327 ac_cv_lib_ldap_r_ldap_initialize=no
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext conftest.$ac_ext
18331 LIBS=$ac_check_lib_save_LIBS
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18334 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18335 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18337 $as_echo_n "checking for ber_init in -llber... " >&6; }
18338 if ${ac_cv_lib_lber_ber_init+:} false; then :
18339 $as_echo_n "(cached) " >&6
18340 else
18341 ac_check_lib_save_LIBS=$LIBS
18342 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18346 /* Override any GCC internal prototype to avoid an error.
18347 Use char because int might match the return type of a GCC
18348 builtin and then its argument prototype would still apply. */
18349 #ifdef __cplusplus
18350 extern "C"
18351 #endif
18352 char ber_init ();
18354 main ()
18356 return ber_init ();
18358 return 0;
18360 _ACEOF
18361 if ac_fn_c_try_link "$LINENO"; then :
18362 ac_cv_lib_lber_ber_init=yes
18363 else
18364 ac_cv_lib_lber_ber_init=no
18366 rm -f core conftest.err conftest.$ac_objext \
18367 conftest$ac_exeext conftest.$ac_ext
18368 LIBS=$ac_check_lib_save_LIBS
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18371 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18372 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18374 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18376 else
18377 LDAP_LIBS=""
18380 else
18381 LDAP_LIBS=""
18384 else
18385 LDAP_LIBS=""
18388 ac_wine_check_funcs_save_LIBS="$LIBS"
18389 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18390 for ac_func in \
18391 ldap_count_references \
18392 ldap_first_reference \
18393 ldap_next_reference \
18394 ldap_parse_reference \
18395 ldap_parse_sort_control \
18396 ldap_parse_sortresponse_control \
18397 ldap_parse_vlv_control \
18398 ldap_parse_vlvresponse_control
18399 do :
18400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18402 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18403 cat >>confdefs.h <<_ACEOF
18404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18405 _ACEOF
18408 done
18410 LIBS="$ac_wine_check_funcs_save_LIBS"
18411 else
18412 LDAP_LIBS=""
18414 CPPFLAGS=$ac_save_CPPFLAGS
18417 if test "x$LDAP_LIBS" = "x"; then :
18418 case "x$with_ldap" in
18419 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18420 xno) ;;
18421 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18422 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18423 esac
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18428 $as_echo_n "checking for sched_setaffinity... " >&6; }
18429 if ${wine_cv_have_sched_setaffinity+:} false; then :
18430 $as_echo_n "(cached) " >&6
18431 else
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18434 #include <sched.h>
18436 main ()
18438 sched_setaffinity(0, 0, 0);
18440 return 0;
18442 _ACEOF
18443 if ac_fn_c_try_link "$LINENO"; then :
18444 wine_cv_have_sched_setaffinity=yes
18445 else
18446 wine_cv_have_sched_setaffinity=no
18448 rm -f core conftest.err conftest.$ac_objext \
18449 conftest$ac_exeext conftest.$ac_ext
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18452 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18453 if test "$wine_cv_have_sched_setaffinity" = "yes"
18454 then
18456 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18462 $as_echo_n "checking for inline... " >&6; }
18463 if ${ac_cv_c_inline+:} false; then :
18464 $as_echo_n "(cached) " >&6
18465 else
18466 ac_cv_c_inline=no
18467 for ac_kw in inline __inline__ __inline; do
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 #ifndef __cplusplus
18471 typedef int foo_t;
18472 static $ac_kw foo_t static_foo () {return 0; }
18473 $ac_kw foo_t foo () {return 0; }
18474 #endif
18476 _ACEOF
18477 if ac_fn_c_try_compile "$LINENO"; then :
18478 ac_cv_c_inline=$ac_kw
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 test "$ac_cv_c_inline" != no && break
18482 done
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18486 $as_echo "$ac_cv_c_inline" >&6; }
18488 case $ac_cv_c_inline in
18489 inline | yes) ;;
18491 case $ac_cv_c_inline in
18492 no) ac_val=;;
18493 *) ac_val=$ac_cv_c_inline;;
18494 esac
18495 cat >>confdefs.h <<_ACEOF
18496 #ifndef __cplusplus
18497 #define inline $ac_val
18498 #endif
18499 _ACEOF
18501 esac
18503 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18504 #include <signal.h>
18506 if test "x$ac_cv_type_sigset_t" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_SIGSET_T 1
18510 _ACEOF
18515 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18517 if test "x$ac_cv_type_request_sense" = xyes; then :
18519 cat >>confdefs.h <<_ACEOF
18520 #define HAVE_REQUEST_SENSE 1
18521 _ACEOF
18527 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18528 #ifdef HAVE_SYS_SOCKET_H
18529 #include <sys/socket.h>
18530 #endif
18531 #ifdef HAVE_SYS_SOCKETVAR_H
18532 #include <sys/socketvar.h>
18533 #endif
18534 #ifdef HAVE_NET_ROUTE_H
18535 #include <net/route.h>
18536 #endif
18537 #ifdef HAVE_NETINET_IN_H
18538 #include <netinet/in.h>
18539 #endif
18540 #ifdef HAVE_NETINET_IN_SYSTM_H
18541 #include <netinet/in_systm.h>
18542 #endif
18543 #ifdef HAVE_NETINET_IP_H
18544 #include <netinet/ip.h>
18545 #endif
18546 #ifdef HAVE_NETINET_IN_PCB_H
18547 #include <netinet/in_pcb.h>
18548 #endif
18550 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18552 cat >>confdefs.h <<_ACEOF
18553 #define HAVE_STRUCT_XINPGEN 1
18554 _ACEOF
18560 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18561 #include <linux/input.h>
18562 #endif
18564 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18568 _ACEOF
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18575 $as_echo_n "checking for sigaddset... " >&6; }
18576 if ${wine_cv_have_sigaddset+:} false; then :
18577 $as_echo_n "(cached) " >&6
18578 else
18579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581 #include <signal.h>
18583 main ()
18585 sigset_t set; sigaddset(&set,SIGTERM);
18587 return 0;
18589 _ACEOF
18590 if ac_fn_c_try_link "$LINENO"; then :
18591 wine_cv_have_sigaddset=yes
18592 else
18593 wine_cv_have_sigaddset=no
18595 rm -f core conftest.err conftest.$ac_objext \
18596 conftest$ac_exeext conftest.$ac_ext
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18599 $as_echo "$wine_cv_have_sigaddset" >&6; }
18600 if test "$wine_cv_have_sigaddset" = "yes"
18601 then
18603 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18609 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18610 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 #include <netdb.h>
18617 main ()
18620 char *name=0;
18621 struct hostent he;
18622 struct hostent *result;
18623 char *buf=0;
18624 int bufsize=0;
18625 int errnr;
18626 char *addr=0;
18627 int addrlen=0;
18628 int addrtype=0;
18629 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18630 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18633 return 0;
18635 _ACEOF
18636 if ac_fn_c_try_link "$LINENO"; then :
18637 wine_cv_linux_gethostbyname_r_6=yes
18638 else
18639 wine_cv_linux_gethostbyname_r_6=no
18642 rm -f core conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18647 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18648 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18649 then
18651 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18655 if test "$ac_cv_header_linux_joystick_h" = "yes"
18656 then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18658 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18659 if ${wine_cv_linux_joystick_22_api+:} false; then :
18660 $as_echo_n "(cached) " >&6
18661 else
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18665 #include <sys/ioctl.h>
18666 #include <sys/types.h>
18667 #include <linux/joystick.h>
18669 struct js_event blub;
18670 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18671 #error "no 2.2 header"
18672 #endif
18675 main ()
18677 /*empty*/
18679 return 0;
18681 _ACEOF
18682 if ac_fn_c_try_compile "$LINENO"; then :
18683 wine_cv_linux_joystick_22_api=yes
18684 else
18685 wine_cv_linux_joystick_22_api=no
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18691 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18692 if test "$wine_cv_linux_joystick_22_api" = "yes"
18693 then
18695 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18700 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18701 #ifdef HAVE_SYS_SOCKET_H
18702 # include <sys/socket.h>
18703 #endif
18704 #ifdef HAVE_SYS_UN_H
18705 # include <sys/un.h>
18706 #endif
18708 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18710 cat >>confdefs.h <<_ACEOF
18711 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18712 _ACEOF
18716 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18717 #ifdef HAVE_SYS_SOCKET_H
18718 # include <sys/socket.h>
18719 #endif
18720 #ifdef HAVE_SYS_UN_H
18721 # include <sys/un.h>
18722 #endif
18724 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18728 _ACEOF
18734 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18735 #ifdef HAVE_SCSI_SG_H
18736 #include <scsi/sg.h>
18737 #endif
18739 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18741 cat >>confdefs.h <<_ACEOF
18742 #define HAVE_SCSIREQ_T_CMD 1
18743 _ACEOF
18747 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>
18748 #ifdef HAVE_SCSI_SG_H
18749 #include <scsi/sg.h>
18750 #endif
18752 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18756 _ACEOF
18762 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18764 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_SIGINFO_T_SI_FD 1
18768 _ACEOF
18774 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18775 #ifdef HAVE_SYS_MTIO_H
18776 #include <sys/mtio.h>
18777 #endif
18779 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18783 _ACEOF
18787 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18788 #ifdef HAVE_SYS_MTIO_H
18789 #include <sys/mtio.h>
18790 #endif
18792 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18794 cat >>confdefs.h <<_ACEOF
18795 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18796 _ACEOF
18800 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18801 #ifdef HAVE_SYS_MTIO_H
18802 #include <sys/mtio.h>
18803 #endif
18805 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18807 cat >>confdefs.h <<_ACEOF
18808 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18809 _ACEOF
18815 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18816 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT_STAT_ST_MTIM 1
18820 _ACEOF
18824 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18825 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18829 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18834 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_STRUCT_STAT_ST_CTIM 1
18838 _ACEOF
18842 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18843 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18847 _ACEOF
18851 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18852 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18854 cat >>confdefs.h <<_ACEOF
18855 #define HAVE_STRUCT_STAT_ST_ATIM 1
18856 _ACEOF
18860 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18861 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18863 cat >>confdefs.h <<_ACEOF
18864 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18865 _ACEOF
18869 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18870 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18872 cat >>confdefs.h <<_ACEOF
18873 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18874 _ACEOF
18878 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18879 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18881 cat >>confdefs.h <<_ACEOF
18882 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18883 _ACEOF
18887 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18888 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18890 cat >>confdefs.h <<_ACEOF
18891 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18892 _ACEOF
18896 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18897 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18899 cat >>confdefs.h <<_ACEOF
18900 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18901 _ACEOF
18905 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18906 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18910 _ACEOF
18916 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
18917 #include <sys/types.h>
18918 #endif
18919 #ifdef HAVE_NETINET_IN_H
18920 #include <netinet/in.h>
18921 #endif
18923 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18925 cat >>confdefs.h <<_ACEOF
18926 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18927 _ACEOF
18933 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18934 #include <sys/types.h>
18935 #endif
18936 #ifdef HAVE_NETINET_IN_H
18937 #include <netinet/in.h>
18938 #endif
18939 #ifdef HAVE_RESOLV_H
18940 #include <resolv.h>
18941 #endif
18943 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18945 cat >>confdefs.h <<_ACEOF
18946 #define HAVE_STRUCT___RES_STATE 1
18947 _ACEOF
18953 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
18954 #include <resolv.h>
18955 #endif
18957 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18961 _ACEOF
18967 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18968 #include <sys/types.h>
18969 #endif
18970 #ifdef HAVE_NETINET_IN_H
18971 #include <netinet/in.h>
18972 #endif
18973 #ifdef HAVE_NETINET_IP_H
18974 #include <netinet/ip.h>
18975 #endif
18976 #ifdef HAVE_NETINET_IP_ICMP_H
18977 #include <netinet/ip_icmp.h>
18978 #endif
18979 #ifdef HAVE_NETINET_ICMP_VAR_H
18980 #include <netinet/icmp_var.h>
18981 #endif
18983 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18987 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18994 #include <sys/types.h>
18995 #endif
18996 #ifdef HAVE_ALIAS_H
18997 #include <alias.h>
18998 #endif
18999 #ifdef HAVE_SYS_SOCKET_H
19000 #include <sys/socket.h>
19001 #endif
19002 #ifdef HAVE_SYS_SOCKETVAR_H
19003 #include <sys/socketvar.h>
19004 #endif
19005 #ifdef HAVE_SYS_TIMEOUT_H
19006 #include <sys/timeout.h>
19007 #endif
19008 #ifdef HAVE_NETINET_IN_H
19009 #include <netinet/in.h>
19010 #endif
19011 #ifdef HAVE_NETINET_IN_SYSTM_H
19012 #include <netinet/in_systm.h>
19013 #endif
19014 #ifdef HAVE_NETINET_IP_H
19015 #include <netinet/ip.h>
19016 #endif
19017 #ifdef HAVE_NETINET_IP_VAR_H
19018 #include <netinet/ip_var.h>
19019 #endif
19020 #ifdef HAVE_NETINET_IP_ICMP_H
19021 #include <netinet/ip_icmp.h>
19022 #endif
19023 #ifdef HAVE_NETINET_ICMP_VAR_H
19024 #include <netinet/icmp_var.h>
19025 #endif
19027 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19031 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19038 #include <netinet/in.h>
19039 #endif
19041 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19052 #include <sys/types.h>
19053 #endif
19054 #ifdef HAVE_SYS_SOCKETVAR_H
19055 #include <sys/socketvar.h>
19056 #endif
19057 #ifdef HAVE_NETINET_IN_H
19058 #include <netinet/in.h>
19059 #endif
19060 #ifdef HAVE_NETINET_IP_VAR_H
19061 #include <netinet/ip_var.h>
19062 #endif
19064 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19068 _ACEOF
19074 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
19075 #include <netinet/ip_var.h>
19076 #endif
19078 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19082 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19089 #include <sys/types.h>
19090 #endif
19091 #ifdef HAVE_SYS_SOCKETVAR_H
19092 #include <sys/socketvar.h>
19093 #endif
19094 #ifdef HAVE_NETINET_IN_H
19095 #include <netinet/in.h>
19096 #endif
19097 #ifdef HAVE_NETINET_TCP_H
19098 #include <netinet/tcp.h>
19099 #endif
19100 #ifdef HAVE_NETINET_TCP_VAR_H
19101 #include <netinet/tcp_var.h>
19102 #endif
19104 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19106 cat >>confdefs.h <<_ACEOF
19107 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19108 _ACEOF
19114 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
19115 #include <netinet/tcp_var.h>
19116 #endif
19118 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19122 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19129 #include <sys/types.h>
19130 #endif
19131 #ifdef HAVE_NETINET_IN_H
19132 #include <netinet/in.h>
19133 #endif
19134 #ifdef HAVE_NETINET_IP_VAR_H
19135 #include <netinet/ip_var.h>
19136 #endif
19137 #ifdef HAVE_NETINET_UDP_H
19138 #include <netinet/udp.h>
19139 #endif
19140 #ifdef HAVE_NETINET_UDP_VAR_H
19141 #include <netinet/udp_var.h>
19142 #endif
19144 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19148 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19155 #include <sys/types.h>
19156 #endif
19157 #ifdef HAVE_NET_IF_H
19158 # include <net/if.h>
19159 #endif
19161 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19165 _ACEOF
19171 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19172 # include <sys/sysinfo.h>
19173 #endif
19175 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19184 # include <sys/sysinfo.h>
19185 #endif
19187 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19191 _ACEOF
19197 ac_save_LIBS="$LIBS"
19198 LIBS="$LIBS -lm"
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19200 $as_echo_n "checking for isfinite... " >&6; }
19201 if ${ac_cv_have_isfinite+:} false; then :
19202 $as_echo_n "(cached) " >&6
19203 else
19204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19206 #include <math.h>
19208 main ()
19210 float f = 0.0; return isfinite(f)
19212 return 0;
19214 _ACEOF
19215 if ac_fn_c_try_link "$LINENO"; then :
19216 ac_cv_have_isfinite="yes"
19217 else
19218 ac_cv_have_isfinite="no"
19220 rm -f core conftest.err conftest.$ac_objext \
19221 conftest$ac_exeext conftest.$ac_ext
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19224 $as_echo "$ac_cv_have_isfinite" >&6; }
19225 if test "$ac_cv_have_isfinite" = "yes"
19226 then
19228 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19233 $as_echo_n "checking for isinf... " >&6; }
19234 if ${ac_cv_have_isinf+:} false; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 #include <math.h>
19241 main ()
19243 float f = 0.0; return isinf(f)
19245 return 0;
19247 _ACEOF
19248 if ac_fn_c_try_link "$LINENO"; then :
19249 ac_cv_have_isinf="yes"
19250 else
19251 ac_cv_have_isinf="no"
19253 rm -f core conftest.err conftest.$ac_objext \
19254 conftest$ac_exeext conftest.$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19257 $as_echo "$ac_cv_have_isinf" >&6; }
19258 if test "$ac_cv_have_isinf" = "yes"
19259 then
19261 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19266 $as_echo_n "checking for isnan... " >&6; }
19267 if ${ac_cv_have_isnan+:} false; then :
19268 $as_echo_n "(cached) " >&6
19269 else
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 #include <math.h>
19274 main ()
19276 float f = 0.0; return isnan(f)
19278 return 0;
19280 _ACEOF
19281 if ac_fn_c_try_link "$LINENO"; then :
19282 ac_cv_have_isnan="yes"
19283 else
19284 ac_cv_have_isnan="no"
19286 rm -f core conftest.err conftest.$ac_objext \
19287 conftest$ac_exeext conftest.$ac_ext
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19290 $as_echo "$ac_cv_have_isnan" >&6; }
19291 if test "$ac_cv_have_isnan" = "yes"
19292 then
19294 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19298 LIBS="$ac_save_LIBS"
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19301 $as_echo_n "checking for __builtin_popcount... " >&6; }
19302 if ${ac_cv_have___builtin_popcount+:} false; then :
19303 $as_echo_n "(cached) " >&6
19304 else
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19309 main ()
19311 return __builtin_popcount(1)
19313 return 0;
19315 _ACEOF
19316 if ac_fn_c_try_link "$LINENO"; then :
19317 ac_cv_have___builtin_popcount="yes"
19318 else
19319 ac_cv_have___builtin_popcount="no"
19321 rm -f core conftest.err conftest.$ac_objext \
19322 conftest$ac_exeext conftest.$ac_ext
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19325 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19326 if test "$ac_cv_have___builtin_popcount" = "yes"
19327 then
19329 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19334 $as_echo_n "checking for __clear_cache... " >&6; }
19335 if ${ac_cv_have___clear_cache+:} false; then :
19336 $as_echo_n "(cached) " >&6
19337 else
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19342 main ()
19344 __clear_cache((void*)0, (void*)0); return 0;
19346 return 0;
19348 _ACEOF
19349 if ac_fn_c_try_link "$LINENO"; then :
19350 ac_cv_have___clear_cache="yes"
19351 else
19352 ac_cv_have___clear_cache="no"
19354 rm -f core conftest.err conftest.$ac_objext \
19355 conftest$ac_exeext conftest.$ac_ext
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19358 $as_echo "$ac_cv_have___clear_cache" >&6; }
19359 if test "$ac_cv_have___clear_cache" = "yes"
19360 then
19362 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19367 case $host_cpu in
19368 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19369 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19370 if ${ac_cv_cpp_def___i386__+:} false; then :
19371 $as_echo_n "(cached) " >&6
19372 else
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 #ifndef __i386__
19377 #endif
19378 _ACEOF
19379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19380 $EGREP "yes" >/dev/null 2>&1; then :
19381 ac_cv_cpp_def___i386__=yes
19382 else
19383 ac_cv_cpp_def___i386__=no
19385 rm -f conftest*
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19389 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19390 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19391 CFLAGS="$CFLAGS -D__i386__"
19392 LINTFLAGS="$LINTFLAGS -D__i386__"
19393 fi ;;
19394 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19395 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19396 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19397 $as_echo_n "(cached) " >&6
19398 else
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #ifndef __x86_64__
19403 #endif
19404 _ACEOF
19405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19406 $EGREP "yes" >/dev/null 2>&1; then :
19407 ac_cv_cpp_def___x86_64__=yes
19408 else
19409 ac_cv_cpp_def___x86_64__=no
19411 rm -f conftest*
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19415 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19416 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19417 CFLAGS="$CFLAGS -D__x86_64__"
19418 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19419 fi ;;
19420 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19421 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19422 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19423 $as_echo_n "(cached) " >&6
19424 else
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 #ifndef __sparc64__
19429 #endif
19430 _ACEOF
19431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19432 $EGREP "yes" >/dev/null 2>&1; then :
19433 ac_cv_cpp_def___sparc64__=yes
19434 else
19435 ac_cv_cpp_def___sparc64__=no
19437 rm -f conftest*
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19441 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19442 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19443 CFLAGS="$CFLAGS -D__sparc64__"
19444 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19445 fi ;;
19446 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19447 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19448 if ${ac_cv_cpp_def___sparc__+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453 #ifndef __sparc__
19455 #endif
19456 _ACEOF
19457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19458 $EGREP "yes" >/dev/null 2>&1; then :
19459 ac_cv_cpp_def___sparc__=yes
19460 else
19461 ac_cv_cpp_def___sparc__=no
19463 rm -f conftest*
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19467 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19468 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19469 CFLAGS="$CFLAGS -D__sparc__"
19470 LINTFLAGS="$LINTFLAGS -D__sparc__"
19471 fi ;;
19472 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19473 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19474 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479 #ifndef __powerpc64__
19481 #endif
19482 _ACEOF
19483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19484 $EGREP "yes" >/dev/null 2>&1; then :
19485 ac_cv_cpp_def___powerpc64__=yes
19486 else
19487 ac_cv_cpp_def___powerpc64__=no
19489 rm -f conftest*
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19493 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19494 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19495 CFLAGS="$CFLAGS -D__powerpc64__"
19496 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19497 fi ;;
19498 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19499 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19500 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505 #ifndef __powerpc__
19507 #endif
19508 _ACEOF
19509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19510 $EGREP "yes" >/dev/null 2>&1; then :
19511 ac_cv_cpp_def___powerpc__=yes
19512 else
19513 ac_cv_cpp_def___powerpc__=no
19515 rm -f conftest*
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19519 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19520 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19521 CFLAGS="$CFLAGS -D__powerpc__"
19522 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19523 fi ;;
19524 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19525 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19526 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19527 $as_echo_n "(cached) " >&6
19528 else
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #ifndef __aarch64__
19533 #endif
19534 _ACEOF
19535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19536 $EGREP "yes" >/dev/null 2>&1; then :
19537 ac_cv_cpp_def___aarch64__=yes
19538 else
19539 ac_cv_cpp_def___aarch64__=no
19541 rm -f conftest*
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19545 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19546 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19547 CFLAGS="$CFLAGS -D__aarch64__"
19548 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19549 fi ;;
19550 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19551 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19552 if ${ac_cv_cpp_def___arm__+:} false; then :
19553 $as_echo_n "(cached) " >&6
19554 else
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557 #ifndef __arm__
19559 #endif
19560 _ACEOF
19561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19562 $EGREP "yes" >/dev/null 2>&1; then :
19563 ac_cv_cpp_def___arm__=yes
19564 else
19565 ac_cv_cpp_def___arm__=no
19567 rm -f conftest*
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19571 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19572 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19573 CFLAGS="$CFLAGS -D__arm__"
19574 LINTFLAGS="$LINTFLAGS -D__arm__"
19575 fi ;;
19576 esac
19578 case $host_vendor in
19579 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19580 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19581 if ${ac_cv_cpp_def___sun__+:} false; then :
19582 $as_echo_n "(cached) " >&6
19583 else
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19586 #ifndef __sun__
19588 #endif
19589 _ACEOF
19590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19591 $EGREP "yes" >/dev/null 2>&1; then :
19592 ac_cv_cpp_def___sun__=yes
19593 else
19594 ac_cv_cpp_def___sun__=no
19596 rm -f conftest*
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19600 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19601 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19602 CFLAGS="$CFLAGS -D__sun__"
19603 LINTFLAGS="$LINTFLAGS -D__sun__"
19604 fi ;;
19605 esac
19611 ac_config_commands="$ac_config_commands include/stamp-h"
19613 $as_echo_n "creating Makefile rules..." >&6
19615 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19616 OPENGL_LIBS = $OPENGL_LIBS
19617 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19618 IOKIT_LIBS = $IOKIT_LIBS
19619 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19620 CORESERVICES_LIBS = $CORESERVICES_LIBS
19621 APPKIT_LIBS = $APPKIT_LIBS
19622 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19623 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19624 SECURITY_LIBS = $SECURITY_LIBS
19625 COREAUDIO_LIBS = $COREAUDIO_LIBS
19626 OPENAL_LIBS = $OPENAL_LIBS
19627 OPENCL_LIBS = $OPENCL_LIBS
19628 QUICKTIME_LIBS = $QUICKTIME_LIBS
19629 CARBON_LIBS = $CARBON_LIBS
19630 METAL_LIBS = $METAL_LIBS
19631 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19632 PTHREAD_LIBS = $PTHREAD_LIBS
19633 X_CFLAGS = $X_CFLAGS
19634 X_PRE_LIBS = $X_PRE_LIBS
19635 X_LIBS = $X_LIBS
19636 X_EXTRA_LIBS = $X_EXTRA_LIBS
19637 PCAP_LIBS = $PCAP_LIBS
19638 XML2_CFLAGS = $XML2_CFLAGS
19639 XML2_LIBS = $XML2_LIBS
19640 XSLT_CFLAGS = $XSLT_CFLAGS
19641 XSLT_LIBS = $XSLT_LIBS
19642 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19643 INOTIFY_LIBS = $INOTIFY_LIBS
19644 DBUS_CFLAGS = $DBUS_CFLAGS
19645 DBUS_LIBS = $DBUS_LIBS
19646 HAL_CFLAGS = $HAL_CFLAGS
19647 HAL_LIBS = $HAL_LIBS
19648 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19649 GNUTLS_LIBS = $GNUTLS_LIBS
19650 SANE_CFLAGS = $SANE_CFLAGS
19651 SANE_LIBS = $SANE_LIBS
19652 USB_CFLAGS = $USB_CFLAGS
19653 USB_LIBS = $USB_LIBS
19654 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19655 GPHOTO2_LIBS = $GPHOTO2_LIBS
19656 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19657 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19658 RESOLV_LIBS = $RESOLV_LIBS
19659 LCMS2_CFLAGS = $LCMS2_CFLAGS
19660 LCMS2_LIBS = $LCMS2_LIBS
19661 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19662 FREETYPE_LIBS = $FREETYPE_LIBS
19663 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19664 PULSE_CFLAGS = $PULSE_CFLAGS
19665 PULSE_LIBS = $PULSE_LIBS
19666 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19667 GSTREAMER_LIBS = $GSTREAMER_LIBS
19668 ALSA_LIBS = $ALSA_LIBS
19669 OSS4_CFLAGS = $OSS4_CFLAGS
19670 OSS4_LIBS = $OSS4_LIBS
19671 UDEV_CFLAGS = $UDEV_CFLAGS
19672 UDEV_LIBS = $UDEV_LIBS
19673 UNWIND_CFLAGS = $UNWIND_CFLAGS
19674 UNWIND_LIBS = $UNWIND_LIBS
19675 SDL2_CFLAGS = $SDL2_CFLAGS
19676 SDL2_LIBS = $SDL2_LIBS
19677 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19678 FAUDIO_LIBS = $FAUDIO_LIBS
19679 CAPI20_CFLAGS = $CAPI20_CFLAGS
19680 CAPI20_LIBS = $CAPI20_LIBS
19681 CUPS_CFLAGS = $CUPS_CFLAGS
19682 CUPS_LIBS = $CUPS_LIBS
19683 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19684 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19685 KRB5_CFLAGS = $KRB5_CFLAGS
19686 KRB5_LIBS = $KRB5_LIBS
19687 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19688 GSSAPI_LIBS = $GSSAPI_LIBS
19689 JPEG_CFLAGS = $JPEG_CFLAGS
19690 JPEG_LIBS = $JPEG_LIBS
19691 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19692 JXRLIB_LIBS = $JXRLIB_LIBS
19693 PNG_CFLAGS = $PNG_CFLAGS
19694 PNG_LIBS = $PNG_LIBS
19695 TIFF_CFLAGS = $TIFF_CFLAGS
19696 TIFF_LIBS = $TIFF_LIBS
19697 MPG123_CFLAGS = $MPG123_CFLAGS
19698 MPG123_LIBS = $MPG123_LIBS
19699 PROCSTAT_LIBS = $PROCSTAT_LIBS
19700 NETAPI_CFLAGS = $NETAPI_CFLAGS
19701 NETAPI_LIBS = $NETAPI_LIBS
19702 VKD3D_CFLAGS = $VKD3D_CFLAGS
19703 VKD3D_LIBS = $VKD3D_LIBS
19704 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19705 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19706 RT_LIBS = $RT_LIBS
19707 LDAP_CFLAGS = $LDAP_CFLAGS
19708 LDAP_LIBS = $LDAP_LIBS
19712 makedep_flags=""
19713 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19716 wine_fn_append_rule "
19717 # Rules automatically generated by configure
19719 .INIT: Makefile
19720 .MAKEFILEDEPS:
19721 all: Makefile
19722 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19723 @./config.status Make.tmp Makefile
19724 depend: \$(MAKEDEP)
19725 \$(MAKEDEP)$makedep_flags
19726 dummy:
19727 .PHONY: depend dummy"
19729 ac_config_links="$ac_config_links wine:tools/winewrapper"
19730 wine_fn_config_symlink wine
19731 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19732 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19733 wine_fn_config_symlink wine64
19736 wine_fn_config_makefile dlls/acledit enable_acledit
19737 wine_fn_config_makefile dlls/aclui enable_aclui
19738 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19739 wine_fn_config_makefile dlls/activeds enable_activeds
19740 wine_fn_config_makefile dlls/activeds/tests enable_tests
19741 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19742 wine_fn_config_makefile dlls/adsldp enable_adsldp
19743 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19744 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19745 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19746 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19747 wine_fn_config_makefile dlls/advpack enable_advpack
19748 wine_fn_config_makefile dlls/advpack/tests enable_tests
19749 wine_fn_config_makefile dlls/amsi enable_amsi
19750 wine_fn_config_makefile dlls/amstream enable_amstream
19751 wine_fn_config_makefile dlls/amstream/tests enable_tests
19752 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19753 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19754 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19755 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19757 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19759 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19760 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19762 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19763 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
19768 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19769 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19772 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19773 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19774 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19776 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19778 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19779 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19780 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19783 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19788 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19789 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19791 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19792 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19795 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19797 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19801 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19805 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
19806 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
19807 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19808 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19811 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19813 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19814 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19818 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19819 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19822 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19823 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19827 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19828 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19829 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19830 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19838 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19840 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19842 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19843 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19844 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
19854 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19870 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19874 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19877 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19880 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19888 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19894 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19899 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19901 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19903 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19920 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19921 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19942 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19953 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19957 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19959 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19961 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19962 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19967 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19969 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19975 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19978 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19980 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19983 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19988 wine_fn_config_makefile dlls/apphelp enable_apphelp
19989 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19990 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19991 wine_fn_config_makefile dlls/atl enable_atl
19992 wine_fn_config_makefile dlls/atl/tests enable_tests
19993 wine_fn_config_makefile dlls/atl100 enable_atl100
19994 wine_fn_config_makefile dlls/atl100/tests enable_tests
19995 wine_fn_config_makefile dlls/atl110 enable_atl110
19996 wine_fn_config_makefile dlls/atl80 enable_atl80
19997 wine_fn_config_makefile dlls/atl80/tests enable_tests
19998 wine_fn_config_makefile dlls/atl90 enable_atl90
19999 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20000 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20001 wine_fn_config_makefile dlls/atmlib enable_atmlib
20002 wine_fn_config_makefile dlls/authz enable_authz
20003 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20004 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20005 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20006 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20007 wine_fn_config_makefile dlls/avrt enable_avrt
20008 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20009 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20010 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20011 wine_fn_config_makefile dlls/browseui enable_browseui
20012 wine_fn_config_makefile dlls/browseui/tests enable_tests
20013 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20014 wine_fn_config_makefile dlls/cabinet enable_cabinet
20015 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20016 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20017 wine_fn_config_makefile dlls/cards enable_cards
20018 wine_fn_config_makefile dlls/cdosys enable_cdosys
20019 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20020 wine_fn_config_makefile dlls/clusapi enable_clusapi
20021 wine_fn_config_makefile dlls/combase enable_combase
20022 wine_fn_config_makefile dlls/combase/tests enable_tests
20023 wine_fn_config_makefile dlls/comcat enable_comcat
20024 wine_fn_config_makefile dlls/comcat/tests enable_tests
20025 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20026 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20027 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20028 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20029 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20030 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20031 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20032 wine_fn_config_makefile dlls/compstui enable_compstui
20033 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20034 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20035 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20036 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20037 wine_fn_config_makefile dlls/connect enable_connect
20038 wine_fn_config_makefile dlls/credui enable_credui
20039 wine_fn_config_makefile dlls/credui/tests enable_tests
20040 wine_fn_config_makefile dlls/crtdll enable_crtdll
20041 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20042 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20043 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20044 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20045 wine_fn_config_makefile dlls/cryptext enable_cryptext
20046 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20047 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20048 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20049 wine_fn_config_makefile dlls/cryptui enable_cryptui
20050 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20051 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20052 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20053 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20054 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20055 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20056 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20057 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20058 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20059 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20060 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20061 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20062 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20063 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20064 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20065 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20066 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20067 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20068 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20069 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20070 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20071 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20072 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20073 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20074 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20075 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20076 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20077 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20078 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20079 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20080 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20081 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20082 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20083 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20084 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20085 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
20086 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20087 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20088 wine_fn_config_makefile dlls/d3dim enable_d3dim
20089 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20090 wine_fn_config_makefile dlls/d3drm enable_d3drm
20091 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20092 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20093 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20094 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
20095 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20096 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
20097 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20098 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
20099 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20100 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
20101 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20102 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
20103 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20104 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
20105 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20106 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
20107 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20108 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
20109 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20110 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
20111 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20112 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20113 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20114 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20115 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20116 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20117 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20118 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20119 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20120 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20121 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20122 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20123 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20124 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20125 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20126 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20127 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20128 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20129 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20130 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20131 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20132 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20133 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20134 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20135 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20136 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20137 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20138 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20139 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20140 wine_fn_config_makefile dlls/davclnt enable_davclnt
20141 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20142 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20143 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20144 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20145 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20146 wine_fn_config_makefile dlls/dcomp enable_dcomp
20147 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20148 wine_fn_config_makefile dlls/ddraw enable_ddraw
20149 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20150 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20151 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20152 wine_fn_config_makefile dlls/devenum enable_devenum
20153 wine_fn_config_makefile dlls/devenum/tests enable_tests
20154 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20155 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20156 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
20157 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20158 wine_fn_config_makefile dlls/difxapi enable_difxapi
20159 wine_fn_config_makefile dlls/dinput enable_dinput
20160 wine_fn_config_makefile dlls/dinput/tests enable_tests
20161 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20162 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20163 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20164 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20165 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20166 wine_fn_config_makefile dlls/dispex enable_dispex
20167 wine_fn_config_makefile dlls/dispex/tests enable_tests
20168 wine_fn_config_makefile dlls/display.drv16 enable_win16
20169 wine_fn_config_makefile dlls/dmband enable_dmband
20170 wine_fn_config_makefile dlls/dmband/tests enable_tests
20171 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20172 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20173 wine_fn_config_makefile dlls/dmime enable_dmime
20174 wine_fn_config_makefile dlls/dmime/tests enable_tests
20175 wine_fn_config_makefile dlls/dmloader enable_dmloader
20176 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20177 wine_fn_config_makefile dlls/dmscript enable_dmscript
20178 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20179 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20180 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20181 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20182 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20183 wine_fn_config_makefile dlls/dmusic enable_dmusic
20184 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20185 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20186 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20187 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20188 wine_fn_config_makefile dlls/dplay enable_dplay
20189 wine_fn_config_makefile dlls/dplayx enable_dplayx
20190 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20191 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20192 wine_fn_config_makefile dlls/dpnet enable_dpnet
20193 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20194 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20195 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20196 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20197 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20198 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20199 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20200 wine_fn_config_makefile dlls/drmclien enable_drmclien
20201 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20202 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20203 wine_fn_config_makefile dlls/dsound enable_dsound
20204 wine_fn_config_makefile dlls/dsound/tests enable_tests
20205 wine_fn_config_makefile dlls/dsquery enable_dsquery
20206 wine_fn_config_makefile dlls/dssenh enable_dssenh
20207 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20208 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20209 wine_fn_config_makefile dlls/dswave enable_dswave
20210 wine_fn_config_makefile dlls/dswave/tests enable_tests
20211 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20212 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20213 wine_fn_config_makefile dlls/dwrite enable_dwrite
20214 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20215 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20216 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20217 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20218 wine_fn_config_makefile dlls/dxgi enable_dxgi
20219 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20220 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20221 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20222 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20223 wine_fn_config_makefile dlls/esent enable_esent
20224 wine_fn_config_makefile dlls/evr enable_evr
20225 wine_fn_config_makefile dlls/evr/tests enable_tests
20226 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20227 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20228 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20229 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20230 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20231 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20232 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20233 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20234 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20235 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20236 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20237 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20238 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20239 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20240 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20241 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20242 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20243 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20244 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20245 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20246 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20247 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20248 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20249 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20250 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20251 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20252 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20253 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20254 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20255 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20256 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20257 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20258 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20259 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20260 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20261 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20262 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20263 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20264 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20265 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20266 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20267 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20268 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
20269 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20270 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20271 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20272 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20273 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20274 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20275 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20276 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20277 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20278 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20279 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20280 wine_fn_config_makefile dlls/faultrep enable_faultrep
20281 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20282 wine_fn_config_makefile dlls/feclient enable_feclient
20283 wine_fn_config_makefile dlls/fltlib enable_fltlib
20284 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20285 wine_fn_config_makefile dlls/fntcache enable_fntcache
20286 wine_fn_config_makefile dlls/fontsub enable_fontsub
20287 wine_fn_config_makefile dlls/fusion enable_fusion
20288 wine_fn_config_makefile dlls/fusion/tests enable_tests
20289 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20290 wine_fn_config_makefile dlls/gameux enable_gameux
20291 wine_fn_config_makefile dlls/gameux/tests enable_tests
20292 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20293 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20294 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20295 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20296 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20297 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20298 wine_fn_config_makefile dlls/glu32 enable_glu32
20299 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20300 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20301 wine_fn_config_makefile dlls/hal enable_hal
20302 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20303 wine_fn_config_makefile dlls/hid enable_hid
20304 wine_fn_config_makefile dlls/hid/tests enable_tests
20305 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20306 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20307 wine_fn_config_makefile dlls/hlink enable_hlink
20308 wine_fn_config_makefile dlls/hlink/tests enable_tests
20309 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20310 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20311 wine_fn_config_makefile dlls/http.sys enable_http_sys
20312 wine_fn_config_makefile dlls/httpapi enable_httpapi
20313 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20314 wine_fn_config_makefile dlls/iccvid enable_iccvid
20315 wine_fn_config_makefile dlls/icmp enable_icmp
20316 wine_fn_config_makefile dlls/ieframe enable_ieframe
20317 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20318 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20319 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20320 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20321 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20322 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20323 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20324 wine_fn_config_makefile dlls/imm32 enable_imm32
20325 wine_fn_config_makefile dlls/imm32/tests enable_tests
20326 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20327 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20328 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20329 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20330 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20331 wine_fn_config_makefile dlls/infosoft enable_infosoft
20332 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20333 wine_fn_config_makefile dlls/initpki enable_initpki
20334 wine_fn_config_makefile dlls/inkobj enable_inkobj
20335 wine_fn_config_makefile dlls/inseng enable_inseng
20336 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20337 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20338 wine_fn_config_makefile dlls/iprop enable_iprop
20339 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20340 wine_fn_config_makefile dlls/itircl enable_itircl
20341 wine_fn_config_makefile dlls/itss enable_itss
20342 wine_fn_config_makefile dlls/itss/tests enable_tests
20343 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20344 wine_fn_config_makefile dlls/jscript enable_jscript
20345 wine_fn_config_makefile dlls/jscript/tests enable_tests
20346 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20347 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20348 wine_fn_config_makefile dlls/kerberos enable_kerberos
20349 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20350 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20351 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20352 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20353 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20354 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20355 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20356 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20357 wine_fn_config_makefile dlls/ksuser enable_ksuser
20358 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20359 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20360 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20361 wine_fn_config_makefile dlls/loadperf enable_loadperf
20362 wine_fn_config_makefile dlls/localspl enable_localspl
20363 wine_fn_config_makefile dlls/localspl/tests enable_tests
20364 wine_fn_config_makefile dlls/localui enable_localui
20365 wine_fn_config_makefile dlls/localui/tests enable_tests
20366 wine_fn_config_makefile dlls/lz32 enable_lz32
20367 wine_fn_config_makefile dlls/lz32/tests enable_tests
20368 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20369 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20370 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20371 wine_fn_config_makefile dlls/mapistub enable_mapistub
20372 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20373 wine_fn_config_makefile dlls/mcicda enable_mcicda
20374 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20375 wine_fn_config_makefile dlls/mciseq enable_mciseq
20376 wine_fn_config_makefile dlls/mciwave enable_mciwave
20377 wine_fn_config_makefile dlls/mf enable_mf
20378 wine_fn_config_makefile dlls/mf/tests enable_tests
20379 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20380 wine_fn_config_makefile dlls/mferror enable_mferror
20381 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20382 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20383 wine_fn_config_makefile dlls/mfplat enable_mfplat
20384 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20385 wine_fn_config_makefile dlls/mfplay enable_mfplay
20386 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20387 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20388 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20389 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20390 wine_fn_config_makefile dlls/midimap enable_midimap
20391 wine_fn_config_makefile dlls/mlang enable_mlang
20392 wine_fn_config_makefile dlls/mlang/tests enable_tests
20393 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20394 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20395 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20396 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20397 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20398 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20399 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20400 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20401 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20402 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20403 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20404 wine_fn_config_makefile dlls/mpr enable_mpr
20405 wine_fn_config_makefile dlls/mpr/tests enable_tests
20406 wine_fn_config_makefile dlls/mprapi enable_mprapi
20407 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20408 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20409 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20410 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20411 wine_fn_config_makefile dlls/msado15 enable_msado15
20412 wine_fn_config_makefile dlls/msado15/tests enable_tests
20413 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20414 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20415 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20416 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20417 wine_fn_config_makefile dlls/mscms enable_mscms
20418 wine_fn_config_makefile dlls/mscms/tests enable_tests
20419 wine_fn_config_makefile dlls/mscoree enable_mscoree
20420 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20421 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20422 wine_fn_config_makefile dlls/msctf enable_msctf
20423 wine_fn_config_makefile dlls/msctf/tests enable_tests
20424 wine_fn_config_makefile dlls/msctfp enable_msctfp
20425 wine_fn_config_makefile dlls/msdaps enable_msdaps
20426 wine_fn_config_makefile dlls/msdelta enable_msdelta
20427 wine_fn_config_makefile dlls/msdmo enable_msdmo
20428 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20429 wine_fn_config_makefile dlls/msdrm enable_msdrm
20430 wine_fn_config_makefile dlls/msftedit enable_msftedit
20431 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20432 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20433 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20434 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20435 wine_fn_config_makefile dlls/mshtml enable_mshtml
20436 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20437 wine_fn_config_makefile dlls/msi enable_msi
20438 wine_fn_config_makefile dlls/msi/tests enable_tests
20439 wine_fn_config_makefile dlls/msident enable_msident
20440 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20441 wine_fn_config_makefile dlls/msimsg enable_msimsg
20442 wine_fn_config_makefile dlls/msimtf enable_msimtf
20443 wine_fn_config_makefile dlls/msisip enable_msisip
20444 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20445 wine_fn_config_makefile dlls/msls31 enable_msls31
20446 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20447 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20448 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20449 wine_fn_config_makefile dlls/msports enable_msports
20450 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20451 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20452 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20453 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20454 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20455 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20456 wine_fn_config_makefile dlls/mstask enable_mstask
20457 wine_fn_config_makefile dlls/mstask/tests enable_tests
20458 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20459 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20460 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20461 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20462 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20463 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20464 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20465 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20466 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20467 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20468 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20469 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20470 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20471 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20472 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20473 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20474 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20475 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20476 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20477 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20478 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20479 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20480 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20481 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20482 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20483 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20484 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20485 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20486 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20487 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20488 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20489 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20490 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20491 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20492 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20493 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20494 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20495 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20496 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20497 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20498 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20499 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20500 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20501 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20502 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20503 wine_fn_config_makefile dlls/mswsock enable_mswsock
20504 wine_fn_config_makefile dlls/msxml enable_msxml
20505 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20506 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20507 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20508 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20509 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20510 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20511 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20512 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20513 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20514 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20515 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20516 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20517 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20518 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20519 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20520 wine_fn_config_makefile dlls/netprofm enable_netprofm
20521 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20522 wine_fn_config_makefile dlls/netutils enable_netutils
20523 wine_fn_config_makefile dlls/newdev enable_newdev
20524 wine_fn_config_makefile dlls/ninput enable_ninput
20525 wine_fn_config_makefile dlls/ninput/tests enable_tests
20526 wine_fn_config_makefile dlls/normaliz enable_normaliz
20527 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20528 wine_fn_config_makefile dlls/npptools enable_npptools
20529 wine_fn_config_makefile dlls/nsi enable_nsi
20530 wine_fn_config_makefile dlls/nsi/tests enable_tests
20531 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20532 wine_fn_config_makefile dlls/ntdll enable_ntdll
20533 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20534 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20535 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20536 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20537 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20538 wine_fn_config_makefile dlls/ntprint enable_ntprint
20539 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20540 wine_fn_config_makefile dlls/objsel enable_objsel
20541 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20542 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20543 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20544 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20545 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20546 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20547 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20548 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20549 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20550 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20551 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20552 wine_fn_config_makefile dlls/ole32 enable_ole32
20553 wine_fn_config_makefile dlls/ole32/tests enable_tests
20554 wine_fn_config_makefile dlls/oleacc enable_oleacc
20555 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20556 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20557 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20558 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20559 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20560 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20561 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20562 wine_fn_config_makefile dlls/oledlg enable_oledlg
20563 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20564 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20565 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20566 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20567 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20568 wine_fn_config_makefile dlls/opcservices enable_opcservices
20569 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20570 wine_fn_config_makefile dlls/openal32 enable_openal32
20571 wine_fn_config_makefile dlls/opencl enable_opencl
20572 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20573 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20574 wine_fn_config_makefile dlls/packager enable_packager
20575 wine_fn_config_makefile dlls/packager/tests enable_tests
20576 wine_fn_config_makefile dlls/pdh enable_pdh
20577 wine_fn_config_makefile dlls/pdh/tests enable_tests
20578 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20579 wine_fn_config_makefile dlls/pidgen enable_pidgen
20580 wine_fn_config_makefile dlls/powrprof enable_powrprof
20581 wine_fn_config_makefile dlls/printui enable_printui
20582 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20583 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20584 wine_fn_config_makefile dlls/propsys enable_propsys
20585 wine_fn_config_makefile dlls/propsys/tests enable_tests
20586 wine_fn_config_makefile dlls/psapi enable_psapi
20587 wine_fn_config_makefile dlls/psapi/tests enable_tests
20588 wine_fn_config_makefile dlls/pstorec enable_pstorec
20589 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20590 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20591 wine_fn_config_makefile dlls/qasf enable_qasf
20592 wine_fn_config_makefile dlls/qasf/tests enable_tests
20593 wine_fn_config_makefile dlls/qcap enable_qcap
20594 wine_fn_config_makefile dlls/qcap/tests enable_tests
20595 wine_fn_config_makefile dlls/qdvd enable_qdvd
20596 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20597 wine_fn_config_makefile dlls/qedit enable_qedit
20598 wine_fn_config_makefile dlls/qedit/tests enable_tests
20599 wine_fn_config_makefile dlls/qmgr enable_qmgr
20600 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20601 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20602 wine_fn_config_makefile dlls/quartz enable_quartz
20603 wine_fn_config_makefile dlls/quartz/tests enable_tests
20604 wine_fn_config_makefile dlls/query enable_query
20605 wine_fn_config_makefile dlls/qwave enable_qwave
20606 wine_fn_config_makefile dlls/qwave/tests enable_tests
20607 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20608 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20609 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20610 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20611 wine_fn_config_makefile dlls/regapi enable_regapi
20612 wine_fn_config_makefile dlls/resutils enable_resutils
20613 wine_fn_config_makefile dlls/riched20 enable_riched20
20614 wine_fn_config_makefile dlls/riched20/tests enable_tests
20615 wine_fn_config_makefile dlls/riched32 enable_riched32
20616 wine_fn_config_makefile dlls/riched32/tests enable_tests
20617 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20618 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20619 wine_fn_config_makefile dlls/rsabase enable_rsabase
20620 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20621 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20622 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20623 wine_fn_config_makefile dlls/rtutils enable_rtutils
20624 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20625 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20626 wine_fn_config_makefile dlls/samlib enable_samlib
20627 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20628 wine_fn_config_makefile dlls/sapi enable_sapi
20629 wine_fn_config_makefile dlls/sapi/tests enable_tests
20630 wine_fn_config_makefile dlls/sas enable_sas
20631 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20632 wine_fn_config_makefile dlls/sccbase enable_sccbase
20633 wine_fn_config_makefile dlls/schannel enable_schannel
20634 wine_fn_config_makefile dlls/schannel/tests enable_tests
20635 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20636 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20637 wine_fn_config_makefile dlls/scrobj enable_scrobj
20638 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20639 wine_fn_config_makefile dlls/scrrun enable_scrrun
20640 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20641 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20642 wine_fn_config_makefile dlls/sechost enable_sechost
20643 wine_fn_config_makefile dlls/secur32 enable_secur32
20644 wine_fn_config_makefile dlls/secur32/tests enable_tests
20645 wine_fn_config_makefile dlls/security enable_security
20646 wine_fn_config_makefile dlls/sensapi enable_sensapi
20647 wine_fn_config_makefile dlls/serialui enable_serialui
20648 wine_fn_config_makefile dlls/serialui/tests enable_tests
20649 wine_fn_config_makefile dlls/setupapi enable_setupapi
20650 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20651 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20652 wine_fn_config_makefile dlls/sfc enable_sfc
20653 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20654 wine_fn_config_makefile dlls/shcore enable_shcore
20655 wine_fn_config_makefile dlls/shcore/tests enable_tests
20656 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20657 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20658 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20659 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20660 wine_fn_config_makefile dlls/shell32 enable_shell32
20661 wine_fn_config_makefile dlls/shell32/tests enable_tests
20662 wine_fn_config_makefile dlls/shfolder enable_shfolder
20663 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20664 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20665 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20666 wine_fn_config_makefile dlls/slc enable_slc
20667 wine_fn_config_makefile dlls/slc/tests enable_tests
20668 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20669 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20670 wine_fn_config_makefile dlls/softpub enable_softpub
20671 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20672 wine_fn_config_makefile dlls/spoolss enable_spoolss
20673 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20674 wine_fn_config_makefile dlls/sppc enable_sppc
20675 wine_fn_config_makefile dlls/srclient enable_srclient
20676 wine_fn_config_makefile dlls/srvcli enable_srvcli
20677 wine_fn_config_makefile dlls/sspicli enable_sspicli
20678 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20679 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20680 wine_fn_config_makefile dlls/sti enable_sti
20681 wine_fn_config_makefile dlls/sti/tests enable_tests
20682 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20683 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20684 wine_fn_config_makefile dlls/strmbase enable_strmbase
20685 wine_fn_config_makefile dlls/strmdll enable_strmdll
20686 wine_fn_config_makefile dlls/svrapi enable_svrapi
20687 wine_fn_config_makefile dlls/sxs enable_sxs
20688 wine_fn_config_makefile dlls/sxs/tests enable_tests
20689 wine_fn_config_makefile dlls/system.drv16 enable_win16
20690 wine_fn_config_makefile dlls/t2embed enable_t2embed
20691 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20692 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20693 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20694 wine_fn_config_makefile dlls/taskschd enable_taskschd
20695 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20696 wine_fn_config_makefile dlls/tbs enable_tbs
20697 wine_fn_config_makefile dlls/tdh enable_tdh
20698 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20699 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20700 wine_fn_config_makefile dlls/traffic enable_traffic
20701 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20702 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20703 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20704 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20705 wine_fn_config_makefile dlls/tzres enable_tzres
20706 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20707 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20708 wine_fn_config_makefile dlls/uianimation enable_uianimation
20709 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20710 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20711 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20712 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20713 wine_fn_config_makefile dlls/unicows enable_unicows
20714 wine_fn_config_makefile dlls/updspapi enable_updspapi
20715 wine_fn_config_makefile dlls/url enable_url
20716 wine_fn_config_makefile dlls/urlmon enable_urlmon
20717 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20718 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20719 wine_fn_config_makefile dlls/user.exe16 enable_win16
20720 wine_fn_config_makefile dlls/user32 enable_user32
20721 wine_fn_config_makefile dlls/user32/tests enable_tests
20722 wine_fn_config_makefile dlls/userenv enable_userenv
20723 wine_fn_config_makefile dlls/userenv/tests enable_tests
20724 wine_fn_config_makefile dlls/usp10 enable_usp10
20725 wine_fn_config_makefile dlls/usp10/tests enable_tests
20726 wine_fn_config_makefile dlls/utildll enable_utildll
20727 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20728 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20729 wine_fn_config_makefile dlls/vbscript enable_vbscript
20730 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20731 wine_fn_config_makefile dlls/vcomp enable_vcomp
20732 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20733 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20734 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20735 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
20736 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20737 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20738 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20739 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20740 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20741 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20742 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20743 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20744 wine_fn_config_makefile dlls/version enable_version
20745 wine_fn_config_makefile dlls/version/tests enable_tests
20746 wine_fn_config_makefile dlls/vga enable_vga
20747 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20748 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20749 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20750 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20751 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20752 wine_fn_config_makefile dlls/vssapi enable_vssapi
20753 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20754 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20755 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20756 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20757 wine_fn_config_makefile dlls/w32skrnl enable_win16
20758 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20759 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20760 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20761 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20762 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20763 wine_fn_config_makefile dlls/wdscore enable_wdscore
20764 wine_fn_config_makefile dlls/webservices enable_webservices
20765 wine_fn_config_makefile dlls/webservices/tests enable_tests
20766 wine_fn_config_makefile dlls/websocket enable_websocket
20767 wine_fn_config_makefile dlls/wer enable_wer
20768 wine_fn_config_makefile dlls/wer/tests enable_tests
20769 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20770 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20771 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20772 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20773 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20774 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20775 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20776 wine_fn_config_makefile dlls/win32u enable_win32u
20777 wine_fn_config_makefile dlls/win32u/tests enable_tests
20778 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20779 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20780 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20781 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
20782 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
20783 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
20784 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
20785 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
20786 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
20787 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
20788 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
20789 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20790 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20791 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20792 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20793 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20794 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20795 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20796 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20797 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20798 wine_fn_config_makefile dlls/wined3d enable_wined3d
20799 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20800 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20801 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20802 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20803 wine_fn_config_makefile dlls/winemapi enable_winemapi
20804 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20805 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20806 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20807 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20808 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20809 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20810 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20811 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20812 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
20813 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20814 wine_fn_config_makefile dlls/wing32 enable_wing32
20815 wine_fn_config_makefile dlls/winhttp enable_winhttp
20816 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20817 wine_fn_config_makefile dlls/wininet enable_wininet
20818 wine_fn_config_makefile dlls/wininet/tests enable_tests
20819 wine_fn_config_makefile dlls/winmm enable_winmm
20820 wine_fn_config_makefile dlls/winmm/tests enable_tests
20821 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20822 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20823 wine_fn_config_makefile dlls/winscard enable_winscard
20824 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20825 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20826 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20827 wine_fn_config_makefile dlls/winsta enable_winsta
20828 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20829 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20830 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20831 wine_fn_config_makefile dlls/wintrust enable_wintrust
20832 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20833 wine_fn_config_makefile dlls/winusb enable_winusb
20834 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20835 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20836 wine_fn_config_makefile dlls/wlanui enable_wlanui
20837 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20838 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20839 wine_fn_config_makefile dlls/wmasf enable_wmasf
20840 wine_fn_config_makefile dlls/wmi enable_wmi
20841 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20842 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20843 wine_fn_config_makefile dlls/wmp enable_wmp
20844 wine_fn_config_makefile dlls/wmp/tests enable_tests
20845 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20846 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20847 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20848 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20849 wine_fn_config_makefile dlls/wow32 enable_win16
20850 wine_fn_config_makefile dlls/wow64 enable_wow64
20851 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
20852 wine_fn_config_makefile dlls/wow64win enable_wow64win
20853 wine_fn_config_makefile dlls/wpc enable_wpc
20854 wine_fn_config_makefile dlls/wpc/tests enable_tests
20855 wine_fn_config_makefile dlls/wpcap enable_wpcap
20856 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20857 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20858 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20859 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20860 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20861 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20862 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20863 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20864 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20865 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20866 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20867 wine_fn_config_makefile dlls/wuapi enable_wuapi
20868 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20869 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20870 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20871 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20872 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20873 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20874 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20875 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20876 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20877 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
20878 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
20879 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
20880 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
20881 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20882 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20883 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20884 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20885 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20886 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20887 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20888 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20889 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20890 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20891 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20892 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20893 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20894 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20895 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20896 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20897 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20898 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20899 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20900 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20901 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20902 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20903 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20904 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20905 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20906 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20907 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20908 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20909 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20910 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20911 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20912 wine_fn_config_makefile dlls/xmllite enable_xmllite
20913 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20914 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20915 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20916 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20917 wine_fn_config_makefile fonts enable_fonts
20918 wine_fn_config_makefile include enable_include
20919 wine_fn_config_makefile libs/adsiid enable_adsiid
20920 wine_fn_config_makefile libs/dmoguids enable_dmoguids
20921 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
20922 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
20923 wine_fn_config_makefile libs/dxguid enable_dxguid
20924 wine_fn_config_makefile libs/mfuuid enable_mfuuid
20925 wine_fn_config_makefile libs/strmiids enable_strmiids
20926 wine_fn_config_makefile libs/uuid enable_uuid
20927 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
20928 wine_fn_config_makefile libs/wine enable_wine
20929 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
20930 wine_fn_config_makefile loader enable_loader
20931 wine_fn_config_makefile nls enable_nls
20932 wine_fn_config_makefile po enable_po
20933 wine_fn_config_makefile programs/arp enable_arp
20934 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20935 wine_fn_config_makefile programs/attrib enable_attrib
20936 wine_fn_config_makefile programs/cabarc enable_cabarc
20937 wine_fn_config_makefile programs/cacls enable_cacls
20938 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20939 wine_fn_config_makefile programs/clock enable_clock
20940 wine_fn_config_makefile programs/cmd enable_cmd
20941 wine_fn_config_makefile programs/cmd/tests enable_tests
20942 wine_fn_config_makefile programs/conhost enable_conhost
20943 wine_fn_config_makefile programs/conhost/tests enable_tests
20944 wine_fn_config_makefile programs/control enable_control
20945 wine_fn_config_makefile programs/cscript enable_cscript
20946 wine_fn_config_makefile programs/dism enable_dism
20947 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20948 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20949 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20950 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20951 wine_fn_config_makefile programs/eject enable_eject
20952 wine_fn_config_makefile programs/expand enable_expand
20953 wine_fn_config_makefile programs/explorer enable_explorer
20954 wine_fn_config_makefile programs/extrac32 enable_extrac32
20955 wine_fn_config_makefile programs/fc enable_fc
20956 wine_fn_config_makefile programs/find enable_find
20957 wine_fn_config_makefile programs/find/tests enable_tests
20958 wine_fn_config_makefile programs/findstr enable_findstr
20959 wine_fn_config_makefile programs/fsutil enable_fsutil
20960 wine_fn_config_makefile programs/fsutil/tests enable_tests
20961 wine_fn_config_makefile programs/hh enable_hh
20962 wine_fn_config_makefile programs/hostname enable_hostname
20963 wine_fn_config_makefile programs/icacls enable_icacls
20964 wine_fn_config_makefile programs/icinfo enable_icinfo
20965 wine_fn_config_makefile programs/iexplore enable_iexplore
20966 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20967 wine_fn_config_makefile programs/lodctr enable_lodctr
20968 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20969 wine_fn_config_makefile programs/mshta enable_mshta
20970 wine_fn_config_makefile programs/msidb enable_msidb
20971 wine_fn_config_makefile programs/msiexec enable_msiexec
20972 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20973 wine_fn_config_makefile programs/net enable_net
20974 wine_fn_config_makefile programs/netsh enable_netsh
20975 wine_fn_config_makefile programs/netstat enable_netstat
20976 wine_fn_config_makefile programs/ngen enable_ngen
20977 wine_fn_config_makefile programs/notepad enable_notepad
20978 wine_fn_config_makefile programs/oleview enable_oleview
20979 wine_fn_config_makefile programs/ping enable_ping
20980 wine_fn_config_makefile programs/plugplay enable_plugplay
20981 wine_fn_config_makefile programs/powershell enable_powershell
20982 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20983 wine_fn_config_makefile programs/progman enable_progman
20984 wine_fn_config_makefile programs/reg enable_reg
20985 wine_fn_config_makefile programs/reg/tests enable_tests
20986 wine_fn_config_makefile programs/regasm enable_regasm
20987 wine_fn_config_makefile programs/regedit enable_regedit
20988 wine_fn_config_makefile programs/regedit/tests enable_tests
20989 wine_fn_config_makefile programs/regini enable_regini
20990 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20991 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20992 wine_fn_config_makefile programs/rpcss enable_rpcss
20993 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20994 wine_fn_config_makefile programs/rundll32 enable_rundll32
20995 wine_fn_config_makefile programs/sc enable_sc
20996 wine_fn_config_makefile programs/schtasks enable_schtasks
20997 wine_fn_config_makefile programs/schtasks/tests enable_tests
20998 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20999 wine_fn_config_makefile programs/secedit enable_secedit
21000 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21001 wine_fn_config_makefile programs/services enable_services
21002 wine_fn_config_makefile programs/services/tests enable_tests
21003 wine_fn_config_makefile programs/shutdown enable_shutdown
21004 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21005 wine_fn_config_makefile programs/start enable_start
21006 wine_fn_config_makefile programs/subst enable_subst
21007 wine_fn_config_makefile programs/svchost enable_svchost
21008 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21009 wine_fn_config_makefile programs/taskkill enable_taskkill
21010 wine_fn_config_makefile programs/tasklist enable_tasklist
21011 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21012 wine_fn_config_makefile programs/termsv enable_termsv
21013 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21014 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21015 wine_fn_config_makefile programs/view enable_view
21016 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21017 wine_fn_config_makefile programs/where enable_where
21018 wine_fn_config_makefile programs/whoami enable_whoami
21019 wine_fn_config_makefile programs/wineboot enable_wineboot
21020 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21021 wine_fn_config_makefile programs/winecfg enable_winecfg
21022 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21023 wine_fn_config_makefile programs/winedbg enable_winedbg
21024 wine_fn_config_makefile programs/winedevice enable_winedevice
21025 wine_fn_config_makefile programs/winefile enable_winefile
21026 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21027 wine_fn_config_makefile programs/winemine enable_winemine
21028 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21029 wine_fn_config_makefile programs/winepath enable_winepath
21030 wine_fn_config_makefile programs/winetest enable_winetest
21031 wine_fn_config_makefile programs/winevdm enable_win16
21032 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21033 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21034 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21035 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21036 wine_fn_config_makefile programs/winver enable_winver
21037 wine_fn_config_makefile programs/wmic enable_wmic
21038 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21039 wine_fn_config_makefile programs/wordpad enable_wordpad
21040 wine_fn_config_makefile programs/write enable_write
21041 wine_fn_config_makefile programs/wscript enable_wscript
21042 wine_fn_config_makefile programs/wscript/tests enable_tests
21043 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21044 wine_fn_config_makefile programs/wusa enable_wusa
21045 wine_fn_config_makefile programs/xcopy enable_xcopy
21046 wine_fn_config_makefile programs/xcopy/tests enable_tests
21047 wine_fn_config_makefile server enable_server
21048 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21049 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21052 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21053 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21054 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21055 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21056 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21059 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21060 wine_fn_append_file CONFIGURE_TARGETS "tags"
21061 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21062 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21063 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21064 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21065 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21066 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21068 if test "x$enable_tools" != xno
21069 then
21070 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21071 ac_config_commands="$ac_config_commands tools/makedep"
21075 ac_config_commands="$ac_config_commands Makefile"
21078 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21082 if test "x$enable_maintainer_mode" = xyes
21083 then
21084 wine_fn_append_rule "configure: configure.ac aclocal.m4
21085 autoconf --warnings=all
21086 include/config.h.in: include/stamp-h.in
21087 include/stamp-h.in: configure.ac aclocal.m4
21088 autoheader --warnings=all
21089 @echo timestamp > \$@"
21092 if test "x$enable_tools" != xno
21093 then
21094 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21095 @./config.status tools/makedep
21096 Makefile: tools/makedep$ac_exeext"
21097 else
21098 wine_fn_append_rule "\$(MAKEDEP):
21099 @echo \"You need to run make in $TOOLSDIR first\" && false"
21102 if test -n "$with_wine64"
21103 then
21104 case "$with_wine64" in
21105 /*) reldir="" ;;
21106 *) reldir="../" ;;
21107 esac
21108 rm -f fonts server 2>/dev/null
21109 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21110 loader/wine64 loader/wine64-preloader:
21111 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21112 $with_wine64/loader/wine:
21113 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21114 $with_wine64/loader/wine-preloader:
21115 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21116 clean::
21117 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21118 else
21119 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21120 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21121 fonts \
21122 loader/wine.inf \
21123 nls \
21124 programs/msidb/msidb \
21125 programs/msiexec/msiexec \
21126 programs/notepad/notepad \
21127 programs/regedit/regedit \
21128 programs/regsvr32/regsvr32 \
21129 programs/wineboot/wineboot \
21130 programs/winecfg/winecfg \
21131 programs/wineconsole/wineconsole \
21132 programs/winedbg/winedbg \
21133 programs/winefile/winefile \
21134 programs/winemine/winemine \
21135 programs/winepath/winepath \
21136 server/wineserver"
21138 case $host_os in
21139 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21140 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21141 esac
21144 $as_echo " done" >&6
21145 cat >confcache <<\_ACEOF
21146 # This file is a shell script that caches the results of configure
21147 # tests run on this system so they can be shared between configure
21148 # scripts and configure runs, see configure's option --config-cache.
21149 # It is not useful on other systems. If it contains results you don't
21150 # want to keep, you may remove or edit it.
21152 # config.status only pays attention to the cache file if you give it
21153 # the --recheck option to rerun configure.
21155 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21156 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21157 # following values.
21159 _ACEOF
21161 # The following way of writing the cache mishandles newlines in values,
21162 # but we know of no workaround that is simple, portable, and efficient.
21163 # So, we kill variables containing newlines.
21164 # Ultrix sh set writes to stderr and can't be redirected directly,
21165 # and sets the high bit in the cache file unless we assign to the vars.
21167 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21168 eval ac_val=\$$ac_var
21169 case $ac_val in #(
21170 *${as_nl}*)
21171 case $ac_var in #(
21172 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21173 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21174 esac
21175 case $ac_var in #(
21176 _ | IFS | as_nl) ;; #(
21177 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21178 *) { eval $ac_var=; unset $ac_var;} ;;
21179 esac ;;
21180 esac
21181 done
21183 (set) 2>&1 |
21184 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21185 *${as_nl}ac_space=\ *)
21186 # `set' does not quote correctly, so add quotes: double-quote
21187 # substitution turns \\\\ into \\, and sed turns \\ into \.
21188 sed -n \
21189 "s/'/'\\\\''/g;
21190 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21191 ;; #(
21193 # `set' quotes correctly as required by POSIX, so do not add quotes.
21194 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21196 esac |
21197 sort
21199 sed '
21200 /^ac_cv_env_/b end
21201 t clear
21202 :clear
21203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21204 t end
21205 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21206 :end' >>confcache
21207 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21208 if test -w "$cache_file"; then
21209 if test "x$cache_file" != "x/dev/null"; then
21210 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21211 $as_echo "$as_me: updating cache $cache_file" >&6;}
21212 if test ! -f "$cache_file" || test -h "$cache_file"; then
21213 cat confcache >"$cache_file"
21214 else
21215 case $cache_file in #(
21216 */* | ?:*)
21217 mv -f confcache "$cache_file"$$ &&
21218 mv -f "$cache_file"$$ "$cache_file" ;; #(
21220 mv -f confcache "$cache_file" ;;
21221 esac
21224 else
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21226 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21229 rm -f confcache
21231 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21232 # Let make expand exec_prefix.
21233 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21235 DEFS=-DHAVE_CONFIG_H
21237 ac_libobjs=
21238 ac_ltlibobjs=
21240 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21241 # 1. Remove the extension, and $U if already installed.
21242 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21243 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21244 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21245 # will be set to the directory where LIBOBJS objects are built.
21246 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21247 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21248 done
21249 LIBOBJS=$ac_libobjs
21251 LTLIBOBJS=$ac_ltlibobjs
21255 : "${CONFIG_STATUS=./config.status}"
21256 ac_write_fail=0
21257 ac_clean_files_save=$ac_clean_files
21258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21260 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21261 as_write_fail=0
21262 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21263 #! $SHELL
21264 # Generated by $as_me.
21265 # Run this file to recreate the current configuration.
21266 # Compiler output produced by configure, useful for debugging
21267 # configure, is in config.log if it exists.
21269 debug=false
21270 ac_cs_recheck=false
21271 ac_cs_silent=false
21273 SHELL=\${CONFIG_SHELL-$SHELL}
21274 export SHELL
21275 _ASEOF
21276 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21277 ## -------------------- ##
21278 ## M4sh Initialization. ##
21279 ## -------------------- ##
21281 # Be more Bourne compatible
21282 DUALCASE=1; export DUALCASE # for MKS sh
21283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21284 emulate sh
21285 NULLCMD=:
21286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21287 # is contrary to our usage. Disable this feature.
21288 alias -g '${1+"$@"}'='"$@"'
21289 setopt NO_GLOB_SUBST
21290 else
21291 case `(set -o) 2>/dev/null` in #(
21292 *posix*) :
21293 set -o posix ;; #(
21294 *) :
21296 esac
21300 as_nl='
21302 export as_nl
21303 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21304 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21305 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21306 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21307 # Prefer a ksh shell builtin over an external printf program on Solaris,
21308 # but without wasting forks for bash or zsh.
21309 if test -z "$BASH_VERSION$ZSH_VERSION" \
21310 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21311 as_echo='print -r --'
21312 as_echo_n='print -rn --'
21313 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21314 as_echo='printf %s\n'
21315 as_echo_n='printf %s'
21316 else
21317 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21318 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21319 as_echo_n='/usr/ucb/echo -n'
21320 else
21321 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21322 as_echo_n_body='eval
21323 arg=$1;
21324 case $arg in #(
21325 *"$as_nl"*)
21326 expr "X$arg" : "X\\(.*\\)$as_nl";
21327 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21328 esac;
21329 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21331 export as_echo_n_body
21332 as_echo_n='sh -c $as_echo_n_body as_echo'
21334 export as_echo_body
21335 as_echo='sh -c $as_echo_body as_echo'
21338 # The user is always right.
21339 if test "${PATH_SEPARATOR+set}" != set; then
21340 PATH_SEPARATOR=:
21341 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21342 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21343 PATH_SEPARATOR=';'
21348 # IFS
21349 # We need space, tab and new line, in precisely that order. Quoting is
21350 # there to prevent editors from complaining about space-tab.
21351 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21352 # splitting by setting IFS to empty value.)
21353 IFS=" "" $as_nl"
21355 # Find who we are. Look in the path if we contain no directory separator.
21356 as_myself=
21357 case $0 in #((
21358 *[\\/]* ) as_myself=$0 ;;
21359 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21360 for as_dir in $PATH
21362 IFS=$as_save_IFS
21363 test -z "$as_dir" && as_dir=.
21364 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21365 done
21366 IFS=$as_save_IFS
21369 esac
21370 # We did not find ourselves, most probably we were run as `sh COMMAND'
21371 # in which case we are not to be found in the path.
21372 if test "x$as_myself" = x; then
21373 as_myself=$0
21375 if test ! -f "$as_myself"; then
21376 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21377 exit 1
21380 # Unset variables that we do not need and which cause bugs (e.g. in
21381 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21382 # suppresses any "Segmentation fault" message there. '((' could
21383 # trigger a bug in pdksh 5.2.14.
21384 for as_var in BASH_ENV ENV MAIL MAILPATH
21385 do eval test x\${$as_var+set} = xset \
21386 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21387 done
21388 PS1='$ '
21389 PS2='> '
21390 PS4='+ '
21392 # NLS nuisances.
21393 LC_ALL=C
21394 export LC_ALL
21395 LANGUAGE=C
21396 export LANGUAGE
21398 # CDPATH.
21399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21403 # ----------------------------------------
21404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21406 # script with STATUS, using 1 if that was 0.
21407 as_fn_error ()
21409 as_status=$1; test $as_status -eq 0 && as_status=1
21410 if test "$4"; then
21411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21414 $as_echo "$as_me: error: $2" >&2
21415 as_fn_exit $as_status
21416 } # as_fn_error
21419 # as_fn_set_status STATUS
21420 # -----------------------
21421 # Set $? to STATUS, without forking.
21422 as_fn_set_status ()
21424 return $1
21425 } # as_fn_set_status
21427 # as_fn_exit STATUS
21428 # -----------------
21429 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21430 as_fn_exit ()
21432 set +e
21433 as_fn_set_status $1
21434 exit $1
21435 } # as_fn_exit
21437 # as_fn_unset VAR
21438 # ---------------
21439 # Portably unset VAR.
21440 as_fn_unset ()
21442 { eval $1=; unset $1;}
21444 as_unset=as_fn_unset
21445 # as_fn_append VAR VALUE
21446 # ----------------------
21447 # Append the text in VALUE to the end of the definition contained in VAR. Take
21448 # advantage of any shell optimizations that allow amortized linear growth over
21449 # repeated appends, instead of the typical quadratic growth present in naive
21450 # implementations.
21451 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21452 eval 'as_fn_append ()
21454 eval $1+=\$2
21456 else
21457 as_fn_append ()
21459 eval $1=\$$1\$2
21461 fi # as_fn_append
21463 # as_fn_arith ARG...
21464 # ------------------
21465 # Perform arithmetic evaluation on the ARGs, and store the result in the
21466 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21467 # must be portable across $(()) and expr.
21468 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21469 eval 'as_fn_arith ()
21471 as_val=$(( $* ))
21473 else
21474 as_fn_arith ()
21476 as_val=`expr "$@" || test $? -eq 1`
21478 fi # as_fn_arith
21481 if expr a : '\(a\)' >/dev/null 2>&1 &&
21482 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21483 as_expr=expr
21484 else
21485 as_expr=false
21488 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21489 as_basename=basename
21490 else
21491 as_basename=false
21494 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21495 as_dirname=dirname
21496 else
21497 as_dirname=false
21500 as_me=`$as_basename -- "$0" ||
21501 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21502 X"$0" : 'X\(//\)$' \| \
21503 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21504 $as_echo X/"$0" |
21505 sed '/^.*\/\([^/][^/]*\)\/*$/{
21506 s//\1/
21509 /^X\/\(\/\/\)$/{
21510 s//\1/
21513 /^X\/\(\/\).*/{
21514 s//\1/
21517 s/.*/./; q'`
21519 # Avoid depending upon Character Ranges.
21520 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21521 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21522 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21523 as_cr_digits='0123456789'
21524 as_cr_alnum=$as_cr_Letters$as_cr_digits
21526 ECHO_C= ECHO_N= ECHO_T=
21527 case `echo -n x` in #(((((
21528 -n*)
21529 case `echo 'xy\c'` in
21530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21531 xy) ECHO_C='\c';;
21532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21533 ECHO_T=' ';;
21534 esac;;
21536 ECHO_N='-n';;
21537 esac
21539 rm -f conf$$ conf$$.exe conf$$.file
21540 if test -d conf$$.dir; then
21541 rm -f conf$$.dir/conf$$.file
21542 else
21543 rm -f conf$$.dir
21544 mkdir conf$$.dir 2>/dev/null
21546 if (echo >conf$$.file) 2>/dev/null; then
21547 if ln -s conf$$.file conf$$ 2>/dev/null; then
21548 as_ln_s='ln -s'
21549 # ... but there are two gotchas:
21550 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21551 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21552 # In both cases, we have to default to `cp -pR'.
21553 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21554 as_ln_s='cp -pR'
21555 elif ln conf$$.file conf$$ 2>/dev/null; then
21556 as_ln_s=ln
21557 else
21558 as_ln_s='cp -pR'
21560 else
21561 as_ln_s='cp -pR'
21563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21564 rmdir conf$$.dir 2>/dev/null
21567 # as_fn_mkdir_p
21568 # -------------
21569 # Create "$as_dir" as a directory, including parents if necessary.
21570 as_fn_mkdir_p ()
21573 case $as_dir in #(
21574 -*) as_dir=./$as_dir;;
21575 esac
21576 test -d "$as_dir" || eval $as_mkdir_p || {
21577 as_dirs=
21578 while :; do
21579 case $as_dir in #(
21580 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21581 *) as_qdir=$as_dir;;
21582 esac
21583 as_dirs="'$as_qdir' $as_dirs"
21584 as_dir=`$as_dirname -- "$as_dir" ||
21585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21586 X"$as_dir" : 'X\(//\)[^/]' \| \
21587 X"$as_dir" : 'X\(//\)$' \| \
21588 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21589 $as_echo X"$as_dir" |
21590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21591 s//\1/
21594 /^X\(\/\/\)[^/].*/{
21595 s//\1/
21598 /^X\(\/\/\)$/{
21599 s//\1/
21602 /^X\(\/\).*/{
21603 s//\1/
21606 s/.*/./; q'`
21607 test -d "$as_dir" && break
21608 done
21609 test -z "$as_dirs" || eval "mkdir $as_dirs"
21610 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21613 } # as_fn_mkdir_p
21614 if mkdir -p . 2>/dev/null; then
21615 as_mkdir_p='mkdir -p "$as_dir"'
21616 else
21617 test -d ./-p && rmdir ./-p
21618 as_mkdir_p=false
21622 # as_fn_executable_p FILE
21623 # -----------------------
21624 # Test if FILE is an executable regular file.
21625 as_fn_executable_p ()
21627 test -f "$1" && test -x "$1"
21628 } # as_fn_executable_p
21629 as_test_x='test -x'
21630 as_executable_p=as_fn_executable_p
21632 # Sed expression to map a string onto a valid CPP name.
21633 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21635 # Sed expression to map a string onto a valid variable name.
21636 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21639 exec 6>&1
21640 ## ----------------------------------- ##
21641 ## Main body of $CONFIG_STATUS script. ##
21642 ## ----------------------------------- ##
21643 _ASEOF
21644 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21647 # Save the log message, to keep $0 and so on meaningful, and to
21648 # report actual input values of CONFIG_FILES etc. instead of their
21649 # values after options handling.
21650 ac_log="
21651 This file was extended by Wine $as_me 6.19, which was
21652 generated by GNU Autoconf 2.69. Invocation command line was
21654 CONFIG_FILES = $CONFIG_FILES
21655 CONFIG_HEADERS = $CONFIG_HEADERS
21656 CONFIG_LINKS = $CONFIG_LINKS
21657 CONFIG_COMMANDS = $CONFIG_COMMANDS
21658 $ $0 $@
21660 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21663 _ACEOF
21665 case $ac_config_files in *"
21666 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21667 esac
21669 case $ac_config_headers in *"
21670 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21671 esac
21674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21675 # Files that config.status was made for.
21676 config_files="$ac_config_files"
21677 config_headers="$ac_config_headers"
21678 config_links="$ac_config_links"
21679 config_commands="$ac_config_commands"
21681 _ACEOF
21683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21684 ac_cs_usage="\
21685 \`$as_me' instantiates files and other configuration actions
21686 from templates according to the current configuration. Unless the files
21687 and actions are specified as TAGs, all are instantiated by default.
21689 Usage: $0 [OPTION]... [TAG]...
21691 -h, --help print this help, then exit
21692 -V, --version print version number and configuration settings, then exit
21693 --config print configuration, then exit
21694 -q, --quiet, --silent
21695 do not print progress messages
21696 -d, --debug don't remove temporary files
21697 --recheck update $as_me by reconfiguring in the same conditions
21698 --file=FILE[:TEMPLATE]
21699 instantiate the configuration file FILE
21700 --header=FILE[:TEMPLATE]
21701 instantiate the configuration header FILE
21703 Configuration files:
21704 $config_files
21706 Configuration headers:
21707 $config_headers
21709 Configuration links:
21710 $config_links
21712 Configuration commands:
21713 $config_commands
21715 Report bugs to <wine-devel@winehq.org>.
21716 Wine home page: <https://www.winehq.org>."
21718 _ACEOF
21719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21720 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21721 ac_cs_version="\\
21722 Wine config.status 6.19
21723 configured by $0, generated by GNU Autoconf 2.69,
21724 with options \\"\$ac_cs_config\\"
21726 Copyright (C) 2012 Free Software Foundation, Inc.
21727 This config.status script is free software; the Free Software Foundation
21728 gives unlimited permission to copy, distribute and modify it."
21730 ac_pwd='$ac_pwd'
21731 srcdir='$srcdir'
21732 test -n "\$AWK" || AWK=awk
21733 _ACEOF
21735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21736 # The default lists apply if the user does not specify any file.
21737 ac_need_defaults=:
21738 while test $# != 0
21740 case $1 in
21741 --*=?*)
21742 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21743 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21744 ac_shift=:
21746 --*=)
21747 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21748 ac_optarg=
21749 ac_shift=:
21752 ac_option=$1
21753 ac_optarg=$2
21754 ac_shift=shift
21756 esac
21758 case $ac_option in
21759 # Handling of the options.
21760 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21761 ac_cs_recheck=: ;;
21762 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21763 $as_echo "$ac_cs_version"; exit ;;
21764 --config | --confi | --conf | --con | --co | --c )
21765 $as_echo "$ac_cs_config"; exit ;;
21766 --debug | --debu | --deb | --de | --d | -d )
21767 debug=: ;;
21768 --file | --fil | --fi | --f )
21769 $ac_shift
21770 case $ac_optarg in
21771 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21772 '') as_fn_error $? "missing file argument" ;;
21773 esac
21774 as_fn_append CONFIG_FILES " '$ac_optarg'"
21775 ac_need_defaults=false;;
21776 --header | --heade | --head | --hea )
21777 $ac_shift
21778 case $ac_optarg in
21779 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21780 esac
21781 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21782 ac_need_defaults=false;;
21783 --he | --h)
21784 # Conflict between --help and --header
21785 as_fn_error $? "ambiguous option: \`$1'
21786 Try \`$0 --help' for more information.";;
21787 --help | --hel | -h )
21788 $as_echo "$ac_cs_usage"; exit ;;
21789 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21790 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21791 ac_cs_silent=: ;;
21793 # This is an error.
21794 -*) as_fn_error $? "unrecognized option: \`$1'
21795 Try \`$0 --help' for more information." ;;
21797 *) as_fn_append ac_config_targets " $1"
21798 ac_need_defaults=false ;;
21800 esac
21801 shift
21802 done
21804 ac_configure_extra_args=
21806 if $ac_cs_silent; then
21807 exec 6>/dev/null
21808 ac_configure_extra_args="$ac_configure_extra_args --silent"
21811 _ACEOF
21812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21813 if \$ac_cs_recheck; then
21814 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21815 shift
21816 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21817 CONFIG_SHELL='$SHELL'
21818 export CONFIG_SHELL
21819 exec "\$@"
21822 _ACEOF
21823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21824 exec 5>>config.log
21826 echo
21827 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21828 ## Running $as_me. ##
21829 _ASBOX
21830 $as_echo "$ac_log"
21831 } >&5
21833 _ACEOF
21834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21836 # INIT-COMMANDS
21838 wine_fn_output_makedep ()
21840 as_dir=tools; as_fn_mkdir_p
21841 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21843 wine_fn_output_makefile ()
21845 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
21846 `cat $wine_rules_file`
21847 _WINE_EOF
21848 as_fn_error $? "could not create Makefile" "$LINENO" 5
21851 _ACEOF
21853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21855 # Handling of arguments.
21856 for ac_config_target in $ac_config_targets
21858 case $ac_config_target in
21859 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21860 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21861 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21862 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21863 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21864 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21865 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21867 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21868 esac
21869 done
21872 # If the user did not use the arguments to specify the items to instantiate,
21873 # then the envvar interface is used. Set only those that are not.
21874 # We use the long form for the default assignment because of an extremely
21875 # bizarre bug on SunOS 4.1.3.
21876 if $ac_need_defaults; then
21877 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21878 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21879 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21880 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21883 # Have a temporary directory for convenience. Make it in the build tree
21884 # simply because there is no reason against having it here, and in addition,
21885 # creating and moving files from /tmp can sometimes cause problems.
21886 # Hook for its removal unless debugging.
21887 # Note that there is a small window in which the directory will not be cleaned:
21888 # after its creation but before its name has been assigned to `$tmp'.
21889 $debug ||
21891 tmp= ac_tmp=
21892 trap 'exit_status=$?
21893 : "${ac_tmp:=$tmp}"
21894 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21896 trap 'as_fn_exit 1' 1 2 13 15
21898 # Create a (secure) tmp directory for tmp files.
21901 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21902 test -d "$tmp"
21903 } ||
21905 tmp=./conf$$-$RANDOM
21906 (umask 077 && mkdir "$tmp")
21907 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21908 ac_tmp=$tmp
21910 # Set up the scripts for CONFIG_FILES section.
21911 # No need to generate them if there are no CONFIG_FILES.
21912 # This happens for instance with `./config.status config.h'.
21913 if test -n "$CONFIG_FILES"; then
21916 ac_cr=`echo X | tr X '\015'`
21917 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21918 # But we know of no other shell where ac_cr would be empty at this
21919 # point, so we can use a bashism as a fallback.
21920 if test "x$ac_cr" = x; then
21921 eval ac_cr=\$\'\\r\'
21923 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21924 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21925 ac_cs_awk_cr='\\r'
21926 else
21927 ac_cs_awk_cr=$ac_cr
21930 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21931 _ACEOF
21935 echo "cat >conf$$subs.awk <<_ACEOF" &&
21936 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21937 echo "_ACEOF"
21938 } >conf$$subs.sh ||
21939 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21940 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21941 ac_delim='%!_!# '
21942 for ac_last_try in false false false false false :; do
21943 . ./conf$$subs.sh ||
21944 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21946 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21947 if test $ac_delim_n = $ac_delim_num; then
21948 break
21949 elif $ac_last_try; then
21950 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21951 else
21952 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21954 done
21955 rm -f conf$$subs.sh
21957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21958 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21959 _ACEOF
21960 sed -n '
21962 s/^/S["/; s/!.*/"]=/
21965 s/^[^!]*!//
21966 :repl
21967 t repl
21968 s/'"$ac_delim"'$//
21969 t delim
21972 s/\(.\{148\}\)..*/\1/
21973 t more1
21974 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21977 b repl
21978 :more1
21979 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21982 s/.\{148\}//
21983 t nl
21984 :delim
21986 s/\(.\{148\}\)..*/\1/
21987 t more2
21988 s/["\\]/\\&/g; s/^/"/; s/$/"/
21991 :more2
21992 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21995 s/.\{148\}//
21996 t delim
21997 ' <conf$$subs.awk | sed '
21998 /^[^""]/{
22000 s/\n//
22002 ' >>$CONFIG_STATUS || ac_write_fail=1
22003 rm -f conf$$subs.awk
22004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22005 _ACAWK
22006 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22007 for (key in S) S_is_set[key] = 1
22008 FS = "\a"
22012 line = $ 0
22013 nfields = split(line, field, "@")
22014 substed = 0
22015 len = length(field[1])
22016 for (i = 2; i < nfields; i++) {
22017 key = field[i]
22018 keylen = length(key)
22019 if (S_is_set[key]) {
22020 value = S[key]
22021 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22022 len += length(value) + length(field[++i])
22023 substed = 1
22024 } else
22025 len += 1 + keylen
22028 print line
22031 _ACAWK
22032 _ACEOF
22033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22034 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22035 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22036 else
22038 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22039 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22040 _ACEOF
22042 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22043 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22044 # trailing colons and then remove the whole line if VPATH becomes empty
22045 # (actually we leave an empty line to preserve line numbers).
22046 if test "x$srcdir" = x.; then
22047 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22049 s///
22050 s/^/:/
22051 s/[ ]*$/:/
22052 s/:\$(srcdir):/:/g
22053 s/:\${srcdir}:/:/g
22054 s/:@srcdir@:/:/g
22055 s/^:*//
22056 s/:*$//
22058 s/\(=[ ]*\).*/\1/
22060 s/\n//
22061 s/^[^=]*=[ ]*$//
22065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22066 fi # test -n "$CONFIG_FILES"
22068 # Set up the scripts for CONFIG_HEADERS section.
22069 # No need to generate them if there are no CONFIG_HEADERS.
22070 # This happens for instance with `./config.status Makefile'.
22071 if test -n "$CONFIG_HEADERS"; then
22072 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22073 BEGIN {
22074 _ACEOF
22076 # Transform confdefs.h into an awk script `defines.awk', embedded as
22077 # here-document in config.status, that substitutes the proper values into
22078 # config.h.in to produce config.h.
22080 # Create a delimiter string that does not exist in confdefs.h, to ease
22081 # handling of long lines.
22082 ac_delim='%!_!# '
22083 for ac_last_try in false false :; do
22084 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22085 if test -z "$ac_tt"; then
22086 break
22087 elif $ac_last_try; then
22088 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22089 else
22090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22092 done
22094 # For the awk script, D is an array of macro values keyed by name,
22095 # likewise P contains macro parameters if any. Preserve backslash
22096 # newline sequences.
22098 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22099 sed -n '
22100 s/.\{148\}/&'"$ac_delim"'/g
22101 t rset
22102 :rset
22103 s/^[ ]*#[ ]*define[ ][ ]*/ /
22104 t def
22106 :def
22107 s/\\$//
22108 t bsnl
22109 s/["\\]/\\&/g
22110 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22111 D["\1"]=" \3"/p
22112 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22114 :bsnl
22115 s/["\\]/\\&/g
22116 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22117 D["\1"]=" \3\\\\\\n"\\/p
22118 t cont
22119 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22120 t cont
22122 :cont
22124 s/.\{148\}/&'"$ac_delim"'/g
22125 t clear
22126 :clear
22127 s/\\$//
22128 t bsnlc
22129 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22131 :bsnlc
22132 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22133 b cont
22134 ' <confdefs.h | sed '
22135 s/'"$ac_delim"'/"\\\
22136 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22139 for (key in D) D_is_set[key] = 1
22140 FS = "\a"
22142 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22143 line = \$ 0
22144 split(line, arg, " ")
22145 if (arg[1] == "#") {
22146 defundef = arg[2]
22147 mac1 = arg[3]
22148 } else {
22149 defundef = substr(arg[1], 2)
22150 mac1 = arg[2]
22152 split(mac1, mac2, "(") #)
22153 macro = mac2[1]
22154 prefix = substr(line, 1, index(line, defundef) - 1)
22155 if (D_is_set[macro]) {
22156 # Preserve the white space surrounding the "#".
22157 print prefix "define", macro P[macro] D[macro]
22158 next
22159 } else {
22160 # Replace #undef with comments. This is necessary, for example,
22161 # in the case of _POSIX_SOURCE, which is predefined and required
22162 # on some systems where configure will not decide to define it.
22163 if (defundef == "undef") {
22164 print "/*", prefix defundef, macro, "*/"
22165 next
22169 { print }
22170 _ACAWK
22171 _ACEOF
22172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22173 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22174 fi # test -n "$CONFIG_HEADERS"
22177 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22178 shift
22179 for ac_tag
22181 case $ac_tag in
22182 :[FHLC]) ac_mode=$ac_tag; continue;;
22183 esac
22184 case $ac_mode$ac_tag in
22185 :[FHL]*:*);;
22186 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22187 :[FH]-) ac_tag=-:-;;
22188 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22189 esac
22190 ac_save_IFS=$IFS
22191 IFS=:
22192 set x $ac_tag
22193 IFS=$ac_save_IFS
22194 shift
22195 ac_file=$1
22196 shift
22198 case $ac_mode in
22199 :L) ac_source=$1;;
22200 :[FH])
22201 ac_file_inputs=
22202 for ac_f
22204 case $ac_f in
22205 -) ac_f="$ac_tmp/stdin";;
22206 *) # Look for the file first in the build tree, then in the source tree
22207 # (if the path is not absolute). The absolute path cannot be DOS-style,
22208 # because $ac_f cannot contain `:'.
22209 test -f "$ac_f" ||
22210 case $ac_f in
22211 [\\/$]*) false;;
22212 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22213 esac ||
22214 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22215 esac
22216 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22217 as_fn_append ac_file_inputs " '$ac_f'"
22218 done
22220 # Let's still pretend it is `configure' which instantiates (i.e., don't
22221 # use $as_me), people would be surprised to read:
22222 # /* config.h. Generated by config.status. */
22223 configure_input='Generated from '`
22224 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22225 `' by configure.'
22226 if test x"$ac_file" != x-; then
22227 configure_input="$ac_file. $configure_input"
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22229 $as_echo "$as_me: creating $ac_file" >&6;}
22231 # Neutralize special characters interpreted by sed in replacement strings.
22232 case $configure_input in #(
22233 *\&* | *\|* | *\\* )
22234 ac_sed_conf_input=`$as_echo "$configure_input" |
22235 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22236 *) ac_sed_conf_input=$configure_input;;
22237 esac
22239 case $ac_tag in
22240 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22242 esac
22244 esac
22246 ac_dir=`$as_dirname -- "$ac_file" ||
22247 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22248 X"$ac_file" : 'X\(//\)[^/]' \| \
22249 X"$ac_file" : 'X\(//\)$' \| \
22250 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22251 $as_echo X"$ac_file" |
22252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22253 s//\1/
22256 /^X\(\/\/\)[^/].*/{
22257 s//\1/
22260 /^X\(\/\/\)$/{
22261 s//\1/
22264 /^X\(\/\).*/{
22265 s//\1/
22268 s/.*/./; q'`
22269 as_dir="$ac_dir"; as_fn_mkdir_p
22270 ac_builddir=.
22272 case "$ac_dir" in
22273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22275 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22276 # A ".." for each directory in $ac_dir_suffix.
22277 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22278 case $ac_top_builddir_sub in
22279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22281 esac ;;
22282 esac
22283 ac_abs_top_builddir=$ac_pwd
22284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22285 # for backward compatibility:
22286 ac_top_builddir=$ac_top_build_prefix
22288 case $srcdir in
22289 .) # We are building in place.
22290 ac_srcdir=.
22291 ac_top_srcdir=$ac_top_builddir_sub
22292 ac_abs_top_srcdir=$ac_pwd ;;
22293 [\\/]* | ?:[\\/]* ) # Absolute name.
22294 ac_srcdir=$srcdir$ac_dir_suffix;
22295 ac_top_srcdir=$srcdir
22296 ac_abs_top_srcdir=$srcdir ;;
22297 *) # Relative name.
22298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22299 ac_top_srcdir=$ac_top_build_prefix$srcdir
22300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22301 esac
22302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22305 case $ac_mode in
22308 # CONFIG_FILE
22311 _ACEOF
22313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22314 # If the template does not know about datarootdir, expand it.
22315 # FIXME: This hack should be removed a few years after 2.60.
22316 ac_datarootdir_hack=; ac_datarootdir_seen=
22317 ac_sed_dataroot='
22318 /datarootdir/ {
22322 /@datadir@/p
22323 /@docdir@/p
22324 /@infodir@/p
22325 /@localedir@/p
22326 /@mandir@/p'
22327 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22328 *datarootdir*) ac_datarootdir_seen=yes;;
22329 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22331 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22332 _ACEOF
22333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22334 ac_datarootdir_hack='
22335 s&@datadir@&$datadir&g
22336 s&@docdir@&$docdir&g
22337 s&@infodir@&$infodir&g
22338 s&@localedir@&$localedir&g
22339 s&@mandir@&$mandir&g
22340 s&\\\${datarootdir}&$datarootdir&g' ;;
22341 esac
22342 _ACEOF
22344 # Neutralize VPATH when `$srcdir' = `.'.
22345 # Shell code in configure.ac might set extrasub.
22346 # FIXME: do we really want to maintain this feature?
22347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22348 ac_sed_extra="$ac_vpsub
22349 $extrasub
22350 _ACEOF
22351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22354 s|@configure_input@|$ac_sed_conf_input|;t t
22355 s&@top_builddir@&$ac_top_builddir_sub&;t t
22356 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22357 s&@srcdir@&$ac_srcdir&;t t
22358 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22359 s&@top_srcdir@&$ac_top_srcdir&;t t
22360 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22361 s&@builddir@&$ac_builddir&;t t
22362 s&@abs_builddir@&$ac_abs_builddir&;t t
22363 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22364 $ac_datarootdir_hack
22366 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22367 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22369 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22370 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22371 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22372 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22374 which seems to be undefined. Please make sure it is defined" >&5
22375 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22376 which seems to be undefined. Please make sure it is defined" >&2;}
22378 rm -f "$ac_tmp/stdin"
22379 case $ac_file in
22380 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22381 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22382 esac \
22383 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22387 # CONFIG_HEADER
22389 if test x"$ac_file" != x-; then
22391 $as_echo "/* $configure_input */" \
22392 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22393 } >"$ac_tmp/config.h" \
22394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22395 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22397 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22398 else
22399 rm -f "$ac_file"
22400 mv "$ac_tmp/config.h" "$ac_file" \
22401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22403 else
22404 $as_echo "/* $configure_input */" \
22405 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22406 || as_fn_error $? "could not create -" "$LINENO" 5
22411 # CONFIG_LINK
22414 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22416 else
22417 # Prefer the file from the source tree if names are identical.
22418 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22419 ac_source=$srcdir/$ac_source
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22423 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22425 if test ! -r "$ac_source"; then
22426 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22428 rm -f "$ac_file"
22430 # Try a relative symlink, then a hard link, then a copy.
22431 case $ac_source in
22432 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22433 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22434 esac
22435 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22436 ln "$ac_source" "$ac_file" 2>/dev/null ||
22437 cp -p "$ac_source" "$ac_file" ||
22438 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22441 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22442 $as_echo "$as_me: executing $ac_file commands" >&6;}
22444 esac
22447 case $ac_file$ac_mode in
22448 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22449 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22450 "Makefile":C) wine_fn_output_makefile Makefile ;;
22452 esac
22453 done # for ac_tag
22456 as_fn_exit 0
22457 _ACEOF
22458 ac_clean_files=$ac_clean_files_save
22460 test $ac_write_fail = 0 ||
22461 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22464 # configure is writing to config.log, and then calls config.status.
22465 # config.status does its own redirection, appending to config.log.
22466 # Unfortunately, on DOS this fails, as config.log is still kept open
22467 # by configure, so config.status won't be able to write to it; its
22468 # output is simply discarded. So we exec the FD to /dev/null,
22469 # effectively closing config.log, so it can be properly (re)opened and
22470 # appended to by config.status. When coming back to configure, we
22471 # need to make the FD available again.
22472 if test "$no_create" != yes; then
22473 ac_cs_success=:
22474 ac_config_status_args=
22475 test "$silent" = yes &&
22476 ac_config_status_args="$ac_config_status_args --quiet"
22477 exec 5>/dev/null
22478 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22479 exec 5>>config.log
22480 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22481 # would make configure fail if this is the last instruction.
22482 $ac_cs_success || as_fn_exit 1
22484 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22486 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22490 if test "$no_create" = "yes"
22491 then
22492 exit 0
22495 ac_save_IFS="$IFS"
22496 if test "x$wine_notices" != x; then
22497 echo >&6
22498 IFS="|"
22499 for msg in $wine_notices; do
22500 IFS="$ac_save_IFS"
22501 if ${msg:+false} :; then :
22503 else
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22505 $as_echo "$as_me: $msg" >&6;}
22507 done
22509 IFS="|"
22510 for msg in $wine_warnings; do
22511 IFS="$ac_save_IFS"
22512 if ${msg:+false} :; then :
22514 else
22515 echo >&2
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22517 $as_echo "$as_me: WARNING: $msg" >&2;}
22519 done
22520 IFS="$ac_save_IFS"
22522 $as_echo "
22523 $as_me: Finished. Do '${ac_make}' to compile Wine.
22524 " >&6