d3dcompiler: Get rid of the unused "subexpressions" field of struct hlsl_ir_expr.
[wine.git] / configure
blob1d20d141c19ea35b9c12b52b64dd5890c62dd0b4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.1'
584 PACKAGE_STRING='Wine 5.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_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 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds
909 enable_actxprxy
910 enable_adsiid
911 enable_adsldp
912 enable_adsldpc
913 enable_advapi32
914 enable_advpack
915 enable_amsi
916 enable_amstream
917 enable_api_ms_win_appmodel_identity_l1_1_0
918 enable_api_ms_win_appmodel_runtime_l1_1_1
919 enable_api_ms_win_appmodel_runtime_l1_1_2
920 enable_api_ms_win_core_apiquery_l1_1_0
921 enable_api_ms_win_core_appcompat_l1_1_1
922 enable_api_ms_win_core_appinit_l1_1_0
923 enable_api_ms_win_core_atoms_l1_1_0
924 enable_api_ms_win_core_bem_l1_1_0
925 enable_api_ms_win_core_com_l1_1_0
926 enable_api_ms_win_core_com_l1_1_1
927 enable_api_ms_win_core_com_private_l1_1_0
928 enable_api_ms_win_core_comm_l1_1_0
929 enable_api_ms_win_core_console_l1_1_0
930 enable_api_ms_win_core_console_l2_1_0
931 enable_api_ms_win_core_crt_l1_1_0
932 enable_api_ms_win_core_crt_l2_1_0
933 enable_api_ms_win_core_datetime_l1_1_0
934 enable_api_ms_win_core_datetime_l1_1_1
935 enable_api_ms_win_core_debug_l1_1_0
936 enable_api_ms_win_core_debug_l1_1_1
937 enable_api_ms_win_core_delayload_l1_1_0
938 enable_api_ms_win_core_delayload_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_0
940 enable_api_ms_win_core_errorhandling_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_2
942 enable_api_ms_win_core_errorhandling_l1_1_3
943 enable_api_ms_win_core_fibers_l1_1_0
944 enable_api_ms_win_core_fibers_l1_1_1
945 enable_api_ms_win_core_file_l1_1_0
946 enable_api_ms_win_core_file_l1_2_0
947 enable_api_ms_win_core_file_l1_2_1
948 enable_api_ms_win_core_file_l1_2_2
949 enable_api_ms_win_core_file_l2_1_0
950 enable_api_ms_win_core_file_l2_1_1
951 enable_api_ms_win_core_file_l2_1_2
952 enable_api_ms_win_core_handle_l1_1_0
953 enable_api_ms_win_core_heap_l1_1_0
954 enable_api_ms_win_core_heap_l1_2_0
955 enable_api_ms_win_core_heap_l2_1_0
956 enable_api_ms_win_core_heap_obsolete_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_2_0
959 enable_api_ms_win_core_io_l1_1_0
960 enable_api_ms_win_core_io_l1_1_1
961 enable_api_ms_win_core_job_l1_1_0
962 enable_api_ms_win_core_job_l2_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_1
965 enable_api_ms_win_core_kernel32_private_l1_1_1
966 enable_api_ms_win_core_largeinteger_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_1
969 enable_api_ms_win_core_libraryloader_l1_2_0
970 enable_api_ms_win_core_libraryloader_l1_2_1
971 enable_api_ms_win_core_libraryloader_l1_2_2
972 enable_api_ms_win_core_localization_l1_1_0
973 enable_api_ms_win_core_localization_l1_2_0
974 enable_api_ms_win_core_localization_l1_2_1
975 enable_api_ms_win_core_localization_l2_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_2_0
978 enable_api_ms_win_core_localization_obsolete_l1_3_0
979 enable_api_ms_win_core_localization_private_l1_1_0
980 enable_api_ms_win_core_localregistry_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_1
983 enable_api_ms_win_core_memory_l1_1_2
984 enable_api_ms_win_core_misc_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_2_0
987 enable_api_ms_win_core_namespace_l1_1_0
988 enable_api_ms_win_core_normalization_l1_1_0
989 enable_api_ms_win_core_path_l1_1_0
990 enable_api_ms_win_core_privateprofile_l1_1_1
991 enable_api_ms_win_core_processenvironment_l1_1_0
992 enable_api_ms_win_core_processenvironment_l1_2_0
993 enable_api_ms_win_core_processthreads_l1_1_0
994 enable_api_ms_win_core_processthreads_l1_1_1
995 enable_api_ms_win_core_processthreads_l1_1_2
996 enable_api_ms_win_core_processthreads_l1_1_3
997 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
998 enable_api_ms_win_core_profile_l1_1_0
999 enable_api_ms_win_core_psapi_ansi_l1_1_0
1000 enable_api_ms_win_core_psapi_l1_1_0
1001 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_quirks_l1_1_0
1003 enable_api_ms_win_core_realtime_l1_1_0
1004 enable_api_ms_win_core_registry_l1_1_0
1005 enable_api_ms_win_core_registry_l2_1_0
1006 enable_api_ms_win_core_registryuserspecific_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_2_0
1009 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1012 enable_api_ms_win_core_shutdown_l1_1_0
1013 enable_api_ms_win_core_sidebyside_l1_1_0
1014 enable_api_ms_win_core_string_l1_1_0
1015 enable_api_ms_win_core_string_l2_1_0
1016 enable_api_ms_win_core_string_obsolete_l1_1_0
1017 enable_api_ms_win_core_stringansi_l1_1_0
1018 enable_api_ms_win_core_stringloader_l1_1_1
1019 enable_api_ms_win_core_synch_ansi_l1_1_0
1020 enable_api_ms_win_core_synch_l1_1_0
1021 enable_api_ms_win_core_synch_l1_2_0
1022 enable_api_ms_win_core_synch_l1_2_1
1023 enable_api_ms_win_core_sysinfo_l1_1_0
1024 enable_api_ms_win_core_sysinfo_l1_2_0
1025 enable_api_ms_win_core_sysinfo_l1_2_1
1026 enable_api_ms_win_core_threadpool_l1_1_0
1027 enable_api_ms_win_core_threadpool_l1_2_0
1028 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1029 enable_api_ms_win_core_threadpool_private_l1_1_0
1030 enable_api_ms_win_core_timezone_l1_1_0
1031 enable_api_ms_win_core_toolhelp_l1_1_0
1032 enable_api_ms_win_core_url_l1_1_0
1033 enable_api_ms_win_core_util_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_1
1036 enable_api_ms_win_core_version_private_l1_1_0
1037 enable_api_ms_win_core_versionansi_l1_1_0
1038 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_1
1041 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1042 enable_api_ms_win_core_winrt_l1_1_0
1043 enable_api_ms_win_core_winrt_registration_l1_1_0
1044 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_1
1047 enable_api_ms_win_core_wow64_l1_1_0
1048 enable_api_ms_win_core_wow64_l1_1_1
1049 enable_api_ms_win_core_xstate_l1_1_0
1050 enable_api_ms_win_core_xstate_l2_1_0
1051 enable_api_ms_win_crt_conio_l1_1_0
1052 enable_api_ms_win_crt_convert_l1_1_0
1053 enable_api_ms_win_crt_environment_l1_1_0
1054 enable_api_ms_win_crt_filesystem_l1_1_0
1055 enable_api_ms_win_crt_heap_l1_1_0
1056 enable_api_ms_win_crt_locale_l1_1_0
1057 enable_api_ms_win_crt_math_l1_1_0
1058 enable_api_ms_win_crt_multibyte_l1_1_0
1059 enable_api_ms_win_crt_private_l1_1_0
1060 enable_api_ms_win_crt_process_l1_1_0
1061 enable_api_ms_win_crt_runtime_l1_1_0
1062 enable_api_ms_win_crt_stdio_l1_1_0
1063 enable_api_ms_win_crt_string_l1_1_0
1064 enable_api_ms_win_crt_time_l1_1_0
1065 enable_api_ms_win_crt_utility_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_1
1068 enable_api_ms_win_devices_query_l1_1_1
1069 enable_api_ms_win_downlevel_advapi32_l1_1_0
1070 enable_api_ms_win_downlevel_advapi32_l2_1_0
1071 enable_api_ms_win_downlevel_normaliz_l1_1_0
1072 enable_api_ms_win_downlevel_ole32_l1_1_0
1073 enable_api_ms_win_downlevel_shell32_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1076 enable_api_ms_win_downlevel_user32_l1_1_0
1077 enable_api_ms_win_downlevel_version_l1_1_0
1078 enable_api_ms_win_dx_d3dkmt_l1_1_0
1079 enable_api_ms_win_eventing_classicprovider_l1_1_0
1080 enable_api_ms_win_eventing_consumer_l1_1_0
1081 enable_api_ms_win_eventing_controller_l1_1_0
1082 enable_api_ms_win_eventing_legacy_l1_1_0
1083 enable_api_ms_win_eventing_provider_l1_1_0
1084 enable_api_ms_win_eventlog_legacy_l1_1_0
1085 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1086 enable_api_ms_win_mm_joystick_l1_1_0
1087 enable_api_ms_win_mm_misc_l1_1_1
1088 enable_api_ms_win_mm_mme_l1_1_0
1089 enable_api_ms_win_mm_time_l1_1_0
1090 enable_api_ms_win_ntuser_dc_access_l1_1_0
1091 enable_api_ms_win_ntuser_rectangle_l1_1_0
1092 enable_api_ms_win_ntuser_sysparams_l1_1_0
1093 enable_api_ms_win_perf_legacy_l1_1_0
1094 enable_api_ms_win_power_base_l1_1_0
1095 enable_api_ms_win_power_setting_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1099 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1103 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1104 enable_api_ms_win_security_audit_l1_1_1
1105 enable_api_ms_win_security_base_l1_1_0
1106 enable_api_ms_win_security_base_l1_2_0
1107 enable_api_ms_win_security_base_private_l1_1_1
1108 enable_api_ms_win_security_credentials_l1_1_0
1109 enable_api_ms_win_security_cryptoapi_l1_1_0
1110 enable_api_ms_win_security_grouppolicy_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_1
1113 enable_api_ms_win_security_lsalookup_l2_1_0
1114 enable_api_ms_win_security_lsalookup_l2_1_1
1115 enable_api_ms_win_security_lsapolicy_l1_1_0
1116 enable_api_ms_win_security_provider_l1_1_0
1117 enable_api_ms_win_security_sddl_l1_1_0
1118 enable_api_ms_win_security_systemfunctions_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_1
1121 enable_api_ms_win_service_management_l1_1_0
1122 enable_api_ms_win_service_management_l2_1_0
1123 enable_api_ms_win_service_private_l1_1_1
1124 enable_api_ms_win_service_winsvc_l1_1_0
1125 enable_api_ms_win_service_winsvc_l1_2_0
1126 enable_api_ms_win_shcore_obsolete_l1_1_0
1127 enable_api_ms_win_shcore_scaling_l1_1_1
1128 enable_api_ms_win_shcore_stream_l1_1_0
1129 enable_api_ms_win_shcore_thread_l1_1_0
1130 enable_api_ms_win_shell_shellcom_l1_1_0
1131 enable_api_ms_win_shell_shellfolders_l1_1_0
1132 enable_apphelp
1133 enable_appwiz_cpl
1134 enable_atl
1135 enable_atl100
1136 enable_atl110
1137 enable_atl80
1138 enable_atl90
1139 enable_atlthunk
1140 enable_atmlib
1141 enable_authz
1142 enable_avicap32
1143 enable_avifil32
1144 enable_avrt
1145 enable_bcrypt
1146 enable_bluetoothapis
1147 enable_browseui
1148 enable_bthprops_cpl
1149 enable_cabinet
1150 enable_capi2032
1151 enable_cards
1152 enable_cdosys
1153 enable_cfgmgr32
1154 enable_clusapi
1155 enable_combase
1156 enable_comcat
1157 enable_comctl32
1158 enable_comdlg32
1159 enable_compstui
1160 enable_comsvcs
1161 enable_concrt140
1162 enable_connect
1163 enable_credui
1164 enable_crtdll
1165 enable_crypt32
1166 enable_cryptdlg
1167 enable_cryptdll
1168 enable_cryptext
1169 enable_cryptnet
1170 enable_cryptui
1171 enable_ctapi32
1172 enable_ctl3d32
1173 enable_d2d1
1174 enable_d3d10
1175 enable_d3d10_1
1176 enable_d3d10core
1177 enable_d3d11
1178 enable_d3d12
1179 enable_d3d8
1180 enable_d3d9
1181 enable_d3dcompiler_33
1182 enable_d3dcompiler_34
1183 enable_d3dcompiler_35
1184 enable_d3dcompiler_36
1185 enable_d3dcompiler_37
1186 enable_d3dcompiler_38
1187 enable_d3dcompiler_39
1188 enable_d3dcompiler_40
1189 enable_d3dcompiler_41
1190 enable_d3dcompiler_42
1191 enable_d3dcompiler_43
1192 enable_d3dcompiler_46
1193 enable_d3dcompiler_47
1194 enable_d3dim
1195 enable_d3drm
1196 enable_d3dx10_33
1197 enable_d3dx10_34
1198 enable_d3dx10_35
1199 enable_d3dx10_36
1200 enable_d3dx10_37
1201 enable_d3dx10_38
1202 enable_d3dx10_39
1203 enable_d3dx10_40
1204 enable_d3dx10_41
1205 enable_d3dx10_42
1206 enable_d3dx10_43
1207 enable_d3dx11_42
1208 enable_d3dx11_43
1209 enable_d3dx9_24
1210 enable_d3dx9_25
1211 enable_d3dx9_26
1212 enable_d3dx9_27
1213 enable_d3dx9_28
1214 enable_d3dx9_29
1215 enable_d3dx9_30
1216 enable_d3dx9_31
1217 enable_d3dx9_32
1218 enable_d3dx9_33
1219 enable_d3dx9_34
1220 enable_d3dx9_35
1221 enable_d3dx9_36
1222 enable_d3dx9_37
1223 enable_d3dx9_38
1224 enable_d3dx9_39
1225 enable_d3dx9_40
1226 enable_d3dx9_41
1227 enable_d3dx9_42
1228 enable_d3dx9_43
1229 enable_d3dxof
1230 enable_davclnt
1231 enable_dbgeng
1232 enable_dbghelp
1233 enable_dciman32
1234 enable_ddraw
1235 enable_ddrawex
1236 enable_devenum
1237 enable_dhcpcsvc
1238 enable_dhtmled_ocx
1239 enable_difxapi
1240 enable_dinput
1241 enable_dinput8
1242 enable_dispex
1243 enable_dmband
1244 enable_dmcompos
1245 enable_dmime
1246 enable_dmloader
1247 enable_dmoguids
1248 enable_dmscript
1249 enable_dmstyle
1250 enable_dmsynth
1251 enable_dmusic
1252 enable_dmusic32
1253 enable_dnsapi
1254 enable_dplay
1255 enable_dplayx
1256 enable_dpnaddr
1257 enable_dpnet
1258 enable_dpnhpast
1259 enable_dpnlobby
1260 enable_dpvoice
1261 enable_dpwsockx
1262 enable_drmclien
1263 enable_dsdmo
1264 enable_dsound
1265 enable_dsquery
1266 enable_dssenh
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_rtworkq
1543 enable_samlib
1544 enable_sane_ds
1545 enable_sapi
1546 enable_sas
1547 enable_scarddlg
1548 enable_sccbase
1549 enable_schannel
1550 enable_schedsvc
1551 enable_scrobj
1552 enable_scrrun
1553 enable_scsiport_sys
1554 enable_secur32
1555 enable_security
1556 enable_sensapi
1557 enable_serialui
1558 enable_setupapi
1559 enable_sfc
1560 enable_sfc_os
1561 enable_shcore
1562 enable_shdoclc
1563 enable_shdocvw
1564 enable_shell32
1565 enable_shfolder
1566 enable_shlwapi
1567 enable_slbcsp
1568 enable_slc
1569 enable_snmpapi
1570 enable_softpub
1571 enable_spoolss
1572 enable_srclient
1573 enable_sspicli
1574 enable_stdole2_tlb
1575 enable_stdole32_tlb
1576 enable_sti
1577 enable_strmbase
1578 enable_strmdll
1579 enable_strmiids
1580 enable_svrapi
1581 enable_sxs
1582 enable_t2embed
1583 enable_tapi32
1584 enable_taskschd
1585 enable_tdh
1586 enable_tdi_sys
1587 enable_traffic
1588 enable_twain_32
1589 enable_tzres
1590 enable_ucrtbase
1591 enable_uianimation
1592 enable_uiautomationcore
1593 enable_uiribbon
1594 enable_unicows
1595 enable_updspapi
1596 enable_url
1597 enable_urlmon
1598 enable_usbd_sys
1599 enable_user32
1600 enable_userenv
1601 enable_usp10
1602 enable_utildll
1603 enable_uuid
1604 enable_uxtheme
1605 enable_vbscript
1606 enable_vcomp
1607 enable_vcomp100
1608 enable_vcomp110
1609 enable_vcomp120
1610 enable_vcomp140
1611 enable_vcomp90
1612 enable_vcruntime140
1613 enable_vcruntime140_1
1614 enable_vdmdbg
1615 enable_version
1616 enable_vga
1617 enable_virtdisk
1618 enable_vssapi
1619 enable_vulkan_1
1620 enable_wbemdisp
1621 enable_wbemprox
1622 enable_wbemuuid
1623 enable_wdscore
1624 enable_webservices
1625 enable_wer
1626 enable_wevtapi
1627 enable_wiaservc
1628 enable_wimgapi
1629 enable_windowscodecs
1630 enable_windowscodecsext
1631 enable_winealsa_drv
1632 enable_wineandroid_drv
1633 enable_winebus_sys
1634 enable_winecoreaudio_drv
1635 enable_winecrt0
1636 enable_wined3d
1637 enable_winegstreamer
1638 enable_winehid_sys
1639 enable_winejoystick_drv
1640 enable_winemac_drv
1641 enable_winemapi
1642 enable_wineoss_drv
1643 enable_wineps_drv
1644 enable_winepulse_drv
1645 enable_wineqtdecoder
1646 enable_winevulkan
1647 enable_winex11_drv
1648 enable_wing32
1649 enable_winhttp
1650 enable_wininet
1651 enable_winmm
1652 enable_winnls32
1653 enable_winscard
1654 enable_winspool_drv
1655 enable_winsta
1656 enable_wintab32
1657 enable_wintrust
1658 enable_winusb
1659 enable_wlanapi
1660 enable_wlanui
1661 enable_wldap32
1662 enable_wmasf
1663 enable_wmcodecdspuuid
1664 enable_wmi
1665 enable_wmiutils
1666 enable_wmp
1667 enable_wmphoto
1668 enable_wmvcore
1669 enable_wnaspi32
1670 enable_wpc
1671 enable_wpcap
1672 enable_ws2_32
1673 enable_wsdapi
1674 enable_wshom_ocx
1675 enable_wsnmp32
1676 enable_wsock32
1677 enable_wtsapi32
1678 enable_wuapi
1679 enable_wuaueng
1680 enable_x3daudio1_0
1681 enable_x3daudio1_1
1682 enable_x3daudio1_2
1683 enable_x3daudio1_3
1684 enable_x3daudio1_4
1685 enable_x3daudio1_5
1686 enable_x3daudio1_6
1687 enable_x3daudio1_7
1688 enable_xapofx1_1
1689 enable_xapofx1_2
1690 enable_xapofx1_3
1691 enable_xapofx1_4
1692 enable_xapofx1_5
1693 enable_xaudio2_0
1694 enable_xaudio2_1
1695 enable_xaudio2_2
1696 enable_xaudio2_3
1697 enable_xaudio2_4
1698 enable_xaudio2_5
1699 enable_xaudio2_6
1700 enable_xaudio2_7
1701 enable_xaudio2_8
1702 enable_xaudio2_9
1703 enable_xinput1_1
1704 enable_xinput1_2
1705 enable_xinput1_3
1706 enable_xinput1_4
1707 enable_xinput9_1_0
1708 enable_xmllite
1709 enable_xolehlp
1710 enable_xpsprint
1711 enable_xpssvcs
1712 enable_fonts
1713 enable_include
1714 enable_port
1715 enable_wine
1716 enable_wpp
1717 enable_loader
1718 enable_nls
1719 enable_po
1720 enable_arp
1721 enable_aspnet_regiis
1722 enable_attrib
1723 enable_cabarc
1724 enable_cacls
1725 enable_chcp_com
1726 enable_clock
1727 enable_cmd
1728 enable_conhost
1729 enable_control
1730 enable_cscript
1731 enable_dism
1732 enable_dpnsvr
1733 enable_dxdiag
1734 enable_eject
1735 enable_expand
1736 enable_explorer
1737 enable_extrac32
1738 enable_fc
1739 enable_find
1740 enable_findstr
1741 enable_fsutil
1742 enable_hh
1743 enable_hostname
1744 enable_icacls
1745 enable_icinfo
1746 enable_iexplore
1747 enable_ipconfig
1748 enable_lodctr
1749 enable_mofcomp
1750 enable_mshta
1751 enable_msidb
1752 enable_msiexec
1753 enable_msinfo32
1754 enable_net
1755 enable_netsh
1756 enable_netstat
1757 enable_ngen
1758 enable_notepad
1759 enable_oleview
1760 enable_ping
1761 enable_plugplay
1762 enable_powershell
1763 enable_presentationfontcache
1764 enable_progman
1765 enable_reg
1766 enable_regasm
1767 enable_regedit
1768 enable_regini
1769 enable_regsvcs
1770 enable_regsvr32
1771 enable_rpcss
1772 enable_rundll32
1773 enable_sc
1774 enable_schtasks
1775 enable_sdbinst
1776 enable_secedit
1777 enable_servicemodelreg
1778 enable_services
1779 enable_shutdown
1780 enable_spoolsv
1781 enable_start
1782 enable_subst
1783 enable_svchost
1784 enable_systeminfo
1785 enable_taskkill
1786 enable_tasklist
1787 enable_taskmgr
1788 enable_termsv
1789 enable_uninstaller
1790 enable_unlodctr
1791 enable_view
1792 enable_wevtutil
1793 enable_wineboot
1794 enable_winebrowser
1795 enable_winecfg
1796 enable_wineconsole
1797 enable_winedbg
1798 enable_winedevice
1799 enable_winefile
1800 enable_winemenubuilder
1801 enable_winemine
1802 enable_winemsibuilder
1803 enable_winepath
1804 enable_winetest
1805 enable_winhlp32
1806 enable_winmgmt
1807 enable_winver
1808 enable_wmic
1809 enable_wmplayer
1810 enable_wordpad
1811 enable_write
1812 enable_wscript
1813 enable_wuauserv
1814 enable_wusa
1815 enable_xcopy
1816 enable_server
1817 enable_tools
1818 enable_sfnt2fon
1819 enable_widl
1820 enable_winebuild
1821 enable_winedump
1822 enable_winegcc
1823 enable_winemaker
1824 enable_wmc
1825 enable_wrc
1827 ac_precious_vars='build_alias
1828 host_alias
1829 target_alias
1831 CFLAGS
1832 LDFLAGS
1833 LIBS
1834 CPPFLAGS
1836 CXXFLAGS
1839 OBJC
1840 OBJCFLAGS
1841 OBJCPP
1842 XMKMF
1843 XML2_CFLAGS
1844 XML2_LIBS
1845 XSLT_CFLAGS
1846 XSLT_LIBS
1847 INOTIFY_CFLAGS
1848 INOTIFY_LIBS
1849 DBUS_CFLAGS
1850 DBUS_LIBS
1851 HAL_CFLAGS
1852 HAL_LIBS
1853 GNUTLS_CFLAGS
1854 GNUTLS_LIBS
1855 SANE_CFLAGS
1856 SANE_LIBS
1857 GPHOTO2_CFLAGS
1858 GPHOTO2_LIBS
1859 GPHOTO2_PORT_CFLAGS
1860 GPHOTO2_PORT_LIBS
1861 LCMS2_CFLAGS
1862 LCMS2_LIBS
1863 FREETYPE_CFLAGS
1864 FREETYPE_LIBS
1865 Z_CFLAGS
1866 Z_LIBS
1867 PULSE_CFLAGS
1868 PULSE_LIBS
1869 GSTREAMER_CFLAGS
1870 GSTREAMER_LIBS
1871 UDEV_CFLAGS
1872 UDEV_LIBS
1873 UNWIND_CFLAGS
1874 UNWIND_LIBS
1875 SDL2_CFLAGS
1876 SDL2_LIBS
1877 FAUDIO_CFLAGS
1878 FAUDIO_LIBS
1879 CAPI20_CFLAGS
1880 CAPI20_LIBS
1881 CUPS_CFLAGS
1882 CUPS_LIBS
1883 FONTCONFIG_CFLAGS
1884 FONTCONFIG_LIBS
1885 KRB5_CFLAGS
1886 KRB5_LIBS
1887 GSSAPI_CFLAGS
1888 GSSAPI_LIBS
1889 JPEG_CFLAGS
1890 JPEG_LIBS
1891 PNG_CFLAGS
1892 PNG_LIBS
1893 TIFF_CFLAGS
1894 TIFF_LIBS
1895 MPG123_CFLAGS
1896 MPG123_LIBS
1897 NETAPI_CFLAGS
1898 NETAPI_LIBS
1899 VKD3D_CFLAGS
1900 VKD3D_LIBS
1901 LDAP_CFLAGS
1902 LDAP_LIBS'
1905 # Initialize some variables set by options.
1906 ac_init_help=
1907 ac_init_version=false
1908 ac_unrecognized_opts=
1909 ac_unrecognized_sep=
1910 # The variables have the same names as the options, with
1911 # dashes changed to underlines.
1912 cache_file=/dev/null
1913 exec_prefix=NONE
1914 no_create=
1915 no_recursion=
1916 prefix=NONE
1917 program_prefix=NONE
1918 program_suffix=NONE
1919 program_transform_name=s,x,x,
1920 silent=
1921 site=
1922 srcdir=
1923 verbose=
1924 x_includes=NONE
1925 x_libraries=NONE
1927 # Installation directory options.
1928 # These are left unexpanded so users can "make install exec_prefix=/foo"
1929 # and all the variables that are supposed to be based on exec_prefix
1930 # by default will actually change.
1931 # Use braces instead of parens because sh, perl, etc. also accept them.
1932 # (The list follows the same order as the GNU Coding Standards.)
1933 bindir='${exec_prefix}/bin'
1934 sbindir='${exec_prefix}/sbin'
1935 libexecdir='${exec_prefix}/libexec'
1936 datarootdir='${prefix}/share'
1937 datadir='${datarootdir}'
1938 sysconfdir='${prefix}/etc'
1939 sharedstatedir='${prefix}/com'
1940 localstatedir='${prefix}/var'
1941 runstatedir='${localstatedir}/run'
1942 includedir='${prefix}/include'
1943 oldincludedir='/usr/include'
1944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1945 infodir='${datarootdir}/info'
1946 htmldir='${docdir}'
1947 dvidir='${docdir}'
1948 pdfdir='${docdir}'
1949 psdir='${docdir}'
1950 libdir='${exec_prefix}/lib'
1951 localedir='${datarootdir}/locale'
1952 mandir='${datarootdir}/man'
1954 ac_prev=
1955 ac_dashdash=
1956 for ac_option
1958 # If the previous option needs an argument, assign it.
1959 if test -n "$ac_prev"; then
1960 eval $ac_prev=\$ac_option
1961 ac_prev=
1962 continue
1965 case $ac_option in
1966 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1967 *=) ac_optarg= ;;
1968 *) ac_optarg=yes ;;
1969 esac
1971 # Accept the important Cygnus configure options, so we can diagnose typos.
1973 case $ac_dashdash$ac_option in
1975 ac_dashdash=yes ;;
1977 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1978 ac_prev=bindir ;;
1979 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1980 bindir=$ac_optarg ;;
1982 -build | --build | --buil | --bui | --bu)
1983 ac_prev=build_alias ;;
1984 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1985 build_alias=$ac_optarg ;;
1987 -cache-file | --cache-file | --cache-fil | --cache-fi \
1988 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1989 ac_prev=cache_file ;;
1990 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1991 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1992 cache_file=$ac_optarg ;;
1994 --config-cache | -C)
1995 cache_file=config.cache ;;
1997 -datadir | --datadir | --datadi | --datad)
1998 ac_prev=datadir ;;
1999 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2000 datadir=$ac_optarg ;;
2002 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2003 | --dataroo | --dataro | --datar)
2004 ac_prev=datarootdir ;;
2005 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2006 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2007 datarootdir=$ac_optarg ;;
2009 -disable-* | --disable-*)
2010 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2011 # Reject names that are not valid shell variable names.
2012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2013 as_fn_error $? "invalid feature name: $ac_useropt"
2014 ac_useropt_orig=$ac_useropt
2015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2016 case $ac_user_opts in
2018 "enable_$ac_useropt"
2019 "*) ;;
2020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2021 ac_unrecognized_sep=', ';;
2022 esac
2023 eval enable_$ac_useropt=no ;;
2025 -docdir | --docdir | --docdi | --doc | --do)
2026 ac_prev=docdir ;;
2027 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2028 docdir=$ac_optarg ;;
2030 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2031 ac_prev=dvidir ;;
2032 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2033 dvidir=$ac_optarg ;;
2035 -enable-* | --enable-*)
2036 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2039 as_fn_error $? "invalid feature name: $ac_useropt"
2040 ac_useropt_orig=$ac_useropt
2041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2044 "enable_$ac_useropt"
2045 "*) ;;
2046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2047 ac_unrecognized_sep=', ';;
2048 esac
2049 eval enable_$ac_useropt=\$ac_optarg ;;
2051 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2052 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2053 | --exec | --exe | --ex)
2054 ac_prev=exec_prefix ;;
2055 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2056 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2057 | --exec=* | --exe=* | --ex=*)
2058 exec_prefix=$ac_optarg ;;
2060 -gas | --gas | --ga | --g)
2061 # Obsolete; use --with-gas.
2062 with_gas=yes ;;
2064 -help | --help | --hel | --he | -h)
2065 ac_init_help=long ;;
2066 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2067 ac_init_help=recursive ;;
2068 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2069 ac_init_help=short ;;
2071 -host | --host | --hos | --ho)
2072 ac_prev=host_alias ;;
2073 -host=* | --host=* | --hos=* | --ho=*)
2074 host_alias=$ac_optarg ;;
2076 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2077 ac_prev=htmldir ;;
2078 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2079 | --ht=*)
2080 htmldir=$ac_optarg ;;
2082 -includedir | --includedir | --includedi | --included | --include \
2083 | --includ | --inclu | --incl | --inc)
2084 ac_prev=includedir ;;
2085 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2086 | --includ=* | --inclu=* | --incl=* | --inc=*)
2087 includedir=$ac_optarg ;;
2089 -infodir | --infodir | --infodi | --infod | --info | --inf)
2090 ac_prev=infodir ;;
2091 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2092 infodir=$ac_optarg ;;
2094 -libdir | --libdir | --libdi | --libd)
2095 ac_prev=libdir ;;
2096 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2097 libdir=$ac_optarg ;;
2099 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2100 | --libexe | --libex | --libe)
2101 ac_prev=libexecdir ;;
2102 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2103 | --libexe=* | --libex=* | --libe=*)
2104 libexecdir=$ac_optarg ;;
2106 -localedir | --localedir | --localedi | --localed | --locale)
2107 ac_prev=localedir ;;
2108 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2109 localedir=$ac_optarg ;;
2111 -localstatedir | --localstatedir | --localstatedi | --localstated \
2112 | --localstate | --localstat | --localsta | --localst | --locals)
2113 ac_prev=localstatedir ;;
2114 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2115 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2116 localstatedir=$ac_optarg ;;
2118 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2119 ac_prev=mandir ;;
2120 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2121 mandir=$ac_optarg ;;
2123 -nfp | --nfp | --nf)
2124 # Obsolete; use --without-fp.
2125 with_fp=no ;;
2127 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2128 | --no-cr | --no-c | -n)
2129 no_create=yes ;;
2131 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2132 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2133 no_recursion=yes ;;
2135 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2136 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2137 | --oldin | --oldi | --old | --ol | --o)
2138 ac_prev=oldincludedir ;;
2139 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2140 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2141 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2142 oldincludedir=$ac_optarg ;;
2144 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2145 ac_prev=prefix ;;
2146 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2147 prefix=$ac_optarg ;;
2149 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2150 | --program-pre | --program-pr | --program-p)
2151 ac_prev=program_prefix ;;
2152 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2153 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2154 program_prefix=$ac_optarg ;;
2156 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2157 | --program-suf | --program-su | --program-s)
2158 ac_prev=program_suffix ;;
2159 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2160 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2161 program_suffix=$ac_optarg ;;
2163 -program-transform-name | --program-transform-name \
2164 | --program-transform-nam | --program-transform-na \
2165 | --program-transform-n | --program-transform- \
2166 | --program-transform | --program-transfor \
2167 | --program-transfo | --program-transf \
2168 | --program-trans | --program-tran \
2169 | --progr-tra | --program-tr | --program-t)
2170 ac_prev=program_transform_name ;;
2171 -program-transform-name=* | --program-transform-name=* \
2172 | --program-transform-nam=* | --program-transform-na=* \
2173 | --program-transform-n=* | --program-transform-=* \
2174 | --program-transform=* | --program-transfor=* \
2175 | --program-transfo=* | --program-transf=* \
2176 | --program-trans=* | --program-tran=* \
2177 | --progr-tra=* | --program-tr=* | --program-t=*)
2178 program_transform_name=$ac_optarg ;;
2180 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2181 ac_prev=pdfdir ;;
2182 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2183 pdfdir=$ac_optarg ;;
2185 -psdir | --psdir | --psdi | --psd | --ps)
2186 ac_prev=psdir ;;
2187 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2188 psdir=$ac_optarg ;;
2190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2191 | -silent | --silent | --silen | --sile | --sil)
2192 silent=yes ;;
2194 -runstatedir | --runstatedir | --runstatedi | --runstated \
2195 | --runstate | --runstat | --runsta | --runst | --runs \
2196 | --run | --ru | --r)
2197 ac_prev=runstatedir ;;
2198 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2199 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2200 | --run=* | --ru=* | --r=*)
2201 runstatedir=$ac_optarg ;;
2203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2204 ac_prev=sbindir ;;
2205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2206 | --sbi=* | --sb=*)
2207 sbindir=$ac_optarg ;;
2209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2211 | --sharedst | --shareds | --shared | --share | --shar \
2212 | --sha | --sh)
2213 ac_prev=sharedstatedir ;;
2214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2217 | --sha=* | --sh=*)
2218 sharedstatedir=$ac_optarg ;;
2220 -site | --site | --sit)
2221 ac_prev=site ;;
2222 -site=* | --site=* | --sit=*)
2223 site=$ac_optarg ;;
2225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2226 ac_prev=srcdir ;;
2227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2228 srcdir=$ac_optarg ;;
2230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2231 | --syscon | --sysco | --sysc | --sys | --sy)
2232 ac_prev=sysconfdir ;;
2233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2235 sysconfdir=$ac_optarg ;;
2237 -target | --target | --targe | --targ | --tar | --ta | --t)
2238 ac_prev=target_alias ;;
2239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2240 target_alias=$ac_optarg ;;
2242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2243 verbose=yes ;;
2245 -version | --version | --versio | --versi | --vers | -V)
2246 ac_init_version=: ;;
2248 -with-* | --with-*)
2249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2250 # Reject names that are not valid shell variable names.
2251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2252 as_fn_error $? "invalid package name: $ac_useropt"
2253 ac_useropt_orig=$ac_useropt
2254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2255 case $ac_user_opts in
2257 "with_$ac_useropt"
2258 "*) ;;
2259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2260 ac_unrecognized_sep=', ';;
2261 esac
2262 eval with_$ac_useropt=\$ac_optarg ;;
2264 -without-* | --without-*)
2265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2266 # Reject names that are not valid shell variable names.
2267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2268 as_fn_error $? "invalid package name: $ac_useropt"
2269 ac_useropt_orig=$ac_useropt
2270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2271 case $ac_user_opts in
2273 "with_$ac_useropt"
2274 "*) ;;
2275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2276 ac_unrecognized_sep=', ';;
2277 esac
2278 eval with_$ac_useropt=no ;;
2280 --x)
2281 # Obsolete; use --with-x.
2282 with_x=yes ;;
2284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2285 | --x-incl | --x-inc | --x-in | --x-i)
2286 ac_prev=x_includes ;;
2287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2289 x_includes=$ac_optarg ;;
2291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2293 ac_prev=x_libraries ;;
2294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2296 x_libraries=$ac_optarg ;;
2298 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2299 Try \`$0 --help' for more information"
2302 *=*)
2303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2304 # Reject names that are not valid shell variable names.
2305 case $ac_envvar in #(
2306 '' | [0-9]* | *[!_$as_cr_alnum]* )
2307 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2308 esac
2309 eval $ac_envvar=\$ac_optarg
2310 export $ac_envvar ;;
2313 # FIXME: should be removed in autoconf 3.0.
2314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2317 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2320 esac
2321 done
2323 if test -n "$ac_prev"; then
2324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2325 as_fn_error $? "missing argument to $ac_option"
2328 if test -n "$ac_unrecognized_opts"; then
2329 case $enable_option_checking in
2330 no) ;;
2331 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2333 esac
2336 # Check all directory arguments for consistency.
2337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2338 datadir sysconfdir sharedstatedir localstatedir includedir \
2339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2340 libdir localedir mandir runstatedir
2342 eval ac_val=\$$ac_var
2343 # Remove trailing slashes.
2344 case $ac_val in
2345 */ )
2346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2347 eval $ac_var=\$ac_val;;
2348 esac
2349 # Be sure to have absolute directory names.
2350 case $ac_val in
2351 [\\/$]* | ?:[\\/]* ) continue;;
2352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2353 esac
2354 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2355 done
2357 # There might be people who depend on the old broken behavior: `$host'
2358 # used to hold the argument of --host etc.
2359 # FIXME: To remove some day.
2360 build=$build_alias
2361 host=$host_alias
2362 target=$target_alias
2364 # FIXME: To remove some day.
2365 if test "x$host_alias" != x; then
2366 if test "x$build_alias" = x; then
2367 cross_compiling=maybe
2368 elif test "x$build_alias" != "x$host_alias"; then
2369 cross_compiling=yes
2373 ac_tool_prefix=
2374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2376 test "$silent" = yes && exec 6>/dev/null
2379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2380 ac_ls_di=`ls -di .` &&
2381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2382 as_fn_error $? "working directory cannot be determined"
2383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2384 as_fn_error $? "pwd does not report name of working directory"
2387 # Find the source files, if location was not specified.
2388 if test -z "$srcdir"; then
2389 ac_srcdir_defaulted=yes
2390 # Try the directory containing this script, then the parent directory.
2391 ac_confdir=`$as_dirname -- "$as_myself" ||
2392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2393 X"$as_myself" : 'X\(//\)[^/]' \| \
2394 X"$as_myself" : 'X\(//\)$' \| \
2395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2396 $as_echo X"$as_myself" |
2397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2398 s//\1/
2401 /^X\(\/\/\)[^/].*/{
2402 s//\1/
2405 /^X\(\/\/\)$/{
2406 s//\1/
2409 /^X\(\/\).*/{
2410 s//\1/
2413 s/.*/./; q'`
2414 srcdir=$ac_confdir
2415 if test ! -r "$srcdir/$ac_unique_file"; then
2416 srcdir=..
2418 else
2419 ac_srcdir_defaulted=no
2421 if test ! -r "$srcdir/$ac_unique_file"; then
2422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2423 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2426 ac_abs_confdir=`(
2427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2428 pwd)`
2429 # When building in place, set srcdir=.
2430 if test "$ac_abs_confdir" = "$ac_pwd"; then
2431 srcdir=.
2433 # Remove unnecessary trailing slashes from srcdir.
2434 # Double slashes in file names in object file debugging info
2435 # mess up M-x gdb in Emacs.
2436 case $srcdir in
2437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2438 esac
2439 for ac_var in $ac_precious_vars; do
2440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2441 eval ac_env_${ac_var}_value=\$${ac_var}
2442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2444 done
2447 # Report the --help message.
2449 if test "$ac_init_help" = "long"; then
2450 # Omit some internal or obsolete options to make the list less imposing.
2451 # This message is too long to be a string in the A/UX 3.1 sh.
2452 cat <<_ACEOF
2453 \`configure' configures Wine 5.1 to adapt to many kinds of systems.
2455 Usage: $0 [OPTION]... [VAR=VALUE]...
2457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2458 VAR=VALUE. See below for descriptions of some of the useful variables.
2460 Defaults for the options are specified in brackets.
2462 Configuration:
2463 -h, --help display this help and exit
2464 --help=short display options specific to this package
2465 --help=recursive display the short help of all the included packages
2466 -V, --version display version information and exit
2467 -q, --quiet, --silent do not print \`checking ...' messages
2468 --cache-file=FILE cache test results in FILE [disabled]
2469 -C, --config-cache alias for \`--cache-file=config.cache'
2470 -n, --no-create do not create output files
2471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2473 Installation directories:
2474 --prefix=PREFIX install architecture-independent files in PREFIX
2475 [$ac_default_prefix]
2476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2477 [PREFIX]
2479 By default, \`make install' will install all the files in
2480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2482 for instance \`--prefix=\$HOME'.
2484 For better control, use the options below.
2486 Fine tuning of the installation directories:
2487 --bindir=DIR user executables [EPREFIX/bin]
2488 --sbindir=DIR system admin executables [EPREFIX/sbin]
2489 --libexecdir=DIR program executables [EPREFIX/libexec]
2490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2493 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2494 --libdir=DIR object code libraries [EPREFIX/lib]
2495 --includedir=DIR C header files [PREFIX/include]
2496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2499 --infodir=DIR info documentation [DATAROOTDIR/info]
2500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2501 --mandir=DIR man documentation [DATAROOTDIR/man]
2502 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2503 --htmldir=DIR html documentation [DOCDIR]
2504 --dvidir=DIR dvi documentation [DOCDIR]
2505 --pdfdir=DIR pdf documentation [DOCDIR]
2506 --psdir=DIR ps documentation [DOCDIR]
2507 _ACEOF
2509 cat <<\_ACEOF
2511 X features:
2512 --x-includes=DIR X include files are in DIR
2513 --x-libraries=DIR X library files are in DIR
2515 System types:
2516 --build=BUILD configure for building on BUILD [guessed]
2517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2518 _ACEOF
2521 if test -n "$ac_init_help"; then
2522 case $ac_init_help in
2523 short | recursive ) echo "Configuration of Wine 5.1:";;
2524 esac
2525 cat <<\_ACEOF
2527 Optional Features:
2528 --disable-option-checking ignore unrecognized --enable/--with options
2529 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2530 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2531 --disable-win16 do not include Win16 support
2532 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2533 binaries)
2534 --disable-tests do not build the regression tests
2535 --enable-maintainer-mode
2536 enable maintainer-specific build rules
2537 --disable-largefile omit support for large files
2539 Optional Packages:
2540 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2541 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2542 --without-alsa do not use the Alsa sound support
2543 --without-capi do not use CAPI (ISDN support)
2544 --without-cms do not use CMS (color management support)
2545 --without-coreaudio do not use the CoreAudio sound support
2546 --without-cups do not use CUPS
2547 --without-curses do not use (n)curses
2548 --without-dbus do not use DBus (dynamic device support)
2549 --without-faudio do not use FAudio (XAudio2 support)
2550 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2551 --without-fontconfig do not use fontconfig
2552 --without-freetype do not use the FreeType library
2553 --without-gettext do not use gettext
2554 --with-gettextpo use the GetTextPO library to rebuild po files
2555 --without-gphoto do not use gphoto (Digital Camera support)
2556 --without-glu do not use the GLU library
2557 --without-gnutls do not use GnuTLS (schannel support)
2558 --without-gsm do not use libgsm (GSM 06.10 codec support)
2559 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2560 --without-gstreamer do not use GStreamer (codecs support)
2561 --without-hal do not use HAL (dynamic device support)
2562 --without-inotify do not use inotify (filesystem change notifications)
2563 --without-jpeg do not use JPEG
2564 --without-krb5 do not use krb5 (Kerberos)
2565 --without-ldap do not use LDAP
2566 --without-mingw do not use the MinGW cross-compiler
2567 --without-mpg123 do not use the mpg123 library
2568 --without-netapi do not use the Samba NetAPI library
2569 --without-openal do not use OpenAL
2570 --without-opencl do not use OpenCL
2571 --without-opengl do not use OpenGL
2572 --without-osmesa do not use the OSMesa library
2573 --without-oss do not use the OSS sound support
2574 --without-pcap do not use the Packet Capture library
2575 --without-png do not use PNG
2576 --without-pthread do not use the pthread library
2577 --without-pulse do not use PulseAudio sound support
2578 --without-sane do not use SANE (scanner support)
2579 --without-sdl do not use SDL
2580 --without-tiff do not use TIFF
2581 --without-udev do not use udev (plug and play support)
2582 --without-unwind do not use the libunwind library (exception
2583 handling)
2584 --without-v4l2 do not use v4l2 (video capture)
2585 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2586 --without-vulkan do not use Vulkan
2587 --without-xcomposite do not use the Xcomposite extension
2588 --without-xcursor do not use the Xcursor extension
2589 --without-xfixes do not use Xfixes for clipboard change notifications
2590 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2591 --without-xinput do not use the Xinput extension
2592 --without-xinput2 do not use the Xinput 2 extension
2593 --without-xml do not use XML
2594 --without-xrandr do not use Xrandr (multi-monitor support)
2595 --without-xrender do not use the Xrender extension
2596 --without-xshape do not use the Xshape extension
2597 --without-xshm do not use XShm (shared memory extension)
2598 --without-xslt do not use XSLT
2599 --without-xxf86vm do not use XFree video mode extension
2600 --without-zlib do not use Zlib (data compression)
2601 --with-wine-tools=DIR use Wine tools from directory DIR
2602 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2603 --with-x use the X Window System
2605 Some influential environment variables:
2606 CC C compiler command
2607 CFLAGS C compiler flags
2608 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2609 nonstandard directory <lib dir>
2610 LIBS libraries to pass to the linker, e.g. -l<library>
2611 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2612 you have headers in a nonstandard directory <include dir>
2613 CXX C++ compiler command
2614 CXXFLAGS C++ compiler flags
2615 CPP C preprocessor
2616 OBJC Objective C compiler command
2617 OBJCFLAGS Objective C compiler flags
2618 OBJCPP Objective C preprocessor
2619 XMKMF Path to xmkmf, Makefile generator for X Window System
2620 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2621 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2622 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2623 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2624 INOTIFY_CFLAGS
2625 C compiler flags for libinotify, overriding pkg-config
2626 INOTIFY_LIBS
2627 Linker flags for libinotify, overriding pkg-config
2628 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2629 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2630 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2631 HAL_LIBS Linker flags for hal, overriding pkg-config
2632 GNUTLS_CFLAGS
2633 C compiler flags for gnutls, overriding pkg-config
2634 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2635 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2636 SANE_LIBS Linker flags for libsane, overriding pkg-config
2637 GPHOTO2_CFLAGS
2638 C compiler flags for libgphoto2, overriding pkg-config
2639 GPHOTO2_LIBS
2640 Linker flags for libgphoto2, overriding pkg-config
2641 GPHOTO2_PORT_CFLAGS
2642 C compiler flags for libgphoto2_port, overriding pkg-config
2643 GPHOTO2_PORT_LIBS
2644 Linker flags for libgphoto2_port, overriding pkg-config
2645 LCMS2_CFLAGS
2646 C compiler flags for lcms2, overriding pkg-config
2647 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2648 FREETYPE_CFLAGS
2649 C compiler flags for freetype2, overriding pkg-config
2650 FREETYPE_LIBS
2651 Linker flags for freetype2, overriding pkg-config
2652 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2653 Z_LIBS Linker flags for libz, overriding pkg-config
2654 PULSE_CFLAGS
2655 C compiler flags for libpulse, overriding pkg-config
2656 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2657 GSTREAMER_CFLAGS
2658 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2659 gstreamer-audio-1.0, overriding pkg-config
2660 GSTREAMER_LIBS
2661 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2662 gstreamer-audio-1.0, overriding pkg-config
2663 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2664 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2665 UNWIND_CFLAGS
2666 C compiler flags for libunwind, overriding pkg-config
2667 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2668 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2669 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2670 FAUDIO_CFLAGS
2671 C compiler flags for faudio, overriding pkg-config
2672 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2673 CAPI20_CFLAGS
2674 C compiler flags for capi20, overriding pkg-config
2675 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2676 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2677 CUPS_LIBS Linker flags for cups, overriding pkg-config
2678 FONTCONFIG_CFLAGS
2679 C compiler flags for fontconfig, overriding pkg-config
2680 FONTCONFIG_LIBS
2681 Linker flags for fontconfig, overriding pkg-config
2682 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2683 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2684 GSSAPI_CFLAGS
2685 C compiler flags for krb5-gssapi, overriding pkg-config
2686 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2687 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2688 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2689 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2690 PNG_LIBS Linker flags for libpng, overriding pkg-config
2691 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2692 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2693 MPG123_CFLAGS
2694 C compiler flags for libmpg123, overriding pkg-config
2695 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2696 NETAPI_CFLAGS
2697 C compiler flags for netapi, overriding pkg-config
2698 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2699 VKD3D_CFLAGS
2700 C compiler flags for libvkd3d, overriding pkg-config
2701 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2702 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2703 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2705 Use these variables to override the choices made by `configure' or to help
2706 it to find libraries and programs with nonstandard names/locations.
2708 Report bugs to <wine-devel@winehq.org>.
2709 Wine home page: <https://www.winehq.org>.
2710 _ACEOF
2711 ac_status=$?
2714 if test "$ac_init_help" = "recursive"; then
2715 # If there are subdirs, report their specific --help.
2716 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2717 test -d "$ac_dir" ||
2718 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2719 continue
2720 ac_builddir=.
2722 case "$ac_dir" in
2723 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2725 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2726 # A ".." for each directory in $ac_dir_suffix.
2727 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2728 case $ac_top_builddir_sub in
2729 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2730 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2731 esac ;;
2732 esac
2733 ac_abs_top_builddir=$ac_pwd
2734 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2735 # for backward compatibility:
2736 ac_top_builddir=$ac_top_build_prefix
2738 case $srcdir in
2739 .) # We are building in place.
2740 ac_srcdir=.
2741 ac_top_srcdir=$ac_top_builddir_sub
2742 ac_abs_top_srcdir=$ac_pwd ;;
2743 [\\/]* | ?:[\\/]* ) # Absolute name.
2744 ac_srcdir=$srcdir$ac_dir_suffix;
2745 ac_top_srcdir=$srcdir
2746 ac_abs_top_srcdir=$srcdir ;;
2747 *) # Relative name.
2748 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2749 ac_top_srcdir=$ac_top_build_prefix$srcdir
2750 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2751 esac
2752 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2754 cd "$ac_dir" || { ac_status=$?; continue; }
2755 # Check for guested configure.
2756 if test -f "$ac_srcdir/configure.gnu"; then
2757 echo &&
2758 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2759 elif test -f "$ac_srcdir/configure"; then
2760 echo &&
2761 $SHELL "$ac_srcdir/configure" --help=recursive
2762 else
2763 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2764 fi || ac_status=$?
2765 cd "$ac_pwd" || { ac_status=$?; break; }
2766 done
2769 test -n "$ac_init_help" && exit $ac_status
2770 if $ac_init_version; then
2771 cat <<\_ACEOF
2772 Wine configure 5.1
2773 generated by GNU Autoconf 2.69
2775 Copyright (C) 2012 Free Software Foundation, Inc.
2776 This configure script is free software; the Free Software Foundation
2777 gives unlimited permission to copy, distribute and modify it.
2778 _ACEOF
2779 exit
2782 ## ------------------------ ##
2783 ## Autoconf initialization. ##
2784 ## ------------------------ ##
2786 # ac_fn_c_try_compile LINENO
2787 # --------------------------
2788 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2789 ac_fn_c_try_compile ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 rm -f conftest.$ac_objext
2793 if { { ac_try="$ac_compile"
2794 case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797 esac
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_compile") 2>conftest.err
2801 ac_status=$?
2802 if test -s conftest.err; then
2803 grep -v '^ *+' conftest.err >conftest.er1
2804 cat conftest.er1 >&5
2805 mv -f conftest.er1 conftest.err
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && {
2809 test -z "$ac_c_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest.$ac_objext; then :
2812 ac_retval=0
2813 else
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 as_fn_set_status $ac_retval
2822 } # ac_fn_c_try_compile
2824 # ac_fn_cxx_try_compile LINENO
2825 # ----------------------------
2826 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2827 ac_fn_cxx_try_compile ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 rm -f conftest.$ac_objext
2831 if { { ac_try="$ac_compile"
2832 case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2835 esac
2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837 $as_echo "$ac_try_echo"; } >&5
2838 (eval "$ac_compile") 2>conftest.err
2839 ac_status=$?
2840 if test -s conftest.err; then
2841 grep -v '^ *+' conftest.err >conftest.er1
2842 cat conftest.er1 >&5
2843 mv -f conftest.er1 conftest.err
2845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; } && {
2847 test -z "$ac_cxx_werror_flag" ||
2848 test ! -s conftest.err
2849 } && test -s conftest.$ac_objext; then :
2850 ac_retval=0
2851 else
2852 $as_echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 ac_retval=1
2857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2858 as_fn_set_status $ac_retval
2860 } # ac_fn_cxx_try_compile
2862 # ac_fn_c_try_link LINENO
2863 # -----------------------
2864 # Try to link conftest.$ac_ext, and return whether this succeeded.
2865 ac_fn_c_try_link ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 rm -f conftest.$ac_objext conftest$ac_exeext
2869 if { { ac_try="$ac_link"
2870 case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875 $as_echo "$ac_try_echo"; } >&5
2876 (eval "$ac_link") 2>conftest.err
2877 ac_status=$?
2878 if test -s conftest.err; then
2879 grep -v '^ *+' conftest.err >conftest.er1
2880 cat conftest.er1 >&5
2881 mv -f conftest.er1 conftest.err
2883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2884 test $ac_status = 0; } && {
2885 test -z "$ac_c_werror_flag" ||
2886 test ! -s conftest.err
2887 } && test -s conftest$ac_exeext && {
2888 test "$cross_compiling" = yes ||
2889 test -x conftest$ac_exeext
2890 }; then :
2891 ac_retval=0
2892 else
2893 $as_echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 ac_retval=1
2898 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2899 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2900 # interfere with the next link command; also delete a directory that is
2901 # left behind by Apple's compiler. We do this before executing the actions.
2902 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 as_fn_set_status $ac_retval
2906 } # ac_fn_c_try_link
2908 # ac_fn_c_try_cpp LINENO
2909 # ----------------------
2910 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2911 ac_fn_c_try_cpp ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 if { { ac_try="$ac_cpp conftest.$ac_ext"
2915 case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2918 esac
2919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2920 $as_echo "$ac_try_echo"; } >&5
2921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2922 ac_status=$?
2923 if test -s conftest.err; then
2924 grep -v '^ *+' conftest.err >conftest.er1
2925 cat conftest.er1 >&5
2926 mv -f conftest.er1 conftest.err
2928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; } > conftest.i && {
2930 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2931 test ! -s conftest.err
2932 }; then :
2933 ac_retval=0
2934 else
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 ac_retval=1
2940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 as_fn_set_status $ac_retval
2943 } # ac_fn_c_try_cpp
2945 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2946 # -------------------------------------------------------
2947 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2948 # the include files in INCLUDES and setting the cache variable VAR
2949 # accordingly.
2950 ac_fn_c_check_header_mongrel ()
2952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2953 if eval \${$3+:} false; then :
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2955 $as_echo_n "checking for $2... " >&6; }
2956 if eval \${$3+:} false; then :
2957 $as_echo_n "(cached) " >&6
2959 eval ac_res=\$$3
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 $as_echo "$ac_res" >&6; }
2962 else
2963 # Is the header compilable?
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2965 $as_echo_n "checking $2 usability... " >&6; }
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2969 #include <$2>
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 ac_header_compiler=yes
2973 else
2974 ac_header_compiler=no
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2978 $as_echo "$ac_header_compiler" >&6; }
2980 # Is the header present?
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2982 $as_echo_n "checking $2 presence... " >&6; }
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2985 #include <$2>
2986 _ACEOF
2987 if ac_fn_c_try_cpp "$LINENO"; then :
2988 ac_header_preproc=yes
2989 else
2990 ac_header_preproc=no
2992 rm -f conftest.err conftest.i conftest.$ac_ext
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2994 $as_echo "$ac_header_preproc" >&6; }
2996 # So? What about this header?
2997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2998 yes:no: )
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3000 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3002 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3004 no:yes:* )
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3006 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3008 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3010 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3012 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3014 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3015 ( $as_echo "## ------------------------------------ ##
3016 ## Report this to wine-devel@winehq.org ##
3017 ## ------------------------------------ ##"
3018 ) | sed "s/^/$as_me: WARNING: /" >&2
3020 esac
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3022 $as_echo_n "checking for $2... " >&6; }
3023 if eval \${$3+:} false; then :
3024 $as_echo_n "(cached) " >&6
3025 else
3026 eval "$3=\$ac_header_compiler"
3028 eval ac_res=\$$3
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3030 $as_echo "$ac_res" >&6; }
3032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3034 } # ac_fn_c_check_header_mongrel
3036 # ac_fn_c_try_run LINENO
3037 # ----------------------
3038 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3039 # that executables *can* be run.
3040 ac_fn_c_try_run ()
3042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3043 if { { ac_try="$ac_link"
3044 case "(($ac_try" in
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3047 esac
3048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049 $as_echo "$ac_try_echo"; } >&5
3050 (eval "$ac_link") 2>&5
3051 ac_status=$?
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3054 { { case "(($ac_try" in
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3057 esac
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_try") 2>&5
3061 ac_status=$?
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; }; }; then :
3064 ac_retval=0
3065 else
3066 $as_echo "$as_me: program exited with status $ac_status" >&5
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3070 ac_retval=$ac_status
3072 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3074 as_fn_set_status $ac_retval
3076 } # ac_fn_c_try_run
3078 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3079 # -------------------------------------------------------
3080 # Tests whether HEADER exists and can be compiled using the include files in
3081 # INCLUDES, setting the cache variable VAR accordingly.
3082 ac_fn_c_check_header_compile ()
3084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3086 $as_echo_n "checking for $2... " >&6; }
3087 if eval \${$3+:} false; then :
3088 $as_echo_n "(cached) " >&6
3089 else
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3093 #include <$2>
3094 _ACEOF
3095 if ac_fn_c_try_compile "$LINENO"; then :
3096 eval "$3=yes"
3097 else
3098 eval "$3=no"
3100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 eval ac_res=\$$3
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3104 $as_echo "$ac_res" >&6; }
3105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 } # ac_fn_c_check_header_compile
3109 # ac_fn_objc_try_compile LINENO
3110 # -----------------------------
3111 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3112 ac_fn_objc_try_compile ()
3114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115 rm -f conftest.$ac_objext
3116 if { { ac_try="$ac_compile"
3117 case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_compile") 2>conftest.err
3124 ac_status=$?
3125 if test -s conftest.err; then
3126 grep -v '^ *+' conftest.err >conftest.er1
3127 cat conftest.er1 >&5
3128 mv -f conftest.er1 conftest.err
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; } && {
3132 test -z "$ac_objc_werror_flag" ||
3133 test ! -s conftest.err
3134 } && test -s conftest.$ac_objext; then :
3135 ac_retval=0
3136 else
3137 $as_echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3140 ac_retval=1
3142 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3143 as_fn_set_status $ac_retval
3145 } # ac_fn_objc_try_compile
3147 # ac_fn_objc_try_cpp LINENO
3148 # -------------------------
3149 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3150 ac_fn_objc_try_cpp ()
3152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3153 if { { ac_try="$ac_cpp conftest.$ac_ext"
3154 case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3157 esac
3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
3160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3161 ac_status=$?
3162 if test -s conftest.err; then
3163 grep -v '^ *+' conftest.err >conftest.er1
3164 cat conftest.er1 >&5
3165 mv -f conftest.er1 conftest.err
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; } > conftest.i && {
3169 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3170 test ! -s conftest.err
3171 }; then :
3172 ac_retval=0
3173 else
3174 $as_echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3177 ac_retval=1
3179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3180 as_fn_set_status $ac_retval
3182 } # ac_fn_objc_try_cpp
3184 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3185 # ----------------------------------------------------------
3186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3187 # the include files in INCLUDES and setting the cache variable VAR
3188 # accordingly.
3189 ac_fn_objc_check_header_mongrel ()
3191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3192 if eval \${$3+:} false; then :
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3194 $as_echo_n "checking for $2... " >&6; }
3195 if eval \${$3+:} false; then :
3196 $as_echo_n "(cached) " >&6
3198 eval ac_res=\$$3
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3200 $as_echo "$ac_res" >&6; }
3201 else
3202 # Is the header compilable?
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3204 $as_echo_n "checking $2 usability... " >&6; }
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3208 #include <$2>
3209 _ACEOF
3210 if ac_fn_objc_try_compile "$LINENO"; then :
3211 ac_header_compiler=yes
3212 else
3213 ac_header_compiler=no
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3217 $as_echo "$ac_header_compiler" >&6; }
3219 # Is the header present?
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3221 $as_echo_n "checking $2 presence... " >&6; }
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3224 #include <$2>
3225 _ACEOF
3226 if ac_fn_objc_try_cpp "$LINENO"; then :
3227 ac_header_preproc=yes
3228 else
3229 ac_header_preproc=no
3231 rm -f conftest.err conftest.i conftest.$ac_ext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3233 $as_echo "$ac_header_preproc" >&6; }
3235 # So? What about this header?
3236 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3237 yes:no: )
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3243 no:yes:* )
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3254 ( $as_echo "## ------------------------------------ ##
3255 ## Report this to wine-devel@winehq.org ##
3256 ## ------------------------------------ ##"
3257 ) | sed "s/^/$as_me: WARNING: /" >&2
3259 esac
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3261 $as_echo_n "checking for $2... " >&6; }
3262 if eval \${$3+:} false; then :
3263 $as_echo_n "(cached) " >&6
3264 else
3265 eval "$3=\$ac_header_compiler"
3267 eval ac_res=\$$3
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3269 $as_echo "$ac_res" >&6; }
3271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3273 } # ac_fn_objc_check_header_mongrel
3275 # ac_fn_c_check_func LINENO FUNC VAR
3276 # ----------------------------------
3277 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3278 ac_fn_c_check_func ()
3280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3282 $as_echo_n "checking for $2... " >&6; }
3283 if eval \${$3+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3288 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3290 #define $2 innocuous_$2
3292 /* System header to define __stub macros and hopefully few prototypes,
3293 which can conflict with char $2 (); below.
3294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3295 <limits.h> exists even on freestanding compilers. */
3297 #ifdef __STDC__
3298 # include <limits.h>
3299 #else
3300 # include <assert.h>
3301 #endif
3303 #undef $2
3305 /* Override any GCC internal prototype to avoid an error.
3306 Use char because int might match the return type of a GCC
3307 builtin and then its argument prototype would still apply. */
3308 #ifdef __cplusplus
3309 extern "C"
3310 #endif
3311 char $2 ();
3312 /* The GNU C library defines this for functions which it implements
3313 to always fail with ENOSYS. Some functions are actually named
3314 something starting with __ and the normal name is an alias. */
3315 #if defined __stub_$2 || defined __stub___$2
3316 choke me
3317 #endif
3320 main ()
3322 return $2 ();
3324 return 0;
3326 _ACEOF
3327 if ac_fn_c_try_link "$LINENO"; then :
3328 eval "$3=yes"
3329 else
3330 eval "$3=no"
3332 rm -f core conftest.err conftest.$ac_objext \
3333 conftest$ac_exeext conftest.$ac_ext
3335 eval ac_res=\$$3
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3337 $as_echo "$ac_res" >&6; }
3338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3340 } # ac_fn_c_check_func
3342 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3343 # ----------------------------------------------------
3344 # Tries to find if the field MEMBER exists in type AGGR, after including
3345 # INCLUDES, setting cache variable VAR accordingly.
3346 ac_fn_c_check_member ()
3348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3350 $as_echo_n "checking for $2.$3... " >&6; }
3351 if eval \${$4+:} false; then :
3352 $as_echo_n "(cached) " >&6
3353 else
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3358 main ()
3360 static $2 ac_aggr;
3361 if (ac_aggr.$3)
3362 return 0;
3364 return 0;
3366 _ACEOF
3367 if ac_fn_c_try_compile "$LINENO"; then :
3368 eval "$4=yes"
3369 else
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3374 main ()
3376 static $2 ac_aggr;
3377 if (sizeof ac_aggr.$3)
3378 return 0;
3380 return 0;
3382 _ACEOF
3383 if ac_fn_c_try_compile "$LINENO"; then :
3384 eval "$4=yes"
3385 else
3386 eval "$4=no"
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 eval ac_res=\$$4
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3394 $as_echo "$ac_res" >&6; }
3395 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3397 } # ac_fn_c_check_member
3399 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3400 # -------------------------------------------
3401 # Tests whether TYPE exists after having included INCLUDES, setting cache
3402 # variable VAR accordingly.
3403 ac_fn_c_check_type ()
3405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3407 $as_echo_n "checking for $2... " >&6; }
3408 if eval \${$3+:} false; then :
3409 $as_echo_n "(cached) " >&6
3410 else
3411 eval "$3=no"
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3416 main ()
3418 if (sizeof ($2))
3419 return 0;
3421 return 0;
3423 _ACEOF
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3429 main ()
3431 if (sizeof (($2)))
3432 return 0;
3434 return 0;
3436 _ACEOF
3437 if ac_fn_c_try_compile "$LINENO"; then :
3439 else
3440 eval "$3=yes"
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 eval ac_res=\$$3
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3448 $as_echo "$ac_res" >&6; }
3449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3451 } # ac_fn_c_check_type
3452 cat >config.log <<_ACEOF
3453 This file contains any messages produced by compilers while
3454 running configure, to aid debugging if configure makes a mistake.
3456 It was created by Wine $as_me 5.1, which was
3457 generated by GNU Autoconf 2.69. Invocation command line was
3459 $ $0 $@
3461 _ACEOF
3462 exec 5>>config.log
3464 cat <<_ASUNAME
3465 ## --------- ##
3466 ## Platform. ##
3467 ## --------- ##
3469 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3470 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3471 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3472 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3473 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3475 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3476 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3478 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3479 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3480 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3481 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3482 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3483 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3484 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3486 _ASUNAME
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 for as_dir in $PATH
3491 IFS=$as_save_IFS
3492 test -z "$as_dir" && as_dir=.
3493 $as_echo "PATH: $as_dir"
3494 done
3495 IFS=$as_save_IFS
3497 } >&5
3499 cat >&5 <<_ACEOF
3502 ## ----------- ##
3503 ## Core tests. ##
3504 ## ----------- ##
3506 _ACEOF
3509 # Keep a trace of the command line.
3510 # Strip out --no-create and --no-recursion so they do not pile up.
3511 # Strip out --silent because we don't want to record it for future runs.
3512 # Also quote any args containing shell meta-characters.
3513 # Make two passes to allow for proper duplicate-argument suppression.
3514 ac_configure_args=
3515 ac_configure_args0=
3516 ac_configure_args1=
3517 ac_must_keep_next=false
3518 for ac_pass in 1 2
3520 for ac_arg
3522 case $ac_arg in
3523 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3525 | -silent | --silent | --silen | --sile | --sil)
3526 continue ;;
3527 *\'*)
3528 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3529 esac
3530 case $ac_pass in
3531 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3533 as_fn_append ac_configure_args1 " '$ac_arg'"
3534 if test $ac_must_keep_next = true; then
3535 ac_must_keep_next=false # Got value, back to normal.
3536 else
3537 case $ac_arg in
3538 *=* | --config-cache | -C | -disable-* | --disable-* \
3539 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3540 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3541 | -with-* | --with-* | -without-* | --without-* | --x)
3542 case "$ac_configure_args0 " in
3543 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3544 esac
3546 -* ) ac_must_keep_next=true ;;
3547 esac
3549 as_fn_append ac_configure_args " '$ac_arg'"
3551 esac
3552 done
3553 done
3554 { ac_configure_args0=; unset ac_configure_args0;}
3555 { ac_configure_args1=; unset ac_configure_args1;}
3557 # When interrupted or exit'd, cleanup temporary files, and complete
3558 # config.log. We remove comments because anyway the quotes in there
3559 # would cause problems or look ugly.
3560 # WARNING: Use '\'' to represent an apostrophe within the trap.
3561 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3562 trap 'exit_status=$?
3563 # Save into config.log some information that might help in debugging.
3565 echo
3567 $as_echo "## ---------------- ##
3568 ## Cache variables. ##
3569 ## ---------------- ##"
3570 echo
3571 # The following way of writing the cache mishandles newlines in values,
3573 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3574 eval ac_val=\$$ac_var
3575 case $ac_val in #(
3576 *${as_nl}*)
3577 case $ac_var in #(
3578 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3580 esac
3581 case $ac_var in #(
3582 _ | IFS | as_nl) ;; #(
3583 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3584 *) { eval $ac_var=; unset $ac_var;} ;;
3585 esac ;;
3586 esac
3587 done
3588 (set) 2>&1 |
3589 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3590 *${as_nl}ac_space=\ *)
3591 sed -n \
3592 "s/'\''/'\''\\\\'\'''\''/g;
3593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3594 ;; #(
3596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3598 esac |
3599 sort
3601 echo
3603 $as_echo "## ----------------- ##
3604 ## Output variables. ##
3605 ## ----------------- ##"
3606 echo
3607 for ac_var in $ac_subst_vars
3609 eval ac_val=\$$ac_var
3610 case $ac_val in
3611 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3612 esac
3613 $as_echo "$ac_var='\''$ac_val'\''"
3614 done | sort
3615 echo
3617 if test -n "$ac_subst_files"; then
3618 $as_echo "## ------------------- ##
3619 ## File substitutions. ##
3620 ## ------------------- ##"
3621 echo
3622 for ac_var in $ac_subst_files
3624 eval ac_val=\$$ac_var
3625 case $ac_val in
3626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3627 esac
3628 $as_echo "$ac_var='\''$ac_val'\''"
3629 done | sort
3630 echo
3633 if test -s confdefs.h; then
3634 $as_echo "## ----------- ##
3635 ## confdefs.h. ##
3636 ## ----------- ##"
3637 echo
3638 cat confdefs.h
3639 echo
3641 test "$ac_signal" != 0 &&
3642 $as_echo "$as_me: caught signal $ac_signal"
3643 $as_echo "$as_me: exit $exit_status"
3644 } >&5
3645 rm -f core *.core core.conftest.* &&
3646 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3647 exit $exit_status
3649 for ac_signal in 1 2 13 15; do
3650 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3651 done
3652 ac_signal=0
3654 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3655 rm -f -r conftest* confdefs.h
3657 $as_echo "/* confdefs.h */" > confdefs.h
3659 # Predefined preprocessor variables.
3661 cat >>confdefs.h <<_ACEOF
3662 #define PACKAGE_NAME "$PACKAGE_NAME"
3663 _ACEOF
3665 cat >>confdefs.h <<_ACEOF
3666 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3667 _ACEOF
3669 cat >>confdefs.h <<_ACEOF
3670 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3671 _ACEOF
3673 cat >>confdefs.h <<_ACEOF
3674 #define PACKAGE_STRING "$PACKAGE_STRING"
3675 _ACEOF
3677 cat >>confdefs.h <<_ACEOF
3678 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3679 _ACEOF
3681 cat >>confdefs.h <<_ACEOF
3682 #define PACKAGE_URL "$PACKAGE_URL"
3683 _ACEOF
3686 # Let the site file select an alternate cache file if it wants to.
3687 # Prefer an explicitly selected file to automatically selected ones.
3688 ac_site_file1=NONE
3689 ac_site_file2=NONE
3690 if test -n "$CONFIG_SITE"; then
3691 # We do not want a PATH search for config.site.
3692 case $CONFIG_SITE in #((
3693 -*) ac_site_file1=./$CONFIG_SITE;;
3694 */*) ac_site_file1=$CONFIG_SITE;;
3695 *) ac_site_file1=./$CONFIG_SITE;;
3696 esac
3697 elif test "x$prefix" != xNONE; then
3698 ac_site_file1=$prefix/share/config.site
3699 ac_site_file2=$prefix/etc/config.site
3700 else
3701 ac_site_file1=$ac_default_prefix/share/config.site
3702 ac_site_file2=$ac_default_prefix/etc/config.site
3704 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3706 test "x$ac_site_file" = xNONE && continue
3707 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3709 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3710 sed 's/^/| /' "$ac_site_file" >&5
3711 . "$ac_site_file" \
3712 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error $? "failed to load site script $ac_site_file
3715 See \`config.log' for more details" "$LINENO" 5; }
3717 done
3719 if test -r "$cache_file"; then
3720 # Some versions of bash will fail to source /dev/null (special files
3721 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3722 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3724 $as_echo "$as_me: loading cache $cache_file" >&6;}
3725 case $cache_file in
3726 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3727 *) . "./$cache_file";;
3728 esac
3730 else
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3732 $as_echo "$as_me: creating cache $cache_file" >&6;}
3733 >$cache_file
3736 # Check that the precious variables saved in the cache have kept the same
3737 # value.
3738 ac_cache_corrupted=false
3739 for ac_var in $ac_precious_vars; do
3740 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3741 eval ac_new_set=\$ac_env_${ac_var}_set
3742 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3743 eval ac_new_val=\$ac_env_${ac_var}_value
3744 case $ac_old_set,$ac_new_set in
3745 set,)
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3747 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3748 ac_cache_corrupted=: ;;
3749 ,set)
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3751 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3752 ac_cache_corrupted=: ;;
3753 ,);;
3755 if test "x$ac_old_val" != "x$ac_new_val"; then
3756 # differences in whitespace do not lead to failure.
3757 ac_old_val_w=`echo x $ac_old_val`
3758 ac_new_val_w=`echo x $ac_new_val`
3759 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3761 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3762 ac_cache_corrupted=:
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3765 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3766 eval $ac_var=\$ac_old_val
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3769 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3771 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3772 fi;;
3773 esac
3774 # Pass precious variables to config.status.
3775 if test "$ac_new_set" = set; then
3776 case $ac_new_val in
3777 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3778 *) ac_arg=$ac_var=$ac_new_val ;;
3779 esac
3780 case " $ac_configure_args " in
3781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3782 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3783 esac
3785 done
3786 if $ac_cache_corrupted; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3790 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3791 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3793 ## -------------------- ##
3794 ## Main body of script. ##
3795 ## -------------------- ##
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3805 ac_config_headers="$ac_config_headers include/config.h"
3807 ac_aux_dir=
3808 for ac_dir in tools "$srcdir"/tools; do
3809 if test -f "$ac_dir/install-sh"; then
3810 ac_aux_dir=$ac_dir
3811 ac_install_sh="$ac_aux_dir/install-sh -c"
3812 break
3813 elif test -f "$ac_dir/install.sh"; then
3814 ac_aux_dir=$ac_dir
3815 ac_install_sh="$ac_aux_dir/install.sh -c"
3816 break
3817 elif test -f "$ac_dir/shtool"; then
3818 ac_aux_dir=$ac_dir
3819 ac_install_sh="$ac_aux_dir/shtool install -c"
3820 break
3822 done
3823 if test -z "$ac_aux_dir"; then
3824 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3827 # These three variables are undocumented and unsupported,
3828 # and are intended to be withdrawn in a future Autoconf release.
3829 # They can cause serious problems if a builder's source tree is in a directory
3830 # whose full name contains unusual characters.
3831 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3832 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3833 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3837 libwine_version="1.0"
3841 # Check whether --enable-win16 was given.
3842 if test "${enable_win16+set}" = set; then :
3843 enableval=$enable_win16;
3846 # Check whether --enable-win64 was given.
3847 if test "${enable_win64+set}" = set; then :
3848 enableval=$enable_win64;
3851 # Check whether --enable-tests was given.
3852 if test "${enable_tests+set}" = set; then :
3853 enableval=$enable_tests;
3856 # Check whether --enable-maintainer-mode was given.
3857 if test "${enable_maintainer_mode+set}" = set; then :
3858 enableval=$enable_maintainer_mode;
3863 # Check whether --with-alsa was given.
3864 if test "${with_alsa+set}" = set; then :
3865 withval=$with_alsa;
3869 # Check whether --with-capi was given.
3870 if test "${with_capi+set}" = set; then :
3871 withval=$with_capi;
3875 # Check whether --with-cms was given.
3876 if test "${with_cms+set}" = set; then :
3877 withval=$with_cms;
3881 # Check whether --with-coreaudio was given.
3882 if test "${with_coreaudio+set}" = set; then :
3883 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3887 # Check whether --with-cups was given.
3888 if test "${with_cups+set}" = set; then :
3889 withval=$with_cups;
3893 # Check whether --with-curses was given.
3894 if test "${with_curses+set}" = set; then :
3895 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3899 # Check whether --with-dbus was given.
3900 if test "${with_dbus+set}" = set; then :
3901 withval=$with_dbus;
3905 # Check whether --with-faudio was given.
3906 if test "${with_faudio+set}" = set; then :
3907 withval=$with_faudio;
3911 # Check whether --with-float-abi was given.
3912 if test "${with_float_abi+set}" = set; then :
3913 withval=$with_float_abi;
3917 # Check whether --with-fontconfig was given.
3918 if test "${with_fontconfig+set}" = set; then :
3919 withval=$with_fontconfig;
3923 # Check whether --with-freetype was given.
3924 if test "${with_freetype+set}" = set; then :
3925 withval=$with_freetype;
3929 # Check whether --with-gettext was given.
3930 if test "${with_gettext+set}" = set; then :
3931 withval=$with_gettext;
3935 # Check whether --with-gettextpo was given.
3936 if test "${with_gettextpo+set}" = set; then :
3937 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3941 # Check whether --with-gphoto was given.
3942 if test "${with_gphoto+set}" = set; then :
3943 withval=$with_gphoto;
3947 # Check whether --with-glu was given.
3948 if test "${with_glu+set}" = set; then :
3949 withval=$with_glu;
3953 # Check whether --with-gnutls was given.
3954 if test "${with_gnutls+set}" = set; then :
3955 withval=$with_gnutls;
3959 # Check whether --with-gsm was given.
3960 if test "${with_gsm+set}" = set; then :
3961 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3965 # Check whether --with-gssapi was given.
3966 if test "${with_gssapi+set}" = set; then :
3967 withval=$with_gssapi;
3971 # Check whether --with-gstreamer was given.
3972 if test "${with_gstreamer+set}" = set; then :
3973 withval=$with_gstreamer;
3977 # Check whether --with-hal was given.
3978 if test "${with_hal+set}" = set; then :
3979 withval=$with_hal;
3983 # Check whether --with-inotify was given.
3984 if test "${with_inotify+set}" = set; then :
3985 withval=$with_inotify;
3989 # Check whether --with-jpeg was given.
3990 if test "${with_jpeg+set}" = set; then :
3991 withval=$with_jpeg;
3995 # Check whether --with-krb5 was given.
3996 if test "${with_krb5+set}" = set; then :
3997 withval=$with_krb5;
4001 # Check whether --with-ldap was given.
4002 if test "${with_ldap+set}" = set; then :
4003 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4007 # Check whether --with-mingw was given.
4008 if test "${with_mingw+set}" = set; then :
4009 withval=$with_mingw;
4013 # Check whether --with-mpg123 was given.
4014 if test "${with_mpg123+set}" = set; then :
4015 withval=$with_mpg123;
4019 # Check whether --with-netapi was given.
4020 if test "${with_netapi+set}" = set; then :
4021 withval=$with_netapi;
4025 # Check whether --with-openal was given.
4026 if test "${with_openal+set}" = set; then :
4027 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4031 # Check whether --with-opencl was given.
4032 if test "${with_opencl+set}" = set; then :
4033 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4037 # Check whether --with-opengl was given.
4038 if test "${with_opengl+set}" = set; then :
4039 withval=$with_opengl;
4043 # Check whether --with-osmesa was given.
4044 if test "${with_osmesa+set}" = set; then :
4045 withval=$with_osmesa;
4049 # Check whether --with-oss was given.
4050 if test "${with_oss+set}" = set; then :
4051 withval=$with_oss;
4055 # Check whether --with-pcap was given.
4056 if test "${with_pcap+set}" = set; then :
4057 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4061 # Check whether --with-png was given.
4062 if test "${with_png+set}" = set; then :
4063 withval=$with_png;
4067 # Check whether --with-pthread was given.
4068 if test "${with_pthread+set}" = set; then :
4069 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4073 # Check whether --with-pulse was given.
4074 if test "${with_pulse+set}" = set; then :
4075 withval=$with_pulse;
4079 # Check whether --with-sane was given.
4080 if test "${with_sane+set}" = set; then :
4081 withval=$with_sane;
4085 # Check whether --with-sdl was given.
4086 if test "${with_sdl+set}" = set; then :
4087 withval=$with_sdl;
4091 # Check whether --with-tiff was given.
4092 if test "${with_tiff+set}" = set; then :
4093 withval=$with_tiff;
4097 # Check whether --with-udev was given.
4098 if test "${with_udev+set}" = set; then :
4099 withval=$with_udev;
4103 # Check whether --with-unwind was given.
4104 if test "${with_unwind+set}" = set; then :
4105 withval=$with_unwind;
4109 # Check whether --with-v4l2 was given.
4110 if test "${with_v4l2+set}" = set; then :
4111 withval=$with_v4l2;
4115 # Check whether --with-vkd3d was given.
4116 if test "${with_vkd3d+set}" = set; then :
4117 withval=$with_vkd3d;
4121 # Check whether --with-vulkan was given.
4122 if test "${with_vulkan+set}" = set; then :
4123 withval=$with_vulkan;
4127 # Check whether --with-xcomposite was given.
4128 if test "${with_xcomposite+set}" = set; then :
4129 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4133 # Check whether --with-xcursor was given.
4134 if test "${with_xcursor+set}" = set; then :
4135 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4139 # Check whether --with-xfixes was given.
4140 if test "${with_xfixes+set}" = set; then :
4141 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4145 # Check whether --with-xinerama was given.
4146 if test "${with_xinerama+set}" = set; then :
4147 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4151 # Check whether --with-xinput was given.
4152 if test "${with_xinput+set}" = set; then :
4153 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4157 # Check whether --with-xinput2 was given.
4158 if test "${with_xinput2+set}" = set; then :
4159 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4163 # Check whether --with-xml was given.
4164 if test "${with_xml+set}" = set; then :
4165 withval=$with_xml;
4169 # Check whether --with-xrandr was given.
4170 if test "${with_xrandr+set}" = set; then :
4171 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4175 # Check whether --with-xrender was given.
4176 if test "${with_xrender+set}" = set; then :
4177 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4181 # Check whether --with-xshape was given.
4182 if test "${with_xshape+set}" = set; then :
4183 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4187 # Check whether --with-xshm was given.
4188 if test "${with_xshm+set}" = set; then :
4189 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4193 # Check whether --with-xslt was given.
4194 if test "${with_xslt+set}" = set; then :
4195 withval=$with_xslt;
4199 # Check whether --with-xxf86vm was given.
4200 if test "${with_xxf86vm+set}" = set; then :
4201 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
4205 # Check whether --with-zlib was given.
4206 if test "${with_zlib+set}" = set; then :
4207 withval=$with_zlib;
4212 # Check whether --with-wine-tools was given.
4213 if test "${with_wine_tools+set}" = set; then :
4214 withval=$with_wine_tools;
4218 # Check whether --with-wine64 was given.
4219 if test "${with_wine64+set}" = set; then :
4220 withval=$with_wine64;
4224 # Make sure we can run config.sub.
4225 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4226 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4229 $as_echo_n "checking build system type... " >&6; }
4230 if ${ac_cv_build+:} false; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 ac_build_alias=$build_alias
4234 test "x$ac_build_alias" = x &&
4235 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4236 test "x$ac_build_alias" = x &&
4237 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4238 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4239 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4243 $as_echo "$ac_cv_build" >&6; }
4244 case $ac_cv_build in
4245 *-*-*) ;;
4246 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4247 esac
4248 build=$ac_cv_build
4249 ac_save_IFS=$IFS; IFS='-'
4250 set x $ac_cv_build
4251 shift
4252 build_cpu=$1
4253 build_vendor=$2
4254 shift; shift
4255 # Remember, the first character of IFS is used to create $*,
4256 # except with old shells:
4257 build_os=$*
4258 IFS=$ac_save_IFS
4259 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4263 $as_echo_n "checking host system type... " >&6; }
4264 if ${ac_cv_host+:} false; then :
4265 $as_echo_n "(cached) " >&6
4266 else
4267 if test "x$host_alias" = x; then
4268 ac_cv_host=$ac_cv_build
4269 else
4270 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4271 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4276 $as_echo "$ac_cv_host" >&6; }
4277 case $ac_cv_host in
4278 *-*-*) ;;
4279 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4280 esac
4281 host=$ac_cv_host
4282 ac_save_IFS=$IFS; IFS='-'
4283 set x $ac_cv_host
4284 shift
4285 host_cpu=$1
4286 host_vendor=$2
4287 shift; shift
4288 # Remember, the first character of IFS is used to create $*,
4289 # except with old shells:
4290 host_os=$*
4291 IFS=$ac_save_IFS
4292 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4298 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4299 set x ${MAKE-make}
4300 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4301 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 cat >conftest.make <<\_ACEOF
4305 SHELL = /bin/sh
4306 all:
4307 @echo '@@@%%%=$(MAKE)=@@@%%%'
4308 _ACEOF
4309 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4310 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4311 *@@@%%%=?*=@@@%%%*)
4312 eval ac_cv_prog_make_${ac_make}_set=yes;;
4314 eval ac_cv_prog_make_${ac_make}_set=no;;
4315 esac
4316 rm -f conftest.make
4318 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4320 $as_echo "yes" >&6; }
4321 SET_MAKE=
4322 else
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4325 SET_MAKE="MAKE=${MAKE-make}"
4328 ac_ext=c
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 if test -n "$ac_tool_prefix"; then
4334 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4335 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_CC+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -n "$CC"; then
4342 ac_cv_prog_CC="$CC" # Let the user override the test.
4343 else
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4347 IFS=$as_save_IFS
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 break 2
4355 done
4356 done
4357 IFS=$as_save_IFS
4361 CC=$ac_cv_prog_CC
4362 if test -n "$CC"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4364 $as_echo "$CC" >&6; }
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4372 if test -z "$ac_cv_prog_CC"; then
4373 ac_ct_CC=$CC
4374 # Extract the first word of "gcc", so it can be a program name with args.
4375 set dummy gcc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$ac_ct_CC"; then
4382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_ac_ct_CC="gcc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4402 if test -n "$ac_ct_CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4404 $as_echo "$ac_ct_CC" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4410 if test "x$ac_ct_CC" = x; then
4411 CC=""
4412 else
4413 case $cross_compiling:$ac_tool_warned in
4414 yes:)
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4417 ac_tool_warned=yes ;;
4418 esac
4419 CC=$ac_ct_CC
4421 else
4422 CC="$ac_cv_prog_CC"
4425 if test -z "$CC"; then
4426 if test -n "$ac_tool_prefix"; then
4427 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4428 set dummy ${ac_tool_prefix}cc; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_prog_CC+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 if test -n "$CC"; then
4435 ac_cv_prog_CC="$CC" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4440 IFS=$as_save_IFS
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_CC="${ac_tool_prefix}cc"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 break 2
4448 done
4449 done
4450 IFS=$as_save_IFS
4454 CC=$ac_cv_prog_CC
4455 if test -n "$CC"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4457 $as_echo "$CC" >&6; }
4458 else
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4466 if test -z "$CC"; then
4467 # Extract the first word of "cc", so it can be a program name with args.
4468 set dummy cc; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_CC+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 if test -n "$CC"; then
4475 ac_cv_prog_CC="$CC" # Let the user override the test.
4476 else
4477 ac_prog_rejected=no
4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH
4481 IFS=$as_save_IFS
4482 test -z "$as_dir" && as_dir=.
4483 for ac_exec_ext in '' $ac_executable_extensions; do
4484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4485 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4486 ac_prog_rejected=yes
4487 continue
4489 ac_cv_prog_CC="cc"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4493 done
4494 done
4495 IFS=$as_save_IFS
4497 if test $ac_prog_rejected = yes; then
4498 # We found a bogon in the path, so make sure we never use it.
4499 set dummy $ac_cv_prog_CC
4500 shift
4501 if test $# != 0; then
4502 # We chose a different compiler from the bogus one.
4503 # However, it has the same basename, so the bogon will be chosen
4504 # first if we set CC to just the basename; use the full file name.
4505 shift
4506 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4511 CC=$ac_cv_prog_CC
4512 if test -n "$CC"; then
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4514 $as_echo "$CC" >&6; }
4515 else
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4517 $as_echo "no" >&6; }
4522 if test -z "$CC"; then
4523 if test -n "$ac_tool_prefix"; then
4524 for ac_prog in cl.exe
4526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4527 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4529 $as_echo_n "checking for $ac_word... " >&6; }
4530 if ${ac_cv_prog_CC+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 if test -n "$CC"; then
4534 ac_cv_prog_CC="$CC" # Let the user override the test.
4535 else
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 for as_dir in $PATH
4539 IFS=$as_save_IFS
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 break 2
4547 done
4548 done
4549 IFS=$as_save_IFS
4553 CC=$ac_cv_prog_CC
4554 if test -n "$CC"; then
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4556 $as_echo "$CC" >&6; }
4557 else
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559 $as_echo "no" >&6; }
4563 test -n "$CC" && break
4564 done
4566 if test -z "$CC"; then
4567 ac_ct_CC=$CC
4568 for ac_prog in cl.exe
4570 # Extract the first word of "$ac_prog", so it can be a program name with args.
4571 set dummy $ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -n "$ac_ct_CC"; then
4578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_ac_ct_CC="$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4598 if test -n "$ac_ct_CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4600 $as_echo "$ac_ct_CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$ac_ct_CC" && break
4608 done
4610 if test "x$ac_ct_CC" = x; then
4611 CC=""
4612 else
4613 case $cross_compiling:$ac_tool_warned in
4614 yes:)
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4617 ac_tool_warned=yes ;;
4618 esac
4619 CC=$ac_ct_CC
4626 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4628 as_fn_error $? "no acceptable C compiler found in \$PATH
4629 See \`config.log' for more details" "$LINENO" 5; }
4631 # Provide some information about the compiler.
4632 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4633 set X $ac_compile
4634 ac_compiler=$2
4635 for ac_option in --version -v -V -qversion; do
4636 { { ac_try="$ac_compiler $ac_option >&5"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4644 ac_status=$?
4645 if test -s conftest.err; then
4646 sed '10a\
4647 ... rest of stderr output deleted ...
4648 10q' conftest.err >conftest.er1
4649 cat conftest.er1 >&5
4651 rm -f conftest.er1 conftest.err
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }
4654 done
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4664 return 0;
4666 _ACEOF
4667 ac_clean_files_save=$ac_clean_files
4668 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4669 # Try to create an executable without -o first, disregard a.out.
4670 # It will help us diagnose broken compilers, and finding out an intuition
4671 # of exeext.
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4673 $as_echo_n "checking whether the C compiler works... " >&6; }
4674 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4676 # The possible output files:
4677 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4679 ac_rmfiles=
4680 for ac_file in $ac_files
4682 case $ac_file in
4683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4684 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4685 esac
4686 done
4687 rm -f $ac_rmfiles
4689 if { { ac_try="$ac_link_default"
4690 case "(($ac_try" in
4691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4692 *) ac_try_echo=$ac_try;;
4693 esac
4694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4695 $as_echo "$ac_try_echo"; } >&5
4696 (eval "$ac_link_default") 2>&5
4697 ac_status=$?
4698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4699 test $ac_status = 0; }; then :
4700 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4702 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4703 # so that the user can short-circuit this test for compilers unknown to
4704 # Autoconf.
4705 for ac_file in $ac_files ''
4707 test -f "$ac_file" || continue
4708 case $ac_file in
4709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4711 [ab].out )
4712 # We found the default executable, but exeext='' is most
4713 # certainly right.
4714 break;;
4715 *.* )
4716 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4717 then :; else
4718 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4720 # We set ac_cv_exeext here because the later test for it is not
4721 # safe: cross compilers may not add the suffix if given an `-o'
4722 # argument, so we may need to know it at that point already.
4723 # Even if this section looks crufty: it has the advantage of
4724 # actually working.
4725 break;;
4727 break;;
4728 esac
4729 done
4730 test "$ac_cv_exeext" = no && ac_cv_exeext=
4732 else
4733 ac_file=''
4735 if test -z "$ac_file"; then :
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4738 $as_echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.$ac_ext >&5
4741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4743 as_fn_error 77 "C compiler cannot create executables
4744 See \`config.log' for more details" "$LINENO" 5; }
4745 else
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4747 $as_echo "yes" >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4750 $as_echo_n "checking for C compiler default output file name... " >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4752 $as_echo "$ac_file" >&6; }
4753 ac_exeext=$ac_cv_exeext
4755 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4756 ac_clean_files=$ac_clean_files_save
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4758 $as_echo_n "checking for suffix of executables... " >&6; }
4759 if { { ac_try="$ac_link"
4760 case "(($ac_try" in
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4763 esac
4764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4765 $as_echo "$ac_try_echo"; } >&5
4766 (eval "$ac_link") 2>&5
4767 ac_status=$?
4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769 test $ac_status = 0; }; then :
4770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4772 # work properly (i.e., refer to `conftest.exe'), while it won't with
4773 # `rm'.
4774 for ac_file in conftest.exe conftest conftest.*; do
4775 test -f "$ac_file" || continue
4776 case $ac_file in
4777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4779 break;;
4780 * ) break;;
4781 esac
4782 done
4783 else
4784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4786 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4787 See \`config.log' for more details" "$LINENO" 5; }
4789 rm -f conftest conftest$ac_cv_exeext
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4791 $as_echo "$ac_cv_exeext" >&6; }
4793 rm -f conftest.$ac_ext
4794 EXEEXT=$ac_cv_exeext
4795 ac_exeext=$EXEEXT
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4798 #include <stdio.h>
4800 main ()
4802 FILE *f = fopen ("conftest.out", "w");
4803 return ferror (f) || fclose (f) != 0;
4806 return 0;
4808 _ACEOF
4809 ac_clean_files="$ac_clean_files conftest.out"
4810 # Check that the compiler produces executables we can run. If not, either
4811 # the compiler is broken, or we cross compile.
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4813 $as_echo_n "checking whether we are cross compiling... " >&6; }
4814 if test "$cross_compiling" != yes; then
4815 { { ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4821 $as_echo "$ac_try_echo"; } >&5
4822 (eval "$ac_link") 2>&5
4823 ac_status=$?
4824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4825 test $ac_status = 0; }
4826 if { ac_try='./conftest$ac_cv_exeext'
4827 { { case "(($ac_try" in
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4830 esac
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_try") 2>&5
4834 ac_status=$?
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }; }; then
4837 cross_compiling=no
4838 else
4839 if test "$cross_compiling" = maybe; then
4840 cross_compiling=yes
4841 else
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $? "cannot run C compiled programs.
4845 If you meant to cross compile, use \`--host'.
4846 See \`config.log' for more details" "$LINENO" 5; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4851 $as_echo "$cross_compiling" >&6; }
4853 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4854 ac_clean_files=$ac_clean_files_save
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4856 $as_echo_n "checking for suffix of object files... " >&6; }
4857 if ${ac_cv_objext+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4864 main ()
4868 return 0;
4870 _ACEOF
4871 rm -f conftest.o conftest.obj
4872 if { { ac_try="$ac_compile"
4873 case "(($ac_try" in
4874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4876 esac
4877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4878 $as_echo "$ac_try_echo"; } >&5
4879 (eval "$ac_compile") 2>&5
4880 ac_status=$?
4881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882 test $ac_status = 0; }; then :
4883 for ac_file in conftest.o conftest.obj conftest.*; do
4884 test -f "$ac_file" || continue;
4885 case $ac_file in
4886 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4887 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4888 break;;
4889 esac
4890 done
4891 else
4892 $as_echo "$as_me: failed program was:" >&5
4893 sed 's/^/| /' conftest.$ac_ext >&5
4895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4897 as_fn_error $? "cannot compute suffix of object files: cannot compile
4898 See \`config.log' for more details" "$LINENO" 5; }
4900 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4903 $as_echo "$ac_cv_objext" >&6; }
4904 OBJEXT=$ac_cv_objext
4905 ac_objext=$OBJEXT
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4907 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4908 if ${ac_cv_c_compiler_gnu+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4917 #ifndef __GNUC__
4918 choke me
4919 #endif
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4926 ac_compiler_gnu=yes
4927 else
4928 ac_compiler_gnu=no
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4935 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4936 if test $ac_compiler_gnu = yes; then
4937 GCC=yes
4938 else
4939 GCC=
4941 ac_test_CFLAGS=${CFLAGS+set}
4942 ac_save_CFLAGS=$CFLAGS
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4944 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4945 if ${ac_cv_prog_cc_g+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 ac_save_c_werror_flag=$ac_c_werror_flag
4949 ac_c_werror_flag=yes
4950 ac_cv_prog_cc_g=no
4951 CFLAGS="-g"
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4960 return 0;
4962 _ACEOF
4963 if ac_fn_c_try_compile "$LINENO"; then :
4964 ac_cv_prog_cc_g=yes
4965 else
4966 CFLAGS=""
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_c_try_compile "$LINENO"; then :
4980 else
4981 ac_c_werror_flag=$ac_save_c_werror_flag
4982 CFLAGS="-g"
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4995 ac_cv_prog_cc_g=yes
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 ac_c_werror_flag=$ac_save_c_werror_flag
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5005 $as_echo "$ac_cv_prog_cc_g" >&6; }
5006 if test "$ac_test_CFLAGS" = set; then
5007 CFLAGS=$ac_save_CFLAGS
5008 elif test $ac_cv_prog_cc_g = yes; then
5009 if test "$GCC" = yes; then
5010 CFLAGS="-g -O2"
5011 else
5012 CFLAGS="-g"
5014 else
5015 if test "$GCC" = yes; then
5016 CFLAGS="-O2"
5017 else
5018 CFLAGS=
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5022 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5023 if ${ac_cv_prog_cc_c89+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 ac_cv_prog_cc_c89=no
5027 ac_save_CC=$CC
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 #include <stdarg.h>
5031 #include <stdio.h>
5032 struct stat;
5033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5034 struct buf { int x; };
5035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5036 static char *e (p, i)
5037 char **p;
5038 int i;
5040 return p[i];
5042 static char *f (char * (*g) (char **, int), char **p, ...)
5044 char *s;
5045 va_list v;
5046 va_start (v,p);
5047 s = g (p, va_arg (v,int));
5048 va_end (v);
5049 return s;
5052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5053 function prototypes and stuff, but not '\xHH' hex character constants.
5054 These don't provoke an error unfortunately, instead are silently treated
5055 as 'x'. The following induces an error, until -std is added to get
5056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5057 array size at least. It's necessary to write '\x00'==0 to get something
5058 that's true only with -std. */
5059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5062 inside strings and character constants. */
5063 #define FOO(x) 'x'
5064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5066 int test (int i, double x);
5067 struct s1 {int (*f) (int a);};
5068 struct s2 {int (*f) (double a);};
5069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5070 int argc;
5071 char **argv;
5073 main ()
5075 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5077 return 0;
5079 _ACEOF
5080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5081 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5083 CC="$ac_save_CC $ac_arg"
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 ac_cv_prog_cc_c89=$ac_arg
5087 rm -f core conftest.err conftest.$ac_objext
5088 test "x$ac_cv_prog_cc_c89" != "xno" && break
5089 done
5090 rm -f conftest.$ac_ext
5091 CC=$ac_save_CC
5094 # AC_CACHE_VAL
5095 case "x$ac_cv_prog_cc_c89" in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5098 $as_echo "none needed" >&6; } ;;
5099 xno)
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5101 $as_echo "unsupported" >&6; } ;;
5103 CC="$CC $ac_cv_prog_cc_c89"
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5105 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5106 esac
5107 if test "x$ac_cv_prog_cc_c89" != xno; then :
5111 ac_ext=c
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 ac_ext=cpp
5118 ac_cpp='$CXXCPP $CPPFLAGS'
5119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5122 if test -z "$CXX"; then
5123 if test -n "$CCC"; then
5124 CXX=$CCC
5125 else
5126 if test -n "$ac_tool_prefix"; then
5127 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_CXX+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$CXX"; then
5137 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 CXX=$ac_cv_prog_CXX
5157 if test -n "$CXX"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5159 $as_echo "$CXX" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$CXX" && break
5167 done
5169 if test -z "$CXX"; then
5170 ac_ct_CXX=$CXX
5171 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173 # Extract the first word of "$ac_prog", so it can be a program name with args.
5174 set dummy $ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_CXX"; then
5181 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_CXX="$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5201 if test -n "$ac_ct_CXX"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5203 $as_echo "$ac_ct_CXX" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$ac_ct_CXX" && break
5211 done
5213 if test "x$ac_ct_CXX" = x; then
5214 CXX="g++"
5215 else
5216 case $cross_compiling:$ac_tool_warned in
5217 yes:)
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220 ac_tool_warned=yes ;;
5221 esac
5222 CXX=$ac_ct_CXX
5228 # Provide some information about the compiler.
5229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5230 set X $ac_compile
5231 ac_compiler=$2
5232 for ac_option in --version -v -V -qversion; do
5233 { { ac_try="$ac_compiler $ac_option >&5"
5234 case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 $as_echo "$ac_try_echo"; } >&5
5240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5241 ac_status=$?
5242 if test -s conftest.err; then
5243 sed '10a\
5244 ... rest of stderr output deleted ...
5245 10q' conftest.err >conftest.er1
5246 cat conftest.er1 >&5
5248 rm -f conftest.er1 conftest.err
5249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5250 test $ac_status = 0; }
5251 done
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5254 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5255 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5262 main ()
5264 #ifndef __GNUC__
5265 choke me
5266 #endif
5269 return 0;
5271 _ACEOF
5272 if ac_fn_cxx_try_compile "$LINENO"; then :
5273 ac_compiler_gnu=yes
5274 else
5275 ac_compiler_gnu=no
5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5282 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5283 if test $ac_compiler_gnu = yes; then
5284 GXX=yes
5285 else
5286 GXX=
5288 ac_test_CXXFLAGS=${CXXFLAGS+set}
5289 ac_save_CXXFLAGS=$CXXFLAGS
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5291 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5292 if ${ac_cv_prog_cxx_g+:} false; then :
5293 $as_echo_n "(cached) " >&6
5294 else
5295 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5296 ac_cxx_werror_flag=yes
5297 ac_cv_prog_cxx_g=no
5298 CXXFLAGS="-g"
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5303 main ()
5307 return 0;
5309 _ACEOF
5310 if ac_fn_cxx_try_compile "$LINENO"; then :
5311 ac_cv_prog_cxx_g=yes
5312 else
5313 CXXFLAGS=""
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5318 main ()
5322 return 0;
5324 _ACEOF
5325 if ac_fn_cxx_try_compile "$LINENO"; then :
5327 else
5328 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5329 CXXFLAGS="-g"
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5342 ac_cv_prog_cxx_g=yes
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5352 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5353 if test "$ac_test_CXXFLAGS" = set; then
5354 CXXFLAGS=$ac_save_CXXFLAGS
5355 elif test $ac_cv_prog_cxx_g = yes; then
5356 if test "$GXX" = yes; then
5357 CXXFLAGS="-g -O2"
5358 else
5359 CXXFLAGS="-g"
5361 else
5362 if test "$GXX" = yes; then
5363 CXXFLAGS="-O2"
5364 else
5365 CXXFLAGS=
5368 ac_ext=c
5369 ac_cpp='$CPP $CPPFLAGS'
5370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5374 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5376 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_CPPBIN+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$CPPBIN"; then
5383 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 CPPBIN=$ac_cv_prog_CPPBIN
5403 if test -n "$CPPBIN"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5405 $as_echo "$CPPBIN" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5413 if test -z "$ac_cv_prog_CPPBIN"; then
5414 ac_ct_CPPBIN=$CPPBIN
5415 # Extract the first word of "cpp", so it can be a program name with args.
5416 set dummy cpp; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$ac_ct_CPPBIN"; then
5423 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_CPPBIN="cpp"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5443 if test -n "$ac_ct_CPPBIN"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5445 $as_echo "$ac_ct_CPPBIN" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5451 if test "x$ac_ct_CPPBIN" = x; then
5452 CPPBIN="cpp"
5453 else
5454 case $cross_compiling:$ac_tool_warned in
5455 yes:)
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5458 ac_tool_warned=yes ;;
5459 esac
5460 CPPBIN=$ac_ct_CPPBIN
5462 else
5463 CPPBIN="$ac_cv_prog_CPPBIN"
5467 cat >>confdefs.h <<_ACEOF
5468 #define EXEEXT "$ac_exeext"
5469 _ACEOF
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}ld; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_LD+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$LD"; then
5480 ac_cv_prog_LD="$LD" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_LD="${ac_tool_prefix}ld"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 LD=$ac_cv_prog_LD
5500 if test -n "$LD"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5502 $as_echo "$LD" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_LD"; then
5511 ac_ct_LD=$LD
5512 # Extract the first word of "ld", so it can be a program name with args.
5513 set dummy ld; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_LD"; then
5520 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_LD="ld"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5540 if test -n "$ac_ct_LD"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5542 $as_echo "$ac_ct_LD" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_LD" = x; then
5549 LD=""
5550 else
5551 case $cross_compiling:$ac_tool_warned in
5552 yes:)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5556 esac
5557 LD=$ac_ct_LD
5559 else
5560 LD="$ac_cv_prog_LD"
5564 case $host in
5565 *-darwin*)
5566 with_fontconfig=${with_fontconfig:-no}
5568 *-mingw32*|*-cygwin*)
5569 enable_win16=${enable_win16:-no}
5570 with_mingw=${with_mingw:-no}
5571 CFLAGS="$CFLAGS -D_WIN32"
5573 esac
5575 case $host in
5576 x86_64*|amd64*)
5577 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5578 then
5579 CC="$CC -m32"
5580 CXX="$CXX -m32"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5583 $as_echo_n "checking whether $CC works... " >&6; }
5584 if ${wine_cv_cc_m32+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5591 main ()
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_link "$LINENO"; then :
5599 wine_cv_cc_m32=yes
5600 else
5601 wine_cv_cc_m32=no
5603 rm -f core conftest.err conftest.$ac_objext \
5604 conftest$ac_exeext conftest.$ac_ext
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5607 $as_echo "$wine_cv_cc_m32" >&6; }
5608 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
5609 host_cpu="i386"
5610 notice_platform="32-bit "
5611 TARGETFLAGS="-m32"
5613 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5614 export PKG_CONFIG_PATH
5615 enable_win16=${enable_win16:-yes}
5616 with_unwind=${with_unwind:-no}
5617 else
5618 if test "x${GCC}" = "xyes"
5619 then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5621 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5622 if ${wine_cv_builtin_ms_va_list+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627 #include <stdarg.h>
5629 main ()
5631 void func(__builtin_ms_va_list *args);
5633 return 0;
5635 _ACEOF
5636 if ac_fn_c_try_compile "$LINENO"; then :
5637 wine_cv_builtin_ms_va_list=yes
5638 else
5639 wine_cv_builtin_ms_va_list=no
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5644 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5645 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
5647 CC="$CC -m64"
5648 CXX="$CXX -m64"
5649 host_cpu="x86_64"
5650 notice_platform="64-bit "
5651 TARGETFLAGS="-m64"
5655 arm*)
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5657 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5658 if ${wine_cv_thumb+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5663 int ac_test(int i) { return i; }
5665 main ()
5667 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_link "$LINENO"; then :
5673 wine_cv_thumb=yes
5674 else
5675 wine_cv_thumb=no
5677 rm -f core conftest.err conftest.$ac_objext \
5678 conftest$ac_exeext conftest.$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5681 $as_echo "$wine_cv_thumb" >&6; }
5682 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5683 case $with_float_abi in
5684 soft|softfp|hard)
5685 float_abi=$with_float_abi ;;
5687 case $host_os in
5688 *eabihf)
5689 float_abi=hard ;;
5691 float_abi=softfp
5692 saved_CFLAGS=$CFLAGS
5693 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5695 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5696 if ${wine_cv_float_abi+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5703 main ()
5705 asm("vmrs r2,fpscr");
5707 return 0;
5709 _ACEOF
5710 if ac_fn_c_try_link "$LINENO"; then :
5711 wine_cv_float_abi=yes
5712 else
5713 wine_cv_float_abi=no
5715 rm -f core conftest.err conftest.$ac_objext \
5716 conftest$ac_exeext conftest.$ac_ext
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5719 $as_echo "$wine_cv_float_abi" >&6; }
5720 if test $wine_cv_float_abi = no
5721 then
5722 float_abi=soft
5723 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5725 CFLAGS=$saved_CFLAGS
5726 esac
5728 esac
5729 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5730 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5733 aarch64*)
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5735 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5736 if ${wine_cv_builtin_ms_va_list+:} false; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5741 #include <stdarg.h>
5743 main ()
5745 void func(__builtin_ms_va_list *args);
5747 return 0;
5749 _ACEOF
5750 if ac_fn_c_try_compile "$LINENO"; then :
5751 wine_cv_builtin_ms_va_list=yes
5752 else
5753 wine_cv_builtin_ms_va_list=no
5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5758 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5759 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5761 i[3456789]86*)
5762 enable_win16=${enable_win16:-yes}
5763 with_unwind=${with_unwind:-no}
5765 esac
5767 enable_win16=${enable_win16:-no}
5768 enable_win64=${enable_win64:-no}
5770 enable_winetest=${enable_winetest:-$enable_tests}
5772 if test "x$enable_win64" = "xyes"
5773 then
5774 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5775 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5776 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5780 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5781 if ${wine_cv_toolsdir+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 wine_cv_toolsdir="$with_wine_tools"
5785 if test -z "$with_wine_tools"; then
5786 if test "$cross_compiling" = "yes"; then
5787 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5788 elif test -n "$with_wine64"; then
5789 wine_cv_toolsdir="$with_wine64"
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5794 $as_echo "$wine_cv_toolsdir" >&6; }
5795 if test -z "$wine_cv_toolsdir"; then
5796 wine_makedep=tools/makedep
5797 TOOLSDIR="\$(top_builddir)"
5799 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5800 wine_makedep=$wine_cv_toolsdir/tools/makedep
5801 case "$wine_cv_toolsdir" in
5802 /*) TOOLSDIR=$wine_cv_toolsdir
5804 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5806 esac
5807 enable_tools=${enable_tools:-no}
5808 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5809 else
5810 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5812 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5813 then
5814 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5818 for ac_prog in flex
5820 # Extract the first word of "$ac_prog", so it can be a program name with args.
5821 set dummy $ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_FLEX+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$FLEX"; then
5828 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_FLEX="$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 FLEX=$ac_cv_prog_FLEX
5848 if test -n "$FLEX"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5850 $as_echo "$FLEX" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$FLEX" && break
5858 done
5859 test -n "$FLEX" || FLEX="none"
5861 if test "$FLEX" = "none"
5862 then
5863 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5866 $as_echo_n "checking whether flex is recent enough... " >&6; }
5867 if ${wine_cv_recent_flex+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 cat >conftest.l <<EOF
5871 %top{
5872 #include "prediluvian.h"
5876 if $FLEX -t conftest.l >/dev/null 2>&5
5877 then
5878 wine_cv_recent_flex=yes
5879 else
5880 wine_cv_recent_flex=no
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5884 $as_echo "$wine_cv_recent_flex" >&6; }
5885 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
5887 for ac_prog in bison
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy $ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_BISON+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 if test -n "$BISON"; then
5897 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5902 IFS=$as_save_IFS
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_BISON="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 break 2
5910 done
5911 done
5912 IFS=$as_save_IFS
5916 BISON=$ac_cv_prog_BISON
5917 if test -n "$BISON"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5919 $as_echo "$BISON" >&6; }
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$BISON" && break
5927 done
5928 test -n "$BISON" || BISON="none"
5930 if test "$BISON" = "none"
5931 then
5932 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5935 $as_echo_n "checking whether bison is recent enough... " >&6; }
5936 if ${wine_cv_recent_bison+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 cat >conftest.y <<EOF
5940 %define parse.error verbose
5942 empty: ;
5944 if $BISON conftest.y >/dev/null 2>&5
5945 then
5946 wine_cv_recent_bison=yes
5947 else
5948 wine_cv_recent_bison=no
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5952 $as_echo "$wine_cv_recent_bison" >&6; }
5953 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
5955 if test -n "$ac_tool_prefix"; then
5956 for ac_prog in ar gar
5958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5959 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_AR+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 if test -n "$AR"; then
5966 ac_cv_prog_AR="$AR" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 AR=$ac_cv_prog_AR
5986 if test -n "$AR"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5988 $as_echo "$AR" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5995 test -n "$AR" && break
5996 done
5998 if test -z "$AR"; then
5999 ac_ct_AR=$AR
6000 for ac_prog in ar gar
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_ac_ct_AR+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$ac_ct_AR"; then
6010 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_ac_ct_AR="$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 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6030 if test -n "$ac_ct_AR"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6032 $as_echo "$ac_ct_AR" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$ac_ct_AR" && break
6040 done
6042 if test "x$ac_ct_AR" = x; then
6043 AR="ar"
6044 else
6045 case $cross_compiling:$ac_tool_warned in
6046 yes:)
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6049 ac_tool_warned=yes ;;
6050 esac
6051 AR=$ac_ct_AR
6055 if test -n "$ac_tool_prefix"; then
6056 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6057 set dummy ${ac_tool_prefix}strip; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_STRIP+:} false; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 if test -n "$STRIP"; then
6064 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 break 2
6077 done
6078 done
6079 IFS=$as_save_IFS
6083 STRIP=$ac_cv_prog_STRIP
6084 if test -n "$STRIP"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6086 $as_echo "$STRIP" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6094 if test -z "$ac_cv_prog_STRIP"; then
6095 ac_ct_STRIP=$STRIP
6096 # Extract the first word of "strip", so it can be a program name with args.
6097 set dummy strip; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$ac_ct_STRIP"; then
6104 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_ac_ct_STRIP="strip"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6124 if test -n "$ac_ct_STRIP"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6126 $as_echo "$ac_ct_STRIP" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6132 if test "x$ac_ct_STRIP" = x; then
6133 STRIP="strip"
6134 else
6135 case $cross_compiling:$ac_tool_warned in
6136 yes:)
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6139 ac_tool_warned=yes ;;
6140 esac
6141 STRIP=$ac_ct_STRIP
6143 else
6144 STRIP="$ac_cv_prog_STRIP"
6147 if test -n "$ac_tool_prefix"; then
6148 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_RANLIB+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$RANLIB"; then
6156 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 RANLIB=$ac_cv_prog_RANLIB
6176 if test -n "$RANLIB"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6178 $as_echo "$RANLIB" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6186 if test -z "$ac_cv_prog_RANLIB"; then
6187 ac_ct_RANLIB=$RANLIB
6188 # Extract the first word of "ranlib", so it can be a program name with args.
6189 set dummy ranlib; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if test -n "$ac_ct_RANLIB"; then
6196 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6201 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_ac_ct_RANLIB="ranlib"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 break 2
6209 done
6210 done
6211 IFS=$as_save_IFS
6215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6216 if test -n "$ac_ct_RANLIB"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6218 $as_echo "$ac_ct_RANLIB" >&6; }
6219 else
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6224 if test "x$ac_ct_RANLIB" = x; then
6225 RANLIB=":"
6226 else
6227 case $cross_compiling:$ac_tool_warned in
6228 yes:)
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6231 ac_tool_warned=yes ;;
6232 esac
6233 RANLIB=$ac_ct_RANLIB
6235 else
6236 RANLIB="$ac_cv_prog_RANLIB"
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6240 $as_echo_n "checking whether ln -s works... " >&6; }
6241 LN_S=$as_ln_s
6242 if test "$LN_S" = "ln -s"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6244 $as_echo "yes" >&6; }
6245 else
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6247 $as_echo "no, using $LN_S" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6251 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6252 if ${ac_cv_path_GREP+:} false; then :
6253 $as_echo_n "(cached) " >&6
6254 else
6255 if test -z "$GREP"; then
6256 ac_path_GREP_found=false
6257 # Loop through the user's path and test for each of PROGNAME-LIST
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6261 IFS=$as_save_IFS
6262 test -z "$as_dir" && as_dir=.
6263 for ac_prog in grep ggrep; do
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6266 as_fn_executable_p "$ac_path_GREP" || continue
6267 # Check for GNU ac_path_GREP and select it if it is found.
6268 # Check for GNU $ac_path_GREP
6269 case `"$ac_path_GREP" --version 2>&1` in
6270 *GNU*)
6271 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6273 ac_count=0
6274 $as_echo_n 0123456789 >"conftest.in"
6275 while :
6277 cat "conftest.in" "conftest.in" >"conftest.tmp"
6278 mv "conftest.tmp" "conftest.in"
6279 cp "conftest.in" "conftest.nl"
6280 $as_echo 'GREP' >> "conftest.nl"
6281 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6282 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6283 as_fn_arith $ac_count + 1 && ac_count=$as_val
6284 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6285 # Best one so far, save it but keep looking for a better one
6286 ac_cv_path_GREP="$ac_path_GREP"
6287 ac_path_GREP_max=$ac_count
6289 # 10*(2^10) chars as input seems more than enough
6290 test $ac_count -gt 10 && break
6291 done
6292 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6293 esac
6295 $ac_path_GREP_found && break 3
6296 done
6297 done
6298 done
6299 IFS=$as_save_IFS
6300 if test -z "$ac_cv_path_GREP"; then
6301 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6303 else
6304 ac_cv_path_GREP=$GREP
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6309 $as_echo "$ac_cv_path_GREP" >&6; }
6310 GREP="$ac_cv_path_GREP"
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6314 $as_echo_n "checking for egrep... " >&6; }
6315 if ${ac_cv_path_EGREP+:} false; then :
6316 $as_echo_n "(cached) " >&6
6317 else
6318 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6319 then ac_cv_path_EGREP="$GREP -E"
6320 else
6321 if test -z "$EGREP"; then
6322 ac_path_EGREP_found=false
6323 # Loop through the user's path and test for each of PROGNAME-LIST
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6327 IFS=$as_save_IFS
6328 test -z "$as_dir" && as_dir=.
6329 for ac_prog in egrep; do
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6332 as_fn_executable_p "$ac_path_EGREP" || continue
6333 # Check for GNU ac_path_EGREP and select it if it is found.
6334 # Check for GNU $ac_path_EGREP
6335 case `"$ac_path_EGREP" --version 2>&1` in
6336 *GNU*)
6337 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6339 ac_count=0
6340 $as_echo_n 0123456789 >"conftest.in"
6341 while :
6343 cat "conftest.in" "conftest.in" >"conftest.tmp"
6344 mv "conftest.tmp" "conftest.in"
6345 cp "conftest.in" "conftest.nl"
6346 $as_echo 'EGREP' >> "conftest.nl"
6347 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6349 as_fn_arith $ac_count + 1 && ac_count=$as_val
6350 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6351 # Best one so far, save it but keep looking for a better one
6352 ac_cv_path_EGREP="$ac_path_EGREP"
6353 ac_path_EGREP_max=$ac_count
6355 # 10*(2^10) chars as input seems more than enough
6356 test $ac_count -gt 10 && break
6357 done
6358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6359 esac
6361 $ac_path_EGREP_found && break 3
6362 done
6363 done
6364 done
6365 IFS=$as_save_IFS
6366 if test -z "$ac_cv_path_EGREP"; then
6367 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6369 else
6370 ac_cv_path_EGREP=$EGREP
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6376 $as_echo "$ac_cv_path_EGREP" >&6; }
6377 EGREP="$ac_cv_path_EGREP"
6380 # Extract the first word of "ldconfig", so it can be a program name with args.
6381 set dummy ldconfig; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_path_LDCONFIG+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 case $LDCONFIG in
6388 [\\/]* | ?:[\\/]*)
6389 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 for as_dir in /sbin /usr/sbin $PATH
6395 IFS=$as_save_IFS
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6399 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 break 2
6403 done
6404 done
6405 IFS=$as_save_IFS
6407 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6409 esac
6411 LDCONFIG=$ac_cv_path_LDCONFIG
6412 if test -n "$LDCONFIG"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6414 $as_echo "$LDCONFIG" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6421 for ac_prog in msgfmt
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_MSGFMT+:} false; then :
6428 $as_echo_n "(cached) " >&6
6429 else
6430 if test -n "$MSGFMT"; then
6431 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_MSGFMT="$ac_prog"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6450 MSGFMT=$ac_cv_prog_MSGFMT
6451 if test -n "$MSGFMT"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6453 $as_echo "$MSGFMT" >&6; }
6454 else
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 test -n "$MSGFMT" && break
6461 done
6462 test -n "$MSGFMT" || MSGFMT="false"
6464 if ${ac_tool_prefix+:} false; then :
6465 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6466 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$PKG_CONFIG"; then
6473 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6493 if test -n "$PKG_CONFIG"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6495 $as_echo "$PKG_CONFIG" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6503 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6504 if test "x$cross_compiling" = xyes; then :
6506 else
6507 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6508 # Extract the first word of "pkg-config", so it can be a program name with args.
6509 set dummy pkg-config; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 if test -n "$PKG_CONFIG"; then
6516 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_PKG_CONFIG="pkg-config"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6535 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6536 if test -n "$PKG_CONFIG"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6538 $as_echo "$PKG_CONFIG" >&6; }
6539 else
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6546 else
6547 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6550 if test "x$enable_maintainer_mode" != "xyes"
6551 then
6552 FONTFORGE=""
6553 RSVG=""
6554 CONVERT=""
6555 ICOTOOL=""
6556 else
6557 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6558 for ac_prog in fontforge
6560 # Extract the first word of "$ac_prog", so it can be a program name with args.
6561 set dummy $ac_prog; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_FONTFORGE+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6567 if test -n "$FONTFORGE"; then
6568 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6573 IFS=$as_save_IFS
6574 test -z "$as_dir" && as_dir=.
6575 for ac_exec_ext in '' $ac_executable_extensions; do
6576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_FONTFORGE="$ac_prog"
6578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579 break 2
6581 done
6582 done
6583 IFS=$as_save_IFS
6587 FONTFORGE=$ac_cv_prog_FONTFORGE
6588 if test -n "$FONTFORGE"; then
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6590 $as_echo "$FONTFORGE" >&6; }
6591 else
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6597 test -n "$FONTFORGE" && break
6598 done
6599 test -n "$FONTFORGE" || FONTFORGE="false"
6601 for ac_prog in rsvg-convert rsvg
6603 # Extract the first word of "$ac_prog", so it can be a program name with args.
6604 set dummy $ac_prog; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_RSVG+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 if test -n "$RSVG"; then
6611 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6616 IFS=$as_save_IFS
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_RSVG="$ac_prog"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 break 2
6624 done
6625 done
6626 IFS=$as_save_IFS
6630 RSVG=$ac_cv_prog_RSVG
6631 if test -n "$RSVG"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6633 $as_echo "$RSVG" >&6; }
6634 else
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6640 test -n "$RSVG" && break
6641 done
6642 test -n "$RSVG" || RSVG="false"
6644 for ac_prog in convert
6646 # Extract the first word of "$ac_prog", so it can be a program name with args.
6647 set dummy $ac_prog; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_CONVERT+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 if test -n "$CONVERT"; then
6654 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_CONVERT="$ac_prog"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 CONVERT=$ac_cv_prog_CONVERT
6674 if test -n "$CONVERT"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6676 $as_echo "$CONVERT" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6683 test -n "$CONVERT" && break
6684 done
6685 test -n "$CONVERT" || CONVERT="false"
6687 for ac_prog in icotool
6689 # Extract the first word of "$ac_prog", so it can be a program name with args.
6690 set dummy $ac_prog; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if ${ac_cv_prog_ICOTOOL+:} false; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 if test -n "$ICOTOOL"; then
6697 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_ICOTOOL="$ac_prog"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 ICOTOOL=$ac_cv_prog_ICOTOOL
6717 if test -n "$ICOTOOL"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6719 $as_echo "$ICOTOOL" >&6; }
6720 else
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6726 test -n "$ICOTOOL" && break
6727 done
6728 test -n "$ICOTOOL" || ICOTOOL="false"
6730 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6731 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6733 if test "$CONVERT" = false
6734 then
6735 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6738 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6739 convert_version=`convert --version | head -n1`
6740 if test "x$convert_version" != "x"
6741 then
6742 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6743 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6744 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6745 then
6746 CONVERT=false
6749 if test "$CONVERT" = false
6750 then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6752 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6753 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6754 else
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6756 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6760 if test "$ICOTOOL" = false
6761 then
6762 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6763 else
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6765 $as_echo_n "checking for recent enough icotool... " >&6; }
6766 icotool_version=`icotool --version | head -n1`
6767 if test "x$icotool_version" != "x"
6768 then
6769 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6770 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6771 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6772 then
6773 ICOTOOL=false
6774 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6777 if test "$ICOTOOL" = false
6778 then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6780 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6781 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6784 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6788 with_gettext=yes
6789 with_gettextpo=yes
6792 test "x$with_gettext" != xno || MSGFMT=false
6793 if test "$MSGFMT" != "false"
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6796 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6797 if ${wine_cv_msgfmt_contexts+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 cat >conftest.po <<EOF
6801 # comment
6802 msgctxt "ctxt"
6803 msgid "id"
6804 msgstr "str"
6806 if $MSGFMT -o /dev/null conftest.po 2>&5
6807 then
6808 wine_cv_msgfmt_contexts=yes
6809 else
6810 wine_cv_msgfmt_contexts=no
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6814 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6815 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6817 if test "$MSGFMT" = false; then :
6818 case "x$with_gettext" in
6819 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6820 xno) ;;
6821 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6822 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6823 esac
6824 enable_po=${enable_po:-no}
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6829 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6830 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6831 $as_echo_n "(cached) " >&6
6832 else
6833 ac_check_lib_save_LIBS=$LIBS
6834 LIBS="-li386 $LIBS"
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6838 /* Override any GCC internal prototype to avoid an error.
6839 Use char because int might match the return type of a GCC
6840 builtin and then its argument prototype would still apply. */
6841 #ifdef __cplusplus
6842 extern "C"
6843 #endif
6844 char i386_set_ldt ();
6846 main ()
6848 return i386_set_ldt ();
6850 return 0;
6852 _ACEOF
6853 if ac_fn_c_try_link "$LINENO"; then :
6854 ac_cv_lib_i386_i386_set_ldt=yes
6855 else
6856 ac_cv_lib_i386_i386_set_ldt=no
6858 rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
6860 LIBS=$ac_check_lib_save_LIBS
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6863 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6864 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6865 I386_LIBS="-li386"
6870 OPENGL_LIBS=""
6874 # Check whether --enable-largefile was given.
6875 if test "${enable_largefile+set}" = set; then :
6876 enableval=$enable_largefile;
6879 if test "$enable_largefile" != no; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6882 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6883 if ${ac_cv_sys_largefile_CC+:} false; then :
6884 $as_echo_n "(cached) " >&6
6885 else
6886 ac_cv_sys_largefile_CC=no
6887 if test "$GCC" != yes; then
6888 ac_save_CC=$CC
6889 while :; do
6890 # IRIX 6.2 and later do not support large files by default,
6891 # so use the C compiler's -n32 option if that helps.
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 #include <sys/types.h>
6895 /* Check that off_t can represent 2**63 - 1 correctly.
6896 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6897 since some C++ compilers masquerading as C compilers
6898 incorrectly reject 9223372036854775807. */
6899 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6900 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6901 && LARGE_OFF_T % 2147483647 == 1)
6902 ? 1 : -1];
6904 main ()
6908 return 0;
6910 _ACEOF
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912 break
6914 rm -f core conftest.err conftest.$ac_objext
6915 CC="$CC -n32"
6916 if ac_fn_c_try_compile "$LINENO"; then :
6917 ac_cv_sys_largefile_CC=' -n32'; break
6919 rm -f core conftest.err conftest.$ac_objext
6920 break
6921 done
6922 CC=$ac_save_CC
6923 rm -f conftest.$ac_ext
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6927 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6928 if test "$ac_cv_sys_largefile_CC" != no; then
6929 CC=$CC$ac_cv_sys_largefile_CC
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6933 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6934 if ${ac_cv_sys_file_offset_bits+:} false; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 while :; do
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #include <sys/types.h>
6941 /* Check that off_t can represent 2**63 - 1 correctly.
6942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6943 since some C++ compilers masquerading as C compilers
6944 incorrectly reject 9223372036854775807. */
6945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6947 && LARGE_OFF_T % 2147483647 == 1)
6948 ? 1 : -1];
6950 main ()
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_file_offset_bits=no; break
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #define _FILE_OFFSET_BITS 64
6964 #include <sys/types.h>
6965 /* Check that off_t can represent 2**63 - 1 correctly.
6966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6967 since some C++ compilers masquerading as C compilers
6968 incorrectly reject 9223372036854775807. */
6969 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6971 && LARGE_OFF_T % 2147483647 == 1)
6972 ? 1 : -1];
6974 main ()
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 ac_cv_sys_file_offset_bits=64; break
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6985 ac_cv_sys_file_offset_bits=unknown
6986 break
6987 done
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6990 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6991 case $ac_cv_sys_file_offset_bits in #(
6992 no | unknown) ;;
6994 cat >>confdefs.h <<_ACEOF
6995 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6996 _ACEOF
6998 esac
6999 rm -rf conftest*
7000 if test $ac_cv_sys_file_offset_bits = unknown; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7002 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7003 if ${ac_cv_sys_large_files+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 while :; do
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 ac_cv_sys_large_files=no; break
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #define _LARGE_FILES 1
7033 #include <sys/types.h>
7034 /* Check that off_t can represent 2**63 - 1 correctly.
7035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7036 since some C++ compilers masquerading as C compilers
7037 incorrectly reject 9223372036854775807. */
7038 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7040 && LARGE_OFF_T % 2147483647 == 1)
7041 ? 1 : -1];
7043 main ()
7047 return 0;
7049 _ACEOF
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 ac_cv_sys_large_files=1; break
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 ac_cv_sys_large_files=unknown
7055 break
7056 done
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7059 $as_echo "$ac_cv_sys_large_files" >&6; }
7060 case $ac_cv_sys_large_files in #(
7061 no | unknown) ;;
7063 cat >>confdefs.h <<_ACEOF
7064 #define _LARGE_FILES $ac_cv_sys_large_files
7065 _ACEOF
7067 esac
7068 rm -rf conftest*
7075 ac_ext=c
7076 ac_cpp='$CPP $CPPFLAGS'
7077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7081 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7082 # On Suns, sometimes $CPP names a directory.
7083 if test -n "$CPP" && test -d "$CPP"; then
7084 CPP=
7086 if test -z "$CPP"; then
7087 if ${ac_cv_prog_CPP+:} false; then :
7088 $as_echo_n "(cached) " >&6
7089 else
7090 # Double quotes because CPP needs to be expanded
7091 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7093 ac_preproc_ok=false
7094 for ac_c_preproc_warn_flag in '' yes
7096 # Use a header file that comes with gcc, so configuring glibc
7097 # with a fresh cross-compiler works.
7098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7099 # <limits.h> exists even on freestanding compilers.
7100 # On the NeXT, cc -E runs the code through the compiler's parser,
7101 # not just through cpp. "Syntax error" is here to catch this case.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #ifdef __STDC__
7105 # include <limits.h>
7106 #else
7107 # include <assert.h>
7108 #endif
7109 Syntax error
7110 _ACEOF
7111 if ac_fn_c_try_cpp "$LINENO"; then :
7113 else
7114 # Broken: fails on valid input.
7115 continue
7117 rm -f conftest.err conftest.i conftest.$ac_ext
7119 # OK, works on sane cases. Now check whether nonexistent headers
7120 # can be detected and how.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <ac_nonexistent.h>
7124 _ACEOF
7125 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: success on invalid input.
7127 continue
7128 else
7129 # Passes both tests.
7130 ac_preproc_ok=:
7131 break
7133 rm -f conftest.err conftest.i conftest.$ac_ext
7135 done
7136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7137 rm -f conftest.i conftest.err conftest.$ac_ext
7138 if $ac_preproc_ok; then :
7139 break
7142 done
7143 ac_cv_prog_CPP=$CPP
7146 CPP=$ac_cv_prog_CPP
7147 else
7148 ac_cv_prog_CPP=$CPP
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7151 $as_echo "$CPP" >&6; }
7152 ac_preproc_ok=false
7153 for ac_c_preproc_warn_flag in '' yes
7155 # Use a header file that comes with gcc, so configuring glibc
7156 # with a fresh cross-compiler works.
7157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7158 # <limits.h> exists even on freestanding compilers.
7159 # On the NeXT, cc -E runs the code through the compiler's parser,
7160 # not just through cpp. "Syntax error" is here to catch this case.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #ifdef __STDC__
7164 # include <limits.h>
7165 #else
7166 # include <assert.h>
7167 #endif
7168 Syntax error
7169 _ACEOF
7170 if ac_fn_c_try_cpp "$LINENO"; then :
7172 else
7173 # Broken: fails on valid input.
7174 continue
7176 rm -f conftest.err conftest.i conftest.$ac_ext
7178 # OK, works on sane cases. Now check whether nonexistent headers
7179 # can be detected and how.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <ac_nonexistent.h>
7183 _ACEOF
7184 if ac_fn_c_try_cpp "$LINENO"; then :
7185 # Broken: success on invalid input.
7186 continue
7187 else
7188 # Passes both tests.
7189 ac_preproc_ok=:
7190 break
7192 rm -f conftest.err conftest.i conftest.$ac_ext
7194 done
7195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7196 rm -f conftest.i conftest.err conftest.$ac_ext
7197 if $ac_preproc_ok; then :
7199 else
7200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7202 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7203 See \`config.log' for more details" "$LINENO" 5; }
7206 ac_ext=c
7207 ac_cpp='$CPP $CPPFLAGS'
7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7214 $as_echo_n "checking for ANSI C header files... " >&6; }
7215 if ${ac_cv_header_stdc+:} false; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220 #include <stdlib.h>
7221 #include <stdarg.h>
7222 #include <string.h>
7223 #include <float.h>
7226 main ()
7230 return 0;
7232 _ACEOF
7233 if ac_fn_c_try_compile "$LINENO"; then :
7234 ac_cv_header_stdc=yes
7235 else
7236 ac_cv_header_stdc=no
7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7240 if test $ac_cv_header_stdc = yes; then
7241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7244 #include <string.h>
7246 _ACEOF
7247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7248 $EGREP "memchr" >/dev/null 2>&1; then :
7250 else
7251 ac_cv_header_stdc=no
7253 rm -f conftest*
7257 if test $ac_cv_header_stdc = yes; then
7258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <stdlib.h>
7263 _ACEOF
7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7265 $EGREP "free" >/dev/null 2>&1; then :
7267 else
7268 ac_cv_header_stdc=no
7270 rm -f conftest*
7274 if test $ac_cv_header_stdc = yes; then
7275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7276 if test "$cross_compiling" = yes; then :
7278 else
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 #include <ctype.h>
7282 #include <stdlib.h>
7283 #if ((' ' & 0x0FF) == 0x020)
7284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7286 #else
7287 # define ISLOWER(c) \
7288 (('a' <= (c) && (c) <= 'i') \
7289 || ('j' <= (c) && (c) <= 'r') \
7290 || ('s' <= (c) && (c) <= 'z'))
7291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7292 #endif
7294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7296 main ()
7298 int i;
7299 for (i = 0; i < 256; i++)
7300 if (XOR (islower (i), ISLOWER (i))
7301 || toupper (i) != TOUPPER (i))
7302 return 2;
7303 return 0;
7305 _ACEOF
7306 if ac_fn_c_try_run "$LINENO"; then :
7308 else
7309 ac_cv_header_stdc=no
7311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7312 conftest.$ac_objext conftest.beam conftest.$ac_ext
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7318 $as_echo "$ac_cv_header_stdc" >&6; }
7319 if test $ac_cv_header_stdc = yes; then
7321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7326 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7327 inttypes.h stdint.h unistd.h
7328 do :
7329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7335 _ACEOF
7339 done
7342 for ac_header in \
7343 AL/al.h \
7344 ApplicationServices/ApplicationServices.h \
7345 AudioToolbox/AudioConverter.h \
7346 AudioUnit/AudioUnit.h \
7347 AudioUnit/AudioComponent.h \
7348 CL/cl.h \
7349 Carbon/Carbon.h \
7350 CommonCrypto/CommonCryptor.h \
7351 CoreAudio/CoreAudio.h \
7352 CoreServices/CoreServices.h \
7353 DiskArbitration/DiskArbitration.h \
7354 EGL/egl.h \
7355 IOKit/IOKitLib.h \
7356 IOKit/hid/IOHIDLib.h \
7357 OpenAL/al.h \
7358 OpenCL/opencl.h \
7359 QuickTime/ImageCompression.h \
7360 Security/Security.h \
7361 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7362 SystemConfiguration/SCNetworkConfiguration.h \
7363 alias.h \
7364 arpa/inet.h \
7365 arpa/nameser.h \
7366 asm/types.h \
7367 asm/user.h \
7368 curses.h \
7369 dirent.h \
7370 dlfcn.h \
7371 elf.h \
7372 float.h \
7373 fnmatch.h \
7374 getopt.h \
7375 gettext-po.h \
7376 grp.h \
7377 gsm.h \
7378 gsm/gsm.h \
7379 ieeefp.h \
7380 inet/mib2.h \
7381 kstat.h \
7382 libproc.h \
7383 link.h \
7384 linux/cdrom.h \
7385 linux/compiler.h \
7386 linux/filter.h \
7387 linux/hdreg.h \
7388 linux/hidraw.h \
7389 linux/input.h \
7390 linux/ioctl.h \
7391 linux/joystick.h \
7392 linux/major.h \
7393 linux/param.h \
7394 linux/serial.h \
7395 linux/types.h \
7396 linux/ucdrom.h \
7397 lwp.h \
7398 mach-o/nlist.h \
7399 mach-o/loader.h \
7400 mach/mach.h \
7401 mach/machine.h \
7402 machine/cpu.h \
7403 machine/limits.h \
7404 machine/sysarch.h \
7405 mntent.h \
7406 ncurses.h \
7407 netdb.h \
7408 netinet/in.h \
7409 netinet/in_systm.h \
7410 netinet/tcp.h \
7411 netinet/tcp_fsm.h \
7412 pcap/pcap.h \
7413 poll.h \
7414 port.h \
7415 pthread.h \
7416 pwd.h \
7417 sched.h \
7418 scsi/scsi.h \
7419 scsi/scsi_ioctl.h \
7420 scsi/sg.h \
7421 stdbool.h \
7422 stdint.h \
7423 stropts.h \
7424 sys/attr.h \
7425 sys/auxv.h \
7426 sys/cdio.h \
7427 sys/elf32.h \
7428 sys/epoll.h \
7429 sys/event.h \
7430 sys/exec_elf.h \
7431 sys/filio.h \
7432 sys/ioctl.h \
7433 sys/ipc.h \
7434 sys/limits.h \
7435 sys/link.h \
7436 sys/mman.h \
7437 sys/modem.h \
7438 sys/msg.h \
7439 sys/mtio.h \
7440 sys/param.h \
7441 sys/poll.h \
7442 sys/prctl.h \
7443 sys/protosw.h \
7444 sys/ptrace.h \
7445 sys/queue.h \
7446 sys/resource.h \
7447 sys/scsiio.h \
7448 sys/shm.h \
7449 sys/signal.h \
7450 sys/socket.h \
7451 sys/socketvar.h \
7452 sys/sockio.h \
7453 sys/statvfs.h \
7454 sys/strtio.h \
7455 sys/syscall.h \
7456 sys/sysinfo.h \
7457 sys/tihdr.h \
7458 sys/time.h \
7459 sys/timeout.h \
7460 sys/times.h \
7461 sys/uio.h \
7462 sys/user.h \
7463 sys/utsname.h \
7464 sys/vnode.h \
7465 sys/wait.h \
7466 syscall.h \
7467 termios.h \
7468 unistd.h \
7469 utime.h \
7470 valgrind/memcheck.h \
7471 valgrind/valgrind.h
7473 do :
7474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7477 cat >>confdefs.h <<_ACEOF
7478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7479 _ACEOF
7483 done
7485 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7486 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7488 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7493 if test $ac_cv_header_sys_mkdev_h = no; then
7494 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7495 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7497 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7504 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7505 if ${ac_cv_header_stat_broken+:} false; then :
7506 $as_echo_n "(cached) " >&6
7507 else
7508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7510 #include <sys/types.h>
7511 #include <sys/stat.h>
7513 #if defined S_ISBLK && defined S_IFDIR
7514 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7515 #endif
7517 #if defined S_ISBLK && defined S_IFCHR
7518 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7519 #endif
7521 #if defined S_ISLNK && defined S_IFREG
7522 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7523 #endif
7525 #if defined S_ISSOCK && defined S_IFREG
7526 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7527 #endif
7529 _ACEOF
7530 if ac_fn_c_try_compile "$LINENO"; then :
7531 ac_cv_header_stat_broken=no
7532 else
7533 ac_cv_header_stat_broken=yes
7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7538 $as_echo "$ac_cv_header_stat_broken" >&6; }
7539 if test $ac_cv_header_stat_broken = yes; then
7541 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7547 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7548 do :
7549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7551 #ifdef HAVE_SYS_PARAM_H
7552 # include <sys/param.h>
7553 #endif
7555 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7556 cat >>confdefs.h <<_ACEOF
7557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7558 _ACEOF
7562 done
7565 for ac_header in \
7566 netinet/ip.h \
7567 net/if.h \
7568 net/if_arp.h \
7569 net/if_dl.h \
7570 net/if_types.h \
7571 net/route.h \
7572 netinet/if_ether.h \
7573 netinet/if_inarp.h \
7574 netinet/in_pcb.h \
7575 netinet/ip_icmp.h \
7576 netinet/ip_var.h \
7577 netinet/udp.h \
7578 netipx/ipx.h \
7579 sys/un.h \
7581 do :
7582 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7583 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7584 #ifdef HAVE_SYS_SOCKET_H
7585 # include <sys/socket.h>
7586 #endif
7587 #ifdef HAVE_SYS_SOCKETVAR_H
7588 # include <sys/socketvar.h>
7589 #endif
7590 #ifdef HAVE_NET_ROUTE_H
7591 # include <net/route.h>
7592 #endif
7593 #ifdef HAVE_NETINET_IN_H
7594 # include <netinet/in.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IN_SYSTM_H
7597 # include <netinet/in_systm.h>
7598 #endif
7599 #ifdef HAVE_NET_IF_H
7600 # include <net/if.h>
7601 #endif
7602 #ifdef HAVE_NETINET_IP_H
7603 # include <netinet/ip.h>
7604 #endif
7606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7607 cat >>confdefs.h <<_ACEOF
7608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609 _ACEOF
7613 done
7616 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7617 do :
7618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7620 #ifdef HAVE_ALIAS_H
7621 # include <alias.h>
7622 #endif
7623 #ifdef HAVE_SYS_SOCKET_H
7624 # include <sys/socket.h>
7625 #endif
7626 #ifdef HAVE_SYS_SOCKETVAR_H
7627 # include <sys/socketvar.h>
7628 #endif
7629 #ifdef HAVE_SYS_TIMEOUT_H
7630 # include <sys/timeout.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IN_H
7633 # include <netinet/in.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IN_SYSTM_H
7636 # include <netinet/in_systm.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_H
7639 # include <netinet/ip.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IP_VAR_H
7642 # include <netinet/ip_var.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IP_ICMP_H
7645 # include <netinet/ip_icmp.h>
7646 #endif
7647 #ifdef HAVE_NETINET_UDP_H
7648 # include <netinet/udp.h>
7649 #endif
7650 #ifdef HAVE_NETINET_TCP_H
7651 # include <netinet/tcp.h>
7652 #endif
7653 #ifdef HAVE_NETINET_TCP_TIMER_H
7654 #include <netinet/tcp_timer.h>
7655 #endif
7657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7660 _ACEOF
7664 done
7667 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7668 do :
7669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7671 #ifdef HAVE_ASM_TYPES_H
7672 # include <asm/types.h>
7673 #endif
7674 #ifdef HAVE_SYS_SOCKET_H
7675 # include <sys/socket.h>
7676 #endif
7677 #ifdef HAVE_LINUX_TYPES_H
7678 # include <linux/types.h>
7679 #endif
7681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7682 cat >>confdefs.h <<_ACEOF
7683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7684 _ACEOF
7688 done
7691 for ac_header in resolv.h
7692 do :
7693 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7694 #ifdef HAVE_SYS_SOCKET_H
7695 # include <sys/socket.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IN_H
7698 # include <netinet/in.h>
7699 #endif
7700 #ifdef HAVE_ARPA_NAMESER_H
7701 # include <arpa/nameser.h>
7702 #endif
7704 if test "x$ac_cv_header_resolv_h" = xyes; then :
7705 cat >>confdefs.h <<_ACEOF
7706 #define HAVE_RESOLV_H 1
7707 _ACEOF
7711 done
7714 for ac_header in ifaddrs.h
7715 do :
7716 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7718 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_IFADDRS_H 1
7721 _ACEOF
7725 done
7728 for ac_header in sys/ucontext.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7732 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_SYS_UCONTEXT_H 1
7735 _ACEOF
7739 done
7742 for ac_header in sys/thr.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7745 #ifdef HAVE_SYS_UCONTEXT_H
7746 #include <sys/ucontext.h>
7747 #endif
7749 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_SYS_THR_H 1
7752 _ACEOF
7756 done
7759 for ac_header in pthread_np.h
7760 do :
7761 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7762 #include <pthread.h>
7763 #endif
7765 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7766 cat >>confdefs.h <<_ACEOF
7767 #define HAVE_PTHREAD_NP_H 1
7768 _ACEOF
7772 done
7775 for ac_header in linux/videodev2.h
7776 do :
7777 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7778 #include <sys/time.h>
7779 #endif
7780 #include <sys/types.h>
7781 #ifdef HAVE_ASM_TYPES_H
7782 #include <asm/types.h>
7783 #endif
7785 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_LINUX_VIDEODEV2_H 1
7788 _ACEOF
7792 done
7795 for ac_header in libprocstat.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7798 #include <sys/param.h>
7799 #endif
7800 #ifdef HAVE_SYS_QUEUE_H
7801 #include <sys/queue.h>
7802 #endif
7803 #ifdef HAVE_SYS_SOCKET_H
7804 #include <sys/socket.h>
7805 #endif
7807 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7808 cat >>confdefs.h <<_ACEOF
7809 #define HAVE_LIBPROCSTAT_H 1
7810 _ACEOF
7814 done
7818 DLLFLAGS="-D_REENTRANT"
7820 LDRPATH_INSTALL=""
7822 LDRPATH_LOCAL=""
7824 LDDLLFLAGS=""
7826 LDEXECFLAGS=""
7828 TOP_INSTALL_LIB=""
7830 TOP_INSTALL_DEV=""
7832 WINELOADER_LDFLAGS=""
7834 WINEPRELOADER_LDFLAGS=""
7836 LIBEXT="so"
7837 DLLEXT=".so"
7838 # Extract the first word of "ldd", so it can be a program name with args.
7839 set dummy ldd; ac_word=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841 $as_echo_n "checking for $ac_word... " >&6; }
7842 if ${ac_cv_path_LDD+:} false; then :
7843 $as_echo_n "(cached) " >&6
7844 else
7845 case $LDD in
7846 [\\/]* | ?:[\\/]*)
7847 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851 as_dummy="/sbin:/usr/sbin:$PATH"
7852 for as_dir in $as_dummy
7854 IFS=$as_save_IFS
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7860 break 2
7862 done
7863 done
7864 IFS=$as_save_IFS
7866 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7868 esac
7870 LDD=$ac_cv_path_LDD
7871 if test -n "$LDD"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7873 $as_echo "$LDD" >&6; }
7874 else
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}otool; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_OTOOL+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 if test -n "$OTOOL"; then
7889 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7890 else
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 for as_dir in $PATH
7894 IFS=$as_save_IFS
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 break 2
7902 done
7903 done
7904 IFS=$as_save_IFS
7908 OTOOL=$ac_cv_prog_OTOOL
7909 if test -n "$OTOOL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7911 $as_echo "$OTOOL" >&6; }
7912 else
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7919 if test -z "$ac_cv_prog_OTOOL"; then
7920 ac_ct_OTOOL=$OTOOL
7921 # Extract the first word of "otool", so it can be a program name with args.
7922 set dummy otool; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927 else
7928 if test -n "$ac_ct_OTOOL"; then
7929 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7934 IFS=$as_save_IFS
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_OTOOL="otool"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 break 2
7942 done
7943 done
7944 IFS=$as_save_IFS
7948 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7949 if test -n "$ac_ct_OTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7951 $as_echo "$ac_ct_OTOOL" >&6; }
7952 else
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7957 if test "x$ac_ct_OTOOL" = x; then
7958 OTOOL="otool"
7959 else
7960 case $cross_compiling:$ac_tool_warned in
7961 yes:)
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7964 ac_tool_warned=yes ;;
7965 esac
7966 OTOOL=$ac_ct_OTOOL
7968 else
7969 OTOOL="$ac_cv_prog_OTOOL"
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_READELF+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 if test -n "$READELF"; then
7981 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7982 else
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 for as_dir in $PATH
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 break 2
7994 done
7995 done
7996 IFS=$as_save_IFS
8000 READELF=$ac_cv_prog_READELF
8001 if test -n "$READELF"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8003 $as_echo "$READELF" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8011 if test -z "$ac_cv_prog_READELF"; then
8012 ac_ct_READELF=$READELF
8013 # Extract the first word of "readelf", so it can be a program name with args.
8014 set dummy readelf; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8018 $as_echo_n "(cached) " >&6
8019 else
8020 if test -n "$ac_ct_READELF"; then
8021 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8022 else
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 for as_dir in $PATH
8026 IFS=$as_save_IFS
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_READELF="readelf"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 break 2
8034 done
8035 done
8036 IFS=$as_save_IFS
8040 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8041 if test -n "$ac_ct_READELF"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8043 $as_echo "$ac_ct_READELF" >&6; }
8044 else
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8049 if test "x$ac_ct_READELF" = x; then
8050 READELF="true"
8051 else
8052 case $cross_compiling:$ac_tool_warned in
8053 yes:)
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8056 ac_tool_warned=yes ;;
8057 esac
8058 READELF=$ac_ct_READELF
8060 else
8061 READELF="$ac_cv_prog_READELF"
8064 wine_rules_file=conf$$rules.make
8065 rm -f $wine_rules_file
8066 SUBDIRS=""
8068 DISABLED_SUBDIRS=""
8070 CONFIGURE_TARGETS=""
8073 wine_fn_append_file ()
8075 as_fn_append $1 " \\$as_nl $2"
8078 wine_fn_append_rule ()
8080 $as_echo "$1" >>$wine_rules_file
8083 wine_fn_config_makefile ()
8085 wine_fn_append_file SUBDIRS $1
8086 if eval test \"x\$"$2"\" = x"no"; then :
8087 wine_fn_append_file DISABLED_SUBDIRS $1
8091 wine_fn_config_symlink ()
8093 ac_links=$@
8094 wine_fn_append_rule \
8095 "$ac_links:
8096 @./config.status \$@"
8097 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8100 wine_binary="wine"
8101 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8102 WINELOADER_PROGRAMS="$wine_binary"
8104 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8106 case $host_os in
8107 cygwin*|mingw32*)
8108 if test -n "$ac_tool_prefix"; then
8109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8110 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8112 $as_echo_n "checking for $ac_word... " >&6; }
8113 if ${ac_cv_prog_DLLTOOL+:} false; then :
8114 $as_echo_n "(cached) " >&6
8115 else
8116 if test -n "$DLLTOOL"; then
8117 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8118 else
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 for as_dir in $PATH
8122 IFS=$as_save_IFS
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8126 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 break 2
8130 done
8131 done
8132 IFS=$as_save_IFS
8136 DLLTOOL=$ac_cv_prog_DLLTOOL
8137 if test -n "$DLLTOOL"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8139 $as_echo "$DLLTOOL" >&6; }
8140 else
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8147 if test -z "$ac_cv_prog_DLLTOOL"; then
8148 ac_ct_DLLTOOL=$DLLTOOL
8149 # Extract the first word of "dlltool", so it can be a program name with args.
8150 set dummy dlltool; ac_word=$2
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8152 $as_echo_n "checking for $ac_word... " >&6; }
8153 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 if test -n "$ac_ct_DLLTOOL"; then
8157 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8158 else
8159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8160 for as_dir in $PATH
8162 IFS=$as_save_IFS
8163 test -z "$as_dir" && as_dir=.
8164 for ac_exec_ext in '' $ac_executable_extensions; do
8165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8166 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 break 2
8170 done
8171 done
8172 IFS=$as_save_IFS
8176 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8177 if test -n "$ac_ct_DLLTOOL"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8179 $as_echo "$ac_ct_DLLTOOL" >&6; }
8180 else
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8185 if test "x$ac_ct_DLLTOOL" = x; then
8186 DLLTOOL="false"
8187 else
8188 case $cross_compiling:$ac_tool_warned in
8189 yes:)
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8192 ac_tool_warned=yes ;;
8193 esac
8194 DLLTOOL=$ac_ct_DLLTOOL
8196 else
8197 DLLTOOL="$ac_cv_prog_DLLTOOL"
8200 LIBEXT="dll"
8201 DLLEXT=""
8202 case $host_cpu in
8203 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8204 esac
8205 enable_iphlpapi=${enable_iphlpapi:-no}
8206 enable_kernel32=${enable_kernel32:-no}
8207 enable_ntdll=${enable_ntdll:-no}
8208 enable_ws2_32=${enable_ws2_32:-no}
8209 enable_loader=${enable_loader:-no}
8210 enable_server=${enable_server:-no}
8211 with_x=${with_x:-no}
8212 with_pthread=${with_pthread:-no}
8215 darwin*|macosx*)
8216 ac_ext=m
8217 ac_cpp='$OBJCPP $CPPFLAGS'
8218 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8219 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8220 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8222 ac_ext=m
8223 ac_cpp='$OBJCPP $CPPFLAGS'
8224 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8225 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8226 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8227 if test -n "$ac_tool_prefix"; then
8228 for ac_prog in gcc objcc objc cc CC
8230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_OBJC+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 if test -n "$OBJC"; then
8238 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 OBJC=$ac_cv_prog_OBJC
8258 if test -n "$OBJC"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8260 $as_echo "$OBJC" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8267 test -n "$OBJC" && break
8268 done
8270 if test -z "$OBJC"; then
8271 ac_ct_OBJC=$OBJC
8272 for ac_prog in gcc objcc objc cc CC
8274 # Extract the first word of "$ac_prog", so it can be a program name with args.
8275 set dummy $ac_prog; ac_word=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277 $as_echo_n "checking for $ac_word... " >&6; }
8278 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 if test -n "$ac_ct_OBJC"; then
8282 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8283 else
8284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 for as_dir in $PATH
8287 IFS=$as_save_IFS
8288 test -z "$as_dir" && as_dir=.
8289 for ac_exec_ext in '' $ac_executable_extensions; do
8290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293 break 2
8295 done
8296 done
8297 IFS=$as_save_IFS
8301 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8302 if test -n "$ac_ct_OBJC"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8304 $as_echo "$ac_ct_OBJC" >&6; }
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8311 test -n "$ac_ct_OBJC" && break
8312 done
8314 if test "x$ac_ct_OBJC" = x; then
8315 OBJC="gcc"
8316 else
8317 case $cross_compiling:$ac_tool_warned in
8318 yes:)
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8321 ac_tool_warned=yes ;;
8322 esac
8323 OBJC=$ac_ct_OBJC
8327 # Provide some information about the compiler.
8328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8329 set X $ac_compile
8330 ac_compiler=$2
8331 for ac_option in --version -v -V -qversion; do
8332 { { ac_try="$ac_compiler $ac_option >&5"
8333 case "(($ac_try" in
8334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8335 *) ac_try_echo=$ac_try;;
8336 esac
8337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8338 $as_echo "$ac_try_echo"; } >&5
8339 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8340 ac_status=$?
8341 if test -s conftest.err; then
8342 sed '10a\
8343 ... rest of stderr output deleted ...
8344 10q' conftest.err >conftest.er1
8345 cat conftest.er1 >&5
8347 rm -f conftest.er1 conftest.err
8348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8349 test $ac_status = 0; }
8350 done
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8353 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8354 if ${ac_cv_objc_compiler_gnu+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8361 main ()
8363 #ifndef __GNUC__
8364 choke me
8365 #endif
8368 return 0;
8370 _ACEOF
8371 if ac_fn_objc_try_compile "$LINENO"; then :
8372 ac_compiler_gnu=yes
8373 else
8374 ac_compiler_gnu=no
8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8377 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8381 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8382 if test $ac_compiler_gnu = yes; then
8383 GOBJC=yes
8384 else
8385 GOBJC=
8387 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8388 ac_save_OBJCFLAGS=$OBJCFLAGS
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8390 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8391 if ${ac_cv_prog_objc_g+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_save_objc_werror_flag=$ac_objc_werror_flag
8395 ac_objc_werror_flag=yes
8396 ac_cv_prog_objc_g=no
8397 OBJCFLAGS="-g"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8402 main ()
8406 return 0;
8408 _ACEOF
8409 if ac_fn_objc_try_compile "$LINENO"; then :
8410 ac_cv_prog_objc_g=yes
8411 else
8412 OBJCFLAGS=""
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8417 main ()
8421 return 0;
8423 _ACEOF
8424 if ac_fn_objc_try_compile "$LINENO"; then :
8426 else
8427 ac_objc_werror_flag=$ac_save_objc_werror_flag
8428 OBJCFLAGS="-g"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8433 main ()
8437 return 0;
8439 _ACEOF
8440 if ac_fn_objc_try_compile "$LINENO"; then :
8441 ac_cv_prog_objc_g=yes
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8448 ac_objc_werror_flag=$ac_save_objc_werror_flag
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8451 $as_echo "$ac_cv_prog_objc_g" >&6; }
8452 if test "$ac_test_OBJCFLAGS" = set; then
8453 OBJCFLAGS=$ac_save_OBJCFLAGS
8454 elif test $ac_cv_prog_objc_g = yes; then
8455 if test "$GOBJC" = yes; then
8456 OBJCFLAGS="-g -O2"
8457 else
8458 OBJCFLAGS="-g"
8460 else
8461 if test "$GOBJC" = yes; then
8462 OBJCFLAGS="-O2"
8463 else
8464 OBJCFLAGS=
8467 ac_ext=m
8468 ac_cpp='$OBJCPP $CPPFLAGS'
8469 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8470 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8471 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8474 ac_ext=m
8475 ac_cpp='$OBJCPP $CPPFLAGS'
8476 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8477 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8478 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8480 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8481 if test -z "$OBJCPP"; then
8482 if ${ac_cv_prog_OBJCPP+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 # Double quotes because OBJCPP needs to be expanded
8486 for OBJCPP in "$OBJC -E" "/lib/cpp"
8488 ac_preproc_ok=false
8489 for ac_objc_preproc_warn_flag in '' yes
8491 # Use a header file that comes with gcc, so configuring glibc
8492 # with a fresh cross-compiler works.
8493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8494 # <limits.h> exists even on freestanding compilers.
8495 # On the NeXT, cc -E runs the code through the compiler's parser,
8496 # not just through cpp. "Syntax error" is here to catch this case.
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 #ifdef __STDC__
8500 # include <limits.h>
8501 #else
8502 # include <assert.h>
8503 #endif
8504 Syntax error
8505 _ACEOF
8506 if ac_fn_objc_try_cpp "$LINENO"; then :
8508 else
8509 # Broken: fails on valid input.
8510 continue
8512 rm -f conftest.err conftest.i conftest.$ac_ext
8514 # OK, works on sane cases. Now check whether nonexistent headers
8515 # can be detected and how.
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 #include <ac_nonexistent.h>
8519 _ACEOF
8520 if ac_fn_objc_try_cpp "$LINENO"; then :
8521 # Broken: success on invalid input.
8522 continue
8523 else
8524 # Passes both tests.
8525 ac_preproc_ok=:
8526 break
8528 rm -f conftest.err conftest.i conftest.$ac_ext
8530 done
8531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8532 rm -f conftest.i conftest.err conftest.$ac_ext
8533 if $ac_preproc_ok; then :
8534 break
8537 done
8538 ac_cv_prog_OBJCPP=$OBJCPP
8541 OBJCPP=$ac_cv_prog_OBJCPP
8542 else
8543 ac_cv_prog_OBJCPP=$OBJCPP
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8546 $as_echo "$OBJCPP" >&6; }
8547 ac_preproc_ok=false
8548 for ac_objc_preproc_warn_flag in '' yes
8550 # Use a header file that comes with gcc, so configuring glibc
8551 # with a fresh cross-compiler works.
8552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8553 # <limits.h> exists even on freestanding compilers.
8554 # On the NeXT, cc -E runs the code through the compiler's parser,
8555 # not just through cpp. "Syntax error" is here to catch this case.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 #ifdef __STDC__
8559 # include <limits.h>
8560 #else
8561 # include <assert.h>
8562 #endif
8563 Syntax error
8564 _ACEOF
8565 if ac_fn_objc_try_cpp "$LINENO"; then :
8567 else
8568 # Broken: fails on valid input.
8569 continue
8571 rm -f conftest.err conftest.i conftest.$ac_ext
8573 # OK, works on sane cases. Now check whether nonexistent headers
8574 # can be detected and how.
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 #include <ac_nonexistent.h>
8578 _ACEOF
8579 if ac_fn_objc_try_cpp "$LINENO"; then :
8580 # Broken: success on invalid input.
8581 continue
8582 else
8583 # Passes both tests.
8584 ac_preproc_ok=:
8585 break
8587 rm -f conftest.err conftest.i conftest.$ac_ext
8589 done
8590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8591 rm -f conftest.i conftest.err conftest.$ac_ext
8592 if $ac_preproc_ok; then :
8594 else
8595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8597 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8598 See \`config.log' for more details" "$LINENO" 5; }
8601 ac_ext=m
8602 ac_cpp='$OBJCPP $CPPFLAGS'
8603 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8608 for ac_header in Metal/Metal.h
8609 do :
8610 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8611 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8612 cat >>confdefs.h <<_ACEOF
8613 #define HAVE_METAL_METAL_H 1
8614 _ACEOF
8618 done
8620 ac_ext=c
8621 ac_cpp='$CPP $CPPFLAGS'
8622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8626 LIBEXT="dylib"
8627 DLLFLAGS="$DLLFLAGS -fPIC"
8628 LDDLLFLAGS="-fPIC"
8629 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8630 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8631 COREFOUNDATION_LIBS="-framework CoreFoundation"
8633 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8635 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8637 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8639 CORESERVICES_LIBS="-framework CoreServices"
8641 APPKIT_LIBS="-framework AppKit"
8643 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8646 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8648 wine_can_build_preloader=yes
8649 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8651 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8652 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 ac_cv_cflags__Wl__no_new_main__e__main=yes
8663 else
8664 ac_cv_cflags__Wl__no_new_main__e__main=no
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8671 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8672 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8673 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8675 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8676 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8677 $as_echo_n "(cached) " >&6
8678 else
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 int main(int argc, char **argv) { return 0; }
8684 _ACEOF
8685 if ac_fn_c_try_link "$LINENO"; then :
8686 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8687 else
8688 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8690 rm -f core conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8692 CFLAGS=$ac_wine_try_cflags_saved
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8695 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8696 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8697 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8698 else
8699 { $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
8700 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8701 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703 else
8704 ac_wine_try_cflags_saved=$CFLAGS
8705 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 int main(int argc, char **argv) { return 0; }
8709 _ACEOF
8710 if ac_fn_c_try_link "$LINENO"; then :
8711 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8712 else
8713 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8715 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext
8717 CFLAGS=$ac_wine_try_cflags_saved
8719 { $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
8720 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8721 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8722 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8723 else
8724 wine_can_build_preloader=no
8727 else
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8729 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8730 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8731 $as_echo_n "(cached) " >&6
8732 else
8733 ac_wine_try_cflags_saved=$CFLAGS
8734 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8737 int main(int argc, char **argv) { return 0; }
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8741 else
8742 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8744 rm -f core conftest.err conftest.$ac_objext \
8745 conftest$ac_exeext conftest.$ac_ext
8746 CFLAGS=$ac_wine_try_cflags_saved
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8749 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8750 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8751 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8752 else
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8754 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8755 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 int main(int argc, char **argv) { return 0; }
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"; then :
8765 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8766 else
8767 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 CFLAGS=$ac_wine_try_cflags_saved
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8774 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8775 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8776 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8777 else
8778 wine_can_build_preloader=no
8782 if test "$wine_can_build_preloader" = "yes"
8783 then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8785 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8786 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -Wl,-no_pie"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_cflags__Wl__no_pie=yes
8797 else
8798 ac_cv_cflags__Wl__no_pie=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8805 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8806 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8807 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8809 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8810 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8811 else
8812 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8815 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8816 then
8817 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8820 if test "$ac_cv_header_Security_Security_h" = "yes"
8821 then
8822 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8824 ac_save_LIBS="$LIBS"
8825 LIBS="$LIBS $SECURITY_LIBS"
8826 for ac_func in SSLCopyPeerCertificates
8827 do :
8828 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8829 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8830 cat >>confdefs.h <<_ACEOF
8831 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8832 _ACEOF
8835 done
8837 LIBS="$ac_save_LIBS"
8839 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8840 then
8841 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8842 then
8843 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8845 else
8846 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8849 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8850 ac_save_LIBS="$LIBS"
8851 LIBS="$LIBS $COREAUDIO_LIBS"
8852 for ac_func in AUGraphAddNode
8853 do :
8854 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8855 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8856 cat >>confdefs.h <<_ACEOF
8857 #define HAVE_AUGRAPHADDNODE 1
8858 _ACEOF
8861 done
8863 LIBS="$ac_save_LIBS"
8865 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8866 then
8867 OPENAL_LIBS="-framework OpenAL"
8870 cat >>confdefs.h <<_ACEOF
8871 #define HAVE_OPENAL 1
8872 _ACEOF
8874 ac_cv_lib_openal=yes
8876 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8877 then
8878 OPENCL_LIBS="-framework OpenCL"
8880 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8882 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8883 then
8884 ac_save_LIBS="$LIBS"
8885 LIBS="$LIBS $IOKIT_LIBS"
8886 for ac_func in IOHIDManagerCreate
8887 do :
8888 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8889 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8890 cat >>confdefs.h <<_ACEOF
8891 #define HAVE_IOHIDMANAGERCREATE 1
8892 _ACEOF
8895 done
8897 LIBS="$ac_save_LIBS"
8899 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8900 then
8901 ac_save_LIBS="$LIBS"
8902 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8904 $as_echo_n "checking for the QuickTime framework... " >&6; }
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 #include <QuickTime/ImageCompression.h>
8909 main ()
8911 CodecManagerVersion(NULL);
8913 return 0;
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8918 $as_echo "yes" >&6; }
8919 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8921 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8922 else
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8925 ac_cv_header_QuickTime_ImageCompression_h=no
8927 rm -f core conftest.err conftest.$ac_objext \
8928 conftest$ac_exeext conftest.$ac_ext
8929 LIBS="$ac_save_LIBS"
8931 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8932 then
8933 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8935 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8936 then
8937 CARBON_LIBS="-framework Carbon"
8940 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8941 then
8942 METAL_LIBS="-framework Metal -framework QuartzCore"
8946 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8947 then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8949 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8950 ac_ext=m
8951 ac_cpp='$OBJCPP $CPPFLAGS'
8952 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8953 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8954 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8958 #include <Metal/Metal.h>
8960 main ()
8962 id<MTLDevice> device; device.registryID;
8964 return 0;
8966 _ACEOF
8967 if ac_fn_objc_try_compile "$LINENO"; then :
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8969 $as_echo "yes" >&6; }
8971 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8973 else
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8975 $as_echo "no" >&6; }
8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8978 ac_ext=c
8979 ac_cpp='$CPP $CPPFLAGS'
8980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8986 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8987 then
8988 ac_save_LIBS="$LIBS"
8989 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8990 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8991 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8992 enable_winemac_drv=${enable_winemac_drv:-yes}
8995 LIBS="$ac_save_LIBS"
8998 if test "x$enable_win16" = "xyes"
8999 then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9001 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9002 if test "$cross_compiling" = yes; then :
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9004 $as_echo "cross-compiling, assuming yes" >&6; }
9005 else
9006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9007 /* end confdefs.h. */
9008 asm(".text\n"
9009 "bad:\tnop;nop\n"
9010 "good:\tnop;nop\n\t"
9011 ".globl _testfunc\n"
9012 "_testfunc:\tcallw good");
9013 extern void testfunc();
9015 main ()
9017 unsigned short *p = (unsigned short *)testfunc;
9018 return p[0] != 0xe866 || p[1] != 0xfffa
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_run "$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9025 $as_echo "yes" >&6; }
9026 else
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028 $as_echo "no" >&6; }
9029 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9032 conftest.$ac_objext conftest.beam conftest.$ac_ext
9037 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9039 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9041 WINELOADER_DEPENDS="wine_info.plist"
9043 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9044 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9047 linux-android*)
9048 DLLFLAGS="$DLLFLAGS -fPIC"
9049 LDDLLFLAGS="-fPIC"
9050 LDEXECFLAGS="-Wl,-pie"
9051 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9053 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9054 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9055 $as_echo_n "(cached) " >&6
9056 else
9057 ac_wine_try_cflags_saved=$CFLAGS
9058 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9061 int main(int argc, char **argv) { return 0; }
9062 _ACEOF
9063 if ac_fn_c_try_link "$LINENO"; then :
9064 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9065 else
9066 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 CFLAGS=$ac_wine_try_cflags_saved
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9073 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9074 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9075 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9077 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9078 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9080 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9081 if eval \${$as_ac_var+:} false; then :
9082 $as_echo_n "(cached) " >&6
9083 else
9084 ac_wine_try_cflags_saved=$CFLAGS
9085 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9088 int main(int argc, char **argv) { return 0; }
9089 _ACEOF
9090 if ac_fn_c_try_link "$LINENO"; then :
9091 eval "$as_ac_var=yes"
9092 else
9093 eval "$as_ac_var=no"
9095 rm -f core conftest.err conftest.$ac_objext \
9096 conftest$ac_exeext conftest.$ac_ext
9097 CFLAGS=$ac_wine_try_cflags_saved
9099 eval ac_res=\$$as_ac_var
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9101 $as_echo "$ac_res" >&6; }
9102 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9103 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9104 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9105 else
9106 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9108 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9109 if eval \${$as_ac_var+:} false; then :
9110 $as_echo_n "(cached) " >&6
9111 else
9112 ac_wine_try_cflags_saved=$CFLAGS
9113 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9115 /* end confdefs.h. */
9116 int main(int argc, char **argv) { return 0; }
9117 _ACEOF
9118 if ac_fn_c_try_link "$LINENO"; then :
9119 eval "$as_ac_var=yes"
9120 else
9121 eval "$as_ac_var=no"
9123 rm -f core conftest.err conftest.$ac_objext \
9124 conftest$ac_exeext conftest.$ac_ext
9125 CFLAGS=$ac_wine_try_cflags_saved
9127 eval ac_res=\$$as_ac_var
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9129 $as_echo "$ac_res" >&6; }
9130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9131 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9132 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9136 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9137 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9138 $as_echo_n "(cached) " >&6
9139 else
9140 ac_wine_try_cflags_saved=$CFLAGS
9141 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9144 int main(int argc, char **argv) { return 0; }
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 ac_cv_cflags__Wl___enable_new_dtags=yes
9148 else
9149 ac_cv_cflags__Wl___enable_new_dtags=no
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 CFLAGS=$ac_wine_try_cflags_saved
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9156 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9157 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9158 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9161 LIBWINE_SHAREDLIB="libwine.so"
9163 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9165 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9168 $as_echo_n "checking for -lEGL... " >&6; }
9169 if ${ac_cv_lib_soname_EGL+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_check_soname_save_LIBS=$LIBS
9173 LIBS="-lEGL $LIBS"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9180 #ifdef __cplusplus
9181 extern "C"
9182 #endif
9183 char eglGetProcAddress ();
9185 main ()
9187 return eglGetProcAddress ();
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 case "$LIBEXT" in
9194 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9195 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'` ;;
9196 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9197 if ${ac_cv_lib_soname_EGL:+false} :; then :
9198 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9199 fi ;;
9200 esac
9201 else
9202 ac_cv_lib_soname_EGL=
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LIBS=$ac_check_soname_save_LIBS
9208 if ${ac_cv_lib_soname_EGL:+false} :; then :
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9210 $as_echo "not found" >&6; }
9212 else
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9214 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9216 cat >>confdefs.h <<_ACEOF
9217 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9218 _ACEOF
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9223 $as_echo_n "checking for -lGLESv2... " >&6; }
9224 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_soname_save_LIBS=$LIBS
9228 LIBS="-lGLESv2 $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char glFlush ();
9240 main ()
9242 return glFlush ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 case "$LIBEXT" in
9249 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9250 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'` ;;
9251 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9252 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9253 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9254 fi ;;
9255 esac
9256 else
9257 ac_cv_lib_soname_GLESv2=
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_soname_save_LIBS
9263 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9265 $as_echo "not found" >&6; }
9267 else
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9269 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9271 cat >>confdefs.h <<_ACEOF
9272 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9273 _ACEOF
9278 if test "x$exec_prefix" = xNONE
9279 then
9280 case $host_cpu in
9281 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9282 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9283 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9284 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9285 esac
9290 case $host_cpu in
9291 *i[3456789]86*)
9292 DLLFLAGS="$DLLFLAGS -fno-PIC"
9293 LDDLLFLAGS="-fno-PIC" ;;
9295 DLLFLAGS="$DLLFLAGS -fPIC"
9296 LDDLLFLAGS="-fPIC" ;;
9297 esac
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9299 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9300 if ${ac_cv_c_dll_gnuelf+:} false; then :
9301 $as_echo_n "(cached) " >&6
9302 else
9303 ac_wine_try_cflags_saved=$CFLAGS
9304 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9307 void myfunc() {}
9308 _ACEOF
9309 if ac_fn_c_try_link "$LINENO"; then :
9310 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9311 else
9312 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9314 rm -f core conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 CFLAGS=$ac_wine_try_cflags_saved
9317 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9318 ac_cv_c_dll_gnuelf="yes"
9319 else
9320 ac_cv_c_dll_gnuelf="no"
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9324 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9325 if test "$ac_cv_c_dll_gnuelf" = "yes"
9326 then
9327 LIBWINE_LDFLAGS="-shared"
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9329 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9330 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9331 $as_echo_n "(cached) " >&6
9332 else
9333 ac_wine_try_cflags_saved=$CFLAGS
9334 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9337 int main(int argc, char **argv) { return 0; }
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9341 else
9342 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 CFLAGS=$ac_wine_try_cflags_saved
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9349 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9350 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9351 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9352 else
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9354 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9355 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_wine_try_cflags_saved=$CFLAGS
9359 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9362 int main(int argc, char **argv) { return 0; }
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9366 else
9367 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 CFLAGS=$ac_wine_try_cflags_saved
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9374 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9375 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9376 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9380 echo '{ global: *; };' >conftest.map
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9382 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9383 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_wine_try_cflags_saved=$CFLAGS
9387 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9390 int main(int argc, char **argv) { return 0; }
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9394 else
9395 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 CFLAGS=$ac_wine_try_cflags_saved
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9402 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9403 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9404 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9406 rm -f conftest.map
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9409 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9410 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 ac_cv_cflags__Wl___export_dynamic=yes
9421 else
9422 ac_cv_cflags__Wl___export_dynamic=no
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 CFLAGS=$ac_wine_try_cflags_saved
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9429 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9430 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9431 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9433 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9435 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9437 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9438 if eval \${$as_ac_var+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_wine_try_cflags_saved=$CFLAGS
9442 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9445 int main(int argc, char **argv) { return 0; }
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 eval "$as_ac_var=yes"
9449 else
9450 eval "$as_ac_var=no"
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 CFLAGS=$ac_wine_try_cflags_saved
9456 eval ac_res=\$$as_ac_var
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9458 $as_echo "$ac_res" >&6; }
9459 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9460 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9461 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9462 else
9463 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9465 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9466 if eval \${$as_ac_var+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_wine_try_cflags_saved=$CFLAGS
9470 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9473 int main(int argc, char **argv) { return 0; }
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 eval "$as_ac_var=yes"
9477 else
9478 eval "$as_ac_var=no"
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 CFLAGS=$ac_wine_try_cflags_saved
9484 eval ac_res=\$$as_ac_var
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9486 $as_echo "$ac_res" >&6; }
9487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9488 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9489 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9494 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9495 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_wine_try_cflags_saved=$CFLAGS
9499 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9502 int main(int argc, char **argv) { return 0; }
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_cflags__Wl___enable_new_dtags=yes
9506 else
9507 ac_cv_cflags__Wl___enable_new_dtags=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 CFLAGS=$ac_wine_try_cflags_saved
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9514 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9515 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9516 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9519 case $host_cpu in
9520 *i[3456789]86* | x86_64 | *aarch64*)
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9522 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9523 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 ac_wine_try_cflags_saved=$CFLAGS
9527 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
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__Ttext_segment_0x7bc00000=yes
9534 else
9535 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=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__Ttext_segment_0x7bc00000" >&5
9542 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9543 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9544 case $host_os in
9545 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9546 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9547 esac
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9550 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9551 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_wine_try_cflags_saved=$CFLAGS
9555 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9558 int main(int argc, char **argv) { return 0; }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9562 else
9563 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 CFLAGS=$ac_wine_try_cflags_saved
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9570 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9571 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9572 case $host_os in
9573 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9574 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9575 esac
9577 # Extract the first word of "prelink", so it can be a program name with args.
9578 set dummy prelink; ac_word=$2
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580 $as_echo_n "checking for $ac_word... " >&6; }
9581 if ${ac_cv_path_PRELINK+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 case $PRELINK in
9585 [\\/]* | ?:[\\/]*)
9586 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in /sbin /usr/sbin $PATH
9592 IFS=$as_save_IFS
9593 test -z "$as_dir" && as_dir=.
9594 for ac_exec_ext in '' $ac_executable_extensions; do
9595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9596 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9598 break 2
9600 done
9601 done
9602 IFS=$as_save_IFS
9604 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9606 esac
9608 PRELINK=$ac_cv_path_PRELINK
9609 if test -n "$PRELINK"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9611 $as_echo "$PRELINK" >&6; }
9612 else
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9618 if test "x$PRELINK" = xfalse
9619 then
9620 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9624 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9625 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_wine_try_cflags_saved=$CFLAGS
9629 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 int main(int argc, char **argv) { return 0; }
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9636 else
9637 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 CFLAGS=$ac_wine_try_cflags_saved
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9644 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9645 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9646 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9649 esac
9651 else
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9653 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9654 if ${ac_cv_c_dll_unixware+:} false; then :
9655 $as_echo_n "(cached) " >&6
9656 else
9657 ac_wine_try_cflags_saved=$CFLAGS
9658 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9661 void myfunc() {}
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9665 else
9666 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 CFLAGS=$ac_wine_try_cflags_saved
9671 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9672 ac_cv_c_dll_unixware="yes"
9673 else
9674 ac_cv_c_dll_unixware="no"
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9678 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9679 if test "$ac_cv_c_dll_unixware" = "yes"
9680 then
9681 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9684 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9686 LIBWINE_DEPENDS="wine.map"
9688 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9689 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9691 esac
9693 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9694 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9695 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9696 enable_winemac_drv=${enable_winemac_drv:-no}
9697 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9699 CROSSTARGET=""
9701 if test "x$with_mingw" != xno
9702 then
9703 case "x$with_mingw" in
9704 x|xyes) case "$host_cpu" in
9705 aarch64*)
9706 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9707 arm*)
9708 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9709 i[3456789]86*)
9710 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
9711 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9712 mingw32-gcc" ;;
9713 x86_64)
9714 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
9715 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9717 ac_prefix_list="" ;;
9718 esac
9719 for ac_prog in $ac_prefix_list
9721 # Extract the first word of "$ac_prog", so it can be a program name with args.
9722 set dummy $ac_prog; ac_word=$2
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9724 $as_echo_n "checking for $ac_word... " >&6; }
9725 if ${ac_cv_prog_CROSSCC+:} false; then :
9726 $as_echo_n "(cached) " >&6
9727 else
9728 if test -n "$CROSSCC"; then
9729 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9730 else
9731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9732 for as_dir in $PATH
9734 IFS=$as_save_IFS
9735 test -z "$as_dir" && as_dir=.
9736 for ac_exec_ext in '' $ac_executable_extensions; do
9737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9738 ac_cv_prog_CROSSCC="$ac_prog"
9739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9740 break 2
9742 done
9743 done
9744 IFS=$as_save_IFS
9748 CROSSCC=$ac_cv_prog_CROSSCC
9749 if test -n "$CROSSCC"; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9751 $as_echo "$CROSSCC" >&6; }
9752 else
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754 $as_echo "no" >&6; }
9758 test -n "$CROSSCC" && break
9759 done
9760 test -n "$CROSSCC" || CROSSCC="false"
9762 *) CROSSCC=$with_mingw ;;
9763 esac
9764 if test "$CROSSCC" != "false"
9765 then
9766 ac_save_CC="$CC"
9767 saved_CFLAGS=$CFLAGS
9768 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9770 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9774 CC="$CROSSCC"
9775 CFLAGS=$CROSSCFLAGS
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9777 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9778 if ${wine_cv_crosscc+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9785 main ()
9789 return 0;
9791 _ACEOF
9792 if ac_fn_c_try_compile "$LINENO"; then :
9793 wine_cv_crosscc=yes
9794 else
9795 wine_cv_crosscc=no
9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9800 $as_echo "$wine_cv_crosscc" >&6; }
9801 if test $wine_cv_crosscc = yes
9802 then
9803 set x $CROSSCC
9804 shift
9805 while test $# -ge 1
9807 case "$1" in
9808 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9809 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9810 esac
9811 shift
9812 done
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9815 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9816 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9817 $as_echo_n "(cached) " >&6
9818 else
9819 ac_wine_try_cflags_saved=$CFLAGS
9820 ac_wine_try_cflags_saved_cc=$CC
9821 ac_wine_try_cflags_saved_exeext=$ac_exeext
9822 CFLAGS="$CFLAGS -fno-strict-aliasing"
9823 CC="$CROSSCC"
9824 ac_exeext=".exe"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9827 int main(int argc, char **argv) { return 0; }
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_crosscflags__fno_strict_aliasing=yes
9831 else
9832 ac_cv_crosscflags__fno_strict_aliasing=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 CFLAGS=$ac_wine_try_cflags_saved
9837 CC=$ac_wine_try_cflags_saved_cc
9838 ac_exeext=$ac_wine_try_cflags_saved_exeext
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9841 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9842 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9843 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9846 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9847 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_wine_try_cflags_saved=$CFLAGS
9851 ac_wine_try_cflags_saved_cc=$CC
9852 ac_wine_try_cflags_saved_exeext=$ac_exeext
9853 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9854 CC="$CROSSCC"
9855 ac_exeext=".exe"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 int main(int argc, char **argv) { return 0; }
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9862 else
9863 ac_cv_crosscflags__Werror_unknown_warning_option=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 CFLAGS=$ac_wine_try_cflags_saved
9868 CC=$ac_wine_try_cflags_saved_cc
9869 ac_exeext=$ac_wine_try_cflags_saved_exeext
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9872 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9873 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9874 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9877 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9878 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 ac_wine_try_cflags_saved_cc=$CC
9883 ac_wine_try_cflags_saved_exeext=$ac_exeext
9884 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9885 CC="$CROSSCC"
9886 ac_exeext=".exe"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 int main(int argc, char **argv) { return 0; }
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"; then :
9892 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9893 else
9894 ac_cv_crosscflags__Wdeclaration_after_statement=no
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 CFLAGS=$ac_wine_try_cflags_saved
9899 CC=$ac_wine_try_cflags_saved_cc
9900 ac_exeext=$ac_wine_try_cflags_saved_exeext
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9903 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9904 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9905 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9908 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9909 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_wine_try_cflags_saved=$CFLAGS
9913 ac_wine_try_cflags_saved_cc=$CC
9914 ac_wine_try_cflags_saved_exeext=$ac_exeext
9915 CFLAGS="$CFLAGS -Wempty-body"
9916 CC="$CROSSCC"
9917 ac_exeext=".exe"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 int main(int argc, char **argv) { return 0; }
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 ac_cv_crosscflags__Wempty_body=yes
9924 else
9925 ac_cv_crosscflags__Wempty_body=no
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9930 CC=$ac_wine_try_cflags_saved_cc
9931 ac_exeext=$ac_wine_try_cflags_saved_exeext
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9934 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9935 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9936 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9939 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9940 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_wine_try_cflags_saved=$CFLAGS
9944 ac_wine_try_cflags_saved_cc=$CC
9945 ac_wine_try_cflags_saved_exeext=$ac_exeext
9946 CFLAGS="$CFLAGS -Wignored-qualifiers"
9947 CC="$CROSSCC"
9948 ac_exeext=".exe"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_crosscflags__Wignored_qualifiers=yes
9955 else
9956 ac_cv_crosscflags__Wignored_qualifiers=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9961 CC=$ac_wine_try_cflags_saved_cc
9962 ac_exeext=$ac_wine_try_cflags_saved_exeext
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9965 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9966 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9967 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9970 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9971 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 ac_wine_try_cflags_saved_cc=$CC
9976 ac_wine_try_cflags_saved_exeext=$ac_exeext
9977 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9978 CC="$CROSSCC"
9979 ac_exeext=".exe"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int main(int argc, char **argv) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 ac_cv_crosscflags__Wpacked_not_aligned=yes
9986 else
9987 ac_cv_crosscflags__Wpacked_not_aligned=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9992 CC=$ac_wine_try_cflags_saved_cc
9993 ac_exeext=$ac_wine_try_cflags_saved_exeext
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9996 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9997 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9998 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10001 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10002 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_wine_try_cflags_saved=$CFLAGS
10006 ac_wine_try_cflags_saved_cc=$CC
10007 ac_wine_try_cflags_saved_exeext=$ac_exeext
10008 CFLAGS="$CFLAGS -Wpragma-pack"
10009 CC="$CROSSCC"
10010 ac_exeext=".exe"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 int main(int argc, char **argv) { return 0; }
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_crosscflags__Wpragma_pack=yes
10017 else
10018 ac_cv_crosscflags__Wpragma_pack=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 CFLAGS=$ac_wine_try_cflags_saved
10023 CC=$ac_wine_try_cflags_saved_cc
10024 ac_exeext=$ac_wine_try_cflags_saved_exeext
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10027 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10028 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10029 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10032 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10033 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_wine_try_cflags_saved=$CFLAGS
10037 ac_wine_try_cflags_saved_cc=$CC
10038 ac_wine_try_cflags_saved_exeext=$ac_exeext
10039 CFLAGS="$CFLAGS -Wshift-overflow=2"
10040 CC="$CROSSCC"
10041 ac_exeext=".exe"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 int main(int argc, char **argv) { return 0; }
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_crosscflags__Wshift_overflow_2=yes
10048 else
10049 ac_cv_crosscflags__Wshift_overflow_2=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10054 CC=$ac_wine_try_cflags_saved_cc
10055 ac_exeext=$ac_wine_try_cflags_saved_exeext
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10058 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10059 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10060 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10063 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10064 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_wine_try_cflags_saved=$CFLAGS
10068 ac_wine_try_cflags_saved_cc=$CC
10069 ac_wine_try_cflags_saved_exeext=$ac_exeext
10070 CFLAGS="$CFLAGS -Wstrict-prototypes"
10071 CC="$CROSSCC"
10072 ac_exeext=".exe"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int main(int argc, char **argv) { return 0; }
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 ac_cv_crosscflags__Wstrict_prototypes=yes
10079 else
10080 ac_cv_crosscflags__Wstrict_prototypes=no
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10085 CC=$ac_wine_try_cflags_saved_cc
10086 ac_exeext=$ac_wine_try_cflags_saved_exeext
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10089 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10090 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10091 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10094 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10095 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 ac_wine_try_cflags_saved_cc=$CC
10100 ac_wine_try_cflags_saved_exeext=$ac_exeext
10101 CFLAGS="$CFLAGS -Wtype-limits"
10102 CC="$CROSSCC"
10103 ac_exeext=".exe"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 int main(int argc, char **argv) { return 0; }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_crosscflags__Wtype_limits=yes
10110 else
10111 ac_cv_crosscflags__Wtype_limits=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 CFLAGS=$ac_wine_try_cflags_saved
10116 CC=$ac_wine_try_cflags_saved_cc
10117 ac_exeext=$ac_wine_try_cflags_saved_exeext
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10120 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10121 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10122 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10125 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10126 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 ac_wine_try_cflags_saved_cc=$CC
10131 ac_wine_try_cflags_saved_exeext=$ac_exeext
10132 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10133 CC="$CROSSCC"
10134 ac_exeext=".exe"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int main(int argc, char **argv) { return 0; }
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10141 else
10142 ac_cv_crosscflags__Wunused_but_set_parameter=no
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10147 CC=$ac_wine_try_cflags_saved_cc
10148 ac_exeext=$ac_wine_try_cflags_saved_exeext
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10151 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10152 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10156 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10157 if ${ac_cv_crosscflags__Wvla+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 ac_wine_try_cflags_saved_cc=$CC
10162 ac_wine_try_cflags_saved_exeext=$ac_exeext
10163 CFLAGS="$CFLAGS -Wvla"
10164 CC="$CROSSCC"
10165 ac_exeext=".exe"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_crosscflags__Wvla=yes
10172 else
10173 ac_cv_crosscflags__Wvla=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 CFLAGS=$ac_wine_try_cflags_saved
10178 CC=$ac_wine_try_cflags_saved_cc
10179 ac_exeext=$ac_wine_try_cflags_saved_exeext
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10182 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10183 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10187 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10188 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 ac_wine_try_cflags_saved_cc=$CC
10193 ac_wine_try_cflags_saved_exeext=$ac_exeext
10194 CFLAGS="$CFLAGS -Wwrite-strings"
10195 CC="$CROSSCC"
10196 ac_exeext=".exe"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10199 int main(int argc, char **argv) { return 0; }
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 ac_cv_crosscflags__Wwrite_strings=yes
10203 else
10204 ac_cv_crosscflags__Wwrite_strings=no
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10209 CC=$ac_wine_try_cflags_saved_cc
10210 ac_exeext=$ac_wine_try_cflags_saved_exeext
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10213 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10214 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10218 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10219 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 ac_wine_try_cflags_saved_cc=$CC
10224 ac_wine_try_cflags_saved_exeext=$ac_exeext
10225 CFLAGS="$CFLAGS -Wpointer-arith"
10226 CC="$CROSSCC"
10227 ac_exeext=".exe"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_crosscflags__Wpointer_arith=yes
10234 else
10235 ac_cv_crosscflags__Wpointer_arith=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS=$ac_wine_try_cflags_saved
10240 CC=$ac_wine_try_cflags_saved_cc
10241 ac_exeext=$ac_wine_try_cflags_saved_exeext
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10244 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10245 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10249 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10250 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10251 $as_echo_n "(cached) " >&6
10252 else
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 ac_wine_try_cflags_saved_cc=$CC
10255 ac_wine_try_cflags_saved_exeext=$ac_exeext
10256 CFLAGS="$CFLAGS -Wlogical-op"
10257 CC="$CROSSCC"
10258 ac_exeext=".exe"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10261 int main(int argc, char **argv) { return 0; }
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 ac_cv_crosscflags__Wlogical_op=yes
10265 else
10266 ac_cv_crosscflags__Wlogical_op=no
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 CFLAGS=$ac_wine_try_cflags_saved
10271 CC=$ac_wine_try_cflags_saved_cc
10272 ac_exeext=$ac_wine_try_cflags_saved_exeext
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10275 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10276 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10277 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10280 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10281 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10282 $as_echo_n "(cached) " >&6
10283 else
10284 ac_wine_try_cflags_saved=$CFLAGS
10285 ac_wine_try_cflags_saved_cc=$CC
10286 ac_wine_try_cflags_saved_exeext=$ac_exeext
10287 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10288 CC="$CROSSCC"
10289 ac_exeext=".exe"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10292 int main(int argc, char **argv) { return 0; }
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10296 else
10297 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 CFLAGS=$ac_wine_try_cflags_saved
10302 CC=$ac_wine_try_cflags_saved_cc
10303 ac_exeext=$ac_wine_try_cflags_saved_exeext
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10306 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10307 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10308 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10311 case $host_cpu in
10312 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10313 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10314 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10315 $as_echo_n "(cached) " >&6
10316 else
10317 ac_wine_try_cflags_saved=$CFLAGS
10318 ac_wine_try_cflags_saved_cc=$CC
10319 ac_wine_try_cflags_saved_exeext=$ac_exeext
10320 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10321 CC="$CROSSCC"
10322 ac_exeext=".exe"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 int main(int argc, char **argv) { return 0; }
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10329 else
10330 ac_cv_crosscflags__fno_omit_frame_pointer=no
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 CFLAGS=$ac_wine_try_cflags_saved
10335 CC=$ac_wine_try_cflags_saved_cc
10336 ac_exeext=$ac_wine_try_cflags_saved_exeext
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10339 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10340 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10341 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10342 fi ;;
10343 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10344 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10345 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_wine_try_cflags_saved=$CFLAGS
10349 ac_wine_try_cflags_saved_cc=$CC
10350 ac_wine_try_cflags_saved_exeext=$ac_exeext
10351 CFLAGS="$CFLAGS -Wno-format"
10352 CC="$CROSSCC"
10353 ac_exeext=".exe"
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 int main(int argc, char **argv) { return 0; }
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"; then :
10359 ac_cv_crosscflags__Wno_format=yes
10360 else
10361 ac_cv_crosscflags__Wno_format=no
10363 rm -f core conftest.err conftest.$ac_objext \
10364 conftest$ac_exeext conftest.$ac_ext
10365 CFLAGS=$ac_wine_try_cflags_saved
10366 CC=$ac_wine_try_cflags_saved_cc
10367 ac_exeext=$ac_wine_try_cflags_saved_exeext
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10370 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10371 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10372 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10375 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10376 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10377 $as_echo_n "(cached) " >&6
10378 else
10379 ac_wine_try_cflags_saved=$CFLAGS
10380 ac_wine_try_cflags_saved_cc=$CC
10381 ac_wine_try_cflags_saved_exeext=$ac_exeext
10382 CFLAGS="$CFLAGS -Wformat-overflow"
10383 CC="$CROSSCC"
10384 ac_exeext=".exe"
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 int main(int argc, char **argv) { return 0; }
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390 ac_cv_crosscflags__Wformat_overflow=yes
10391 else
10392 ac_cv_crosscflags__Wformat_overflow=no
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 CFLAGS=$ac_wine_try_cflags_saved
10397 CC=$ac_wine_try_cflags_saved_cc
10398 ac_exeext=$ac_wine_try_cflags_saved_exeext
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10401 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10402 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10403 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10406 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10407 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_wine_try_cflags_saved=$CFLAGS
10411 ac_wine_try_cflags_saved_cc=$CC
10412 ac_wine_try_cflags_saved_exeext=$ac_exeext
10413 CFLAGS="$CFLAGS -Wnonnull"
10414 CC="$CROSSCC"
10415 ac_exeext=".exe"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 int main(int argc, char **argv) { return 0; }
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 ac_cv_crosscflags__Wnonnull=yes
10422 else
10423 ac_cv_crosscflags__Wnonnull=no
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 CFLAGS=$ac_wine_try_cflags_saved
10428 CC=$ac_wine_try_cflags_saved_cc
10429 ac_exeext=$ac_wine_try_cflags_saved_exeext
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10432 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10433 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10434 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10435 fi ;;
10436 esac
10438 for ac_flag in $CROSSCFLAGS; do
10439 case $ac_flag in
10440 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10441 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10442 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 ac_wine_try_cflags_saved_cc=$CC
10447 ac_wine_try_cflags_saved_exeext=$ac_exeext
10448 CFLAGS="$CFLAGS -gdwarf-2"
10449 CC="$CROSSCC"
10450 ac_exeext=".exe"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 int main(int argc, char **argv) { return 0; }
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 ac_cv_crosscflags__gdwarf_2=yes
10457 else
10458 ac_cv_crosscflags__gdwarf_2=no
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 CFLAGS=$ac_wine_try_cflags_saved
10463 CC=$ac_wine_try_cflags_saved_cc
10464 ac_exeext=$ac_wine_try_cflags_saved_exeext
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10467 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10468 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10469 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10472 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10473 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 ac_wine_try_cflags_saved_cc=$CC
10478 ac_wine_try_cflags_saved_exeext=$ac_exeext
10479 CFLAGS="$CFLAGS -gstrict-dwarf"
10480 CC="$CROSSCC"
10481 ac_exeext=".exe"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int main(int argc, char **argv) { return 0; }
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_crosscflags__gstrict_dwarf=yes
10488 else
10489 ac_cv_crosscflags__gstrict_dwarf=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 CFLAGS=$ac_wine_try_cflags_saved
10494 CC=$ac_wine_try_cflags_saved_cc
10495 ac_exeext=$ac_wine_try_cflags_saved_exeext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10498 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10499 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10500 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10501 fi ;;
10502 esac
10503 done
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10506 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10507 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10508 $as_echo_n "(cached) " >&6
10509 else
10510 ac_wine_try_cflags_saved=$CFLAGS
10511 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10514 int main(int argc, char **argv) { return 0; }
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10518 else
10519 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 CFLAGS=$ac_wine_try_cflags_saved
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10526 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10527 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10528 DELAYLOADFLAG="-Wl,-delayload,"
10532 if test "x$enable_maintainer_mode" = xyes
10533 then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10535 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10536 if ${ac_cv_crosscflags__Werror+:} false; then :
10537 $as_echo_n "(cached) " >&6
10538 else
10539 ac_wine_try_cflags_saved=$CFLAGS
10540 ac_wine_try_cflags_saved_cc=$CC
10541 ac_wine_try_cflags_saved_exeext=$ac_exeext
10542 CFLAGS="$CFLAGS -Werror"
10543 CC="$CROSSCC"
10544 ac_exeext=".exe"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10547 int main(int argc, char **argv) { return 0; }
10548 _ACEOF
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 ac_cv_crosscflags__Werror=yes
10551 else
10552 ac_cv_crosscflags__Werror=no
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 CFLAGS=$ac_wine_try_cflags_saved
10557 CC=$ac_wine_try_cflags_saved_cc
10558 ac_exeext=$ac_wine_try_cflags_saved_exeext
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10561 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10562 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10563 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10567 CFLAGS=$saved_CFLAGS
10568 CC="$ac_save_CC"
10571 if test "x$CROSSTARGET" = "x"; then :
10572 case "x$with_mingw" in
10573 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10574 xno) ;;
10575 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10576 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10577 esac
10582 if test "$ac_cv_header_pthread_h" = "yes"
10583 then
10584 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10585 if test "x$ac_cv_func_pthread_create" = xyes; then :
10587 else
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10589 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10590 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10591 $as_echo_n "(cached) " >&6
10592 else
10593 ac_check_lib_save_LIBS=$LIBS
10594 LIBS="-lpthread $LIBS"
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10598 /* Override any GCC internal prototype to avoid an error.
10599 Use char because int might match the return type of a GCC
10600 builtin and then its argument prototype would still apply. */
10601 #ifdef __cplusplus
10602 extern "C"
10603 #endif
10604 char pthread_create ();
10606 main ()
10608 return pthread_create ();
10610 return 0;
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 ac_cv_lib_pthread_pthread_create=yes
10615 else
10616 ac_cv_lib_pthread_pthread_create=no
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 LIBS=$ac_check_lib_save_LIBS
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10623 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10624 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10625 PTHREAD_LIBS="-lpthread"
10632 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10633 case "x$with_pthread" in
10634 xno) ;;
10635 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10636 Wine cannot support threads without libpthread.
10637 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10638 esac
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10644 $as_echo_n "checking for X... " >&6; }
10647 # Check whether --with-x was given.
10648 if test "${with_x+set}" = set; then :
10649 withval=$with_x;
10652 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10653 if test "x$with_x" = xno; then
10654 # The user explicitly disabled X.
10655 have_x=disabled
10656 else
10657 case $x_includes,$x_libraries in #(
10658 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10659 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 # One or both of the vars are not set, and there is no cached value.
10663 ac_x_includes=no ac_x_libraries=no
10664 rm -f -r conftest.dir
10665 if mkdir conftest.dir; then
10666 cd conftest.dir
10667 cat >Imakefile <<'_ACEOF'
10668 incroot:
10669 @echo incroot='${INCROOT}'
10670 usrlibdir:
10671 @echo usrlibdir='${USRLIBDIR}'
10672 libdir:
10673 @echo libdir='${LIBDIR}'
10674 _ACEOF
10675 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10677 for ac_var in incroot usrlibdir libdir; do
10678 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10679 done
10680 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10681 for ac_extension in a so sl dylib la dll; do
10682 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10683 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10684 ac_im_usrlibdir=$ac_im_libdir; break
10686 done
10687 # Screen out bogus values from the imake configuration. They are
10688 # bogus both because they are the default anyway, and because
10689 # using them would break gcc on systems where it needs fixed includes.
10690 case $ac_im_incroot in
10691 /usr/include) ac_x_includes= ;;
10692 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10693 esac
10694 case $ac_im_usrlibdir in
10695 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10696 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10697 esac
10699 cd ..
10700 rm -f -r conftest.dir
10703 # Standard set of common directories for X headers.
10704 # Check X11 before X11Rn because it is often a symlink to the current release.
10705 ac_x_header_dirs='
10706 /usr/X11/include
10707 /usr/X11R7/include
10708 /usr/X11R6/include
10709 /usr/X11R5/include
10710 /usr/X11R4/include
10712 /usr/include/X11
10713 /usr/include/X11R7
10714 /usr/include/X11R6
10715 /usr/include/X11R5
10716 /usr/include/X11R4
10718 /usr/local/X11/include
10719 /usr/local/X11R7/include
10720 /usr/local/X11R6/include
10721 /usr/local/X11R5/include
10722 /usr/local/X11R4/include
10724 /usr/local/include/X11
10725 /usr/local/include/X11R7
10726 /usr/local/include/X11R6
10727 /usr/local/include/X11R5
10728 /usr/local/include/X11R4
10730 /usr/X386/include
10731 /usr/x386/include
10732 /usr/XFree86/include/X11
10734 /usr/include
10735 /usr/local/include
10736 /usr/unsupported/include
10737 /usr/athena/include
10738 /usr/local/x11r5/include
10739 /usr/lpp/Xamples/include
10741 /usr/openwin/include
10742 /usr/openwin/share/include'
10744 if test "$ac_x_includes" = no; then
10745 # Guess where to find include files, by looking for Xlib.h.
10746 # First, try using that file with no special directory specified.
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10749 #include <X11/Xlib.h>
10750 _ACEOF
10751 if ac_fn_c_try_cpp "$LINENO"; then :
10752 # We can compile using X headers with no special include directory.
10753 ac_x_includes=
10754 else
10755 for ac_dir in $ac_x_header_dirs; do
10756 if test -r "$ac_dir/X11/Xlib.h"; then
10757 ac_x_includes=$ac_dir
10758 break
10760 done
10762 rm -f conftest.err conftest.i conftest.$ac_ext
10763 fi # $ac_x_includes = no
10765 if test "$ac_x_libraries" = no; then
10766 # Check for the libraries.
10767 # See if we find them without any special options.
10768 # Don't add to $LIBS permanently.
10769 ac_save_LIBS=$LIBS
10770 LIBS="-lX11 $LIBS"
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10773 #include <X11/Xlib.h>
10775 main ()
10777 XrmInitialize ()
10779 return 0;
10781 _ACEOF
10782 if ac_fn_c_try_link "$LINENO"; then :
10783 LIBS=$ac_save_LIBS
10784 # We can link X programs with no special library path.
10785 ac_x_libraries=
10786 else
10787 LIBS=$ac_save_LIBS
10788 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10790 # Don't even attempt the hair of trying to link an X program!
10791 for ac_extension in a so sl dylib la dll; do
10792 if test -r "$ac_dir/libX11.$ac_extension"; then
10793 ac_x_libraries=$ac_dir
10794 break 2
10796 done
10797 done
10799 rm -f core conftest.err conftest.$ac_objext \
10800 conftest$ac_exeext conftest.$ac_ext
10801 fi # $ac_x_libraries = no
10803 case $ac_x_includes,$ac_x_libraries in #(
10804 no,* | *,no | *\'*)
10805 # Didn't find X, or a directory has "'" in its name.
10806 ac_cv_have_x="have_x=no";; #(
10808 # Record where we found X for the cache.
10809 ac_cv_have_x="have_x=yes\
10810 ac_x_includes='$ac_x_includes'\
10811 ac_x_libraries='$ac_x_libraries'"
10812 esac
10814 ;; #(
10815 *) have_x=yes;;
10816 esac
10817 eval "$ac_cv_have_x"
10818 fi # $with_x != no
10820 if test "$have_x" != yes; then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10822 $as_echo "$have_x" >&6; }
10823 no_x=yes
10824 else
10825 # If each of the values was on the command line, it overrides each guess.
10826 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10827 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10828 # Update the cache value to reflect the command line values.
10829 ac_cv_have_x="have_x=yes\
10830 ac_x_includes='$x_includes'\
10831 ac_x_libraries='$x_libraries'"
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10833 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10836 if test "$no_x" = yes; then
10837 # Not all programs may use this symbol, but it does not hurt to define it.
10839 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10841 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10842 else
10843 if test -n "$x_includes"; then
10844 X_CFLAGS="$X_CFLAGS -I$x_includes"
10847 # It would also be nice to do this for all -L options, not just this one.
10848 if test -n "$x_libraries"; then
10849 X_LIBS="$X_LIBS -L$x_libraries"
10850 # For Solaris; some versions of Sun CC require a space after -R and
10851 # others require no space. Words are not sufficient . . . .
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10853 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10854 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10855 ac_xsave_c_werror_flag=$ac_c_werror_flag
10856 ac_c_werror_flag=yes
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10861 main ()
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10870 $as_echo "no" >&6; }
10871 X_LIBS="$X_LIBS -R$x_libraries"
10872 else
10873 LIBS="$ac_xsave_LIBS -R $x_libraries"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10878 main ()
10882 return 0;
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10887 $as_echo "yes" >&6; }
10888 X_LIBS="$X_LIBS -R $x_libraries"
10889 else
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10891 $as_echo "neither works" >&6; }
10893 rm -f core conftest.err conftest.$ac_objext \
10894 conftest$ac_exeext conftest.$ac_ext
10896 rm -f core conftest.err conftest.$ac_objext \
10897 conftest$ac_exeext conftest.$ac_ext
10898 ac_c_werror_flag=$ac_xsave_c_werror_flag
10899 LIBS=$ac_xsave_LIBS
10902 # Check for system-dependent libraries X programs must link with.
10903 # Do this before checking for the system-independent R6 libraries
10904 # (-lICE), since we may need -lsocket or whatever for X linking.
10906 if test "$ISC" = yes; then
10907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10908 else
10909 # Martyn Johnson says this is needed for Ultrix, if the X
10910 # libraries were built with DECnet support. And Karl Berry says
10911 # the Alpha needs dnet_stub (dnet does not exist).
10912 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10916 /* Override any GCC internal prototype to avoid an error.
10917 Use char because int might match the return type of a GCC
10918 builtin and then its argument prototype would still apply. */
10919 #ifdef __cplusplus
10920 extern "C"
10921 #endif
10922 char XOpenDisplay ();
10924 main ()
10926 return XOpenDisplay ();
10928 return 0;
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10933 else
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10935 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10936 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10937 $as_echo_n "(cached) " >&6
10938 else
10939 ac_check_lib_save_LIBS=$LIBS
10940 LIBS="-ldnet $LIBS"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10944 /* Override any GCC internal prototype to avoid an error.
10945 Use char because int might match the return type of a GCC
10946 builtin and then its argument prototype would still apply. */
10947 #ifdef __cplusplus
10948 extern "C"
10949 #endif
10950 char dnet_ntoa ();
10952 main ()
10954 return dnet_ntoa ();
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 ac_cv_lib_dnet_dnet_ntoa=yes
10961 else
10962 ac_cv_lib_dnet_dnet_ntoa=no
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_lib_save_LIBS
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10969 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10970 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10971 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10974 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10976 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10977 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10978 $as_echo_n "(cached) " >&6
10979 else
10980 ac_check_lib_save_LIBS=$LIBS
10981 LIBS="-ldnet_stub $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10988 #ifdef __cplusplus
10989 extern "C"
10990 #endif
10991 char dnet_ntoa ();
10993 main ()
10995 return dnet_ntoa ();
10997 return 0;
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"; then :
11001 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11002 else
11003 ac_cv_lib_dnet_stub_dnet_ntoa=no
11005 rm -f core conftest.err conftest.$ac_objext \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11010 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11011 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11012 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11017 rm -f core conftest.err conftest.$ac_objext \
11018 conftest$ac_exeext conftest.$ac_ext
11019 LIBS="$ac_xsave_LIBS"
11021 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11022 # to get the SysV transport functions.
11023 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11024 # needs -lnsl.
11025 # The nsl library prevents programs from opening the X display
11026 # on Irix 5.2, according to T.E. Dickey.
11027 # The functions gethostbyname, getservbyname, and inet_addr are
11028 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11029 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11030 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11034 if test $ac_cv_func_gethostbyname = no; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11036 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11037 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11038 $as_echo_n "(cached) " >&6
11039 else
11040 ac_check_lib_save_LIBS=$LIBS
11041 LIBS="-lnsl $LIBS"
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 char gethostbyname ();
11053 main ()
11055 return gethostbyname ();
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 ac_cv_lib_nsl_gethostbyname=yes
11062 else
11063 ac_cv_lib_nsl_gethostbyname=no
11065 rm -f core conftest.err conftest.$ac_objext \
11066 conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_lib_save_LIBS
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11070 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11071 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11072 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11075 if test $ac_cv_lib_nsl_gethostbyname = no; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11077 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11078 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_lib_save_LIBS=$LIBS
11082 LIBS="-lbsd $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char gethostbyname ();
11094 main ()
11096 return gethostbyname ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 ac_cv_lib_bsd_gethostbyname=yes
11103 else
11104 ac_cv_lib_bsd_gethostbyname=no
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11111 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11112 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11113 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11119 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11120 # socket/setsockopt and other routines are undefined under SCO ODT
11121 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11122 # on later versions), says Simon Leinen: it contains gethostby*
11123 # variants that don't use the name server (or something). -lsocket
11124 # must be given before -lnsl if both are needed. We assume that
11125 # if connect needs -lnsl, so does gethostbyname.
11126 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11127 if test "x$ac_cv_func_connect" = xyes; then :
11131 if test $ac_cv_func_connect = no; then
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11133 $as_echo_n "checking for connect in -lsocket... " >&6; }
11134 if ${ac_cv_lib_socket_connect+:} false; then :
11135 $as_echo_n "(cached) " >&6
11136 else
11137 ac_check_lib_save_LIBS=$LIBS
11138 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char connect ();
11150 main ()
11152 return connect ();
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"; then :
11158 ac_cv_lib_socket_connect=yes
11159 else
11160 ac_cv_lib_socket_connect=no
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11167 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11168 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11169 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11174 # Guillermo Gomez says -lposix is necessary on A/UX.
11175 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11176 if test "x$ac_cv_func_remove" = xyes; then :
11180 if test $ac_cv_func_remove = no; then
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11182 $as_echo_n "checking for remove in -lposix... " >&6; }
11183 if ${ac_cv_lib_posix_remove+:} false; then :
11184 $as_echo_n "(cached) " >&6
11185 else
11186 ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-lposix $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char remove ();
11199 main ()
11201 return remove ();
11203 return 0;
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_posix_remove=yes
11208 else
11209 ac_cv_lib_posix_remove=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11216 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11217 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11218 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11223 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11224 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11225 if test "x$ac_cv_func_shmat" = xyes; then :
11229 if test $ac_cv_func_shmat = no; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11231 $as_echo_n "checking for shmat in -lipc... " >&6; }
11232 if ${ac_cv_lib_ipc_shmat+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lipc $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char shmat ();
11248 main ()
11250 return shmat ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_ipc_shmat=yes
11257 else
11258 ac_cv_lib_ipc_shmat=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11265 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11266 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11273 # Check for libraries that X11R6 Xt/Xaw programs need.
11274 ac_save_LDFLAGS=$LDFLAGS
11275 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11276 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11277 # check for ICE first), but we must link in the order -lSM -lICE or
11278 # we get undefined symbols. So assume we have SM if we have ICE.
11279 # These have to be linked with before -lX11, unlike the other
11280 # libraries we check for below, so use a different variable.
11281 # John Interrante, Karl Berry
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11283 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11284 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_lib_save_LIBS=$LIBS
11288 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char IceConnectionNumber ();
11300 main ()
11302 return IceConnectionNumber ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 ac_cv_lib_ICE_IceConnectionNumber=yes
11309 else
11310 ac_cv_lib_ICE_IceConnectionNumber=no
11312 rm -f core conftest.err conftest.$ac_objext \
11313 conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11317 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11318 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11319 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11322 LDFLAGS=$ac_save_LDFLAGS
11327 if test "$have_x" = "yes"
11328 then
11329 ac_save_CPPFLAGS="$CPPFLAGS"
11330 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11333 $as_echo_n "checking for -lX11... " >&6; }
11334 if ${ac_cv_lib_soname_X11+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_soname_save_LIBS=$LIBS
11338 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char XCreateWindow ();
11350 main ()
11352 return XCreateWindow ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 case "$LIBEXT" in
11359 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11362 if ${ac_cv_lib_soname_X11:+false} :; then :
11363 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11364 fi ;;
11365 esac
11366 else
11367 ac_cv_lib_soname_X11=
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if ${ac_cv_lib_soname_X11:+false} :; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11379 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11383 _ACEOF
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11388 $as_echo_n "checking for -lXext... " >&6; }
11389 if ${ac_cv_lib_soname_Xext+:} false; then :
11390 $as_echo_n "(cached) " >&6
11391 else
11392 ac_check_soname_save_LIBS=$LIBS
11393 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char XextCreateExtension ();
11405 main ()
11407 return XextCreateExtension ();
11409 return 0;
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 case "$LIBEXT" in
11414 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11415 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'` ;;
11416 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11417 if ${ac_cv_lib_soname_Xext:+false} :; then :
11418 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11419 fi ;;
11420 esac
11421 else
11422 ac_cv_lib_soname_Xext=
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_soname_save_LIBS
11428 if ${ac_cv_lib_soname_Xext:+false} :; then :
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11430 $as_echo "not found" >&6; }
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11434 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11436 cat >>confdefs.h <<_ACEOF
11437 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11438 _ACEOF
11440 X_LIBS="$X_LIBS -lXext"
11442 X_LIBS="$X_LIBS -lX11"
11444 for ac_header in X11/Xlib.h \
11445 X11/XKBlib.h \
11446 X11/Xutil.h \
11447 X11/Xcursor/Xcursor.h \
11448 X11/extensions/shape.h \
11449 X11/extensions/XInput.h \
11450 X11/extensions/XInput2.h \
11451 X11/extensions/XShm.h \
11452 X11/extensions/Xcomposite.h \
11453 X11/extensions/Xfixes.h \
11454 X11/extensions/Xinerama.h \
11455 X11/extensions/Xrandr.h \
11456 X11/extensions/Xrender.h \
11457 X11/extensions/xf86vmode.h \
11458 X11/extensions/xf86vmproto.h
11459 do :
11460 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11461 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11462 # include <X11/Xlib.h>
11463 #endif
11464 #ifdef HAVE_X11_XUTIL_H
11465 # include <X11/Xutil.h>
11466 #endif
11468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11469 cat >>confdefs.h <<_ACEOF
11470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11471 _ACEOF
11475 done
11478 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11479 then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11481 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11482 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 ac_check_lib_save_LIBS=$LIBS
11486 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char XkbQueryExtension ();
11498 main ()
11500 return XkbQueryExtension ();
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 ac_cv_lib_X11_XkbQueryExtension=yes
11507 else
11508 ac_cv_lib_X11_XkbQueryExtension=no
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11515 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11516 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11518 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11524 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11525 then
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11527 $as_echo_n "checking for -lXcursor... " >&6; }
11528 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char XcursorImageLoadCursor ();
11544 main ()
11546 return XcursorImageLoadCursor ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11557 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11560 else
11561 ac_cv_lib_soname_Xcursor=
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_soname_save_LIBS
11567 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11569 $as_echo "not found" >&6; }
11571 else
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11573 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11575 cat >>confdefs.h <<_ACEOF
11576 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11577 _ACEOF
11582 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11583 case "x$with_xcursor" in
11584 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11585 xno) ;;
11586 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11587 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11588 esac
11592 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11593 then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11595 $as_echo_n "checking for -lXi... " >&6; }
11596 if ${ac_cv_lib_soname_Xi+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_soname_save_LIBS=$LIBS
11600 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char XOpenDevice ();
11612 main ()
11614 return XOpenDevice ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 case "$LIBEXT" in
11621 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11622 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'` ;;
11623 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11624 if ${ac_cv_lib_soname_Xi:+false} :; then :
11625 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11626 fi ;;
11627 esac
11628 else
11629 ac_cv_lib_soname_Xi=
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_soname_save_LIBS
11635 if ${ac_cv_lib_soname_Xi:+false} :; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11637 $as_echo "not found" >&6; }
11639 else
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11641 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11643 cat >>confdefs.h <<_ACEOF
11644 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11645 _ACEOF
11650 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11651 case "x$with_xinput" in
11652 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11653 xno) ;;
11654 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11655 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11656 esac
11660 if test "x$ac_cv_lib_soname_Xi" != x
11661 then
11662 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11663 case "x$with_xinput2" in
11664 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11665 xno) ;;
11666 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11667 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11668 esac
11673 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11676 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11677 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char XShmQueryExtension ();
11693 main ()
11695 return XShmQueryExtension ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 ac_cv_lib_Xext_XShmQueryExtension=yes
11702 else
11703 ac_cv_lib_Xext_XShmQueryExtension=no
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_lib_save_LIBS
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11710 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11711 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11713 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11718 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11719 case "x$with_xshm" in
11720 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11721 xno) ;;
11722 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11723 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11724 esac
11728 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11729 then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11731 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11732 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11733 $as_echo_n "(cached) " >&6
11734 else
11735 ac_check_lib_save_LIBS=$LIBS
11736 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char XShapeQueryExtension ();
11748 main ()
11750 return XShapeQueryExtension ();
11752 return 0;
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 ac_cv_lib_Xext_XShapeQueryExtension=yes
11757 else
11758 ac_cv_lib_Xext_XShapeQueryExtension=no
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11765 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11766 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11768 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11773 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11774 case "x$with_xshape" in
11775 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11776 xno) ;;
11777 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11778 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11779 esac
11783 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11784 then
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11786 $as_echo_n "checking for -lXxf86vm... " >&6; }
11787 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11788 $as_echo_n "(cached) " >&6
11789 else
11790 ac_check_soname_save_LIBS=$LIBS
11791 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char XF86VidModeQueryExtension ();
11803 main ()
11805 return XF86VidModeQueryExtension ();
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 case "$LIBEXT" in
11812 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11813 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'` ;;
11814 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11815 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11816 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11817 fi ;;
11818 esac
11819 else
11820 ac_cv_lib_soname_Xxf86vm=
11822 rm -f core conftest.err conftest.$ac_objext \
11823 conftest$ac_exeext conftest.$ac_ext
11824 LIBS=$ac_check_soname_save_LIBS
11826 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11828 $as_echo "not found" >&6; }
11830 else
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11832 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11834 cat >>confdefs.h <<_ACEOF
11835 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11836 _ACEOF
11841 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11842 case "x$with_xxf86vm" in
11843 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11844 xno) ;;
11845 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11846 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11847 esac
11851 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11852 then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11854 $as_echo_n "checking for -lXrender... " >&6; }
11855 if ${ac_cv_lib_soname_Xrender+:} false; then :
11856 $as_echo_n "(cached) " >&6
11857 else
11858 ac_check_soname_save_LIBS=$LIBS
11859 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11863 /* Override any GCC internal prototype to avoid an error.
11864 Use char because int might match the return type of a GCC
11865 builtin and then its argument prototype would still apply. */
11866 #ifdef __cplusplus
11867 extern "C"
11868 #endif
11869 char XRenderQueryExtension ();
11871 main ()
11873 return XRenderQueryExtension ();
11875 return 0;
11877 _ACEOF
11878 if ac_fn_c_try_link "$LINENO"; then :
11879 case "$LIBEXT" in
11880 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11881 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'` ;;
11882 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11883 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11884 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11885 fi ;;
11886 esac
11887 else
11888 ac_cv_lib_soname_Xrender=
11890 rm -f core conftest.err conftest.$ac_objext \
11891 conftest$ac_exeext conftest.$ac_ext
11892 LIBS=$ac_check_soname_save_LIBS
11894 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11896 $as_echo "not found" >&6; }
11898 else
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11900 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11902 cat >>confdefs.h <<_ACEOF
11903 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11904 _ACEOF
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11907 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11908 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 ac_check_lib_save_LIBS=$LIBS
11912 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11919 #ifdef __cplusplus
11920 extern "C"
11921 #endif
11922 char XRenderSetPictureTransform ();
11924 main ()
11926 return XRenderSetPictureTransform ();
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_link "$LINENO"; then :
11932 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11933 else
11934 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_lib_save_LIBS
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11941 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11942 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11944 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11949 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11950 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11951 $as_echo_n "(cached) " >&6
11952 else
11953 ac_check_lib_save_LIBS=$LIBS
11954 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11958 /* Override any GCC internal prototype to avoid an error.
11959 Use char because int might match the return type of a GCC
11960 builtin and then its argument prototype would still apply. */
11961 #ifdef __cplusplus
11962 extern "C"
11963 #endif
11964 char XRenderCreateLinearGradient ();
11966 main ()
11968 return XRenderCreateLinearGradient ();
11970 return 0;
11972 _ACEOF
11973 if ac_fn_c_try_link "$LINENO"; then :
11974 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11975 else
11976 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11978 rm -f core conftest.err conftest.$ac_objext \
11979 conftest$ac_exeext conftest.$ac_ext
11980 LIBS=$ac_check_lib_save_LIBS
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11983 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11984 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11986 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11993 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11994 case "x$with_xrender" in
11995 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11996 xno) ;;
11997 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11998 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11999 esac
12003 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12004 then
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #include <X11/Xlib.h>
12008 #include <X11/extensions/Xrandr.h>
12010 main ()
12012 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_compile "$LINENO"; then :
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12019 $as_echo_n "checking for -lXrandr... " >&6; }
12020 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12021 $as_echo_n "(cached) " >&6
12022 else
12023 ac_check_soname_save_LIBS=$LIBS
12024 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12028 /* Override any GCC internal prototype to avoid an error.
12029 Use char because int might match the return type of a GCC
12030 builtin and then its argument prototype would still apply. */
12031 #ifdef __cplusplus
12032 extern "C"
12033 #endif
12034 char XRRQueryExtension ();
12036 main ()
12038 return XRRQueryExtension ();
12040 return 0;
12042 _ACEOF
12043 if ac_fn_c_try_link "$LINENO"; then :
12044 case "$LIBEXT" in
12045 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12046 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'` ;;
12047 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12048 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12049 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12050 fi ;;
12051 esac
12052 else
12053 ac_cv_lib_soname_Xrandr=
12055 rm -f core conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12057 LIBS=$ac_check_soname_save_LIBS
12059 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12061 $as_echo "not found" >&6; }
12063 else
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12065 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12067 cat >>confdefs.h <<_ACEOF
12068 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12069 _ACEOF
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 #include <X11/Xlib.h>
12074 #include <X11/extensions/Xrandr.h>
12076 main ()
12078 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_compile "$LINENO"; then :
12085 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12091 #include <X11/Xlib.h>
12092 #include <X11/extensions/Xrandr.h>
12094 main ()
12096 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12098 return 0;
12100 _ACEOF
12101 if ac_fn_c_try_compile "$LINENO"; then :
12103 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12105 else
12106 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12113 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12114 case "x$with_xrandr" in
12115 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12116 xno) ;;
12117 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12118 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12119 esac
12123 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12124 then
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12127 #include <X11/Xlib.h>
12128 #include <X11/extensions/Xfixes.h>
12130 main ()
12132 static typeof(XFixesQueryVersion) * 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 -lXfixes" >&5
12139 $as_echo_n "checking for -lXfixes... " >&6; }
12140 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_soname_save_LIBS=$LIBS
12144 LIBS="-lXfixes $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 XFixesQueryVersion ();
12156 main ()
12158 return XFixesQueryVersion ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 case "$LIBEXT" in
12165 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12166 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'` ;;
12167 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12168 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12169 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12170 fi ;;
12171 esac
12172 else
12173 ac_cv_lib_soname_Xfixes=
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_Xfixes:+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_Xfixes" >&5
12185 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12187 cat >>confdefs.h <<_ACEOF
12188 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12189 _ACEOF
12194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12197 case "x$with_xfixes" in
12198 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12199 xno) ;;
12200 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12201 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12202 esac
12206 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12207 then
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 #include <X11/Xlib.h>
12211 #include <X11/extensions/Xinerama.h>
12213 main ()
12215 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_compile "$LINENO"; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12222 $as_echo_n "checking for -lXinerama... " >&6; }
12223 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12224 $as_echo_n "(cached) " >&6
12225 else
12226 ac_check_soname_save_LIBS=$LIBS
12227 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 char XineramaQueryScreens ();
12239 main ()
12241 return XineramaQueryScreens ();
12243 return 0;
12245 _ACEOF
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 case "$LIBEXT" in
12248 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12249 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'` ;;
12250 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12251 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12252 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12253 fi ;;
12254 esac
12255 else
12256 ac_cv_lib_soname_Xinerama=
12258 rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
12260 LIBS=$ac_check_soname_save_LIBS
12262 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12264 $as_echo "not found" >&6; }
12266 else
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12268 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12270 cat >>confdefs.h <<_ACEOF
12271 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12272 _ACEOF
12277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12279 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12280 case "x$with_xinerama" in
12281 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12282 xno) ;;
12283 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12284 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12285 esac
12289 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12290 then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12292 $as_echo_n "checking for -lXcomposite... " >&6; }
12293 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12294 $as_echo_n "(cached) " >&6
12295 else
12296 ac_check_soname_save_LIBS=$LIBS
12297 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12304 #ifdef __cplusplus
12305 extern "C"
12306 #endif
12307 char XCompositeRedirectWindow ();
12309 main ()
12311 return XCompositeRedirectWindow ();
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"; then :
12317 case "$LIBEXT" in
12318 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12319 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'` ;;
12320 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12321 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12322 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12323 fi ;;
12324 esac
12325 else
12326 ac_cv_lib_soname_Xcomposite=
12328 rm -f core conftest.err conftest.$ac_objext \
12329 conftest$ac_exeext conftest.$ac_ext
12330 LIBS=$ac_check_soname_save_LIBS
12332 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12334 $as_echo "not found" >&6; }
12336 else
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12338 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12340 cat >>confdefs.h <<_ACEOF
12341 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12342 _ACEOF
12347 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12348 case "x$with_xcomposite" in
12349 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12350 xno) ;;
12351 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12352 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12353 esac
12357 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12358 #include <X11/Xlib.h>
12359 #endif
12361 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12363 cat >>confdefs.h <<_ACEOF
12364 #define HAVE_XICCALLBACK_CALLBACK 1
12365 _ACEOF
12369 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12370 #include <X11/Xlib.h>
12371 #endif
12373 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12375 cat >>confdefs.h <<_ACEOF
12376 #define HAVE_XEVENT_XCOOKIE 1
12377 _ACEOF
12384 opengl_msg=""
12385 if test "x$with_opengl" != "xno"
12386 then
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12388 $as_echo_n "checking for -lGL... " >&6; }
12389 if ${ac_cv_lib_soname_GL+:} false; then :
12390 $as_echo_n "(cached) " >&6
12391 else
12392 ac_check_soname_save_LIBS=$LIBS
12393 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h. */
12397 /* Override any GCC internal prototype to avoid an error.
12398 Use char because int might match the return type of a GCC
12399 builtin and then its argument prototype would still apply. */
12400 #ifdef __cplusplus
12401 extern "C"
12402 #endif
12403 char glXCreateContext ();
12405 main ()
12407 return glXCreateContext ();
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_link "$LINENO"; then :
12413 case "$LIBEXT" in
12414 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12415 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'` ;;
12416 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12417 if ${ac_cv_lib_soname_GL:+false} :; then :
12418 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12419 fi ;;
12420 esac
12421 else
12422 ac_cv_lib_soname_GL=
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 LIBS=$ac_check_soname_save_LIBS
12428 if ${ac_cv_lib_soname_GL:+false} :; then :
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12430 $as_echo "not found" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12432 $as_echo_n "checking for -lGL... " >&6; }
12433 if ${ac_cv_lib_soname_GL+:} false; then :
12434 $as_echo_n "(cached) " >&6
12435 else
12436 ac_check_soname_save_LIBS=$LIBS
12437 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"
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12444 #ifdef __cplusplus
12445 extern "C"
12446 #endif
12447 char glXCreateContext ();
12449 main ()
12451 return glXCreateContext ();
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_link "$LINENO"; then :
12457 case "$LIBEXT" in
12458 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12459 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'` ;;
12460 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12461 if ${ac_cv_lib_soname_GL:+false} :; then :
12462 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12463 fi ;;
12464 esac
12465 else
12466 ac_cv_lib_soname_GL=
12468 rm -f core conftest.err conftest.$ac_objext \
12469 conftest$ac_exeext conftest.$ac_ext
12470 LIBS=$ac_check_soname_save_LIBS
12472 if ${ac_cv_lib_soname_GL:+false} :; then :
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12474 $as_echo "not found" >&6; }
12475 if test -f /usr/X11R6/lib/libGL.a
12476 then
12477 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12478 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12479 else
12480 opengl_msg="No OpenGL library found on this system."
12482 else
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12484 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12486 cat >>confdefs.h <<_ACEOF
12487 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12488 _ACEOF
12490 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"
12492 else
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12494 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12496 cat >>confdefs.h <<_ACEOF
12497 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12498 _ACEOF
12500 OPENGL_LIBS="-lGL"
12502 if test "x$with_glu" != "xno"
12503 then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12505 $as_echo_n "checking for -lGLU... " >&6; }
12506 if ${ac_cv_lib_soname_GLU+:} false; then :
12507 $as_echo_n "(cached) " >&6
12508 else
12509 ac_check_soname_save_LIBS=$LIBS
12510 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12517 #ifdef __cplusplus
12518 extern "C"
12519 #endif
12520 char gluLookAt ();
12522 main ()
12524 return gluLookAt ();
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_link "$LINENO"; then :
12530 case "$LIBEXT" in
12531 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12532 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12533 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12534 if ${ac_cv_lib_soname_GLU:+false} :; then :
12535 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12536 fi ;;
12537 esac
12538 else
12539 ac_cv_lib_soname_GLU=
12541 rm -f core conftest.err conftest.$ac_objext \
12542 conftest$ac_exeext conftest.$ac_ext
12543 LIBS=$ac_check_soname_save_LIBS
12545 if ${ac_cv_lib_soname_GLU:+false} :; then :
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12547 $as_echo "not found" >&6; }
12549 else
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12551 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12553 cat >>confdefs.h <<_ACEOF
12554 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12555 _ACEOF
12559 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12560 case "x$with_glu" in
12561 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12562 xno) ;;
12563 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12564 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12565 esac
12570 if test "x$with_osmesa" != "xno"
12571 then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12573 $as_echo_n "checking for -lOSMesa... " >&6; }
12574 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 ac_check_soname_save_LIBS=$LIBS
12578 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char OSMesaGetProcAddress ();
12590 main ()
12592 return OSMesaGetProcAddress ();
12594 return 0;
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 case "$LIBEXT" in
12599 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12600 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'` ;;
12601 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12602 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12603 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12604 fi ;;
12605 esac
12606 else
12607 ac_cv_lib_soname_OSMesa=
12609 rm -f core conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12611 LIBS=$ac_check_soname_save_LIBS
12613 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12615 $as_echo "not found" >&6; }
12617 else
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12619 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12621 cat >>confdefs.h <<_ACEOF
12622 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12623 _ACEOF
12627 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12628 case "x$with_osmesa" in
12629 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12630 xno) ;;
12631 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12632 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12633 esac
12638 if test -n "$opengl_msg"; then :
12639 case "x$with_opengl" in
12640 x) as_fn_append wine_warnings "|$opengl_msg
12641 OpenGL and Direct3D won't be supported." ;;
12642 xno) ;;
12643 *) as_fn_error $? "$opengl_msg
12644 OpenGL and Direct3D won't be supported.
12645 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12646 esac
12650 CPPFLAGS="$ac_save_CPPFLAGS"
12651 else
12652 X_CFLAGS=""
12653 X_LIBS=""
12656 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12657 then
12658 if test "x$X_LIBS" = "x"; then :
12659 case "x$with_x" in
12660 xno) ;;
12661 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12662 without X support, which probably isn't what you want. You will need
12663 to install ${notice_platform}development packages of Xlib at the very least.
12664 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12665 esac
12666 enable_winex11_drv=${enable_winex11_drv:-no}
12668 else
12669 if test "x$X_LIBS" = "x"; then :
12670 case "x$with_x" in
12671 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12672 xno) ;;
12673 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12674 This is an error since --with-x was requested." "$LINENO" 5 ;;
12675 esac
12676 enable_winex11_drv=${enable_winex11_drv:-no}
12680 if test "$ac_cv_header_CL_cl_h" = "yes"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12683 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12684 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_lib_save_LIBS=$LIBS
12688 LIBS="-lOpenCL $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char clGetPlatformInfo ();
12700 main ()
12702 return clGetPlatformInfo ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12709 else
12710 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12712 rm -f core conftest.err conftest.$ac_objext \
12713 conftest$ac_exeext conftest.$ac_ext
12714 LIBS=$ac_check_lib_save_LIBS
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12717 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12718 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12719 OPENCL_LIBS="-lOpenCL"
12724 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12725 case "x$with_opencl" in
12726 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12727 xno) ;;
12728 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12729 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12730 esac
12731 enable_opencl=${enable_opencl:-no}
12734 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12735 then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12737 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12738 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12739 $as_echo_n "(cached) " >&6
12740 else
12741 ac_check_lib_save_LIBS=$LIBS
12742 LIBS="-lpcap $LIBS"
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12749 #ifdef __cplusplus
12750 extern "C"
12751 #endif
12752 char pcap_create ();
12754 main ()
12756 return pcap_create ();
12758 return 0;
12760 _ACEOF
12761 if ac_fn_c_try_link "$LINENO"; then :
12762 ac_cv_lib_pcap_pcap_create=yes
12763 else
12764 ac_cv_lib_pcap_pcap_create=no
12766 rm -f core conftest.err conftest.$ac_objext \
12767 conftest$ac_exeext conftest.$ac_ext
12768 LIBS=$ac_check_lib_save_LIBS
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12771 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12772 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12773 PCAP_LIBS="-lpcap"
12778 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12779 case "x$with_pcap" in
12780 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12781 xno) ;;
12782 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12783 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12784 esac
12785 enable_wpcap=${enable_wpcap:-no}
12789 if test "x$with_xml" != "xno"
12790 then
12791 if ${XML2_CFLAGS:+false} :; then :
12792 if ${PKG_CONFIG+:} false; then :
12793 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12796 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12797 if ${XML2_LIBS:+false} :; then :
12798 if ${PKG_CONFIG+:} false; then :
12799 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12802 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12803 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12804 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12805 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12806 ac_save_CPPFLAGS=$CPPFLAGS
12807 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12808 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12809 do :
12810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12811 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12813 cat >>confdefs.h <<_ACEOF
12814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12815 _ACEOF
12819 done
12821 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"
12822 then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12824 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12825 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 ac_check_lib_save_LIBS=$LIBS
12829 LIBS="-lxml2 $XML2_LIBS $LIBS"
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12836 #ifdef __cplusplus
12837 extern "C"
12838 #endif
12839 char xmlParseMemory ();
12841 main ()
12843 return xmlParseMemory ();
12845 return 0;
12847 _ACEOF
12848 if ac_fn_c_try_link "$LINENO"; then :
12849 ac_cv_lib_xml2_xmlParseMemory=yes
12850 else
12851 ac_cv_lib_xml2_xmlParseMemory=no
12853 rm -f core conftest.err conftest.$ac_objext \
12854 conftest$ac_exeext conftest.$ac_ext
12855 LIBS=$ac_check_lib_save_LIBS
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12858 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12859 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12861 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12863 else
12864 XML2_LIBS=""
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12868 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12869 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 ac_check_lib_save_LIBS=$LIBS
12873 LIBS="-lxml2 $XML2_LIBS $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12880 #ifdef __cplusplus
12881 extern "C"
12882 #endif
12883 char xmlReadMemory ();
12885 main ()
12887 return xmlReadMemory ();
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_link "$LINENO"; then :
12893 ac_cv_lib_xml2_xmlReadMemory=yes
12894 else
12895 ac_cv_lib_xml2_xmlReadMemory=no
12897 rm -f core conftest.err conftest.$ac_objext \
12898 conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_lib_save_LIBS
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12902 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12903 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12905 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12910 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12911 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12912 $as_echo_n "(cached) " >&6
12913 else
12914 ac_check_lib_save_LIBS=$LIBS
12915 LIBS="-lxml2 $XML2_LIBS $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 char xmlNewDocPI ();
12927 main ()
12929 return xmlNewDocPI ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 ac_cv_lib_xml2_xmlNewDocPI=yes
12936 else
12937 ac_cv_lib_xml2_xmlNewDocPI=no
12939 rm -f core conftest.err conftest.$ac_objext \
12940 conftest$ac_exeext conftest.$ac_ext
12941 LIBS=$ac_check_lib_save_LIBS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12944 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12945 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12947 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12952 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12953 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12954 $as_echo_n "(cached) " >&6
12955 else
12956 ac_check_lib_save_LIBS=$LIBS
12957 LIBS="-lxml2 $XML2_LIBS $LIBS"
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 #ifdef __cplusplus
12965 extern "C"
12966 #endif
12967 char xmlSchemaSetParserStructuredErrors ();
12969 main ()
12971 return xmlSchemaSetParserStructuredErrors ();
12973 return 0;
12975 _ACEOF
12976 if ac_fn_c_try_link "$LINENO"; then :
12977 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12978 else
12979 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12981 rm -f core conftest.err conftest.$ac_objext \
12982 conftest$ac_exeext conftest.$ac_ext
12983 LIBS=$ac_check_lib_save_LIBS
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12986 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12987 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12989 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12994 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12995 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12996 $as_echo_n "(cached) " >&6
12997 else
12998 ac_check_lib_save_LIBS=$LIBS
12999 LIBS="-lxml2 $XML2_LIBS $LIBS"
13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13003 /* Override any GCC internal prototype to avoid an error.
13004 Use char because int might match the return type of a GCC
13005 builtin and then its argument prototype would still apply. */
13006 #ifdef __cplusplus
13007 extern "C"
13008 #endif
13009 char xmlSchemaSetValidStructuredErrors ();
13011 main ()
13013 return xmlSchemaSetValidStructuredErrors ();
13015 return 0;
13017 _ACEOF
13018 if ac_fn_c_try_link "$LINENO"; then :
13019 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13020 else
13021 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13023 rm -f core conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13025 LIBS=$ac_check_lib_save_LIBS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13028 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13029 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13031 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13036 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13037 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13038 $as_echo_n "(cached) " >&6
13039 else
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-lxml2 $XML2_LIBS $LIBS"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 /* Override any GCC internal prototype to avoid an error.
13046 Use char because int might match the return type of a GCC
13047 builtin and then its argument prototype would still apply. */
13048 #ifdef __cplusplus
13049 extern "C"
13050 #endif
13051 char xmlFirstElementChild ();
13053 main ()
13055 return xmlFirstElementChild ();
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_link "$LINENO"; then :
13061 ac_cv_lib_xml2_xmlFirstElementChild=yes
13062 else
13063 ac_cv_lib_xml2_xmlFirstElementChild=no
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 LIBS=$ac_check_lib_save_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13070 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13071 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13073 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13077 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13079 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13081 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13085 else
13086 XML2_CFLAGS=""
13087 XML2_LIBS=""
13089 CPPFLAGS=$ac_save_CPPFLAGS
13090 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13091 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13094 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13095 case "x$with_xml" in
13096 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13097 xno) ;;
13098 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13099 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13100 esac
13104 if test "x$with_xslt" != "xno"
13105 then
13106 if ${XSLT_CFLAGS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13111 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13112 if ${XSLT_LIBS:+false} :; then :
13113 if ${PKG_CONFIG+:} false; then :
13114 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13117 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13118 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13119 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13120 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13121 ac_save_CPPFLAGS=$CPPFLAGS
13122 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13123 for ac_header in libxslt/pattern.h libxslt/transform.h
13124 do :
13125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13126 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13127 # include <libxslt/pattern.h>
13128 #endif
13130 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13131 cat >>confdefs.h <<_ACEOF
13132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13133 _ACEOF
13137 done
13139 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13140 then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13142 $as_echo_n "checking for -lxslt... " >&6; }
13143 if ${ac_cv_lib_soname_xslt+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_soname_save_LIBS=$LIBS
13147 LIBS="-lxslt $XSLT_LIBS $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char xsltCompilePattern ();
13159 main ()
13161 return xsltCompilePattern ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 case "$LIBEXT" in
13168 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13169 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'` ;;
13170 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13171 if ${ac_cv_lib_soname_xslt:+false} :; then :
13172 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13173 fi ;;
13174 esac
13175 else
13176 ac_cv_lib_soname_xslt=
13178 rm -f core conftest.err conftest.$ac_objext \
13179 conftest$ac_exeext conftest.$ac_ext
13180 LIBS=$ac_check_soname_save_LIBS
13182 if ${ac_cv_lib_soname_xslt:+false} :; then :
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13184 $as_echo "not found" >&6; }
13186 else
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13188 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13190 cat >>confdefs.h <<_ACEOF
13191 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13192 _ACEOF
13196 else
13197 XSLT_CFLAGS=""
13199 CPPFLAGS=$ac_save_CPPFLAGS
13200 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13201 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13204 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13205 case "x$with_xslt" in
13206 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13207 xno) ;;
13208 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13209 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13210 esac
13214 if test "x$with_inotify" != "xno"
13215 then
13216 if ${INOTIFY_CFLAGS:+false} :; then :
13217 if ${PKG_CONFIG+:} false; then :
13218 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13222 if ${INOTIFY_LIBS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13229 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13230 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13231 ac_save_CPPFLAGS=$CPPFLAGS
13232 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13233 for ac_header in sys/inotify.h
13234 do :
13235 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13236 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define HAVE_SYS_INOTIFY_H 1
13239 _ACEOF
13243 done
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13246 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13247 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_lib_save_LIBS=$LIBS
13251 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char inotify_add_watch ();
13263 main ()
13265 return inotify_add_watch ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_lib_inotify_inotify_add_watch=yes
13272 else
13273 ac_cv_lib_inotify_inotify_add_watch=no
13275 rm -f core conftest.err conftest.$ac_objext \
13276 conftest$ac_exeext conftest.$ac_ext
13277 LIBS=$ac_check_lib_save_LIBS
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13280 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13281 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13283 else
13284 INOTIFY_LIBS=""
13287 CPPFLAGS=$ac_save_CPPFLAGS
13288 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13289 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13292 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13293 case "x$with_inotify" in
13294 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13295 xno) ;;
13296 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13297 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13298 esac
13302 if test "x$with_dbus" != "xno"
13303 then
13304 if ${DBUS_CFLAGS:+false} :; then :
13305 if ${PKG_CONFIG+:} false; then :
13306 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13310 if ${DBUS_LIBS:+false} :; then :
13311 if ${PKG_CONFIG+:} false; then :
13312 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13317 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13318 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13319 ac_save_CPPFLAGS=$CPPFLAGS
13320 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13321 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13322 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13324 $as_echo_n "checking for -ldbus-1... " >&6; }
13325 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13326 $as_echo_n "(cached) " >&6
13327 else
13328 ac_check_soname_save_LIBS=$LIBS
13329 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13333 /* Override any GCC internal prototype to avoid an error.
13334 Use char because int might match the return type of a GCC
13335 builtin and then its argument prototype would still apply. */
13336 #ifdef __cplusplus
13337 extern "C"
13338 #endif
13339 char dbus_connection_close ();
13341 main ()
13343 return dbus_connection_close ();
13345 return 0;
13347 _ACEOF
13348 if ac_fn_c_try_link "$LINENO"; then :
13349 case "$LIBEXT" in
13350 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13351 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'` ;;
13352 *) 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'`
13353 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13354 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13355 fi ;;
13356 esac
13357 else
13358 ac_cv_lib_soname_dbus_1=
13360 rm -f core conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_check_soname_save_LIBS
13364 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13366 $as_echo "not found" >&6; }
13367 DBUS_CFLAGS=""
13368 else
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13370 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13372 cat >>confdefs.h <<_ACEOF
13373 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13374 _ACEOF
13378 else
13379 DBUS_CFLAGS=""
13383 CPPFLAGS=$ac_save_CPPFLAGS
13384 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13385 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13388 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13389 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13390 case "x$with_dbus" in
13391 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13392 xno) ;;
13393 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13394 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13395 esac
13399 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13400 then
13401 if ${HAL_CFLAGS:+false} :; then :
13402 if ${PKG_CONFIG+:} false; then :
13403 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13407 if ${HAL_LIBS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13413 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13414 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13415 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13416 ac_save_CPPFLAGS=$CPPFLAGS
13417 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13418 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13419 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13421 $as_echo_n "checking for -lhal... " >&6; }
13422 if ${ac_cv_lib_soname_hal+:} false; then :
13423 $as_echo_n "(cached) " >&6
13424 else
13425 ac_check_soname_save_LIBS=$LIBS
13426 LIBS="-lhal $HAL_LIBS $LIBS"
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13430 /* Override any GCC internal prototype to avoid an error.
13431 Use char because int might match the return type of a GCC
13432 builtin and then its argument prototype would still apply. */
13433 #ifdef __cplusplus
13434 extern "C"
13435 #endif
13436 char libhal_ctx_new ();
13438 main ()
13440 return libhal_ctx_new ();
13442 return 0;
13444 _ACEOF
13445 if ac_fn_c_try_link "$LINENO"; then :
13446 case "$LIBEXT" in
13447 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13448 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'` ;;
13449 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13450 if ${ac_cv_lib_soname_hal:+false} :; then :
13451 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13452 fi ;;
13453 esac
13454 else
13455 ac_cv_lib_soname_hal=
13457 rm -f core conftest.err conftest.$ac_objext \
13458 conftest$ac_exeext conftest.$ac_ext
13459 LIBS=$ac_check_soname_save_LIBS
13461 if ${ac_cv_lib_soname_hal:+false} :; then :
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13463 $as_echo "not found" >&6; }
13464 HAL_CFLAGS=""
13465 else
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13467 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13469 cat >>confdefs.h <<_ACEOF
13470 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13471 _ACEOF
13475 else
13476 HAL_CFLAGS=""
13480 CPPFLAGS=$ac_save_CPPFLAGS
13481 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13482 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13484 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13485 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13486 case "x$with_hal" in
13487 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13488 xno) ;;
13489 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13490 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13491 esac
13496 if test "x$with_gnutls" != "xno"
13497 then
13498 if ${GNUTLS_CFLAGS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13504 if ${GNUTLS_LIBS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13511 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13512 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13513 ac_save_CPPFLAGS=$CPPFLAGS
13514 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13515 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13519 #include <gnutls/gnutls.h>
13520 #include <gnutls/crypto.h>
13522 main ()
13524 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13526 return 0;
13528 _ACEOF
13529 if ac_fn_c_try_compile "$LINENO"; then :
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13531 $as_echo_n "checking for -lgnutls... " >&6; }
13532 if ${ac_cv_lib_soname_gnutls+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_soname_save_LIBS=$LIBS
13536 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char gnutls_global_init ();
13548 main ()
13550 return gnutls_global_init ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 case "$LIBEXT" in
13557 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13558 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'` ;;
13559 *) 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'`
13560 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13561 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'`
13562 fi ;;
13563 esac
13564 else
13565 ac_cv_lib_soname_gnutls=
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 LIBS=$ac_check_soname_save_LIBS
13571 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13573 $as_echo "not found" >&6; }
13574 GNUTLS_CFLAGS=""
13575 else
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13577 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13579 cat >>confdefs.h <<_ACEOF
13580 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13581 _ACEOF
13585 ac_wine_check_funcs_save_LIBS="$LIBS"
13586 LIBS="$LIBS $GNUTLS_LIBS"
13587 for ac_func in gnutls_cipher_init
13588 do :
13589 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13590 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13591 cat >>confdefs.h <<_ACEOF
13592 #define HAVE_GNUTLS_CIPHER_INIT 1
13593 _ACEOF
13595 else
13596 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13598 done
13600 LIBS="$ac_wine_check_funcs_save_LIBS"
13602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13603 else
13604 GNUTLS_CFLAGS=""
13608 CPPFLAGS=$ac_save_CPPFLAGS
13609 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13610 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13613 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13614 case "x$with_gnutls" in
13615 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13616 xno) ;;
13617 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13618 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13619 esac
13623 CURSES_LIBS=""
13624 if test "$ac_cv_header_ncurses_h" = "yes"
13625 then
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13627 $as_echo_n "checking for -lncurses... " >&6; }
13628 if ${ac_cv_lib_soname_ncurses+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630 else
13631 ac_check_soname_save_LIBS=$LIBS
13632 LIBS="-lncurses $LIBS"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13636 /* Override any GCC internal prototype to avoid an error.
13637 Use char because int might match the return type of a GCC
13638 builtin and then its argument prototype would still apply. */
13639 #ifdef __cplusplus
13640 extern "C"
13641 #endif
13642 char waddch ();
13644 main ()
13646 return waddch ();
13648 return 0;
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 case "$LIBEXT" in
13653 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13654 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13655 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13656 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13657 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13658 fi ;;
13659 esac
13660 else
13661 ac_cv_lib_soname_ncurses=
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13673 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13677 _ACEOF
13679 CURSES_LIBS="-lncurses"
13681 elif test "$ac_cv_header_curses_h" = "yes"
13682 then
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13684 $as_echo_n "checking for -lcurses... " >&6; }
13685 if ${ac_cv_lib_soname_curses+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 ac_check_soname_save_LIBS=$LIBS
13689 LIBS="-lcurses $LIBS"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13693 /* Override any GCC internal prototype to avoid an error.
13694 Use char because int might match the return type of a GCC
13695 builtin and then its argument prototype would still apply. */
13696 #ifdef __cplusplus
13697 extern "C"
13698 #endif
13699 char waddch ();
13701 main ()
13703 return waddch ();
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709 case "$LIBEXT" in
13710 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13711 dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13712 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13713 if ${ac_cv_lib_soname_curses:+false} :; then :
13714 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13715 fi ;;
13716 esac
13717 else
13718 ac_cv_lib_soname_curses=
13720 rm -f core conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13722 LIBS=$ac_check_soname_save_LIBS
13724 if ${ac_cv_lib_soname_curses:+false} :; then :
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13726 $as_echo "not found" >&6; }
13728 else
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13730 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13732 cat >>confdefs.h <<_ACEOF
13733 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13734 _ACEOF
13736 CURSES_LIBS="-lcurses"
13739 ac_save_LIBS="$LIBS"
13740 LIBS="$LIBS $CURSES_LIBS"
13741 for ac_func in mousemask
13742 do :
13743 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13744 if test "x$ac_cv_func_mousemask" = xyes; then :
13745 cat >>confdefs.h <<_ACEOF
13746 #define HAVE_MOUSEMASK 1
13747 _ACEOF
13750 done
13752 LIBS="$ac_save_LIBS"
13753 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13754 case "x$with_curses" in
13755 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13756 xno) ;;
13757 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13758 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13759 esac
13763 if test "x$with_sane" != "xno"
13764 then
13765 if ${SANE_CFLAGS:+false} :; then :
13766 if ${PKG_CONFIG+:} false; then :
13767 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13770 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13771 if ${SANE_LIBS:+false} :; then :
13772 if ${PKG_CONFIG+:} false; then :
13773 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13776 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13778 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13779 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13780 ac_save_CPPFLAGS=$CPPFLAGS
13781 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13782 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13783 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13785 $as_echo_n "checking for -lsane... " >&6; }
13786 if ${ac_cv_lib_soname_sane+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_check_soname_save_LIBS=$LIBS
13790 LIBS="-lsane $SANE_LIBS $LIBS"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13794 /* Override any GCC internal prototype to avoid an error.
13795 Use char because int might match the return type of a GCC
13796 builtin and then its argument prototype would still apply. */
13797 #ifdef __cplusplus
13798 extern "C"
13799 #endif
13800 char sane_init ();
13802 main ()
13804 return sane_init ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 case "$LIBEXT" in
13811 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13812 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'` ;;
13813 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13814 if ${ac_cv_lib_soname_sane:+false} :; then :
13815 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13816 fi ;;
13817 esac
13818 else
13819 ac_cv_lib_soname_sane=
13821 rm -f core conftest.err conftest.$ac_objext \
13822 conftest$ac_exeext conftest.$ac_ext
13823 LIBS=$ac_check_soname_save_LIBS
13825 if ${ac_cv_lib_soname_sane:+false} :; then :
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13827 $as_echo "not found" >&6; }
13828 SANE_CFLAGS=""
13829 else
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13831 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13833 cat >>confdefs.h <<_ACEOF
13834 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13835 _ACEOF
13839 else
13840 SANE_CFLAGS=""
13844 CPPFLAGS=$ac_save_CPPFLAGS
13845 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13846 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13849 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13850 case "x$with_sane" in
13851 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13852 xno) ;;
13853 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13854 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13855 esac
13859 if test "x$with_v4l2" != "xno"
13860 then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13862 $as_echo_n "checking for -lv4l2... " >&6; }
13863 if ${ac_cv_lib_soname_v4l2+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_check_soname_save_LIBS=$LIBS
13867 LIBS="-lv4l2 $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 #ifdef __cplusplus
13875 extern "C"
13876 #endif
13877 char v4l2_open ();
13879 main ()
13881 return v4l2_open ();
13883 return 0;
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 case "$LIBEXT" in
13888 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13889 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'` ;;
13890 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13891 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13892 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13893 fi ;;
13894 esac
13895 else
13896 ac_cv_lib_soname_v4l2=
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_soname_save_LIBS
13902 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13904 $as_echo "not found" >&6; }
13906 else
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13908 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13910 cat >>confdefs.h <<_ACEOF
13911 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13912 _ACEOF
13917 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13918 case "x$with_v4l2" in
13919 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13920 xno) ;;
13921 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13922 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13923 esac
13927 if test "x$with_gphoto" != "xno"
13928 then
13929 if ${GPHOTO2_CFLAGS:+false} :; then :
13930 if ${PKG_CONFIG+:} false; then :
13931 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13934 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13935 if ${GPHOTO2_LIBS:+false} :; then :
13936 if ${PKG_CONFIG+:} false; then :
13937 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13940 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13941 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13942 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13943 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13944 ac_save_CPPFLAGS=$CPPFLAGS
13945 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13946 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13947 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13949 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13950 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 ac_check_lib_save_LIBS=$LIBS
13954 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13958 /* Override any GCC internal prototype to avoid an error.
13959 Use char because int might match the return type of a GCC
13960 builtin and then its argument prototype would still apply. */
13961 #ifdef __cplusplus
13962 extern "C"
13963 #endif
13964 char gp_camera_new ();
13966 main ()
13968 return gp_camera_new ();
13970 return 0;
13972 _ACEOF
13973 if ac_fn_c_try_link "$LINENO"; then :
13974 ac_cv_lib_gphoto2_gp_camera_new=yes
13975 else
13976 ac_cv_lib_gphoto2_gp_camera_new=no
13978 rm -f core conftest.err conftest.$ac_objext \
13979 conftest$ac_exeext conftest.$ac_ext
13980 LIBS=$ac_check_lib_save_LIBS
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13983 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13984 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13986 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13988 else
13989 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13992 else
13993 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13997 CPPFLAGS=$ac_save_CPPFLAGS
13998 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13999 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14001 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14002 if ${PKG_CONFIG+:} false; then :
14003 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14006 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14007 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14008 if ${PKG_CONFIG+:} false; then :
14009 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14012 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14013 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14014 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14015 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14016 ac_save_CPPFLAGS=$CPPFLAGS
14017 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14018 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14019 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14021 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14022 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14023 $as_echo_n "(cached) " >&6
14024 else
14025 ac_check_lib_save_LIBS=$LIBS
14026 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14030 /* Override any GCC internal prototype to avoid an error.
14031 Use char because int might match the return type of a GCC
14032 builtin and then its argument prototype would still apply. */
14033 #ifdef __cplusplus
14034 extern "C"
14035 #endif
14036 char gp_port_info_list_new ();
14038 main ()
14040 return gp_port_info_list_new ();
14042 return 0;
14044 _ACEOF
14045 if ac_fn_c_try_link "$LINENO"; then :
14046 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14047 else
14048 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 LIBS=$ac_check_lib_save_LIBS
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14055 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14056 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14058 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14060 else
14061 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14064 else
14065 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14069 CPPFLAGS=$ac_save_CPPFLAGS
14070 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14071 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14074 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14075 case "x$with_gphoto" in
14076 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14077 xno) ;;
14078 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14079 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14080 esac
14083 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14084 case "x$with_gphoto" in
14085 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14086 xno) ;;
14087 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14088 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14089 esac
14094 if test "$ac_cv_header_resolv_h" = "yes"
14095 then
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14097 $as_echo_n "checking for resolver library... " >&6; }
14098 if ${ac_cv_have_resolv+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_save_LIBS="$LIBS"
14102 for lib in '' -lresolv
14104 LIBS="$lib $ac_save_LIBS"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 #ifdef HAVE_NETINET_IN_H
14108 #include <netinet/in.h>
14109 #endif
14110 #include <resolv.h>
14112 main ()
14114 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_have_resolv=${lib:-"none required"}
14121 else
14122 ac_cv_have_resolv="not found"
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 test "x$ac_cv_have_resolv" = "xnot found" || break
14127 done
14128 LIBS="$ac_save_LIBS"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14131 $as_echo "$ac_cv_have_resolv" >&6; }
14133 case "$ac_cv_have_resolv" in
14134 "not found") ;;
14135 "none required")
14137 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14140 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14142 RESOLV_LIBS=$ac_cv_have_resolv
14144 esac
14147 if test "x$with_cms" != "xno"
14148 then
14149 if ${LCMS2_CFLAGS:+false} :; then :
14150 if ${PKG_CONFIG+:} false; then :
14151 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14155 if ${LCMS2_LIBS:+false} :; then :
14156 if ${PKG_CONFIG+:} false; then :
14157 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14161 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14162 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14164 ac_save_CPPFLAGS=$CPPFLAGS
14165 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14166 for ac_header in lcms2.h
14167 do :
14168 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14169 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14170 cat >>confdefs.h <<_ACEOF
14171 #define HAVE_LCMS2_H 1
14172 _ACEOF
14176 done
14178 if test "$ac_cv_header_lcms2_h" = "yes"
14179 then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14181 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14182 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_check_lib_save_LIBS=$LIBS
14186 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14190 /* Override any GCC internal prototype to avoid an error.
14191 Use char because int might match the return type of a GCC
14192 builtin and then its argument prototype would still apply. */
14193 #ifdef __cplusplus
14194 extern "C"
14195 #endif
14196 char cmsOpenProfileFromFile ();
14198 main ()
14200 return cmsOpenProfileFromFile ();
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14207 else
14208 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14212 LIBS=$ac_check_lib_save_LIBS
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14215 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14216 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14218 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14220 else
14221 LCMS2_LIBS=""
14224 else
14225 LCMS2_CFLAGS=""
14226 LCMS2_LIBS=""
14228 CPPFLAGS=$ac_save_CPPFLAGS
14229 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14230 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14233 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14234 case "x$with_cms" in
14235 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14236 xno) ;;
14237 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14238 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14239 esac
14243 if test "x$with_freetype" != "xno"
14244 then
14245 if ${FREETYPE_CFLAGS:+false} :; then :
14246 if ${PKG_CONFIG+:} false; then :
14247 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14250 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14251 if ${FREETYPE_LIBS:+false} :; then :
14252 if ${PKG_CONFIG+:} false; then :
14253 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14256 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14257 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14258 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14259 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14260 ac_save_CPPFLAGS=$CPPFLAGS
14261 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14262 for ac_header in ft2build.h
14263 do :
14264 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14265 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14266 cat >>confdefs.h <<_ACEOF
14267 #define HAVE_FT2BUILD_H 1
14268 _ACEOF
14272 done
14274 if test "$ac_cv_header_ft2build_h" = "yes"
14275 then
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14277 $as_echo_n "checking for -lfreetype... " >&6; }
14278 if ${ac_cv_lib_soname_freetype+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_check_soname_save_LIBS=$LIBS
14282 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 #ifdef __cplusplus
14290 extern "C"
14291 #endif
14292 char FT_Init_FreeType ();
14294 main ()
14296 return FT_Init_FreeType ();
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"; then :
14302 case "$LIBEXT" in
14303 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14304 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'` ;;
14305 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14306 if ${ac_cv_lib_soname_freetype:+false} :; then :
14307 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14308 fi ;;
14309 esac
14310 else
14311 ac_cv_lib_soname_freetype=
14313 rm -f core conftest.err conftest.$ac_objext \
14314 conftest$ac_exeext conftest.$ac_ext
14315 LIBS=$ac_check_soname_save_LIBS
14317 if ${ac_cv_lib_soname_freetype:+false} :; then :
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14319 $as_echo "not found" >&6; }
14320 FREETYPE_LIBS=""
14321 else
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14323 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14325 cat >>confdefs.h <<_ACEOF
14326 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14327 _ACEOF
14330 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14332 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14333 #include FT_MODULE_H
14335 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_FT_TRUETYPEENGINETYPE 1
14339 _ACEOF
14345 else
14346 FREETYPE_CFLAGS=""
14347 FREETYPE_LIBS=""
14349 CPPFLAGS=$ac_save_CPPFLAGS
14350 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14351 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14354 if test "x$ac_cv_lib_soname_freetype" = x; then :
14355 case "x$with_freetype" in
14356 xno) ;;
14357 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14358 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14359 esac
14360 enable_fonts=${enable_fonts:-no}
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14364 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14365 if ${ac_cv_c_ppdev+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 #ifdef HAVE_SYS_IOCTL_H
14371 # include <sys/ioctl.h>
14372 #endif
14373 #include <linux/ppdev.h>
14375 main ()
14377 ioctl (1,PPCLAIM,0)
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_compile "$LINENO"; then :
14383 ac_cv_c_ppdev="yes"
14384 else
14385 ac_cv_c_ppdev="no"
14387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14390 $as_echo "$ac_cv_c_ppdev" >&6; }
14391 if test "$ac_cv_c_ppdev" = "yes"
14392 then
14394 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14398 ac_wine_check_funcs_save_LIBS="$LIBS"
14399 LIBS="$LIBS $PTHREAD_LIBS"
14400 for ac_func in \
14401 pthread_getthreadid_np
14402 do :
14403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14405 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14406 cat >>confdefs.h <<_ACEOF
14407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14408 _ACEOF
14411 done
14413 LIBS="$ac_wine_check_funcs_save_LIBS"
14415 if test "x$with_zlib" != "xno"
14416 then
14417 if ${Z_CFLAGS:+false} :; then :
14418 if ${PKG_CONFIG+:} false; then :
14419 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14423 if ${Z_LIBS:+false} :; then :
14424 if ${PKG_CONFIG+:} false; then :
14425 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14429 Z_LIBS=${Z_LIBS:-"-lz"}
14430 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14431 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14432 ac_save_CPPFLAGS=$CPPFLAGS
14433 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14434 for ac_header in zlib.h
14435 do :
14436 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14437 if test "x$ac_cv_header_zlib_h" = xyes; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define HAVE_ZLIB_H 1
14440 _ACEOF
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14442 $as_echo_n "checking for inflate in -lz... " >&6; }
14443 if ${ac_cv_lib_z_inflate+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_check_lib_save_LIBS=$LIBS
14447 LIBS="-lz $Z_LIBS $LIBS"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 char inflate ();
14459 main ()
14461 return inflate ();
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_lib_z_inflate=yes
14468 else
14469 ac_cv_lib_z_inflate=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_lib_save_LIBS
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14476 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14477 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14479 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14481 else
14482 Z_LIBS=""
14485 else
14486 Z_LIBS=""
14489 done
14491 CPPFLAGS=$ac_save_CPPFLAGS
14492 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14493 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14496 if test "x$Z_LIBS" = "x"; then :
14497 case "x$with_zlib" in
14498 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14499 xno) ;;
14500 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14501 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14502 esac
14506 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14507 then
14508 if test "$ac_cv_header_gettext_po_h" = "yes"
14509 then
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14511 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14512 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14513 $as_echo_n "(cached) " >&6
14514 else
14515 ac_check_lib_save_LIBS=$LIBS
14516 LIBS="-lgettextpo $LIBS"
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14520 /* Override any GCC internal prototype to avoid an error.
14521 Use char because int might match the return type of a GCC
14522 builtin and then its argument prototype would still apply. */
14523 #ifdef __cplusplus
14524 extern "C"
14525 #endif
14526 char po_message_msgctxt ();
14528 main ()
14530 return po_message_msgctxt ();
14532 return 0;
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14537 else
14538 ac_cv_lib_gettextpo_po_message_msgctxt=no
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14542 LIBS=$ac_check_lib_save_LIBS
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14545 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14546 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14548 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14550 GETTEXTPO_LIBS="-lgettextpo"
14555 if test "x$GETTEXTPO_LIBS" = "x"; then :
14556 case "x$with_gettextpo" in
14557 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14558 xno) ;;
14559 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14560 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14561 esac
14564 if test "$srcdir" != .; then :
14565 case "x$with_gettextpo" in
14566 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14567 xno) ;;
14568 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14569 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14570 esac
14575 if test "x$with_pulse" != "xno";
14576 then
14577 if ${PULSE_CFLAGS:+false} :; then :
14578 if ${PKG_CONFIG+:} false; then :
14579 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14583 if ${PULSE_LIBS:+false} :; then :
14584 if ${PKG_CONFIG+:} false; then :
14585 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14590 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14591 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14592 ac_save_CPPFLAGS=$CPPFLAGS
14593 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14594 for ac_header in pulse/pulseaudio.h
14595 do :
14596 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14597 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14598 cat >>confdefs.h <<_ACEOF
14599 #define HAVE_PULSE_PULSEAUDIO_H 1
14600 _ACEOF
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14602 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14603 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14604 $as_echo_n "(cached) " >&6
14605 else
14606 ac_check_lib_save_LIBS=$LIBS
14607 LIBS="-lpulse $PULSE_LIBS $LIBS"
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14614 #ifdef __cplusplus
14615 extern "C"
14616 #endif
14617 char pa_stream_is_corked ();
14619 main ()
14621 return pa_stream_is_corked ();
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_lib_pulse_pa_stream_is_corked=yes
14628 else
14629 ac_cv_lib_pulse_pa_stream_is_corked=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 LIBS=$ac_check_lib_save_LIBS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14636 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14637 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14639 else
14640 PULSE_LIBS=""
14643 else
14644 PULSE_LIBS=""
14647 done
14649 CPPFLAGS=$ac_save_CPPFLAGS
14650 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14651 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14654 if test -z "$PULSE_LIBS"; then :
14655 case "x$with_pulse" in
14656 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14657 xno) ;;
14658 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14659 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14660 esac
14661 enable_winepulse_drv=${enable_winepulse_drv:-no}
14664 if test "x$with_gstreamer" != "xno"
14665 then
14666 if ${GSTREAMER_CFLAGS:+false} :; then :
14667 if ${PKG_CONFIG+:} false; then :
14668 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14672 if ${GSTREAMER_LIBS:+false} :; then :
14673 if ${PKG_CONFIG+:} false; then :
14674 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14679 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14680 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14681 ac_save_CPPFLAGS=$CPPFLAGS
14682 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14683 ac_gst_incl=""
14684 for i in $GSTREAMER_CFLAGS
14686 case "$i" in
14687 -I*) ac_gst_incl="$ac_gst_incl $i";;
14688 esac
14689 done
14690 GSTREAMER_CFLAGS=$ac_gst_incl
14691 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14692 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14693 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14695 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 #include <gst/gst.h>
14700 main ()
14702 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14704 return 0;
14706 _ACEOF
14707 if ac_fn_c_try_compile "$LINENO"; then :
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14709 $as_echo "yes" >&6; }
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14711 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14712 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_check_lib_save_LIBS=$LIBS
14716 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14723 #ifdef __cplusplus
14724 extern "C"
14725 #endif
14726 char gst_pad_new ();
14728 main ()
14730 return gst_pad_new ();
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14737 else
14738 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_lib_save_LIBS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14745 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14746 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14750 else
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14752 $as_echo "no" >&6; }
14753 ac_glib2_broken=yes
14754 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14760 CPPFLAGS=$ac_save_CPPFLAGS
14761 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14762 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14765 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14766 case "x$with_gstreamer" in
14767 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14768 xno) ;;
14769 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14770 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14771 esac
14774 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14776 ALSA_LIBS=""
14778 if test "x$with_alsa" != "xno"
14779 then
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14781 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14782 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_check_lib_save_LIBS=$LIBS
14786 LIBS="-lasound $LIBS"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 #ifdef __cplusplus
14794 extern "C"
14795 #endif
14796 char snd_pcm_hw_params_get_access_mask ();
14798 main ()
14800 return snd_pcm_hw_params_get_access_mask ();
14802 return 0;
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"; then :
14806 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14807 else
14808 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14812 LIBS=$ac_check_lib_save_LIBS
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14815 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14816 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14819 #include <alsa/asoundlib.h>
14821 main ()
14823 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_compile "$LINENO"; then :
14829 ALSA_LIBS="-lasound"
14831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14835 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14837 if test "x$with_oss" != xno
14838 then
14839 ac_save_CPPFLAGS="$CPPFLAGS"
14840 if test -f /etc/oss.conf
14841 then
14842 . /etc/oss.conf
14844 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14845 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14846 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14847 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14848 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14850 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14852 cat >>confdefs.h <<_ACEOF
14853 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14854 _ACEOF
14856 OSS4_CFLAGS="$ac_oss_incl"
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14859 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14860 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14861 $as_echo_n "(cached) " >&6
14862 else
14863 ac_check_lib_save_LIBS=$LIBS
14864 LIBS="-lossaudio $LIBS"
14865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14868 /* Override any GCC internal prototype to avoid an error.
14869 Use char because int might match the return type of a GCC
14870 builtin and then its argument prototype would still apply. */
14871 #ifdef __cplusplus
14872 extern "C"
14873 #endif
14874 char _oss_ioctl ();
14876 main ()
14878 return _oss_ioctl ();
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 ac_cv_lib_ossaudio__oss_ioctl=yes
14885 else
14886 ac_cv_lib_ossaudio__oss_ioctl=no
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14890 LIBS=$ac_check_lib_save_LIBS
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14893 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14894 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14895 OSS4_LIBS="-lossaudio"
14904 CPPFLAGS="$ac_save_CPPFLAGS"
14906 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14907 case "x$with_oss" in
14908 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14909 xno) ;;
14910 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14911 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14912 esac
14913 enable_wineoss_drv=${enable_wineoss_drv:-no}
14916 if test "x$with_udev" != "xno"
14917 then
14918 if ${UDEV_CFLAGS:+false} :; then :
14919 if ${PKG_CONFIG+:} false; then :
14920 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14924 if ${UDEV_LIBS:+false} :; then :
14925 if ${PKG_CONFIG+:} false; then :
14926 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14930 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14931 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14932 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14933 ac_save_CPPFLAGS=$CPPFLAGS
14934 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14935 for ac_header in libudev.h
14936 do :
14937 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14938 if test "x$ac_cv_header_libudev_h" = xyes; then :
14939 cat >>confdefs.h <<_ACEOF
14940 #define HAVE_LIBUDEV_H 1
14941 _ACEOF
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14943 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14944 if ${ac_cv_lib_udev_udev_new+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 ac_check_lib_save_LIBS=$LIBS
14948 LIBS="-ludev $UDEV_LIBS $LIBS"
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char udev_new ();
14960 main ()
14962 return udev_new ();
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 ac_cv_lib_udev_udev_new=yes
14969 else
14970 ac_cv_lib_udev_udev_new=no
14972 rm -f core conftest.err conftest.$ac_objext \
14973 conftest$ac_exeext conftest.$ac_ext
14974 LIBS=$ac_check_lib_save_LIBS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14977 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14978 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14980 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14982 else
14983 UDEV_LIBS=""
14986 else
14987 UDEV_LIBS=""
14990 done
14992 CPPFLAGS=$ac_save_CPPFLAGS
14993 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14994 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14997 if test "x$UDEV_LIBS" = "x"; then :
14998 case "x$with_udev" in
14999 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15000 xno) ;;
15001 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15002 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15003 esac
15007 if test "x$with_unwind" != xno
15008 then
15009 if ${UNWIND_CFLAGS:+false} :; then :
15010 if ${PKG_CONFIG+:} false; then :
15011 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15015 if ${UNWIND_LIBS:+false} :; then :
15016 if ${PKG_CONFIG+:} false; then :
15017 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15021 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15022 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15023 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15024 ac_save_CPPFLAGS=$CPPFLAGS
15025 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15027 $as_echo_n "checking for unw_step... " >&6; }
15028 if ${wine_cv_have_unw_step+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 #define UNW_LOCAL_ONLY
15034 #include <libunwind.h>
15036 main ()
15038 unw_cursor_t cursor; unw_step( &cursor );
15040 return 0;
15042 _ACEOF
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 wine_cv_have_unw_step="yes"
15045 else
15046 wine_cv_have_unw_step="no"
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15052 $as_echo "$wine_cv_have_unw_step" >&6; }
15053 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15054 then
15055 save_libs=$LIBS
15056 LIBS="$UNWIND_LIBS $LIBS"
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15058 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15059 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15060 $as_echo_n "(cached) " >&6
15061 else
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 #define UNW_LOCAL_ONLY
15065 #include <libunwind.h>
15067 main ()
15069 unw_cursor_t cursor; unw_step( &cursor );
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"; then :
15075 wine_cv_have_libunwind_unw_step="yes"
15076 else
15077 wine_cv_have_libunwind_unw_step="no"
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15083 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15084 LIBS=$save_libs
15086 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15087 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15088 then
15090 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15093 CPPFLAGS=$ac_save_CPPFLAGS
15094 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15095 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15098 case $host in
15099 aarch64*|*-darwin*)
15100 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15101 case "x$with_unwind" in
15102 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15103 xno) ;;
15104 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15105 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15106 esac
15108 fi ;;
15109 esac
15111 if test "x$with_sdl" != "xno"
15112 then
15113 if ${SDL2_CFLAGS:+false} :; then :
15114 if ${PKG_CONFIG+:} false; then :
15115 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15119 if ${SDL2_LIBS:+false} :; then :
15120 if ${PKG_CONFIG+:} false; then :
15121 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15125 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15126 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15127 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15128 ac_save_CPPFLAGS=$CPPFLAGS
15129 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15130 for ac_header in SDL2/SDL.h
15131 do :
15132 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15133 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15134 cat >>confdefs.h <<_ACEOF
15135 #define HAVE_SDL2_SDL_H 1
15136 _ACEOF
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15138 $as_echo_n "checking for -lSDL2... " >&6; }
15139 if ${ac_cv_lib_soname_SDL2+:} false; then :
15140 $as_echo_n "(cached) " >&6
15141 else
15142 ac_check_soname_save_LIBS=$LIBS
15143 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15147 /* Override any GCC internal prototype to avoid an error.
15148 Use char because int might match the return type of a GCC
15149 builtin and then its argument prototype would still apply. */
15150 #ifdef __cplusplus
15151 extern "C"
15152 #endif
15153 char SDL_Init ();
15155 main ()
15157 return SDL_Init ();
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_link "$LINENO"; then :
15163 case "$LIBEXT" in
15164 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15165 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'` ;;
15166 *) 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'`
15167 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15168 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15169 fi ;;
15170 esac
15171 else
15172 ac_cv_lib_soname_SDL2=
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15176 LIBS=$ac_check_soname_save_LIBS
15178 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15180 $as_echo "not found" >&6; }
15182 else
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15184 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15186 cat >>confdefs.h <<_ACEOF
15187 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15188 _ACEOF
15194 done
15196 CPPFLAGS=$ac_save_CPPFLAGS
15197 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15198 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15201 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15202 case "x$with_sdl" in
15203 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15204 xno) ;;
15205 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15206 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15207 esac
15211 if test "x$with_faudio" != "xno"
15212 then
15213 if ${FAUDIO_CFLAGS:+false} :; then :
15214 if ${PKG_CONFIG+:} false; then :
15215 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15219 if ${FAUDIO_LIBS:+false} :; then :
15220 if ${PKG_CONFIG+:} false; then :
15221 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15225 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15226 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15227 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15228 ac_save_CPPFLAGS=$CPPFLAGS
15229 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15230 for ac_header in FAudio.h
15231 do :
15232 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15233 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define HAVE_FAUDIO_H 1
15236 _ACEOF
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15238 $as_echo_n "checking for -lFAudio... " >&6; }
15239 if ${ac_cv_lib_soname_FAudio+:} false; then :
15240 $as_echo_n "(cached) " >&6
15241 else
15242 ac_check_soname_save_LIBS=$LIBS
15243 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15247 /* Override any GCC internal prototype to avoid an error.
15248 Use char because int might match the return type of a GCC
15249 builtin and then its argument prototype would still apply. */
15250 #ifdef __cplusplus
15251 extern "C"
15252 #endif
15253 char FAudioCreate ();
15255 main ()
15257 return FAudioCreate ();
15259 return 0;
15261 _ACEOF
15262 if ac_fn_c_try_link "$LINENO"; then :
15263 case "$LIBEXT" in
15264 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15265 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'` ;;
15266 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15267 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15268 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15269 fi ;;
15270 esac
15271 else
15272 ac_cv_lib_soname_FAudio=
15274 rm -f core conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15276 LIBS=$ac_check_soname_save_LIBS
15278 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15280 $as_echo "not found" >&6; }
15282 else
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15284 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15286 cat >>confdefs.h <<_ACEOF
15287 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15288 _ACEOF
15294 done
15296 ac_wine_check_funcs_save_LIBS="$LIBS"
15297 LIBS="$LIBS $FAUDIO_LIBS"
15298 for ac_func in FAudio_CommitOperationSet \
15299 F3DAudioInitialize8
15300 do :
15301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15304 cat >>confdefs.h <<_ACEOF
15305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15306 _ACEOF
15309 done
15311 LIBS="$ac_wine_check_funcs_save_LIBS"
15313 CPPFLAGS=$ac_save_CPPFLAGS
15314 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15315 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15318 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15319 case "x$with_faudio" in
15320 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15321 xno) ;;
15322 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15323 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15324 esac
15328 if test "x$with_capi" != "xno"
15329 then
15330 if ${CAPI20_CFLAGS:+false} :; then :
15331 if ${PKG_CONFIG+:} false; then :
15332 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15336 if ${CAPI20_LIBS:+false} :; then :
15337 if ${PKG_CONFIG+:} false; then :
15338 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15343 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15344 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15345 ac_save_CPPFLAGS=$CPPFLAGS
15346 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15347 for ac_header in capi20.h linux/capi.h
15348 do :
15349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15353 cat >>confdefs.h <<_ACEOF
15354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15355 _ACEOF
15359 done
15361 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15362 then
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15364 $as_echo_n "checking for -lcapi20... " >&6; }
15365 if ${ac_cv_lib_soname_capi20+:} false; then :
15366 $as_echo_n "(cached) " >&6
15367 else
15368 ac_check_soname_save_LIBS=$LIBS
15369 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15376 #ifdef __cplusplus
15377 extern "C"
15378 #endif
15379 char capi20_register ();
15381 main ()
15383 return capi20_register ();
15385 return 0;
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 case "$LIBEXT" in
15390 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15391 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'` ;;
15392 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15393 if ${ac_cv_lib_soname_capi20:+false} :; then :
15394 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15395 fi ;;
15396 esac
15397 else
15398 ac_cv_lib_soname_capi20=
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if ${ac_cv_lib_soname_capi20:+false} :; then :
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15406 $as_echo "not found" >&6; }
15408 else
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15410 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15412 cat >>confdefs.h <<_ACEOF
15413 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15414 _ACEOF
15419 CPPFLAGS=$ac_save_CPPFLAGS
15420 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15421 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15424 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15425 case "x$with_capi" in
15426 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15427 xno) ;;
15428 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15429 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15430 esac
15434 if test "x$with_cups" != "xno"
15435 then
15436 if ${CUPS_CFLAGS:+false} :; then :
15437 if ${PKG_CONFIG+:} false; then :
15438 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15441 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15442 if ${CUPS_LIBS:+false} :; then :
15443 if ${PKG_CONFIG+:} false; then :
15444 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15447 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15448 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15449 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15450 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15451 ac_save_CPPFLAGS=$CPPFLAGS
15452 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15453 for ac_header in cups/cups.h cups/ppd.h
15454 do :
15455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15456 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15457 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15458 cat >>confdefs.h <<_ACEOF
15459 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15460 _ACEOF
15464 done
15466 if test "$ac_cv_header_cups_cups_h" = "yes"
15467 then
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15469 $as_echo_n "checking for -lcups... " >&6; }
15470 if ${ac_cv_lib_soname_cups+:} false; then :
15471 $as_echo_n "(cached) " >&6
15472 else
15473 ac_check_soname_save_LIBS=$LIBS
15474 LIBS="-lcups $CUPS_LIBS $LIBS"
15475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15478 /* Override any GCC internal prototype to avoid an error.
15479 Use char because int might match the return type of a GCC
15480 builtin and then its argument prototype would still apply. */
15481 #ifdef __cplusplus
15482 extern "C"
15483 #endif
15484 char cupsGetDefault ();
15486 main ()
15488 return cupsGetDefault ();
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 case "$LIBEXT" in
15495 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15496 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'` ;;
15497 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15498 if ${ac_cv_lib_soname_cups:+false} :; then :
15499 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15500 fi ;;
15501 esac
15502 else
15503 ac_cv_lib_soname_cups=
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15507 LIBS=$ac_check_soname_save_LIBS
15509 if ${ac_cv_lib_soname_cups:+false} :; then :
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15511 $as_echo "not found" >&6; }
15512 CUPS_LIBS=""
15513 else
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15515 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15517 cat >>confdefs.h <<_ACEOF
15518 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15519 _ACEOF
15523 else
15524 CUPS_CFLAGS=""
15525 CUPS_LIBS=""
15527 CPPFLAGS=$ac_save_CPPFLAGS
15528 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15529 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15532 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15533 case "x$with_cups" in
15534 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15535 xno) ;;
15536 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15537 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15538 esac
15542 if test "x$with_fontconfig" != "xno"
15543 then
15544 if ${FONTCONFIG_CFLAGS:+false} :; then :
15545 if ${PKG_CONFIG+:} false; then :
15546 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15549 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15550 if ${FONTCONFIG_LIBS:+false} :; then :
15551 if ${PKG_CONFIG+:} false; then :
15552 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15555 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15557 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15559 ac_save_CPPFLAGS=$CPPFLAGS
15560 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15561 for ac_header in fontconfig/fontconfig.h
15562 do :
15563 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15564 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15565 cat >>confdefs.h <<_ACEOF
15566 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15567 _ACEOF
15571 done
15573 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15574 then
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15576 $as_echo_n "checking for -lfontconfig... " >&6; }
15577 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15578 $as_echo_n "(cached) " >&6
15579 else
15580 ac_check_soname_save_LIBS=$LIBS
15581 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15588 #ifdef __cplusplus
15589 extern "C"
15590 #endif
15591 char FcInit ();
15593 main ()
15595 return FcInit ();
15597 return 0;
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 case "$LIBEXT" in
15602 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15603 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'` ;;
15604 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15605 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15606 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15607 fi ;;
15608 esac
15609 else
15610 ac_cv_lib_soname_fontconfig=
15612 rm -f core conftest.err conftest.$ac_objext \
15613 conftest$ac_exeext conftest.$ac_ext
15614 LIBS=$ac_check_soname_save_LIBS
15616 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15618 $as_echo "not found" >&6; }
15619 FONTCONFIG_CFLAGS=""
15620 else
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15622 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15624 cat >>confdefs.h <<_ACEOF
15625 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15626 _ACEOF
15630 else
15631 FONTCONFIG_CFLAGS=""
15633 CPPFLAGS=$ac_save_CPPFLAGS
15634 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15635 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15638 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15639 case "x$with_fontconfig" in
15640 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15641 xno) ;;
15642 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15643 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15644 esac
15648 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15649 then
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15651 $as_echo_n "checking for -lgsm... " >&6; }
15652 if ${ac_cv_lib_soname_gsm+:} false; then :
15653 $as_echo_n "(cached) " >&6
15654 else
15655 ac_check_soname_save_LIBS=$LIBS
15656 LIBS="-lgsm $LIBS"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 #ifdef __cplusplus
15664 extern "C"
15665 #endif
15666 char gsm_create ();
15668 main ()
15670 return gsm_create ();
15672 return 0;
15674 _ACEOF
15675 if ac_fn_c_try_link "$LINENO"; then :
15676 case "$LIBEXT" in
15677 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15678 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'` ;;
15679 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15680 if ${ac_cv_lib_soname_gsm:+false} :; then :
15681 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15682 fi ;;
15683 esac
15684 else
15685 ac_cv_lib_soname_gsm=
15687 rm -f core conftest.err conftest.$ac_objext \
15688 conftest$ac_exeext conftest.$ac_ext
15689 LIBS=$ac_check_soname_save_LIBS
15691 if ${ac_cv_lib_soname_gsm:+false} :; then :
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15693 $as_echo "not found" >&6; }
15695 else
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15697 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15699 cat >>confdefs.h <<_ACEOF
15700 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15701 _ACEOF
15706 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15707 case "x$with_gsm" in
15708 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15709 xno) ;;
15710 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15711 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15712 esac
15716 if test "x$with_krb5" != "xno"
15717 then
15718 if ${KRB5_CFLAGS:+false} :; then :
15719 if ${PKG_CONFIG+:} false; then :
15720 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15723 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15724 if ${KRB5_LIBS:+false} :; then :
15725 if ${PKG_CONFIG+:} false; then :
15726 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15729 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15731 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15732 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15733 ac_save_CPPFLAGS=$CPPFLAGS
15734 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15735 for ac_header in krb5/krb5.h
15736 do :
15737 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15738 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_KRB5_KRB5_H 1
15741 _ACEOF
15745 done
15747 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15748 then
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15750 $as_echo_n "checking for -lkrb5... " >&6; }
15751 if ${ac_cv_lib_soname_krb5+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_check_soname_save_LIBS=$LIBS
15755 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15759 /* Override any GCC internal prototype to avoid an error.
15760 Use char because int might match the return type of a GCC
15761 builtin and then its argument prototype would still apply. */
15762 #ifdef __cplusplus
15763 extern "C"
15764 #endif
15765 char krb5_is_config_principal ();
15767 main ()
15769 return krb5_is_config_principal ();
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 case "$LIBEXT" in
15776 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15777 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'` ;;
15778 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15779 if ${ac_cv_lib_soname_krb5:+false} :; then :
15780 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15781 fi ;;
15782 esac
15783 else
15784 ac_cv_lib_soname_krb5=
15786 rm -f core conftest.err conftest.$ac_objext \
15787 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_soname_save_LIBS
15790 if ${ac_cv_lib_soname_krb5:+false} :; then :
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15792 $as_echo "not found" >&6; }
15793 KRB5_CFLAGS=""
15794 else
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15796 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15798 cat >>confdefs.h <<_ACEOF
15799 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15800 _ACEOF
15804 else
15805 KRB5_CFLAGS=""
15807 CPPFLAGS=$ac_save_CPPFLAGS
15808 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15809 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15812 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15813 case "x$with_krb5" in
15814 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15815 xno) ;;
15816 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15817 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15818 esac
15821 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15823 if test "x$with_gssapi" != "xno"
15824 then
15825 if ${GSSAPI_CFLAGS:+false} :; then :
15826 if ${PKG_CONFIG+:} false; then :
15827 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15830 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15831 if ${GSSAPI_LIBS:+false} :; then :
15832 if ${PKG_CONFIG+:} false; then :
15833 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15836 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15838 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15839 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15840 ac_save_CPPFLAGS=$CPPFLAGS
15841 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15842 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15843 do :
15844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15845 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15847 cat >>confdefs.h <<_ACEOF
15848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15849 _ACEOF
15853 done
15855 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15856 then
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15858 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15859 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15860 $as_echo_n "(cached) " >&6
15861 else
15862 ac_check_soname_save_LIBS=$LIBS
15863 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15867 /* Override any GCC internal prototype to avoid an error.
15868 Use char because int might match the return type of a GCC
15869 builtin and then its argument prototype would still apply. */
15870 #ifdef __cplusplus
15871 extern "C"
15872 #endif
15873 char gss_init_sec_context ();
15875 main ()
15877 return gss_init_sec_context ();
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_link "$LINENO"; then :
15883 case "$LIBEXT" in
15884 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15885 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'` ;;
15886 *) 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'`
15887 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15888 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15889 fi ;;
15890 esac
15891 else
15892 ac_cv_lib_soname_gssapi_krb5=
15894 rm -f core conftest.err conftest.$ac_objext \
15895 conftest$ac_exeext conftest.$ac_ext
15896 LIBS=$ac_check_soname_save_LIBS
15898 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15900 $as_echo "not found" >&6; }
15901 GSSAPI_CFLAGS=""
15902 else
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15904 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15906 cat >>confdefs.h <<_ACEOF
15907 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15908 _ACEOF
15912 else
15913 GSSAPI_CFLAGS=""
15915 CPPFLAGS=$ac_save_CPPFLAGS
15916 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15917 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15920 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15921 case "x$with_gssapi" in
15922 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15923 xno) ;;
15924 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15925 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15926 esac
15930 if test "x$with_jpeg" != "xno"
15931 then
15932 if ${JPEG_CFLAGS:+false} :; then :
15933 if ${PKG_CONFIG+:} false; then :
15934 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15938 if ${JPEG_LIBS:+false} :; then :
15939 if ${PKG_CONFIG+:} false; then :
15940 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15945 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15946 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15947 ac_save_CPPFLAGS=$CPPFLAGS
15948 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15949 for ac_header in jpeglib.h
15950 do :
15951 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15952 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_JPEGLIB_H 1
15955 _ACEOF
15959 done
15961 if test "$ac_cv_header_jpeglib_h" = "yes"
15962 then
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15964 $as_echo_n "checking for -ljpeg... " >&6; }
15965 if ${ac_cv_lib_soname_jpeg+:} false; then :
15966 $as_echo_n "(cached) " >&6
15967 else
15968 ac_check_soname_save_LIBS=$LIBS
15969 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 #ifdef __cplusplus
15977 extern "C"
15978 #endif
15979 char jpeg_start_decompress ();
15981 main ()
15983 return jpeg_start_decompress ();
15985 return 0;
15987 _ACEOF
15988 if ac_fn_c_try_link "$LINENO"; then :
15989 case "$LIBEXT" in
15990 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15991 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'` ;;
15992 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15993 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15994 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15995 fi ;;
15996 esac
15997 else
15998 ac_cv_lib_soname_jpeg=
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 LIBS=$ac_check_soname_save_LIBS
16004 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16006 $as_echo "not found" >&6; }
16007 JPEG_CFLAGS=""
16008 else
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16010 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16012 cat >>confdefs.h <<_ACEOF
16013 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16014 _ACEOF
16018 else
16019 JPEG_CFLAGS=""
16021 CPPFLAGS=$ac_save_CPPFLAGS
16022 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16023 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16026 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16027 case "x$with_jpeg" in
16028 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16029 xno) ;;
16030 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16031 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16032 esac
16036 if test "x$with_png" != "xno"
16037 then
16038 if ${PNG_CFLAGS:+false} :; then :
16039 if ${PKG_CONFIG+:} false; then :
16040 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16043 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16044 if ${PNG_LIBS:+false} :; then :
16045 if ${PKG_CONFIG+:} false; then :
16046 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16049 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16051 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16052 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16053 ac_save_CPPFLAGS=$CPPFLAGS
16054 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16055 for ac_header in png.h
16056 do :
16057 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16058 if test "x$ac_cv_header_png_h" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_PNG_H 1
16061 _ACEOF
16065 done
16067 if test "$ac_cv_header_png_h" = "yes"
16068 then
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16070 $as_echo_n "checking for -lpng... " >&6; }
16071 if ${ac_cv_lib_soname_png+:} false; then :
16072 $as_echo_n "(cached) " >&6
16073 else
16074 ac_check_soname_save_LIBS=$LIBS
16075 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16077 /* end confdefs.h. */
16079 /* Override any GCC internal prototype to avoid an error.
16080 Use char because int might match the return type of a GCC
16081 builtin and then its argument prototype would still apply. */
16082 #ifdef __cplusplus
16083 extern "C"
16084 #endif
16085 char png_create_read_struct ();
16087 main ()
16089 return png_create_read_struct ();
16091 return 0;
16093 _ACEOF
16094 if ac_fn_c_try_link "$LINENO"; then :
16095 case "$LIBEXT" in
16096 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16097 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'` ;;
16098 *) 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'`
16099 if ${ac_cv_lib_soname_png:+false} :; then :
16100 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16101 fi ;;
16102 esac
16103 else
16104 ac_cv_lib_soname_png=
16106 rm -f core conftest.err conftest.$ac_objext \
16107 conftest$ac_exeext conftest.$ac_ext
16108 LIBS=$ac_check_soname_save_LIBS
16110 if ${ac_cv_lib_soname_png:+false} :; then :
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16112 $as_echo "not found" >&6; }
16113 PNG_CFLAGS=""
16114 else
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16116 $as_echo "$ac_cv_lib_soname_png" >&6; }
16118 cat >>confdefs.h <<_ACEOF
16119 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16120 _ACEOF
16124 else
16125 PNG_CFLAGS=""
16127 CPPFLAGS=$ac_save_CPPFLAGS
16128 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16129 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16132 if test "x$ac_cv_lib_soname_png" = "x"; then :
16133 case "x$with_png" in
16134 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16135 xno) ;;
16136 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16137 This is an error since --with-png was requested." "$LINENO" 5 ;;
16138 esac
16142 if test "x$with_tiff" != "xno"
16143 then
16144 if ${TIFF_CFLAGS:+false} :; then :
16145 if ${PKG_CONFIG+:} false; then :
16146 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16150 if ${TIFF_LIBS:+false} :; then :
16151 if ${PKG_CONFIG+:} false; then :
16152 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16157 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16158 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16159 ac_save_CPPFLAGS=$CPPFLAGS
16160 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16161 for ac_header in tiffio.h
16162 do :
16163 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16164 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define HAVE_TIFFIO_H 1
16167 _ACEOF
16171 done
16173 if test "$ac_cv_header_tiffio_h" = "yes"
16174 then
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16176 $as_echo_n "checking for -ltiff... " >&6; }
16177 if ${ac_cv_lib_soname_tiff+:} false; then :
16178 $as_echo_n "(cached) " >&6
16179 else
16180 ac_check_soname_save_LIBS=$LIBS
16181 LIBS="-ltiff $TIFF_LIBS $LIBS"
16182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16185 /* Override any GCC internal prototype to avoid an error.
16186 Use char because int might match the return type of a GCC
16187 builtin and then its argument prototype would still apply. */
16188 #ifdef __cplusplus
16189 extern "C"
16190 #endif
16191 char TIFFClientOpen ();
16193 main ()
16195 return TIFFClientOpen ();
16197 return 0;
16199 _ACEOF
16200 if ac_fn_c_try_link "$LINENO"; then :
16201 case "$LIBEXT" in
16202 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16203 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'` ;;
16204 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16205 if ${ac_cv_lib_soname_tiff:+false} :; then :
16206 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16207 fi ;;
16208 esac
16209 else
16210 ac_cv_lib_soname_tiff=
16212 rm -f core conftest.err conftest.$ac_objext \
16213 conftest$ac_exeext conftest.$ac_ext
16214 LIBS=$ac_check_soname_save_LIBS
16216 if ${ac_cv_lib_soname_tiff:+false} :; then :
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16218 $as_echo "not found" >&6; }
16220 else
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16222 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16224 cat >>confdefs.h <<_ACEOF
16225 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16226 _ACEOF
16231 CPPFLAGS=$ac_save_CPPFLAGS
16232 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16233 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16236 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16237 case "x$with_tiff" in
16238 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16239 xno) ;;
16240 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16241 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16242 esac
16246 if test "x$with_mpg123" != "xno"
16247 then
16248 if ${MPG123_CFLAGS:+false} :; then :
16249 if ${PKG_CONFIG+:} false; then :
16250 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16254 if ${MPG123_LIBS:+false} :; then :
16255 if ${PKG_CONFIG+:} false; then :
16256 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16260 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16261 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16262 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16263 ac_save_CPPFLAGS=$CPPFLAGS
16264 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16265 for ac_header in mpg123.h
16266 do :
16267 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16268 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_MPG123_H 1
16271 _ACEOF
16275 done
16277 if test "$ac_cv_header_mpg123_h" = "yes"
16278 then
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16280 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16281 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_check_lib_save_LIBS=$LIBS
16285 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16292 #ifdef __cplusplus
16293 extern "C"
16294 #endif
16295 char mpg123_feed ();
16297 main ()
16299 return mpg123_feed ();
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"; then :
16305 ac_cv_lib_mpg123_mpg123_feed=yes
16306 else
16307 ac_cv_lib_mpg123_mpg123_feed=no
16309 rm -f core conftest.err conftest.$ac_objext \
16310 conftest$ac_exeext conftest.$ac_ext
16311 LIBS=$ac_check_lib_save_LIBS
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16314 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16315 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16317 else
16318 MPG123_LIBS=""
16321 else
16322 MPG123_CFLAGS=""
16323 MPG123_LIBS=""
16325 CPPFLAGS=$ac_save_CPPFLAGS
16326 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16327 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16330 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16331 case "x$with_mpg123" in
16332 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16333 xno) ;;
16334 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16335 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16336 esac
16337 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16339 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16341 if test "$ac_cv_header_AL_al_h" = "yes"
16342 then
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16344 $as_echo_n "checking for -lopenal... " >&6; }
16345 if ${ac_cv_lib_soname_openal+:} false; then :
16346 $as_echo_n "(cached) " >&6
16347 else
16348 ac_check_soname_save_LIBS=$LIBS
16349 LIBS="-lopenal $LIBS"
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16353 /* Override any GCC internal prototype to avoid an error.
16354 Use char because int might match the return type of a GCC
16355 builtin and then its argument prototype would still apply. */
16356 #ifdef __cplusplus
16357 extern "C"
16358 #endif
16359 char alGetSource3i ();
16361 main ()
16363 return alGetSource3i ();
16365 return 0;
16367 _ACEOF
16368 if ac_fn_c_try_link "$LINENO"; then :
16369 case "$LIBEXT" in
16370 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16371 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'` ;;
16372 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16373 if ${ac_cv_lib_soname_openal:+false} :; then :
16374 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16375 fi ;;
16376 esac
16377 else
16378 ac_cv_lib_soname_openal=
16380 rm -f core conftest.err conftest.$ac_objext \
16381 conftest$ac_exeext conftest.$ac_ext
16382 LIBS=$ac_check_soname_save_LIBS
16384 if ${ac_cv_lib_soname_openal:+false} :; then :
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16386 $as_echo "not found" >&6; }
16388 else
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16390 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16392 cat >>confdefs.h <<_ACEOF
16393 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16394 _ACEOF
16396 OPENAL_LIBS="-lopenal"
16398 ac_cv_lib_openal=yes
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_OPENAL 1
16402 _ACEOF
16406 if test "x$ac_cv_lib_openal" != xyes; then :
16407 case "x$with_openal" in
16408 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16409 xno) ;;
16410 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16411 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16412 esac
16413 enable_openal32=${enable_openal32:-no}
16416 if test "x$ac_cv_lib_soname_FAudio" = "x"
16417 then
16418 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16419 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16420 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16421 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16422 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16423 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16424 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16425 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16426 enable_xapofx1_1=${enable_xapofx1_1:-no}
16427 enable_xapofx1_2=${enable_xapofx1_2:-no}
16428 enable_xapofx1_3=${enable_xapofx1_3:-no}
16429 enable_xapofx1_4=${enable_xapofx1_4:-no}
16430 enable_xapofx1_5=${enable_xapofx1_5:-no}
16431 enable_xaudio2_0=${enable_xaudio2_0:-no}
16432 enable_xaudio2_1=${enable_xaudio2_1:-no}
16433 enable_xaudio2_2=${enable_xaudio2_2:-no}
16434 enable_xaudio2_3=${enable_xaudio2_3:-no}
16435 enable_xaudio2_4=${enable_xaudio2_4:-no}
16436 enable_xaudio2_5=${enable_xaudio2_5:-no}
16437 enable_xaudio2_6=${enable_xaudio2_6:-no}
16438 enable_xaudio2_7=${enable_xaudio2_7:-no}
16439 enable_xaudio2_8=${enable_xaudio2_8:-no}
16440 enable_xaudio2_9=${enable_xaudio2_9:-no}
16443 if test "$ac_cv_header_kstat_h" = "yes"
16444 then
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16446 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16447 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16448 $as_echo_n "(cached) " >&6
16449 else
16450 ac_check_lib_save_LIBS=$LIBS
16451 LIBS="-lkstat $LIBS"
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 #ifdef __cplusplus
16459 extern "C"
16460 #endif
16461 char kstat_open ();
16463 main ()
16465 return kstat_open ();
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_link "$LINENO"; then :
16471 ac_cv_lib_kstat_kstat_open=yes
16472 else
16473 ac_cv_lib_kstat_kstat_open=no
16475 rm -f core conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16480 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16481 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16483 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16485 KSTAT_LIBS="-lkstat"
16491 if test "$ac_cv_header_libprocstat_h" = "yes"
16492 then
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16494 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16495 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16496 $as_echo_n "(cached) " >&6
16497 else
16498 ac_check_lib_save_LIBS=$LIBS
16499 LIBS="-lprocstat $LIBS"
16500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h. */
16503 /* Override any GCC internal prototype to avoid an error.
16504 Use char because int might match the return type of a GCC
16505 builtin and then its argument prototype would still apply. */
16506 #ifdef __cplusplus
16507 extern "C"
16508 #endif
16509 char procstat_open_sysctl ();
16511 main ()
16513 return procstat_open_sysctl ();
16515 return 0;
16517 _ACEOF
16518 if ac_fn_c_try_link "$LINENO"; then :
16519 ac_cv_lib_procstat_procstat_open_sysctl=yes
16520 else
16521 ac_cv_lib_procstat_procstat_open_sysctl=no
16523 rm -f core conftest.err conftest.$ac_objext \
16524 conftest$ac_exeext conftest.$ac_ext
16525 LIBS=$ac_check_lib_save_LIBS
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16528 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16529 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16531 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16533 PROCSTAT_LIBS="-lprocstat"
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16540 $as_echo_n "checking for -lodbc... " >&6; }
16541 if ${ac_cv_lib_soname_odbc+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 ac_check_soname_save_LIBS=$LIBS
16545 LIBS="-lodbc $LIBS"
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16552 #ifdef __cplusplus
16553 extern "C"
16554 #endif
16555 char SQLConnect ();
16557 main ()
16559 return SQLConnect ();
16561 return 0;
16563 _ACEOF
16564 if ac_fn_c_try_link "$LINENO"; then :
16565 case "$LIBEXT" in
16566 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16567 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'` ;;
16568 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16569 if ${ac_cv_lib_soname_odbc:+false} :; then :
16570 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16571 fi ;;
16572 esac
16573 else
16574 ac_cv_lib_soname_odbc=
16576 rm -f core conftest.err conftest.$ac_objext \
16577 conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_soname_save_LIBS
16580 if ${ac_cv_lib_soname_odbc:+false} :; then :
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16582 $as_echo "not found" >&6; }
16583 cat >>confdefs.h <<_ACEOF
16584 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16585 _ACEOF
16587 else
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16589 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16591 cat >>confdefs.h <<_ACEOF
16592 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16593 _ACEOF
16598 if test "x$with_netapi" != "xno"
16599 then
16600 if ${NETAPI_CFLAGS:+false} :; then :
16601 if ${PKG_CONFIG+:} false; then :
16602 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16606 if ${NETAPI_LIBS:+false} :; then :
16607 if ${PKG_CONFIG+:} false; then :
16608 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16613 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16614 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16615 ac_save_CPPFLAGS=$CPPFLAGS
16616 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16618 $as_echo_n "checking for -lnetapi... " >&6; }
16619 if ${ac_cv_lib_soname_netapi+:} false; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 ac_check_soname_save_LIBS=$LIBS
16623 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16627 /* Override any GCC internal prototype to avoid an error.
16628 Use char because int might match the return type of a GCC
16629 builtin and then its argument prototype would still apply. */
16630 #ifdef __cplusplus
16631 extern "C"
16632 #endif
16633 char libnetapi_init ();
16635 main ()
16637 return libnetapi_init ();
16639 return 0;
16641 _ACEOF
16642 if ac_fn_c_try_link "$LINENO"; then :
16643 case "$LIBEXT" in
16644 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16645 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'` ;;
16646 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16647 if ${ac_cv_lib_soname_netapi:+false} :; then :
16648 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16649 fi ;;
16650 esac
16651 else
16652 ac_cv_lib_soname_netapi=
16654 rm -f core conftest.err conftest.$ac_objext \
16655 conftest$ac_exeext conftest.$ac_ext
16656 LIBS=$ac_check_soname_save_LIBS
16658 if ${ac_cv_lib_soname_netapi:+false} :; then :
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16660 $as_echo "not found" >&6; }
16661 cat >>confdefs.h <<_ACEOF
16662 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16663 _ACEOF
16665 else
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16667 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16669 cat >>confdefs.h <<_ACEOF
16670 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16671 _ACEOF
16675 CPPFLAGS=$ac_save_CPPFLAGS
16676 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16677 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16681 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16682 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16683 then
16684 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16687 if test "x$with_vulkan" != "xno"
16688 then
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16690 $as_echo_n "checking for -lvulkan... " >&6; }
16691 if ${ac_cv_lib_soname_vulkan+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 ac_check_soname_save_LIBS=$LIBS
16695 LIBS="-lvulkan $LIBS"
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16699 /* Override any GCC internal prototype to avoid an error.
16700 Use char because int might match the return type of a GCC
16701 builtin and then its argument prototype would still apply. */
16702 #ifdef __cplusplus
16703 extern "C"
16704 #endif
16705 char vkGetInstanceProcAddr ();
16707 main ()
16709 return vkGetInstanceProcAddr ();
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"; then :
16715 case "$LIBEXT" in
16716 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16717 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'` ;;
16718 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16719 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16720 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16721 fi ;;
16722 esac
16723 else
16724 ac_cv_lib_soname_vulkan=
16726 rm -f core conftest.err conftest.$ac_objext \
16727 conftest$ac_exeext conftest.$ac_ext
16728 LIBS=$ac_check_soname_save_LIBS
16730 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16732 $as_echo "not found" >&6; }
16734 else
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16736 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16738 cat >>confdefs.h <<_ACEOF
16739 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16740 _ACEOF
16744 if test "x$ac_cv_lib_soname_vulkan" = "x"
16745 then
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16747 $as_echo_n "checking for -lMoltenVK... " >&6; }
16748 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16751 ac_check_soname_save_LIBS=$LIBS
16752 LIBS="-lMoltenVK $LIBS"
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 /* Override any GCC internal prototype to avoid an error.
16757 Use char because int might match the return type of a GCC
16758 builtin and then its argument prototype would still apply. */
16759 #ifdef __cplusplus
16760 extern "C"
16761 #endif
16762 char vkGetInstanceProcAddr ();
16764 main ()
16766 return vkGetInstanceProcAddr ();
16768 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"; then :
16772 case "$LIBEXT" in
16773 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16774 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'` ;;
16775 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16776 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16777 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16778 fi ;;
16779 esac
16780 else
16781 ac_cv_lib_soname_MoltenVK=
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_soname_save_LIBS
16787 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16789 $as_echo "not found" >&6; }
16791 else
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16793 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16795 cat >>confdefs.h <<_ACEOF
16796 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16797 _ACEOF
16803 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16804 case "x$with_vulkan" in
16805 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16806 xno) ;;
16807 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16808 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16809 esac
16813 if test "x$with_vkd3d" != "xno"
16814 then
16815 if ${VKD3D_CFLAGS:+false} :; then :
16816 if ${PKG_CONFIG+:} false; then :
16817 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16821 if ${VKD3D_LIBS:+false} :; then :
16822 if ${PKG_CONFIG+:} false; then :
16823 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16828 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16829 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16830 ac_save_CPPFLAGS=$CPPFLAGS
16831 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16833 $as_echo_n "checking for -lvkd3d... " >&6; }
16834 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 ac_check_soname_save_LIBS=$LIBS
16838 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16842 /* Override any GCC internal prototype to avoid an error.
16843 Use char because int might match the return type of a GCC
16844 builtin and then its argument prototype would still apply. */
16845 #ifdef __cplusplus
16846 extern "C"
16847 #endif
16848 char vkd3d_get_dxgi_format ();
16850 main ()
16852 return vkd3d_get_dxgi_format ();
16854 return 0;
16856 _ACEOF
16857 if ac_fn_c_try_link "$LINENO"; then :
16858 case "$LIBEXT" in
16859 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16860 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'` ;;
16861 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16862 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16863 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16864 fi ;;
16865 esac
16866 else
16867 ac_cv_lib_soname_vkd3d=
16869 rm -f core conftest.err conftest.$ac_objext \
16870 conftest$ac_exeext conftest.$ac_ext
16871 LIBS=$ac_check_soname_save_LIBS
16873 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16875 $as_echo "not found" >&6; }
16877 else
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16879 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16881 cat >>confdefs.h <<_ACEOF
16882 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16883 _ACEOF
16887 CPPFLAGS=$ac_save_CPPFLAGS
16888 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16889 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16892 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16893 case "x$with_vkd3d" in
16894 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16895 xno) ;;
16896 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16897 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16898 esac
16901 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16904 EXTRACFLAGS=""
16906 if test "x${GCC}" = "xyes"
16907 then
16908 EXTRACFLAGS="-Wall -pipe"
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16911 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16912 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16913 $as_echo_n "(cached) " >&6
16914 else
16915 ac_wine_try_cflags_saved=$CFLAGS
16916 CFLAGS="$CFLAGS -fcf-protection=none"
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16919 int main(int argc, char **argv) { return 0; }
16920 _ACEOF
16921 if ac_fn_c_try_link "$LINENO"; then :
16922 ac_cv_cflags__fcf_protection_none=yes
16923 else
16924 ac_cv_cflags__fcf_protection_none=no
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16928 CFLAGS=$ac_wine_try_cflags_saved
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16931 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16932 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16933 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16936 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16937 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16938 $as_echo_n "(cached) " >&6
16939 else
16940 ac_wine_try_cflags_saved=$CFLAGS
16941 CFLAGS="$CFLAGS -fno-stack-protector"
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 int main(int argc, char **argv) { return 0; }
16945 _ACEOF
16946 if ac_fn_c_try_link "$LINENO"; then :
16947 ac_cv_cflags__fno_stack_protector=yes
16948 else
16949 ac_cv_cflags__fno_stack_protector=no
16951 rm -f core conftest.err conftest.$ac_objext \
16952 conftest$ac_exeext conftest.$ac_ext
16953 CFLAGS=$ac_wine_try_cflags_saved
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16956 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16957 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16958 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16961 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16962 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16963 $as_echo_n "(cached) " >&6
16964 else
16965 ac_wine_try_cflags_saved=$CFLAGS
16966 CFLAGS="$CFLAGS -fno-strict-aliasing"
16967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16969 int main(int argc, char **argv) { return 0; }
16970 _ACEOF
16971 if ac_fn_c_try_link "$LINENO"; then :
16972 ac_cv_cflags__fno_strict_aliasing=yes
16973 else
16974 ac_cv_cflags__fno_strict_aliasing=no
16976 rm -f core conftest.err conftest.$ac_objext \
16977 conftest$ac_exeext conftest.$ac_ext
16978 CFLAGS=$ac_wine_try_cflags_saved
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16981 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16982 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16983 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16986 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16987 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 ac_wine_try_cflags_saved=$CFLAGS
16991 CFLAGS="$CFLAGS -fexcess-precision=standard"
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 int main(int argc, char **argv) { return 0; }
16995 _ACEOF
16996 if ac_fn_c_try_link "$LINENO"; then :
16997 ac_cv_cflags__fexcess_precision_standard=yes
16998 else
16999 ac_cv_cflags__fexcess_precision_standard=no
17001 rm -f core conftest.err conftest.$ac_objext \
17002 conftest$ac_exeext conftest.$ac_ext
17003 CFLAGS=$ac_wine_try_cflags_saved
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17006 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17007 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17008 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17011 saved_CFLAGS=$CFLAGS
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17013 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17014 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 ac_wine_try_cflags_saved=$CFLAGS
17018 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 int main(int argc, char **argv) { return 0; }
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_cflags__Werror_unknown_warning_option=yes
17025 else
17026 ac_cv_cflags__Werror_unknown_warning_option=no
17028 rm -f core conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17030 CFLAGS=$ac_wine_try_cflags_saved
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17033 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17034 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17035 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17038 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17039 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 ac_wine_try_cflags_saved=$CFLAGS
17043 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 int main(int argc, char **argv) { return 0; }
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"; then :
17049 ac_cv_cflags__Werror_unused_command_line_argument=yes
17050 else
17051 ac_cv_cflags__Werror_unused_command_line_argument=no
17053 rm -f core conftest.err conftest.$ac_objext \
17054 conftest$ac_exeext conftest.$ac_ext
17055 CFLAGS=$ac_wine_try_cflags_saved
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17058 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17059 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17060 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17063 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17064 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17065 $as_echo_n "(cached) " >&6
17066 else
17067 ac_wine_try_cflags_saved=$CFLAGS
17068 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17071 int main(int argc, char **argv) { return 0; }
17072 _ACEOF
17073 if ac_fn_c_try_link "$LINENO"; then :
17074 ac_cv_cflags__Wdeclaration_after_statement=yes
17075 else
17076 ac_cv_cflags__Wdeclaration_after_statement=no
17078 rm -f core conftest.err conftest.$ac_objext \
17079 conftest$ac_exeext conftest.$ac_ext
17080 CFLAGS=$ac_wine_try_cflags_saved
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17083 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17084 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17085 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17088 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17089 if ${ac_cv_cflags__Wempty_body+:} false; then :
17090 $as_echo_n "(cached) " >&6
17091 else
17092 ac_wine_try_cflags_saved=$CFLAGS
17093 CFLAGS="$CFLAGS -Wempty-body"
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 int main(int argc, char **argv) { return 0; }
17097 _ACEOF
17098 if ac_fn_c_try_link "$LINENO"; then :
17099 ac_cv_cflags__Wempty_body=yes
17100 else
17101 ac_cv_cflags__Wempty_body=no
17103 rm -f core conftest.err conftest.$ac_objext \
17104 conftest$ac_exeext conftest.$ac_ext
17105 CFLAGS=$ac_wine_try_cflags_saved
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17108 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17109 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17110 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17113 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17114 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117 ac_wine_try_cflags_saved=$CFLAGS
17118 CFLAGS="$CFLAGS -Wignored-qualifiers"
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 int main(int argc, char **argv) { return 0; }
17122 _ACEOF
17123 if ac_fn_c_try_link "$LINENO"; then :
17124 ac_cv_cflags__Wignored_qualifiers=yes
17125 else
17126 ac_cv_cflags__Wignored_qualifiers=no
17128 rm -f core conftest.err conftest.$ac_objext \
17129 conftest$ac_exeext conftest.$ac_ext
17130 CFLAGS=$ac_wine_try_cflags_saved
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17133 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17134 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17135 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17138 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17139 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17140 $as_echo_n "(cached) " >&6
17141 else
17142 ac_wine_try_cflags_saved=$CFLAGS
17143 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 int main(int argc, char **argv) { return 0; }
17147 _ACEOF
17148 if ac_fn_c_try_link "$LINENO"; then :
17149 ac_cv_cflags__Wpacked_not_aligned=yes
17150 else
17151 ac_cv_cflags__Wpacked_not_aligned=no
17153 rm -f core conftest.err conftest.$ac_objext \
17154 conftest$ac_exeext conftest.$ac_ext
17155 CFLAGS=$ac_wine_try_cflags_saved
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17158 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17159 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17160 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17163 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17164 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17165 $as_echo_n "(cached) " >&6
17166 else
17167 ac_wine_try_cflags_saved=$CFLAGS
17168 CFLAGS="$CFLAGS -Wpragma-pack"
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 int main(int argc, char **argv) { return 0; }
17172 _ACEOF
17173 if ac_fn_c_try_link "$LINENO"; then :
17174 ac_cv_cflags__Wpragma_pack=yes
17175 else
17176 ac_cv_cflags__Wpragma_pack=no
17178 rm -f core conftest.err conftest.$ac_objext \
17179 conftest$ac_exeext conftest.$ac_ext
17180 CFLAGS=$ac_wine_try_cflags_saved
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17183 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17184 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17185 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17188 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17189 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17190 $as_echo_n "(cached) " >&6
17191 else
17192 ac_wine_try_cflags_saved=$CFLAGS
17193 CFLAGS="$CFLAGS -Wshift-overflow=2"
17194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17196 int main(int argc, char **argv) { return 0; }
17197 _ACEOF
17198 if ac_fn_c_try_link "$LINENO"; then :
17199 ac_cv_cflags__Wshift_overflow_2=yes
17200 else
17201 ac_cv_cflags__Wshift_overflow_2=no
17203 rm -f core conftest.err conftest.$ac_objext \
17204 conftest$ac_exeext conftest.$ac_ext
17205 CFLAGS=$ac_wine_try_cflags_saved
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17208 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17209 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17210 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17213 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17214 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17215 $as_echo_n "(cached) " >&6
17216 else
17217 ac_wine_try_cflags_saved=$CFLAGS
17218 CFLAGS="$CFLAGS -Wstrict-prototypes"
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 int main(int argc, char **argv) { return 0; }
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"; then :
17224 ac_cv_cflags__Wstrict_prototypes=yes
17225 else
17226 ac_cv_cflags__Wstrict_prototypes=no
17228 rm -f core conftest.err conftest.$ac_objext \
17229 conftest$ac_exeext conftest.$ac_ext
17230 CFLAGS=$ac_wine_try_cflags_saved
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17233 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17234 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17235 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17238 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17239 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242 ac_wine_try_cflags_saved=$CFLAGS
17243 CFLAGS="$CFLAGS -Wtype-limits"
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 int main(int argc, char **argv) { return 0; }
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"; then :
17249 ac_cv_cflags__Wtype_limits=yes
17250 else
17251 ac_cv_cflags__Wtype_limits=no
17253 rm -f core conftest.err conftest.$ac_objext \
17254 conftest$ac_exeext conftest.$ac_ext
17255 CFLAGS=$ac_wine_try_cflags_saved
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17258 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17259 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17260 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17263 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17264 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267 ac_wine_try_cflags_saved=$CFLAGS
17268 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 int main(int argc, char **argv) { return 0; }
17272 _ACEOF
17273 if ac_fn_c_try_link "$LINENO"; then :
17274 ac_cv_cflags__Wunused_but_set_parameter=yes
17275 else
17276 ac_cv_cflags__Wunused_but_set_parameter=no
17278 rm -f core conftest.err conftest.$ac_objext \
17279 conftest$ac_exeext conftest.$ac_ext
17280 CFLAGS=$ac_wine_try_cflags_saved
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17283 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17284 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17285 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17288 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17289 if ${ac_cv_cflags__Wvla+:} false; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292 ac_wine_try_cflags_saved=$CFLAGS
17293 CFLAGS="$CFLAGS -Wvla"
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 int main(int argc, char **argv) { return 0; }
17297 _ACEOF
17298 if ac_fn_c_try_link "$LINENO"; then :
17299 ac_cv_cflags__Wvla=yes
17300 else
17301 ac_cv_cflags__Wvla=no
17303 rm -f core conftest.err conftest.$ac_objext \
17304 conftest$ac_exeext conftest.$ac_ext
17305 CFLAGS=$ac_wine_try_cflags_saved
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17308 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17309 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17310 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17313 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17314 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 ac_wine_try_cflags_saved=$CFLAGS
17318 CFLAGS="$CFLAGS -Wwrite-strings"
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 int main(int argc, char **argv) { return 0; }
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"; then :
17324 ac_cv_cflags__Wwrite_strings=yes
17325 else
17326 ac_cv_cflags__Wwrite_strings=no
17328 rm -f core conftest.err conftest.$ac_objext \
17329 conftest$ac_exeext conftest.$ac_ext
17330 CFLAGS=$ac_wine_try_cflags_saved
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17333 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17334 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17335 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17339 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17340 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17341 $as_echo_n "(cached) " >&6
17342 else
17343 ac_wine_try_cflags_saved=$CFLAGS
17344 CFLAGS="$CFLAGS -Wpointer-arith"
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 int main(int argc, char **argv) { return 0; }
17348 _ACEOF
17349 if ac_fn_c_try_link "$LINENO"; then :
17350 ac_cv_cflags__Wpointer_arith=yes
17351 else
17352 ac_cv_cflags__Wpointer_arith=no
17354 rm -f core conftest.err conftest.$ac_objext \
17355 conftest$ac_exeext conftest.$ac_ext
17356 CFLAGS=$ac_wine_try_cflags_saved
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17359 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17360 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17361 saved_string_h_CFLAGS=$CFLAGS
17362 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17364 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17365 if ${ac_cv_c_string_h_warnings+:} false; then :
17366 $as_echo_n "(cached) " >&6
17367 else
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17370 #include <string.h>
17372 main ()
17376 return 0;
17378 _ACEOF
17379 if ac_fn_c_try_compile "$LINENO"; then :
17380 ac_cv_c_string_h_warnings=no
17381 else
17382 ac_cv_c_string_h_warnings=yes
17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17387 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17388 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17389 CFLAGS=$saved_string_h_CFLAGS
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17393 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17394 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 ac_wine_try_cflags_saved=$CFLAGS
17398 CFLAGS="$CFLAGS -Wlogical-op"
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 int main(int argc, char **argv) { return 0; }
17402 _ACEOF
17403 if ac_fn_c_try_link "$LINENO"; then :
17404 ac_cv_cflags__Wlogical_op=yes
17405 else
17406 ac_cv_cflags__Wlogical_op=no
17408 rm -f core conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 CFLAGS=$ac_wine_try_cflags_saved
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17413 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17414 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17415 saved_string_h_CFLAGS=$CFLAGS
17416 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17418 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17419 if ${ac_cv_c_logicalop_noisy+:} false; then :
17420 $as_echo_n "(cached) " >&6
17421 else
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 #include <string.h>
17425 char*f(const char *h,char n) {return strchr(h,n);}
17427 main ()
17431 return 0;
17433 _ACEOF
17434 if ac_fn_c_try_compile "$LINENO"; then :
17435 ac_cv_c_logicalop_noisy=no
17436 else
17437 ac_cv_c_logicalop_noisy=yes
17439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17442 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17443 CFLAGS=$saved_string_h_CFLAGS
17444 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17447 for ac_flag in $CFLAGS; do
17448 case $ac_flag in
17449 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17450 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17451 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 ac_wine_try_cflags_saved=$CFLAGS
17455 CFLAGS="$CFLAGS -gdwarf-2"
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 int main(int argc, char **argv) { return 0; }
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"; then :
17461 ac_cv_cflags__gdwarf_2=yes
17462 else
17463 ac_cv_cflags__gdwarf_2=no
17465 rm -f core conftest.err conftest.$ac_objext \
17466 conftest$ac_exeext conftest.$ac_ext
17467 CFLAGS=$ac_wine_try_cflags_saved
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17470 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17471 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17472 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17475 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17476 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 ac_wine_try_cflags_saved=$CFLAGS
17480 CFLAGS="$CFLAGS -gstrict-dwarf"
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 int main(int argc, char **argv) { return 0; }
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"; then :
17486 ac_cv_cflags__gstrict_dwarf=yes
17487 else
17488 ac_cv_cflags__gstrict_dwarf=no
17490 rm -f core conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17492 CFLAGS=$ac_wine_try_cflags_saved
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17495 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17496 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17497 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17498 fi ;;
17499 esac
17500 done
17502 MSVCRTFLAGS=""
17504 case $host_os in
17505 mingw32*) ;;
17506 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17507 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17508 if ${ac_cv_cflags__fno_builtin+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 ac_wine_try_cflags_saved=$CFLAGS
17512 CFLAGS="$CFLAGS -fno-builtin"
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 int main(int argc, char **argv) { return 0; }
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 ac_cv_cflags__fno_builtin=yes
17519 else
17520 ac_cv_cflags__fno_builtin=no
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17524 CFLAGS=$ac_wine_try_cflags_saved
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17527 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17528 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17529 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17532 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17533 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 ac_wine_try_cflags_saved=$CFLAGS
17537 CFLAGS="$CFLAGS -fshort-wchar"
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540 int main(int argc, char **argv) { return 0; }
17541 _ACEOF
17542 if ac_fn_c_try_link "$LINENO"; then :
17543 ac_cv_cflags__fshort_wchar=yes
17544 else
17545 ac_cv_cflags__fshort_wchar=no
17547 rm -f core conftest.err conftest.$ac_objext \
17548 conftest$ac_exeext conftest.$ac_ext
17549 CFLAGS=$ac_wine_try_cflags_saved
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17552 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17553 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17554 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17555 fi ;;
17556 esac
17558 case $host_cpu in
17559 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17560 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17561 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
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__fno_omit_frame_pointer=yes
17572 else
17573 ac_cv_cflags__fno_omit_frame_pointer=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__fno_omit_frame_pointer" >&5
17580 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17581 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17582 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17583 fi ;;
17584 *x86_64*)
17585 case $host_os in
17586 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17587 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17588 if ${ac_cv_cflags__Wno_format+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 ac_wine_try_cflags_saved=$CFLAGS
17592 CFLAGS="$CFLAGS -Wno-format"
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 int main(int argc, char **argv) { return 0; }
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"; then :
17598 ac_cv_cflags__Wno_format=yes
17599 else
17600 ac_cv_cflags__Wno_format=no
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17604 CFLAGS=$ac_wine_try_cflags_saved
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17607 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17608 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17609 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17610 fi ;;
17611 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17612 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17613 if ${ac_cv_cflags__mabi_ms+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 ac_wine_try_cflags_saved=$CFLAGS
17617 CFLAGS="$CFLAGS -mabi=ms"
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 int main(int argc, char **argv) { return 0; }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_cflags__mabi_ms=yes
17624 else
17625 ac_cv_cflags__mabi_ms=no
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 CFLAGS=$ac_wine_try_cflags_saved
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17632 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17633 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17634 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17635 fi ;;
17636 esac ;;
17637 esac
17639 CFLAGS=$saved_CFLAGS
17641 if test "x$enable_maintainer_mode" = "xyes"
17642 then
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17644 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17645 if ${ac_cv_cflags__Werror+:} false; then :
17646 $as_echo_n "(cached) " >&6
17647 else
17648 ac_wine_try_cflags_saved=$CFLAGS
17649 CFLAGS="$CFLAGS -Werror"
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 int main(int argc, char **argv) { return 0; }
17653 _ACEOF
17654 if ac_fn_c_try_link "$LINENO"; then :
17655 ac_cv_cflags__Werror=yes
17656 else
17657 ac_cv_cflags__Werror=no
17659 rm -f core conftest.err conftest.$ac_objext \
17660 conftest$ac_exeext conftest.$ac_ext
17661 CFLAGS=$ac_wine_try_cflags_saved
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17664 $as_echo "$ac_cv_cflags__Werror" >&6; }
17665 if test "x$ac_cv_cflags__Werror" = xyes; then :
17666 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17673 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17674 if ${ac_cv_c_fortify_enabled+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 #include <string.h>
17681 main ()
17683 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17684 #error Fortify enabled
17685 #endif
17687 return 0;
17689 _ACEOF
17690 if ac_fn_c_try_compile "$LINENO"; then :
17691 ac_cv_c_fortify_enabled=no
17692 else
17693 ac_cv_c_fortify_enabled=yes
17695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17698 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17699 if test "$ac_cv_c_fortify_enabled" = yes
17700 then
17701 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17706 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17707 if ${ac_cv_c_cfi_support+:} false; then :
17708 $as_echo_n "(cached) " >&6
17709 else
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17712 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17714 main ()
17718 return 0;
17720 _ACEOF
17721 if ac_fn_c_try_compile "$LINENO"; then :
17722 ac_cv_c_cfi_support="yes"
17723 else
17724 ac_cv_c_cfi_support="no"
17726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17729 $as_echo "$ac_cv_c_cfi_support" >&6; }
17730 if test "$ac_cv_c_cfi_support" = "yes"
17731 then
17732 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17733 else
17734 if test "x$enable_win64" = "xyes"
17735 then
17736 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17741 case $build_os in
17742 cygwin*|mingw32*) TOOLSEXT=".exe"
17744 esac
17746 case $host_os in
17747 linux*)
17748 case $host_cpu in
17749 *i[3456789]86*|x86_64*|*aarch64*)
17750 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17751 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17753 esac
17755 esac
17758 ac_save_CFLAGS="$CFLAGS"
17759 CFLAGS="$CFLAGS $BUILTINFLAG"
17760 for ac_func in \
17761 __res_get_state \
17762 __res_getservers \
17763 _spawnvp \
17764 dlopen \
17765 epoll_create \
17766 ffs \
17767 finitef \
17768 fnmatch \
17769 fork \
17770 fpclass \
17771 fstatfs \
17772 fstatvfs \
17773 futimens \
17774 futimes \
17775 futimesat \
17776 getattrlist \
17777 getauxval \
17778 getifaddrs \
17779 getopt_long_only \
17780 kqueue \
17781 lstat \
17782 mach_continuous_time \
17783 pipe2 \
17784 poll \
17785 port_create \
17786 prctl \
17787 pread \
17788 proc_pidinfo \
17789 pwrite \
17790 readdir \
17791 readlink \
17792 sched_yield \
17793 select \
17794 setproctitle \
17795 setprogname \
17796 settimeofday \
17797 sigprocmask \
17798 statfs \
17799 statvfs \
17800 strnlen \
17801 strtold \
17802 symlink \
17803 sysinfo \
17804 tcdrain \
17805 thr_kill2 \
17806 timegm \
17807 usleep
17809 do :
17810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17813 cat >>confdefs.h <<_ACEOF
17814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17815 _ACEOF
17818 done
17820 CFLAGS="$ac_save_CFLAGS"
17822 if test "$ac_cv_func_dlopen" = no
17823 then
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17826 if ${ac_cv_lib_dl_dlopen+:} false; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 ac_check_lib_save_LIBS=$LIBS
17830 LIBS="-ldl $LIBS"
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17834 /* Override any GCC internal prototype to avoid an error.
17835 Use char because int might match the return type of a GCC
17836 builtin and then its argument prototype would still apply. */
17837 #ifdef __cplusplus
17838 extern "C"
17839 #endif
17840 char dlopen ();
17842 main ()
17844 return dlopen ();
17846 return 0;
17848 _ACEOF
17849 if ac_fn_c_try_link "$LINENO"; then :
17850 ac_cv_lib_dl_dlopen=yes
17851 else
17852 ac_cv_lib_dl_dlopen=no
17854 rm -f core conftest.err conftest.$ac_objext \
17855 conftest$ac_exeext conftest.$ac_ext
17856 LIBS=$ac_check_lib_save_LIBS
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17860 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17861 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17862 DL_LIBS="-ldl"
17867 ac_wine_check_funcs_save_LIBS="$LIBS"
17868 LIBS="$LIBS $DL_LIBS"
17869 for ac_func in dladdr
17870 do :
17871 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17872 if test "x$ac_cv_func_dladdr" = xyes; then :
17873 cat >>confdefs.h <<_ACEOF
17874 #define HAVE_DLADDR 1
17875 _ACEOF
17878 done
17880 LIBS="$ac_wine_check_funcs_save_LIBS"
17882 if test "$ac_cv_func_poll" = no
17883 then
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17885 $as_echo_n "checking for poll in -lpoll... " >&6; }
17886 if ${ac_cv_lib_poll_poll+:} false; then :
17887 $as_echo_n "(cached) " >&6
17888 else
17889 ac_check_lib_save_LIBS=$LIBS
17890 LIBS="-lpoll $LIBS"
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 /* Override any GCC internal prototype to avoid an error.
17895 Use char because int might match the return type of a GCC
17896 builtin and then its argument prototype would still apply. */
17897 #ifdef __cplusplus
17898 extern "C"
17899 #endif
17900 char poll ();
17902 main ()
17904 return poll ();
17906 return 0;
17908 _ACEOF
17909 if ac_fn_c_try_link "$LINENO"; then :
17910 ac_cv_lib_poll_poll=yes
17911 else
17912 ac_cv_lib_poll_poll=no
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext conftest.$ac_ext
17916 LIBS=$ac_check_lib_save_LIBS
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17919 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17920 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17921 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17922 POLL_LIBS="-lpoll"
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17929 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17930 if ${ac_cv_search_gethostbyname+:} false; then :
17931 $as_echo_n "(cached) " >&6
17932 else
17933 ac_func_search_save_LIBS=$LIBS
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17937 /* Override any GCC internal prototype to avoid an error.
17938 Use char because int might match the return type of a GCC
17939 builtin and then its argument prototype would still apply. */
17940 #ifdef __cplusplus
17941 extern "C"
17942 #endif
17943 char gethostbyname ();
17945 main ()
17947 return gethostbyname ();
17949 return 0;
17951 _ACEOF
17952 for ac_lib in '' nsl; do
17953 if test -z "$ac_lib"; then
17954 ac_res="none required"
17955 else
17956 ac_res=-l$ac_lib
17957 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17959 if ac_fn_c_try_link "$LINENO"; then :
17960 ac_cv_search_gethostbyname=$ac_res
17962 rm -f core conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext
17964 if ${ac_cv_search_gethostbyname+:} false; then :
17965 break
17967 done
17968 if ${ac_cv_search_gethostbyname+:} false; then :
17970 else
17971 ac_cv_search_gethostbyname=no
17973 rm conftest.$ac_ext
17974 LIBS=$ac_func_search_save_LIBS
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17977 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17978 ac_res=$ac_cv_search_gethostbyname
17979 if test "$ac_res" != no; then :
17980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17986 $as_echo_n "checking for library containing connect... " >&6; }
17987 if ${ac_cv_search_connect+:} false; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17990 ac_func_search_save_LIBS=$LIBS
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17994 /* Override any GCC internal prototype to avoid an error.
17995 Use char because int might match the return type of a GCC
17996 builtin and then its argument prototype would still apply. */
17997 #ifdef __cplusplus
17998 extern "C"
17999 #endif
18000 char connect ();
18002 main ()
18004 return connect ();
18006 return 0;
18008 _ACEOF
18009 for ac_lib in '' socket; do
18010 if test -z "$ac_lib"; then
18011 ac_res="none required"
18012 else
18013 ac_res=-l$ac_lib
18014 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18016 if ac_fn_c_try_link "$LINENO"; then :
18017 ac_cv_search_connect=$ac_res
18019 rm -f core conftest.err conftest.$ac_objext \
18020 conftest$ac_exeext
18021 if ${ac_cv_search_connect+:} false; then :
18022 break
18024 done
18025 if ${ac_cv_search_connect+:} false; then :
18027 else
18028 ac_cv_search_connect=no
18030 rm conftest.$ac_ext
18031 LIBS=$ac_func_search_save_LIBS
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18034 $as_echo "$ac_cv_search_connect" >&6; }
18035 ac_res=$ac_cv_search_connect
18036 if test "$ac_res" != no; then :
18037 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18043 $as_echo_n "checking for library containing inet_aton... " >&6; }
18044 if ${ac_cv_search_inet_aton+:} false; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047 ac_func_search_save_LIBS=$LIBS
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18051 /* Override any GCC internal prototype to avoid an error.
18052 Use char because int might match the return type of a GCC
18053 builtin and then its argument prototype would still apply. */
18054 #ifdef __cplusplus
18055 extern "C"
18056 #endif
18057 char inet_aton ();
18059 main ()
18061 return inet_aton ();
18063 return 0;
18065 _ACEOF
18066 for ac_lib in '' resolv; do
18067 if test -z "$ac_lib"; then
18068 ac_res="none required"
18069 else
18070 ac_res=-l$ac_lib
18071 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18073 if ac_fn_c_try_link "$LINENO"; then :
18074 ac_cv_search_inet_aton=$ac_res
18076 rm -f core conftest.err conftest.$ac_objext \
18077 conftest$ac_exeext
18078 if ${ac_cv_search_inet_aton+:} false; then :
18079 break
18081 done
18082 if ${ac_cv_search_inet_aton+:} false; then :
18084 else
18085 ac_cv_search_inet_aton=no
18087 rm conftest.$ac_ext
18088 LIBS=$ac_func_search_save_LIBS
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18091 $as_echo "$ac_cv_search_inet_aton" >&6; }
18092 ac_res=$ac_cv_search_inet_aton
18093 if test "$ac_res" != no; then :
18094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18099 for ac_func in \
18100 getaddrinfo \
18101 getnameinfo \
18102 getnetbyname \
18103 getprotobyname \
18104 getprotobynumber \
18105 getservbyport \
18106 inet_addr \
18107 inet_network \
18108 inet_ntop \
18109 inet_pton \
18111 do :
18112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18115 cat >>confdefs.h <<_ACEOF
18116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18117 _ACEOF
18120 done
18123 case $host_os in
18124 darwin*|macosx*) ;;
18125 *) ac_save_LIBS=$LIBS
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18127 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18128 if ${ac_cv_search_clock_gettime+:} 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 clock_gettime ();
18143 main ()
18145 return clock_gettime ();
18147 return 0;
18149 _ACEOF
18150 for ac_lib in '' rt; 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_clock_gettime=$ac_res
18160 rm -f core conftest.err conftest.$ac_objext \
18161 conftest$ac_exeext
18162 if ${ac_cv_search_clock_gettime+:} false; then :
18163 break
18165 done
18166 if ${ac_cv_search_clock_gettime+:} false; then :
18168 else
18169 ac_cv_search_clock_gettime=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_clock_gettime" >&5
18175 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18176 ac_res=$ac_cv_search_clock_gettime
18177 if test "$ac_res" != no; then :
18178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18180 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18182 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18186 LIBS=$ac_save_LIBS
18188 esac
18190 if test "x$with_ldap" != "xno"
18191 then
18192 if ${LDAP_CFLAGS:+false} :; then :
18193 if ${PKG_CONFIG+:} false; then :
18194 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18198 if ${LDAP_LIBS:+false} :; then :
18199 if ${PKG_CONFIG+:} false; then :
18200 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18204 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18205 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18206 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18207 ac_save_CPPFLAGS=$CPPFLAGS
18208 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18209 for ac_header in ldap.h lber.h
18210 do :
18211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18212 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18213 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18214 cat >>confdefs.h <<_ACEOF
18215 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18216 _ACEOF
18220 done
18222 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18223 then
18224 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18226 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18228 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18229 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18230 $as_echo_n "(cached) " >&6
18231 else
18232 ac_check_lib_save_LIBS=$LIBS
18233 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18237 /* Override any GCC internal prototype to avoid an error.
18238 Use char because int might match the return type of a GCC
18239 builtin and then its argument prototype would still apply. */
18240 #ifdef __cplusplus
18241 extern "C"
18242 #endif
18243 char ldap_initialize ();
18245 main ()
18247 return ldap_initialize ();
18249 return 0;
18251 _ACEOF
18252 if ac_fn_c_try_link "$LINENO"; then :
18253 ac_cv_lib_ldap_r_ldap_initialize=yes
18254 else
18255 ac_cv_lib_ldap_r_ldap_initialize=no
18257 rm -f core conftest.err conftest.$ac_objext \
18258 conftest$ac_exeext conftest.$ac_ext
18259 LIBS=$ac_check_lib_save_LIBS
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18262 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18263 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18265 $as_echo_n "checking for ber_init in -llber... " >&6; }
18266 if ${ac_cv_lib_lber_ber_init+:} false; then :
18267 $as_echo_n "(cached) " >&6
18268 else
18269 ac_check_lib_save_LIBS=$LIBS
18270 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 /* Override any GCC internal prototype to avoid an error.
18275 Use char because int might match the return type of a GCC
18276 builtin and then its argument prototype would still apply. */
18277 #ifdef __cplusplus
18278 extern "C"
18279 #endif
18280 char ber_init ();
18282 main ()
18284 return ber_init ();
18286 return 0;
18288 _ACEOF
18289 if ac_fn_c_try_link "$LINENO"; then :
18290 ac_cv_lib_lber_ber_init=yes
18291 else
18292 ac_cv_lib_lber_ber_init=no
18294 rm -f core conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18296 LIBS=$ac_check_lib_save_LIBS
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18299 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18300 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18302 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18304 else
18305 LDAP_LIBS=""
18308 else
18309 LDAP_LIBS=""
18312 else
18313 LDAP_LIBS=""
18316 ac_wine_check_funcs_save_LIBS="$LIBS"
18317 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18318 for ac_func in \
18319 ldap_count_references \
18320 ldap_first_reference \
18321 ldap_next_reference \
18322 ldap_parse_reference \
18323 ldap_parse_sort_control \
18324 ldap_parse_sortresponse_control \
18325 ldap_parse_vlv_control \
18326 ldap_parse_vlvresponse_control
18327 do :
18328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18331 cat >>confdefs.h <<_ACEOF
18332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18333 _ACEOF
18336 done
18338 LIBS="$ac_wine_check_funcs_save_LIBS"
18339 else
18340 LDAP_LIBS=""
18342 CPPFLAGS=$ac_save_CPPFLAGS
18343 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18344 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18347 if test "x$LDAP_LIBS" = "x"; then :
18348 case "x$with_ldap" in
18349 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18350 xno) ;;
18351 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18352 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18353 esac
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18358 $as_echo_n "checking for sched_setaffinity... " >&6; }
18359 if ${wine_cv_have_sched_setaffinity+:} false; then :
18360 $as_echo_n "(cached) " >&6
18361 else
18362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18364 #define _GNU_SOURCE
18365 #include <sched.h>
18367 main ()
18369 sched_setaffinity(0, 0, 0);
18371 return 0;
18373 _ACEOF
18374 if ac_fn_c_try_link "$LINENO"; then :
18375 wine_cv_have_sched_setaffinity=yes
18376 else
18377 wine_cv_have_sched_setaffinity=no
18379 rm -f core conftest.err conftest.$ac_objext \
18380 conftest$ac_exeext conftest.$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18383 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18384 if test "$wine_cv_have_sched_setaffinity" = "yes"
18385 then
18387 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18392 $as_echo_n "checking for fallocate... " >&6; }
18393 if ${wine_cv_have_fallocate+:} false; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #define _GNU_SOURCE
18399 #include <fcntl.h>
18401 main ()
18403 fallocate(-1, 0, 0, 0);
18405 return 0;
18407 _ACEOF
18408 if ac_fn_c_try_link "$LINENO"; then :
18409 wine_cv_have_fallocate=yes
18410 else
18411 wine_cv_have_fallocate=no
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18417 $as_echo "$wine_cv_have_fallocate" >&6; }
18418 if test "$wine_cv_have_fallocate" = "yes"
18419 then
18421 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18427 $as_echo_n "checking for inline... " >&6; }
18428 if ${ac_cv_c_inline+:} false; then :
18429 $as_echo_n "(cached) " >&6
18430 else
18431 ac_cv_c_inline=no
18432 for ac_kw in inline __inline__ __inline; do
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #ifndef __cplusplus
18436 typedef int foo_t;
18437 static $ac_kw foo_t static_foo () {return 0; }
18438 $ac_kw foo_t foo () {return 0; }
18439 #endif
18441 _ACEOF
18442 if ac_fn_c_try_compile "$LINENO"; then :
18443 ac_cv_c_inline=$ac_kw
18445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18446 test "$ac_cv_c_inline" != no && break
18447 done
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18451 $as_echo "$ac_cv_c_inline" >&6; }
18453 case $ac_cv_c_inline in
18454 inline | yes) ;;
18456 case $ac_cv_c_inline in
18457 no) ac_val=;;
18458 *) ac_val=$ac_cv_c_inline;;
18459 esac
18460 cat >>confdefs.h <<_ACEOF
18461 #ifndef __cplusplus
18462 #define inline $ac_val
18463 #endif
18464 _ACEOF
18466 esac
18468 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18469 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_FSBLKCNT_T 1
18473 _ACEOF
18477 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18478 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18480 cat >>confdefs.h <<_ACEOF
18481 #define HAVE_FSFILCNT_T 1
18482 _ACEOF
18487 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18488 #include <signal.h>
18490 if test "x$ac_cv_type_sigset_t" = xyes; then :
18492 cat >>confdefs.h <<_ACEOF
18493 #define HAVE_SIGSET_T 1
18494 _ACEOF
18499 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18501 if test "x$ac_cv_type_request_sense" = xyes; then :
18503 cat >>confdefs.h <<_ACEOF
18504 #define HAVE_REQUEST_SENSE 1
18505 _ACEOF
18511 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18512 #ifdef HAVE_SYS_SOCKET_H
18513 #include <sys/socket.h>
18514 #endif
18515 #ifdef HAVE_SYS_SOCKETVAR_H
18516 #include <sys/socketvar.h>
18517 #endif
18518 #ifdef HAVE_NET_ROUTE_H
18519 #include <net/route.h>
18520 #endif
18521 #ifdef HAVE_NETINET_IN_H
18522 #include <netinet/in.h>
18523 #endif
18524 #ifdef HAVE_NETINET_IN_SYSTM_H
18525 #include <netinet/in_systm.h>
18526 #endif
18527 #ifdef HAVE_NETINET_IP_H
18528 #include <netinet/ip.h>
18529 #endif
18530 #ifdef HAVE_NETINET_IN_PCB_H
18531 #include <netinet/in_pcb.h>
18532 #endif
18534 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18536 cat >>confdefs.h <<_ACEOF
18537 #define HAVE_STRUCT_XINPGEN 1
18538 _ACEOF
18544 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18545 #include <link.h>
18546 #endif
18547 #ifdef HAVE_SYS_LINK_H
18548 #include <sys/link.h>
18549 #endif
18551 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18553 cat >>confdefs.h <<_ACEOF
18554 #define HAVE_STRUCT_R_DEBUG 1
18555 _ACEOF
18559 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18560 #include <link.h>
18561 #endif
18562 #ifdef HAVE_SYS_LINK_H
18563 #include <sys/link.h>
18564 #endif
18566 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18568 cat >>confdefs.h <<_ACEOF
18569 #define HAVE_STRUCT_LINK_MAP 1
18570 _ACEOF
18576 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18577 #include <linux/input.h>
18578 #endif
18580 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18582 cat >>confdefs.h <<_ACEOF
18583 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18584 _ACEOF
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18591 $as_echo_n "checking for if_nameindex... " >&6; }
18592 if ${wine_cv_have_if_nameindex+:} false; then :
18593 $as_echo_n "(cached) " >&6
18594 else
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #ifdef HAVE_SYS_TYPES_H
18598 #include <sys/types.h>
18599 #endif
18600 #ifdef HAVE_SYS_SOCKET_H
18601 #include <sys/socket.h>
18602 #endif
18603 #ifdef HAVE_NET_IF_H
18604 # include <net/if.h>
18605 #endif
18607 main ()
18609 struct if_nameindex *p = if_nameindex(); return p->if_index;
18611 return 0;
18613 _ACEOF
18614 if ac_fn_c_try_link "$LINENO"; then :
18615 wine_cv_have_if_nameindex=yes
18616 else
18617 wine_cv_have_if_nameindex=no
18619 rm -f core conftest.err conftest.$ac_objext \
18620 conftest$ac_exeext conftest.$ac_ext
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18623 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18624 if test "$wine_cv_have_if_nameindex" = "yes"
18625 then
18627 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18632 $as_echo_n "checking for sigaddset... " >&6; }
18633 if ${wine_cv_have_sigaddset+:} false; then :
18634 $as_echo_n "(cached) " >&6
18635 else
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 #include <signal.h>
18640 main ()
18642 sigset_t set; sigaddset(&set,SIGTERM);
18644 return 0;
18646 _ACEOF
18647 if ac_fn_c_try_link "$LINENO"; then :
18648 wine_cv_have_sigaddset=yes
18649 else
18650 wine_cv_have_sigaddset=no
18652 rm -f core conftest.err conftest.$ac_objext \
18653 conftest$ac_exeext conftest.$ac_ext
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18656 $as_echo "$wine_cv_have_sigaddset" >&6; }
18657 if test "$wine_cv_have_sigaddset" = "yes"
18658 then
18660 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18666 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18667 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18668 $as_echo_n "(cached) " >&6
18669 else
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #include <netdb.h>
18674 main ()
18677 char *name=0;
18678 struct hostent he;
18679 struct hostent *result;
18680 char *buf=0;
18681 int bufsize=0;
18682 int errnr;
18683 char *addr=0;
18684 int addrlen=0;
18685 int addrtype=0;
18686 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18687 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18690 return 0;
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"; then :
18694 wine_cv_linux_gethostbyname_r_6=yes
18695 else
18696 wine_cv_linux_gethostbyname_r_6=no
18699 rm -f core conftest.err conftest.$ac_objext \
18700 conftest$ac_exeext conftest.$ac_ext
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18704 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18705 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18706 then
18708 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18712 if test "$ac_cv_header_linux_joystick_h" = "yes"
18713 then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18715 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18716 if ${wine_cv_linux_joystick_22_api+:} false; then :
18717 $as_echo_n "(cached) " >&6
18718 else
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18722 #include <sys/ioctl.h>
18723 #include <sys/types.h>
18724 #include <linux/joystick.h>
18726 struct js_event blub;
18727 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18728 #error "no 2.2 header"
18729 #endif
18732 main ()
18734 /*empty*/
18736 return 0;
18738 _ACEOF
18739 if ac_fn_c_try_compile "$LINENO"; then :
18740 wine_cv_linux_joystick_22_api=yes
18741 else
18742 wine_cv_linux_joystick_22_api=no
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18748 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18749 if test "$wine_cv_linux_joystick_22_api" = "yes"
18750 then
18752 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18758 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18759 #ifdef HAVE_SYS_PARAM_H
18760 # include <sys/param.h>
18761 #endif
18762 #ifdef HAVE_SYS_MOUNT_H
18763 # include <sys/mount.h>
18764 #endif
18765 #ifdef HAVE_SYS_VFS_H
18766 # include <sys/vfs.h>
18767 #endif
18768 #ifdef HAVE_SYS_STATFS_H
18769 # include <sys/statfs.h>
18770 #endif
18772 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18774 cat >>confdefs.h <<_ACEOF
18775 #define HAVE_STRUCT_STATFS_F_BFREE 1
18776 _ACEOF
18780 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18781 #ifdef HAVE_SYS_PARAM_H
18782 # include <sys/param.h>
18783 #endif
18784 #ifdef HAVE_SYS_MOUNT_H
18785 # include <sys/mount.h>
18786 #endif
18787 #ifdef HAVE_SYS_VFS_H
18788 # include <sys/vfs.h>
18789 #endif
18790 #ifdef HAVE_SYS_STATFS_H
18791 # include <sys/statfs.h>
18792 #endif
18794 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18796 cat >>confdefs.h <<_ACEOF
18797 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18798 _ACEOF
18802 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18803 #ifdef HAVE_SYS_PARAM_H
18804 # include <sys/param.h>
18805 #endif
18806 #ifdef HAVE_SYS_MOUNT_H
18807 # include <sys/mount.h>
18808 #endif
18809 #ifdef HAVE_SYS_VFS_H
18810 # include <sys/vfs.h>
18811 #endif
18812 #ifdef HAVE_SYS_STATFS_H
18813 # include <sys/statfs.h>
18814 #endif
18816 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18820 _ACEOF
18824 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18825 #ifdef HAVE_SYS_PARAM_H
18826 # include <sys/param.h>
18827 #endif
18828 #ifdef HAVE_SYS_MOUNT_H
18829 # include <sys/mount.h>
18830 #endif
18831 #ifdef HAVE_SYS_VFS_H
18832 # include <sys/vfs.h>
18833 #endif
18834 #ifdef HAVE_SYS_STATFS_H
18835 # include <sys/statfs.h>
18836 #endif
18838 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18840 cat >>confdefs.h <<_ACEOF
18841 #define HAVE_STRUCT_STATFS_F_FFREE 1
18842 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18847 #ifdef HAVE_SYS_PARAM_H
18848 # include <sys/param.h>
18849 #endif
18850 #ifdef HAVE_SYS_MOUNT_H
18851 # include <sys/mount.h>
18852 #endif
18853 #ifdef HAVE_SYS_VFS_H
18854 # include <sys/vfs.h>
18855 #endif
18856 #ifdef HAVE_SYS_STATFS_H
18857 # include <sys/statfs.h>
18858 #endif
18860 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18864 _ACEOF
18868 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18869 #ifdef HAVE_SYS_PARAM_H
18870 # include <sys/param.h>
18871 #endif
18872 #ifdef HAVE_SYS_MOUNT_H
18873 # include <sys/mount.h>
18874 #endif
18875 #ifdef HAVE_SYS_VFS_H
18876 # include <sys/vfs.h>
18877 #endif
18878 #ifdef HAVE_SYS_STATFS_H
18879 # include <sys/statfs.h>
18880 #endif
18882 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18886 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18893 #include <sys/statvfs.h>
18894 #endif
18896 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18898 cat >>confdefs.h <<_ACEOF
18899 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18900 _ACEOF
18906 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18907 #include <dirent.h>
18908 #endif
18910 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18912 cat >>confdefs.h <<_ACEOF
18913 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18914 _ACEOF
18920 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18921 #ifdef HAVE_SYS_SOCKET_H
18922 # include <sys/socket.h>
18923 #endif
18924 #ifdef HAVE_SYS_UN_H
18925 # include <sys/un.h>
18926 #endif
18928 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18932 _ACEOF
18936 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18937 #ifdef HAVE_SYS_SOCKET_H
18938 # include <sys/socket.h>
18939 #endif
18940 #ifdef HAVE_SYS_UN_H
18941 # include <sys/un.h>
18942 #endif
18944 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18946 cat >>confdefs.h <<_ACEOF
18947 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18948 _ACEOF
18952 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18953 #ifdef HAVE_SYS_SOCKET_H
18954 # include <sys/socket.h>
18955 #endif
18956 #ifdef HAVE_SYS_UN_H
18957 # include <sys/un.h>
18958 #endif
18960 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18962 cat >>confdefs.h <<_ACEOF
18963 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18964 _ACEOF
18970 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18971 #ifdef HAVE_SCSI_SG_H
18972 #include <scsi/sg.h>
18973 #endif
18975 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18977 cat >>confdefs.h <<_ACEOF
18978 #define HAVE_SCSIREQ_T_CMD 1
18979 _ACEOF
18983 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>
18984 #ifdef HAVE_SCSI_SG_H
18985 #include <scsi/sg.h>
18986 #endif
18988 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18990 cat >>confdefs.h <<_ACEOF
18991 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18992 _ACEOF
18998 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19000 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_SIGINFO_T_SI_FD 1
19004 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19011 #ifdef HAVE_SYS_MTIO_H
19012 #include <sys/mtio.h>
19013 #endif
19015 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19019 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19024 #ifdef HAVE_SYS_MTIO_H
19025 #include <sys/mtio.h>
19026 #endif
19028 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19032 _ACEOF
19036 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19037 #ifdef HAVE_SYS_MTIO_H
19038 #include <sys/mtio.h>
19039 #endif
19041 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19052 #include <getopt.h>
19053 #endif
19055 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19057 cat >>confdefs.h <<_ACEOF
19058 #define HAVE_STRUCT_OPTION_NAME 1
19059 _ACEOF
19065 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19066 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19070 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19075 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_STAT_ST_MTIM 1
19079 _ACEOF
19083 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19084 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19088 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19093 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_STAT_ST_CTIM 1
19097 _ACEOF
19101 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19102 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19104 cat >>confdefs.h <<_ACEOF
19105 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19106 _ACEOF
19110 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19111 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_STRUCT_STAT_ST_ATIM 1
19115 _ACEOF
19119 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19120 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19124 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19129 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19133 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19138 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19142 _ACEOF
19146 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19147 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19151 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19156 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19160 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19165 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19167 cat >>confdefs.h <<_ACEOF
19168 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19169 _ACEOF
19175 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
19176 #include <sys/types.h>
19177 #endif
19178 #ifdef HAVE_NETINET_IN_H
19179 #include <netinet/in.h>
19180 #endif
19182 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19186 _ACEOF
19192 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19193 #include <sys/types.h>
19194 #endif
19195 #ifdef HAVE_NETINET_IN_H
19196 #include <netinet/in.h>
19197 #endif
19198 #ifdef HAVE_RESOLV_H
19199 #include <resolv.h>
19200 #endif
19202 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT___RES_STATE 1
19206 _ACEOF
19212 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
19213 #include <resolv.h>
19214 #endif
19216 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19220 _ACEOF
19226 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19227 #include <sys/types.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IN_H
19230 # include <netinet/in.h>
19231 #endif
19232 #ifdef HAVE_ARPA_NAMESER_H
19233 # include <arpa/nameser.h>
19234 #endif
19236 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_NS_MSG__MSG_PTR 1
19240 _ACEOF
19246 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19247 #include <sys/types.h>
19248 #endif
19249 #ifdef HAVE_NETINET_IN_H
19250 #include <netinet/in.h>
19251 #endif
19252 #ifdef HAVE_NETINET_IP_H
19253 #include <netinet/ip.h>
19254 #endif
19255 #ifdef HAVE_NETINET_IP_ICMP_H
19256 #include <netinet/ip_icmp.h>
19257 #endif
19258 #ifdef HAVE_NETINET_ICMP_VAR_H
19259 #include <netinet/icmp_var.h>
19260 #endif
19262 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19266 _ACEOF
19272 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19273 #include <sys/types.h>
19274 #endif
19275 #ifdef HAVE_ALIAS_H
19276 #include <alias.h>
19277 #endif
19278 #ifdef HAVE_SYS_SOCKET_H
19279 #include <sys/socket.h>
19280 #endif
19281 #ifdef HAVE_SYS_SOCKETVAR_H
19282 #include <sys/socketvar.h>
19283 #endif
19284 #ifdef HAVE_SYS_TIMEOUT_H
19285 #include <sys/timeout.h>
19286 #endif
19287 #ifdef HAVE_NETINET_IN_H
19288 #include <netinet/in.h>
19289 #endif
19290 #ifdef HAVE_NETINET_IN_SYSTM_H
19291 #include <netinet/in_systm.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IP_H
19294 #include <netinet/ip.h>
19295 #endif
19296 #ifdef HAVE_NETINET_IP_VAR_H
19297 #include <netinet/ip_var.h>
19298 #endif
19299 #ifdef HAVE_NETINET_IP_ICMP_H
19300 #include <netinet/ip_icmp.h>
19301 #endif
19302 #ifdef HAVE_NETINET_ICMP_VAR_H
19303 #include <netinet/icmp_var.h>
19304 #endif
19306 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19310 _ACEOF
19316 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19317 #include <sys/types.h>
19318 #endif
19319 #ifdef HAVE_SYS_SOCKETVAR_H
19320 #include <sys/socketvar.h>
19321 #endif
19322 #ifdef HAVE_NETINET_IN_H
19323 #include <netinet/in.h>
19324 #endif
19325 #ifdef HAVE_NETINET_IP_VAR_H
19326 #include <netinet/ip_var.h>
19327 #endif
19329 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19331 cat >>confdefs.h <<_ACEOF
19332 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19333 _ACEOF
19339 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
19340 #include <netinet/ip_var.h>
19341 #endif
19343 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19347 _ACEOF
19353 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19354 #include <sys/types.h>
19355 #endif
19356 #ifdef HAVE_SYS_SOCKETVAR_H
19357 #include <sys/socketvar.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IN_H
19360 #include <netinet/in.h>
19361 #endif
19362 #ifdef HAVE_NETINET_TCP_H
19363 #include <netinet/tcp.h>
19364 #endif
19365 #ifdef HAVE_NETINET_TCP_VAR_H
19366 #include <netinet/tcp_var.h>
19367 #endif
19369 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19371 cat >>confdefs.h <<_ACEOF
19372 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19373 _ACEOF
19379 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
19380 #include <netinet/tcp_var.h>
19381 #endif
19383 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19385 cat >>confdefs.h <<_ACEOF
19386 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19387 _ACEOF
19393 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19394 #include <sys/types.h>
19395 #endif
19396 #ifdef HAVE_NETINET_IN_H
19397 #include <netinet/in.h>
19398 #endif
19399 #ifdef HAVE_NETINET_IP_VAR_H
19400 #include <netinet/ip_var.h>
19401 #endif
19402 #ifdef HAVE_NETINET_UDP_H
19403 #include <netinet/udp.h>
19404 #endif
19405 #ifdef HAVE_NETINET_UDP_VAR_H
19406 #include <netinet/udp_var.h>
19407 #endif
19409 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19411 cat >>confdefs.h <<_ACEOF
19412 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19413 _ACEOF
19419 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19420 #include <sys/types.h>
19421 #endif
19422 #ifdef HAVE_NET_IF_H
19423 # include <net/if.h>
19424 #endif
19426 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19428 cat >>confdefs.h <<_ACEOF
19429 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19430 _ACEOF
19436 ac_save_LIBS="$LIBS"
19437 LIBS="$LIBS -lm"
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19439 $as_echo_n "checking for isfinite... " >&6; }
19440 if ${ac_cv_have_isfinite+:} false; then :
19441 $as_echo_n "(cached) " >&6
19442 else
19443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19445 #define _GNU_SOURCE
19446 #include <math.h>
19448 main ()
19450 float f = 0.0; return isfinite(f)
19452 return 0;
19454 _ACEOF
19455 if ac_fn_c_try_link "$LINENO"; then :
19456 ac_cv_have_isfinite="yes"
19457 else
19458 ac_cv_have_isfinite="no"
19460 rm -f core conftest.err conftest.$ac_objext \
19461 conftest$ac_exeext conftest.$ac_ext
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19464 $as_echo "$ac_cv_have_isfinite" >&6; }
19465 if test "$ac_cv_have_isfinite" = "yes"
19466 then
19468 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19473 $as_echo_n "checking for isinf... " >&6; }
19474 if ${ac_cv_have_isinf+:} false; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479 #include <math.h>
19481 main ()
19483 float f = 0.0; return isinf(f)
19485 return 0;
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"; then :
19489 ac_cv_have_isinf="yes"
19490 else
19491 ac_cv_have_isinf="no"
19493 rm -f core conftest.err conftest.$ac_objext \
19494 conftest$ac_exeext conftest.$ac_ext
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19497 $as_echo "$ac_cv_have_isinf" >&6; }
19498 if test "$ac_cv_have_isinf" = "yes"
19499 then
19501 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19506 $as_echo_n "checking for isnan... " >&6; }
19507 if ${ac_cv_have_isnan+:} false; then :
19508 $as_echo_n "(cached) " >&6
19509 else
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 #include <math.h>
19514 main ()
19516 float f = 0.0; return isnan(f)
19518 return 0;
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"; then :
19522 ac_cv_have_isnan="yes"
19523 else
19524 ac_cv_have_isnan="no"
19526 rm -f core conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19530 $as_echo "$ac_cv_have_isnan" >&6; }
19531 if test "$ac_cv_have_isnan" = "yes"
19532 then
19534 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19538 for ac_func in \
19539 acosh \
19540 acoshf \
19541 asinh \
19542 asinhf \
19543 atanh \
19544 atanhf \
19545 cbrt \
19546 cbrtf \
19547 erf \
19548 erfc \
19549 erfcf \
19550 erff \
19551 exp2 \
19552 exp2f \
19553 expm1 \
19554 expm1f \
19555 fma \
19556 fmaf \
19557 ilogb \
19558 ilogbf \
19559 j0 \
19560 j1 \
19561 jn \
19562 lgamma \
19563 lgammaf \
19564 llrint \
19565 llrintf \
19566 llround \
19567 llroundf \
19568 log1p \
19569 log1pf \
19570 log2 \
19571 log2f \
19572 lrint \
19573 lrintf \
19574 lround \
19575 lroundf \
19576 nearbyint \
19577 nearbyintf \
19578 nexttoward \
19579 nexttowardf \
19580 powl \
19581 remainder \
19582 remainderf \
19583 remquo \
19584 remquof \
19585 rint \
19586 rintf \
19587 round \
19588 roundf \
19589 tgamma \
19590 tgammaf \
19591 trunc \
19592 truncf \
19593 y0 \
19594 y1 \
19597 do :
19598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19601 cat >>confdefs.h <<_ACEOF
19602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19603 _ACEOF
19606 done
19608 LIBS="$ac_save_LIBS"
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19611 $as_echo_n "checking for __builtin_popcount... " >&6; }
19612 if ${ac_cv_have___builtin_popcount+:} false; then :
19613 $as_echo_n "(cached) " >&6
19614 else
19615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19619 main ()
19621 return __builtin_popcount(1)
19623 return 0;
19625 _ACEOF
19626 if ac_fn_c_try_link "$LINENO"; then :
19627 ac_cv_have___builtin_popcount="yes"
19628 else
19629 ac_cv_have___builtin_popcount="no"
19631 rm -f core conftest.err conftest.$ac_objext \
19632 conftest$ac_exeext conftest.$ac_ext
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19635 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19636 if test "$ac_cv_have___builtin_popcount" = "yes"
19637 then
19639 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19644 $as_echo_n "checking for __clear_cache... " >&6; }
19645 if ${ac_cv_have___clear_cache+:} false; then :
19646 $as_echo_n "(cached) " >&6
19647 else
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19652 main ()
19654 __clear_cache((void*)0, (void*)0); return 0;
19656 return 0;
19658 _ACEOF
19659 if ac_fn_c_try_link "$LINENO"; then :
19660 ac_cv_have___clear_cache="yes"
19661 else
19662 ac_cv_have___clear_cache="no"
19664 rm -f core conftest.err conftest.$ac_objext \
19665 conftest$ac_exeext conftest.$ac_ext
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19668 $as_echo "$ac_cv_have___clear_cache" >&6; }
19669 if test "$ac_cv_have___clear_cache" = "yes"
19670 then
19672 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19677 case $host_cpu in
19678 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19679 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19680 if ${ac_cv_cpp_def___i386__+:} false; then :
19681 $as_echo_n "(cached) " >&6
19682 else
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19685 #ifndef __i386__
19687 #endif
19688 _ACEOF
19689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19690 $EGREP "yes" >/dev/null 2>&1; then :
19691 ac_cv_cpp_def___i386__=yes
19692 else
19693 ac_cv_cpp_def___i386__=no
19695 rm -f conftest*
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19699 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19700 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19701 CFLAGS="$CFLAGS -D__i386__"
19702 LINTFLAGS="$LINTFLAGS -D__i386__"
19703 fi ;;
19704 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19705 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19706 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19707 $as_echo_n "(cached) " >&6
19708 else
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19711 #ifndef __x86_64__
19713 #endif
19714 _ACEOF
19715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19716 $EGREP "yes" >/dev/null 2>&1; then :
19717 ac_cv_cpp_def___x86_64__=yes
19718 else
19719 ac_cv_cpp_def___x86_64__=no
19721 rm -f conftest*
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19725 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19726 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19727 CFLAGS="$CFLAGS -D__x86_64__"
19728 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19729 fi ;;
19730 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19731 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19732 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19733 $as_echo_n "(cached) " >&6
19734 else
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #ifndef __sparc64__
19739 #endif
19740 _ACEOF
19741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19742 $EGREP "yes" >/dev/null 2>&1; then :
19743 ac_cv_cpp_def___sparc64__=yes
19744 else
19745 ac_cv_cpp_def___sparc64__=no
19747 rm -f conftest*
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19751 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19752 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19753 CFLAGS="$CFLAGS -D__sparc64__"
19754 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19755 fi ;;
19756 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19757 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19758 if ${ac_cv_cpp_def___sparc__+:} false; then :
19759 $as_echo_n "(cached) " >&6
19760 else
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19763 #ifndef __sparc__
19765 #endif
19766 _ACEOF
19767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19768 $EGREP "yes" >/dev/null 2>&1; then :
19769 ac_cv_cpp_def___sparc__=yes
19770 else
19771 ac_cv_cpp_def___sparc__=no
19773 rm -f conftest*
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19777 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19778 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19779 CFLAGS="$CFLAGS -D__sparc__"
19780 LINTFLAGS="$LINTFLAGS -D__sparc__"
19781 fi ;;
19782 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19783 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19784 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19785 $as_echo_n "(cached) " >&6
19786 else
19787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19789 #ifndef __powerpc64__
19791 #endif
19792 _ACEOF
19793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19794 $EGREP "yes" >/dev/null 2>&1; then :
19795 ac_cv_cpp_def___powerpc64__=yes
19796 else
19797 ac_cv_cpp_def___powerpc64__=no
19799 rm -f conftest*
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19803 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19804 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19805 CFLAGS="$CFLAGS -D__powerpc64__"
19806 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19807 fi ;;
19808 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19809 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19810 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19811 $as_echo_n "(cached) " >&6
19812 else
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19815 #ifndef __powerpc__
19817 #endif
19818 _ACEOF
19819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19820 $EGREP "yes" >/dev/null 2>&1; then :
19821 ac_cv_cpp_def___powerpc__=yes
19822 else
19823 ac_cv_cpp_def___powerpc__=no
19825 rm -f conftest*
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19829 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19830 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19831 CFLAGS="$CFLAGS -D__powerpc__"
19832 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19833 fi ;;
19834 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19835 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19836 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19837 $as_echo_n "(cached) " >&6
19838 else
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841 #ifndef __aarch64__
19843 #endif
19844 _ACEOF
19845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19846 $EGREP "yes" >/dev/null 2>&1; then :
19847 ac_cv_cpp_def___aarch64__=yes
19848 else
19849 ac_cv_cpp_def___aarch64__=no
19851 rm -f conftest*
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19855 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19856 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19857 CFLAGS="$CFLAGS -D__aarch64__"
19858 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19859 fi ;;
19860 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19861 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19862 if ${ac_cv_cpp_def___arm__+:} false; then :
19863 $as_echo_n "(cached) " >&6
19864 else
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #ifndef __arm__
19869 #endif
19870 _ACEOF
19871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19872 $EGREP "yes" >/dev/null 2>&1; then :
19873 ac_cv_cpp_def___arm__=yes
19874 else
19875 ac_cv_cpp_def___arm__=no
19877 rm -f conftest*
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19881 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19882 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19883 CFLAGS="$CFLAGS -D__arm__"
19884 LINTFLAGS="$LINTFLAGS -D__arm__"
19885 fi ;;
19886 esac
19888 case $host_vendor in
19889 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19890 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19891 if ${ac_cv_cpp_def___sun__+:} false; then :
19892 $as_echo_n "(cached) " >&6
19893 else
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #ifndef __sun__
19898 #endif
19899 _ACEOF
19900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19901 $EGREP "yes" >/dev/null 2>&1; then :
19902 ac_cv_cpp_def___sun__=yes
19903 else
19904 ac_cv_cpp_def___sun__=no
19906 rm -f conftest*
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19910 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19911 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19912 CFLAGS="$CFLAGS -D__sun__"
19913 LINTFLAGS="$LINTFLAGS -D__sun__"
19914 fi ;;
19915 esac
19921 ac_config_commands="$ac_config_commands include/stamp-h"
19923 $as_echo_n "creating Makefile rules..." >&6
19925 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19926 OPENGL_LIBS = $OPENGL_LIBS
19927 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19928 IOKIT_LIBS = $IOKIT_LIBS
19929 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19930 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19931 CORESERVICES_LIBS = $CORESERVICES_LIBS
19932 APPKIT_LIBS = $APPKIT_LIBS
19933 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19934 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19935 SECURITY_LIBS = $SECURITY_LIBS
19936 COREAUDIO_LIBS = $COREAUDIO_LIBS
19937 OPENAL_LIBS = $OPENAL_LIBS
19938 OPENCL_LIBS = $OPENCL_LIBS
19939 QUICKTIME_LIBS = $QUICKTIME_LIBS
19940 CARBON_LIBS = $CARBON_LIBS
19941 METAL_LIBS = $METAL_LIBS
19942 PTHREAD_LIBS = $PTHREAD_LIBS
19943 X_CFLAGS = $X_CFLAGS
19944 X_PRE_LIBS = $X_PRE_LIBS
19945 X_LIBS = $X_LIBS
19946 X_EXTRA_LIBS = $X_EXTRA_LIBS
19947 PCAP_LIBS = $PCAP_LIBS
19948 XML2_CFLAGS = $XML2_CFLAGS
19949 XML2_LIBS = $XML2_LIBS
19950 XSLT_CFLAGS = $XSLT_CFLAGS
19951 XSLT_LIBS = $XSLT_LIBS
19952 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19953 INOTIFY_LIBS = $INOTIFY_LIBS
19954 DBUS_CFLAGS = $DBUS_CFLAGS
19955 DBUS_LIBS = $DBUS_LIBS
19956 HAL_CFLAGS = $HAL_CFLAGS
19957 HAL_LIBS = $HAL_LIBS
19958 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19959 GNUTLS_LIBS = $GNUTLS_LIBS
19960 SANE_CFLAGS = $SANE_CFLAGS
19961 SANE_LIBS = $SANE_LIBS
19962 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19963 GPHOTO2_LIBS = $GPHOTO2_LIBS
19964 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19965 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19966 RESOLV_LIBS = $RESOLV_LIBS
19967 LCMS2_CFLAGS = $LCMS2_CFLAGS
19968 LCMS2_LIBS = $LCMS2_LIBS
19969 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19970 FREETYPE_LIBS = $FREETYPE_LIBS
19971 Z_CFLAGS = $Z_CFLAGS
19972 Z_LIBS = $Z_LIBS
19973 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19974 PULSE_CFLAGS = $PULSE_CFLAGS
19975 PULSE_LIBS = $PULSE_LIBS
19976 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19977 GSTREAMER_LIBS = $GSTREAMER_LIBS
19978 ALSA_LIBS = $ALSA_LIBS
19979 OSS4_CFLAGS = $OSS4_CFLAGS
19980 OSS4_LIBS = $OSS4_LIBS
19981 UDEV_CFLAGS = $UDEV_CFLAGS
19982 UDEV_LIBS = $UDEV_LIBS
19983 UNWIND_CFLAGS = $UNWIND_CFLAGS
19984 UNWIND_LIBS = $UNWIND_LIBS
19985 SDL2_CFLAGS = $SDL2_CFLAGS
19986 SDL2_LIBS = $SDL2_LIBS
19987 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19988 FAUDIO_LIBS = $FAUDIO_LIBS
19989 CAPI20_CFLAGS = $CAPI20_CFLAGS
19990 CAPI20_LIBS = $CAPI20_LIBS
19991 CUPS_CFLAGS = $CUPS_CFLAGS
19992 CUPS_LIBS = $CUPS_LIBS
19993 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19994 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19995 KRB5_CFLAGS = $KRB5_CFLAGS
19996 KRB5_LIBS = $KRB5_LIBS
19997 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19998 GSSAPI_LIBS = $GSSAPI_LIBS
19999 JPEG_CFLAGS = $JPEG_CFLAGS
20000 JPEG_LIBS = $JPEG_LIBS
20001 PNG_CFLAGS = $PNG_CFLAGS
20002 PNG_LIBS = $PNG_LIBS
20003 TIFF_CFLAGS = $TIFF_CFLAGS
20004 TIFF_LIBS = $TIFF_LIBS
20005 MPG123_CFLAGS = $MPG123_CFLAGS
20006 MPG123_LIBS = $MPG123_LIBS
20007 KSTAT_LIBS = $KSTAT_LIBS
20008 PROCSTAT_LIBS = $PROCSTAT_LIBS
20009 NETAPI_CFLAGS = $NETAPI_CFLAGS
20010 NETAPI_LIBS = $NETAPI_LIBS
20011 VKD3D_CFLAGS = $VKD3D_CFLAGS
20012 VKD3D_LIBS = $VKD3D_LIBS
20013 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20014 DL_LIBS = $DL_LIBS
20015 POLL_LIBS = $POLL_LIBS
20016 RT_LIBS = $RT_LIBS
20017 LDAP_CFLAGS = $LDAP_CFLAGS
20018 LDAP_LIBS = $LDAP_LIBS
20023 wine_fn_append_rule "
20024 # Rules automatically generated by configure
20026 .INIT: Makefile
20027 .MAKEFILEDEPS:
20028 all: Makefile
20029 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20030 @./config.status Make.tmp Makefile
20031 depend: \$(MAKEDEP) dummy
20032 \$(MAKEDEP)"
20034 ac_config_links="$ac_config_links wine:tools/winewrapper"
20035 wine_fn_config_symlink wine
20036 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20037 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20038 wine_fn_config_symlink wine64
20041 wine_fn_config_makefile dlls/acledit enable_acledit
20042 wine_fn_config_makefile dlls/aclui enable_aclui
20043 wine_fn_config_makefile dlls/activeds enable_activeds
20044 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20045 wine_fn_config_makefile dlls/adsiid enable_adsiid
20046 wine_fn_config_makefile dlls/adsldp enable_adsldp
20047 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20048 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20049 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20050 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20051 wine_fn_config_makefile dlls/advpack enable_advpack
20052 wine_fn_config_makefile dlls/advpack/tests enable_tests
20053 wine_fn_config_makefile dlls/amsi enable_amsi
20054 wine_fn_config_makefile dlls/amstream enable_amstream
20055 wine_fn_config_makefile dlls/amstream/tests enable_tests
20056 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20058 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20059 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20061 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20076 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20078 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20081 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20082 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20088 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20090 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20091 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20104 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20111 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20123 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20135 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20136 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20158 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20188 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20207 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20238 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20242 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20246 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20247 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20265 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20271 wine_fn_config_makefile dlls/apphelp enable_apphelp
20272 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20273 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20274 wine_fn_config_makefile dlls/atl enable_atl
20275 wine_fn_config_makefile dlls/atl/tests enable_tests
20276 wine_fn_config_makefile dlls/atl100 enable_atl100
20277 wine_fn_config_makefile dlls/atl100/tests enable_tests
20278 wine_fn_config_makefile dlls/atl110 enable_atl110
20279 wine_fn_config_makefile dlls/atl80 enable_atl80
20280 wine_fn_config_makefile dlls/atl80/tests enable_tests
20281 wine_fn_config_makefile dlls/atl90 enable_atl90
20282 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20283 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20284 wine_fn_config_makefile dlls/atmlib enable_atmlib
20285 wine_fn_config_makefile dlls/authz enable_authz
20286 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20287 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20288 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20289 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20290 wine_fn_config_makefile dlls/avrt enable_avrt
20291 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20292 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20293 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20294 wine_fn_config_makefile dlls/browseui enable_browseui
20295 wine_fn_config_makefile dlls/browseui/tests enable_tests
20296 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20297 wine_fn_config_makefile dlls/cabinet enable_cabinet
20298 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20299 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20300 wine_fn_config_makefile dlls/cards enable_cards
20301 wine_fn_config_makefile dlls/cdosys enable_cdosys
20302 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20303 wine_fn_config_makefile dlls/clusapi enable_clusapi
20304 wine_fn_config_makefile dlls/combase enable_combase
20305 wine_fn_config_makefile dlls/combase/tests enable_tests
20306 wine_fn_config_makefile dlls/comcat enable_comcat
20307 wine_fn_config_makefile dlls/comcat/tests enable_tests
20308 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20309 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20310 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20311 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20312 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20313 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20314 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20315 wine_fn_config_makefile dlls/compstui enable_compstui
20316 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20317 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20318 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20319 wine_fn_config_makefile dlls/connect enable_connect
20320 wine_fn_config_makefile dlls/credui enable_credui
20321 wine_fn_config_makefile dlls/credui/tests enable_tests
20322 wine_fn_config_makefile dlls/crtdll enable_crtdll
20323 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20324 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20325 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20326 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20327 wine_fn_config_makefile dlls/cryptext enable_cryptext
20328 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20329 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20330 wine_fn_config_makefile dlls/cryptui enable_cryptui
20331 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20332 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20333 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20334 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20335 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20336 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20337 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20338 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20339 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20340 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20341 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20342 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20343 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20344 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20345 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20346 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20347 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20348 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20349 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20350 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20351 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20352 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20353 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20354 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20355 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20356 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20357 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20358 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20359 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20360 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20361 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20362 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20363 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20364 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20365 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20366 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20367 wine_fn_config_makefile dlls/d3dim enable_d3dim
20368 wine_fn_config_makefile dlls/d3drm enable_d3drm
20369 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20370 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20371 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20372 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20373 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20374 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20375 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20376 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20377 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20378 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20379 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20380 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20381 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20382 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20383 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20384 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20385 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20386 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20387 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20388 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20389 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20390 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20391 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20392 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20393 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20394 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20395 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20396 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20397 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20398 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20399 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20400 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20401 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20402 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20403 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20404 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20405 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20406 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20407 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20408 wine_fn_config_makefile dlls/davclnt enable_davclnt
20409 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20410 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20411 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20412 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20413 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20414 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20415 wine_fn_config_makefile dlls/ddraw enable_ddraw
20416 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20417 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20418 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20419 wine_fn_config_makefile dlls/devenum enable_devenum
20420 wine_fn_config_makefile dlls/devenum/tests enable_tests
20421 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20422 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20423 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20424 wine_fn_config_makefile dlls/difxapi enable_difxapi
20425 wine_fn_config_makefile dlls/dinput enable_dinput
20426 wine_fn_config_makefile dlls/dinput/tests enable_tests
20427 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20428 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20429 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20430 wine_fn_config_makefile dlls/dispex enable_dispex
20431 wine_fn_config_makefile dlls/dispex/tests enable_tests
20432 wine_fn_config_makefile dlls/display.drv16 enable_win16
20433 wine_fn_config_makefile dlls/dmband enable_dmband
20434 wine_fn_config_makefile dlls/dmband/tests enable_tests
20435 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20436 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20437 wine_fn_config_makefile dlls/dmime enable_dmime
20438 wine_fn_config_makefile dlls/dmime/tests enable_tests
20439 wine_fn_config_makefile dlls/dmloader enable_dmloader
20440 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20441 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20442 wine_fn_config_makefile dlls/dmscript enable_dmscript
20443 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20444 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20445 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20446 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20447 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20448 wine_fn_config_makefile dlls/dmusic enable_dmusic
20449 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20450 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20451 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20452 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20453 wine_fn_config_makefile dlls/dplay enable_dplay
20454 wine_fn_config_makefile dlls/dplayx enable_dplayx
20455 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20456 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20457 wine_fn_config_makefile dlls/dpnet enable_dpnet
20458 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20459 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20460 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20461 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20462 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20463 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20464 wine_fn_config_makefile dlls/drmclien enable_drmclien
20465 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20466 wine_fn_config_makefile dlls/dsound enable_dsound
20467 wine_fn_config_makefile dlls/dsound/tests enable_tests
20468 wine_fn_config_makefile dlls/dsquery enable_dsquery
20469 wine_fn_config_makefile dlls/dssenh enable_dssenh
20470 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20471 wine_fn_config_makefile dlls/dswave enable_dswave
20472 wine_fn_config_makefile dlls/dswave/tests enable_tests
20473 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20474 wine_fn_config_makefile dlls/dwrite enable_dwrite
20475 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20476 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20477 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20478 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20479 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20480 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20481 wine_fn_config_makefile dlls/dxgi enable_dxgi
20482 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20483 wine_fn_config_makefile dlls/dxguid enable_dxguid
20484 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20485 wine_fn_config_makefile dlls/esent enable_esent
20486 wine_fn_config_makefile dlls/evr enable_evr
20487 wine_fn_config_makefile dlls/evr/tests enable_tests
20488 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20489 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20490 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20491 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20492 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20493 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20494 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20495 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20496 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20497 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20498 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20499 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20500 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20501 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20502 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20503 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20504 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20505 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20506 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20507 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20508 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20509 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20510 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20511 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20512 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20513 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20514 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20515 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20516 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20517 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20518 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20519 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20520 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20521 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20522 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20524 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20530 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
20531 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20533 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20541 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20542 wine_fn_config_makefile dlls/faultrep enable_faultrep
20543 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20544 wine_fn_config_makefile dlls/feclient enable_feclient
20545 wine_fn_config_makefile dlls/fltlib enable_fltlib
20546 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20547 wine_fn_config_makefile dlls/fntcache enable_fntcache
20548 wine_fn_config_makefile dlls/fontsub enable_fontsub
20549 wine_fn_config_makefile dlls/fusion enable_fusion
20550 wine_fn_config_makefile dlls/fusion/tests enable_tests
20551 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20552 wine_fn_config_makefile dlls/gameux enable_gameux
20553 wine_fn_config_makefile dlls/gameux/tests enable_tests
20554 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20555 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20556 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20557 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20558 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20559 wine_fn_config_makefile dlls/glu32 enable_glu32
20560 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20561 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20562 wine_fn_config_makefile dlls/hal enable_hal
20563 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20564 wine_fn_config_makefile dlls/hid enable_hid
20565 wine_fn_config_makefile dlls/hid/tests enable_tests
20566 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20567 wine_fn_config_makefile dlls/hlink enable_hlink
20568 wine_fn_config_makefile dlls/hlink/tests enable_tests
20569 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20570 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20571 wine_fn_config_makefile dlls/http.sys enable_http_sys
20572 wine_fn_config_makefile dlls/httpapi enable_httpapi
20573 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20574 wine_fn_config_makefile dlls/iccvid enable_iccvid
20575 wine_fn_config_makefile dlls/icmp enable_icmp
20576 wine_fn_config_makefile dlls/ieframe enable_ieframe
20577 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20578 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20579 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20580 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20581 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20582 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20583 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20584 wine_fn_config_makefile dlls/imm32 enable_imm32
20585 wine_fn_config_makefile dlls/imm32/tests enable_tests
20586 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20587 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20588 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20589 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20590 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20591 wine_fn_config_makefile dlls/infosoft enable_infosoft
20592 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20593 wine_fn_config_makefile dlls/initpki enable_initpki
20594 wine_fn_config_makefile dlls/inkobj enable_inkobj
20595 wine_fn_config_makefile dlls/inseng enable_inseng
20596 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20597 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20598 wine_fn_config_makefile dlls/iprop enable_iprop
20599 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20600 wine_fn_config_makefile dlls/itircl enable_itircl
20601 wine_fn_config_makefile dlls/itss enable_itss
20602 wine_fn_config_makefile dlls/itss/tests enable_tests
20603 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20604 wine_fn_config_makefile dlls/jscript enable_jscript
20605 wine_fn_config_makefile dlls/jscript/tests enable_tests
20606 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20607 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20608 wine_fn_config_makefile dlls/kerberos enable_kerberos
20609 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20610 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20611 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20612 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20613 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20614 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20615 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20616 wine_fn_config_makefile dlls/ksuser enable_ksuser
20617 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20618 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20619 wine_fn_config_makefile dlls/loadperf enable_loadperf
20620 wine_fn_config_makefile dlls/localspl enable_localspl
20621 wine_fn_config_makefile dlls/localspl/tests enable_tests
20622 wine_fn_config_makefile dlls/localui enable_localui
20623 wine_fn_config_makefile dlls/localui/tests enable_tests
20624 wine_fn_config_makefile dlls/lz32 enable_lz32
20625 wine_fn_config_makefile dlls/lz32/tests enable_tests
20626 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20627 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20628 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20629 wine_fn_config_makefile dlls/mapistub enable_mapistub
20630 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20631 wine_fn_config_makefile dlls/mcicda enable_mcicda
20632 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20633 wine_fn_config_makefile dlls/mciseq enable_mciseq
20634 wine_fn_config_makefile dlls/mciwave enable_mciwave
20635 wine_fn_config_makefile dlls/mf enable_mf
20636 wine_fn_config_makefile dlls/mf/tests enable_tests
20637 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20638 wine_fn_config_makefile dlls/mferror enable_mferror
20639 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20640 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20641 wine_fn_config_makefile dlls/mfplat enable_mfplat
20642 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20643 wine_fn_config_makefile dlls/mfplay enable_mfplay
20644 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20645 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20646 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20647 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20648 wine_fn_config_makefile dlls/midimap enable_midimap
20649 wine_fn_config_makefile dlls/mlang enable_mlang
20650 wine_fn_config_makefile dlls/mlang/tests enable_tests
20651 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20652 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20653 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20654 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20655 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20656 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20657 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20658 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20659 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20660 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20661 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20662 wine_fn_config_makefile dlls/mpr enable_mpr
20663 wine_fn_config_makefile dlls/mpr/tests enable_tests
20664 wine_fn_config_makefile dlls/mprapi enable_mprapi
20665 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20666 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20667 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20668 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20669 wine_fn_config_makefile dlls/msado15 enable_msado15
20670 wine_fn_config_makefile dlls/msado15/tests enable_tests
20671 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20672 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20673 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20674 wine_fn_config_makefile dlls/mscms enable_mscms
20675 wine_fn_config_makefile dlls/mscms/tests enable_tests
20676 wine_fn_config_makefile dlls/mscoree enable_mscoree
20677 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20678 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20679 wine_fn_config_makefile dlls/msctf enable_msctf
20680 wine_fn_config_makefile dlls/msctf/tests enable_tests
20681 wine_fn_config_makefile dlls/msctfp enable_msctfp
20682 wine_fn_config_makefile dlls/msdaps enable_msdaps
20683 wine_fn_config_makefile dlls/msdelta enable_msdelta
20684 wine_fn_config_makefile dlls/msdmo enable_msdmo
20685 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20686 wine_fn_config_makefile dlls/msdrm enable_msdrm
20687 wine_fn_config_makefile dlls/msftedit enable_msftedit
20688 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20689 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20690 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20691 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20692 wine_fn_config_makefile dlls/mshtml enable_mshtml
20693 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20694 wine_fn_config_makefile dlls/msi enable_msi
20695 wine_fn_config_makefile dlls/msi/tests enable_tests
20696 wine_fn_config_makefile dlls/msident enable_msident
20697 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20698 wine_fn_config_makefile dlls/msimsg enable_msimsg
20699 wine_fn_config_makefile dlls/msimtf enable_msimtf
20700 wine_fn_config_makefile dlls/msisip enable_msisip
20701 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20702 wine_fn_config_makefile dlls/msls31 enable_msls31
20703 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20704 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20705 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20706 wine_fn_config_makefile dlls/msports enable_msports
20707 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20708 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20709 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20710 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20711 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20712 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20713 wine_fn_config_makefile dlls/mstask enable_mstask
20714 wine_fn_config_makefile dlls/mstask/tests enable_tests
20715 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20716 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20717 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20718 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20719 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20720 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20721 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20722 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20723 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20724 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20725 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20726 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20727 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20728 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20729 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20730 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20731 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20732 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20733 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20734 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20735 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20736 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20737 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20738 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20739 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20740 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20741 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20742 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20743 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20744 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20745 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20746 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20747 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20748 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20749 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20750 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20751 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20752 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20753 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20754 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20755 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20756 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20757 wine_fn_config_makefile dlls/mswsock enable_mswsock
20758 wine_fn_config_makefile dlls/msxml enable_msxml
20759 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20760 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20761 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20762 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20763 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20764 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20765 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20766 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20767 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20768 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20769 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20770 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20771 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20772 wine_fn_config_makefile dlls/netprofm enable_netprofm
20773 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20774 wine_fn_config_makefile dlls/newdev enable_newdev
20775 wine_fn_config_makefile dlls/ninput enable_ninput
20776 wine_fn_config_makefile dlls/ninput/tests enable_tests
20777 wine_fn_config_makefile dlls/normaliz enable_normaliz
20778 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20779 wine_fn_config_makefile dlls/npptools enable_npptools
20780 wine_fn_config_makefile dlls/ntdll enable_ntdll
20781 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20782 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20783 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20784 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20785 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20786 wine_fn_config_makefile dlls/ntprint enable_ntprint
20787 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20788 wine_fn_config_makefile dlls/objsel enable_objsel
20789 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20790 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20791 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20792 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20793 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20794 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20795 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20796 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20797 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20798 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20799 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20800 wine_fn_config_makefile dlls/ole32 enable_ole32
20801 wine_fn_config_makefile dlls/ole32/tests enable_tests
20802 wine_fn_config_makefile dlls/oleacc enable_oleacc
20803 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20804 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20805 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20806 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20807 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20808 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20809 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20810 wine_fn_config_makefile dlls/oledlg enable_oledlg
20811 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20812 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20813 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20814 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20815 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20816 wine_fn_config_makefile dlls/opcservices enable_opcservices
20817 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20818 wine_fn_config_makefile dlls/openal32 enable_openal32
20819 wine_fn_config_makefile dlls/opencl enable_opencl
20820 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20821 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20822 wine_fn_config_makefile dlls/packager enable_packager
20823 wine_fn_config_makefile dlls/packager/tests enable_tests
20824 wine_fn_config_makefile dlls/pdh enable_pdh
20825 wine_fn_config_makefile dlls/pdh/tests enable_tests
20826 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20827 wine_fn_config_makefile dlls/pidgen enable_pidgen
20828 wine_fn_config_makefile dlls/powrprof enable_powrprof
20829 wine_fn_config_makefile dlls/printui enable_printui
20830 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20831 wine_fn_config_makefile dlls/propsys enable_propsys
20832 wine_fn_config_makefile dlls/propsys/tests enable_tests
20833 wine_fn_config_makefile dlls/psapi enable_psapi
20834 wine_fn_config_makefile dlls/psapi/tests enable_tests
20835 wine_fn_config_makefile dlls/pstorec enable_pstorec
20836 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20837 wine_fn_config_makefile dlls/qcap enable_qcap
20838 wine_fn_config_makefile dlls/qcap/tests enable_tests
20839 wine_fn_config_makefile dlls/qedit enable_qedit
20840 wine_fn_config_makefile dlls/qedit/tests enable_tests
20841 wine_fn_config_makefile dlls/qmgr enable_qmgr
20842 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20843 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20844 wine_fn_config_makefile dlls/quartz enable_quartz
20845 wine_fn_config_makefile dlls/quartz/tests enable_tests
20846 wine_fn_config_makefile dlls/query enable_query
20847 wine_fn_config_makefile dlls/qwave enable_qwave
20848 wine_fn_config_makefile dlls/qwave/tests enable_tests
20849 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20850 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20851 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20852 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20853 wine_fn_config_makefile dlls/regapi enable_regapi
20854 wine_fn_config_makefile dlls/resutils enable_resutils
20855 wine_fn_config_makefile dlls/riched20 enable_riched20
20856 wine_fn_config_makefile dlls/riched20/tests enable_tests
20857 wine_fn_config_makefile dlls/riched32 enable_riched32
20858 wine_fn_config_makefile dlls/riched32/tests enable_tests
20859 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20860 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20861 wine_fn_config_makefile dlls/rsabase enable_rsabase
20862 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20863 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20864 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20865 wine_fn_config_makefile dlls/rtutils enable_rtutils
20866 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20867 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20868 wine_fn_config_makefile dlls/samlib enable_samlib
20869 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20870 wine_fn_config_makefile dlls/sapi enable_sapi
20871 wine_fn_config_makefile dlls/sapi/tests enable_tests
20872 wine_fn_config_makefile dlls/sas enable_sas
20873 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20874 wine_fn_config_makefile dlls/sccbase enable_sccbase
20875 wine_fn_config_makefile dlls/schannel enable_schannel
20876 wine_fn_config_makefile dlls/schannel/tests enable_tests
20877 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20878 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20879 wine_fn_config_makefile dlls/scrobj enable_scrobj
20880 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20881 wine_fn_config_makefile dlls/scrrun enable_scrrun
20882 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20883 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20884 wine_fn_config_makefile dlls/secur32 enable_secur32
20885 wine_fn_config_makefile dlls/secur32/tests enable_tests
20886 wine_fn_config_makefile dlls/security enable_security
20887 wine_fn_config_makefile dlls/sensapi enable_sensapi
20888 wine_fn_config_makefile dlls/serialui enable_serialui
20889 wine_fn_config_makefile dlls/serialui/tests enable_tests
20890 wine_fn_config_makefile dlls/setupapi enable_setupapi
20891 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20892 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20893 wine_fn_config_makefile dlls/sfc enable_sfc
20894 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20895 wine_fn_config_makefile dlls/shcore enable_shcore
20896 wine_fn_config_makefile dlls/shcore/tests enable_tests
20897 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20898 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20899 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20900 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20901 wine_fn_config_makefile dlls/shell32 enable_shell32
20902 wine_fn_config_makefile dlls/shell32/tests enable_tests
20903 wine_fn_config_makefile dlls/shfolder enable_shfolder
20904 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20905 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20906 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20907 wine_fn_config_makefile dlls/slc enable_slc
20908 wine_fn_config_makefile dlls/slc/tests enable_tests
20909 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20910 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20911 wine_fn_config_makefile dlls/softpub enable_softpub
20912 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20913 wine_fn_config_makefile dlls/spoolss enable_spoolss
20914 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20915 wine_fn_config_makefile dlls/srclient enable_srclient
20916 wine_fn_config_makefile dlls/sspicli enable_sspicli
20917 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20918 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20919 wine_fn_config_makefile dlls/sti enable_sti
20920 wine_fn_config_makefile dlls/sti/tests enable_tests
20921 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20922 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20923 wine_fn_config_makefile dlls/strmbase enable_strmbase
20924 wine_fn_config_makefile dlls/strmdll enable_strmdll
20925 wine_fn_config_makefile dlls/strmiids enable_strmiids
20926 wine_fn_config_makefile dlls/svrapi enable_svrapi
20927 wine_fn_config_makefile dlls/sxs enable_sxs
20928 wine_fn_config_makefile dlls/sxs/tests enable_tests
20929 wine_fn_config_makefile dlls/system.drv16 enable_win16
20930 wine_fn_config_makefile dlls/t2embed enable_t2embed
20931 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20932 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20933 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20934 wine_fn_config_makefile dlls/taskschd enable_taskschd
20935 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20936 wine_fn_config_makefile dlls/tdh enable_tdh
20937 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20938 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20939 wine_fn_config_makefile dlls/traffic enable_traffic
20940 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20941 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20942 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20943 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20944 wine_fn_config_makefile dlls/tzres enable_tzres
20945 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20946 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20947 wine_fn_config_makefile dlls/uianimation enable_uianimation
20948 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20949 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20950 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20951 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20952 wine_fn_config_makefile dlls/unicows enable_unicows
20953 wine_fn_config_makefile dlls/updspapi enable_updspapi
20954 wine_fn_config_makefile dlls/url enable_url
20955 wine_fn_config_makefile dlls/urlmon enable_urlmon
20956 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20957 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20958 wine_fn_config_makefile dlls/user.exe16 enable_win16
20959 wine_fn_config_makefile dlls/user32 enable_user32
20960 wine_fn_config_makefile dlls/user32/tests enable_tests
20961 wine_fn_config_makefile dlls/userenv enable_userenv
20962 wine_fn_config_makefile dlls/userenv/tests enable_tests
20963 wine_fn_config_makefile dlls/usp10 enable_usp10
20964 wine_fn_config_makefile dlls/usp10/tests enable_tests
20965 wine_fn_config_makefile dlls/utildll enable_utildll
20966 wine_fn_config_makefile dlls/uuid enable_uuid
20967 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20968 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20969 wine_fn_config_makefile dlls/vbscript enable_vbscript
20970 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20971 wine_fn_config_makefile dlls/vcomp enable_vcomp
20972 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20973 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20974 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20975 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20976 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20977 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20978 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20979 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20980 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20981 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20982 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20983 wine_fn_config_makefile dlls/version enable_version
20984 wine_fn_config_makefile dlls/version/tests enable_tests
20985 wine_fn_config_makefile dlls/vga enable_vga
20986 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20987 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20988 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20989 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20990 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20991 wine_fn_config_makefile dlls/vssapi enable_vssapi
20992 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20993 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20994 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20995 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20996 wine_fn_config_makefile dlls/w32skrnl enable_win16
20997 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20998 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20999 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21000 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21001 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21002 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21003 wine_fn_config_makefile dlls/wdscore enable_wdscore
21004 wine_fn_config_makefile dlls/webservices enable_webservices
21005 wine_fn_config_makefile dlls/webservices/tests enable_tests
21006 wine_fn_config_makefile dlls/wer enable_wer
21007 wine_fn_config_makefile dlls/wer/tests enable_tests
21008 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21009 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21010 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21011 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21012 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21013 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21014 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21015 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21016 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21017 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21018 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21019 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21020 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21021 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21022 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21023 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21024 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21025 wine_fn_config_makefile dlls/wined3d enable_wined3d
21026 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21027 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21028 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21029 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21030 wine_fn_config_makefile dlls/winemapi enable_winemapi
21031 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21032 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21033 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21034 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21035 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21036 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21037 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21038 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21039 wine_fn_config_makefile dlls/wing32 enable_wing32
21040 wine_fn_config_makefile dlls/winhttp enable_winhttp
21041 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21042 wine_fn_config_makefile dlls/wininet enable_wininet
21043 wine_fn_config_makefile dlls/wininet/tests enable_tests
21044 wine_fn_config_makefile dlls/winmm enable_winmm
21045 wine_fn_config_makefile dlls/winmm/tests enable_tests
21046 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21047 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21048 wine_fn_config_makefile dlls/winscard enable_winscard
21049 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21050 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21051 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21052 wine_fn_config_makefile dlls/winsta enable_winsta
21053 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21054 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21055 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21056 wine_fn_config_makefile dlls/wintrust enable_wintrust
21057 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21058 wine_fn_config_makefile dlls/winusb enable_winusb
21059 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21060 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21061 wine_fn_config_makefile dlls/wlanui enable_wlanui
21062 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21063 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21064 wine_fn_config_makefile dlls/wmasf enable_wmasf
21065 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21066 wine_fn_config_makefile dlls/wmi enable_wmi
21067 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21068 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21069 wine_fn_config_makefile dlls/wmp enable_wmp
21070 wine_fn_config_makefile dlls/wmp/tests enable_tests
21071 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21072 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21073 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21074 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21075 wine_fn_config_makefile dlls/wow32 enable_win16
21076 wine_fn_config_makefile dlls/wpc enable_wpc
21077 wine_fn_config_makefile dlls/wpc/tests enable_tests
21078 wine_fn_config_makefile dlls/wpcap enable_wpcap
21079 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21080 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21081 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21082 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21083 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21084 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21085 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21086 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21087 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21088 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21089 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21090 wine_fn_config_makefile dlls/wuapi enable_wuapi
21091 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21092 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21093 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21094 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21095 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21096 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21097 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21098 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21099 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21100 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21101 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21102 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21103 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21104 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21105 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21106 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21107 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21108 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21109 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21110 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21111 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21112 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21113 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21114 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21115 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21116 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21117 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21118 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21119 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21120 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21121 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21122 wine_fn_config_makefile dlls/xmllite enable_xmllite
21123 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21124 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21125 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21126 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21127 wine_fn_config_makefile fonts enable_fonts
21128 wine_fn_config_makefile include enable_include
21129 wine_fn_config_makefile libs/port enable_port
21130 wine_fn_config_makefile libs/wine enable_wine
21131 wine_fn_config_makefile libs/wpp enable_wpp
21132 wine_fn_config_makefile loader enable_loader
21133 wine_fn_config_makefile nls enable_nls
21134 wine_fn_config_makefile po enable_po
21135 wine_fn_config_makefile programs/arp enable_arp
21136 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21137 wine_fn_config_makefile programs/attrib enable_attrib
21138 wine_fn_config_makefile programs/cabarc enable_cabarc
21139 wine_fn_config_makefile programs/cacls enable_cacls
21140 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21141 wine_fn_config_makefile programs/clock enable_clock
21142 wine_fn_config_makefile programs/cmd enable_cmd
21143 wine_fn_config_makefile programs/cmd/tests enable_tests
21144 wine_fn_config_makefile programs/conhost enable_conhost
21145 wine_fn_config_makefile programs/control enable_control
21146 wine_fn_config_makefile programs/cscript enable_cscript
21147 wine_fn_config_makefile programs/dism enable_dism
21148 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21149 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21150 wine_fn_config_makefile programs/eject enable_eject
21151 wine_fn_config_makefile programs/expand enable_expand
21152 wine_fn_config_makefile programs/explorer enable_explorer
21153 wine_fn_config_makefile programs/extrac32 enable_extrac32
21154 wine_fn_config_makefile programs/fc enable_fc
21155 wine_fn_config_makefile programs/find enable_find
21156 wine_fn_config_makefile programs/find/tests enable_tests
21157 wine_fn_config_makefile programs/findstr enable_findstr
21158 wine_fn_config_makefile programs/fsutil enable_fsutil
21159 wine_fn_config_makefile programs/hh enable_hh
21160 wine_fn_config_makefile programs/hostname enable_hostname
21161 wine_fn_config_makefile programs/icacls enable_icacls
21162 wine_fn_config_makefile programs/icinfo enable_icinfo
21163 wine_fn_config_makefile programs/iexplore enable_iexplore
21164 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21165 wine_fn_config_makefile programs/lodctr enable_lodctr
21166 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21167 wine_fn_config_makefile programs/mshta enable_mshta
21168 wine_fn_config_makefile programs/msidb enable_msidb
21169 wine_fn_config_makefile programs/msiexec enable_msiexec
21170 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21171 wine_fn_config_makefile programs/net enable_net
21172 wine_fn_config_makefile programs/netsh enable_netsh
21173 wine_fn_config_makefile programs/netstat enable_netstat
21174 wine_fn_config_makefile programs/ngen enable_ngen
21175 wine_fn_config_makefile programs/notepad enable_notepad
21176 wine_fn_config_makefile programs/oleview enable_oleview
21177 wine_fn_config_makefile programs/ping enable_ping
21178 wine_fn_config_makefile programs/plugplay enable_plugplay
21179 wine_fn_config_makefile programs/powershell enable_powershell
21180 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21181 wine_fn_config_makefile programs/progman enable_progman
21182 wine_fn_config_makefile programs/reg enable_reg
21183 wine_fn_config_makefile programs/reg/tests enable_tests
21184 wine_fn_config_makefile programs/regasm enable_regasm
21185 wine_fn_config_makefile programs/regedit enable_regedit
21186 wine_fn_config_makefile programs/regedit/tests enable_tests
21187 wine_fn_config_makefile programs/regini enable_regini
21188 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21189 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21190 wine_fn_config_makefile programs/rpcss enable_rpcss
21191 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21192 wine_fn_config_makefile programs/rundll32 enable_rundll32
21193 wine_fn_config_makefile programs/sc enable_sc
21194 wine_fn_config_makefile programs/schtasks enable_schtasks
21195 wine_fn_config_makefile programs/schtasks/tests enable_tests
21196 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21197 wine_fn_config_makefile programs/secedit enable_secedit
21198 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21199 wine_fn_config_makefile programs/services enable_services
21200 wine_fn_config_makefile programs/services/tests enable_tests
21201 wine_fn_config_makefile programs/shutdown enable_shutdown
21202 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21203 wine_fn_config_makefile programs/start enable_start
21204 wine_fn_config_makefile programs/subst enable_subst
21205 wine_fn_config_makefile programs/svchost enable_svchost
21206 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21207 wine_fn_config_makefile programs/taskkill enable_taskkill
21208 wine_fn_config_makefile programs/tasklist enable_tasklist
21209 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21210 wine_fn_config_makefile programs/termsv enable_termsv
21211 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21212 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21213 wine_fn_config_makefile programs/view enable_view
21214 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21215 wine_fn_config_makefile programs/wineboot enable_wineboot
21216 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21217 wine_fn_config_makefile programs/winecfg enable_winecfg
21218 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21219 wine_fn_config_makefile programs/winedbg enable_winedbg
21220 wine_fn_config_makefile programs/winedevice enable_winedevice
21221 wine_fn_config_makefile programs/winefile enable_winefile
21222 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21223 wine_fn_config_makefile programs/winemine enable_winemine
21224 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21225 wine_fn_config_makefile programs/winepath enable_winepath
21226 wine_fn_config_makefile programs/winetest enable_winetest
21227 wine_fn_config_makefile programs/winevdm enable_win16
21228 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21229 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21230 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21231 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21232 wine_fn_config_makefile programs/winver enable_winver
21233 wine_fn_config_makefile programs/wmic enable_wmic
21234 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21235 wine_fn_config_makefile programs/wordpad enable_wordpad
21236 wine_fn_config_makefile programs/write enable_write
21237 wine_fn_config_makefile programs/wscript enable_wscript
21238 wine_fn_config_makefile programs/wscript/tests enable_tests
21239 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21240 wine_fn_config_makefile programs/wusa enable_wusa
21241 wine_fn_config_makefile programs/xcopy enable_xcopy
21242 wine_fn_config_makefile programs/xcopy/tests enable_tests
21243 wine_fn_config_makefile server enable_server
21244 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21245 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21246 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21247 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21248 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21249 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21250 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21251 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21252 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21255 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21256 wine_fn_append_file CONFIGURE_TARGETS "tags"
21257 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21258 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21259 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21260 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21261 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21262 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21264 if test "x$enable_tools" != xno
21265 then
21266 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21267 ac_config_commands="$ac_config_commands tools/makedep"
21271 ac_config_commands="$ac_config_commands Makefile"
21274 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21278 if test "x$enable_maintainer_mode" = xyes
21279 then
21280 wine_fn_append_rule "configure: configure.ac aclocal.m4
21281 autoconf --warnings=all
21282 include/config.h.in: include/stamp-h.in
21283 include/stamp-h.in: configure.ac aclocal.m4
21284 autoheader --warnings=all
21285 @echo timestamp > \$@"
21288 if test "x$enable_tools" != xno
21289 then
21290 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21291 @./config.status tools/makedep
21292 Makefile: tools/makedep$ac_exeext
21293 fonts: tools/sfnt2fon
21294 include: tools tools/widl"
21295 else
21296 wine_fn_append_rule "\$(MAKEDEP):
21297 @echo \"You need to run make in $TOOLSDIR first\" && false"
21300 if test -n "$with_wine64"
21301 then
21302 case "$with_wine64" in
21303 /*) reldir="" ;;
21304 *) reldir="../" ;;
21305 esac
21306 rm -f fonts server 2>/dev/null
21307 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21308 loader/wine64 loader/wine64-preloader:
21309 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21310 $with_wine64/loader/wine:
21311 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21312 $with_wine64/loader/wine-preloader:
21313 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21314 clean::
21315 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21316 else
21317 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21318 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21319 fonts \
21320 loader/wine.inf \
21321 loader/winebus.inf \
21322 loader/winehid.inf \
21323 nls \
21324 programs/msidb/msidb \
21325 programs/msiexec/msiexec \
21326 programs/notepad/notepad \
21327 programs/regedit/regedit \
21328 programs/regsvr32/regsvr32 \
21329 programs/wineboot/wineboot \
21330 programs/winecfg/winecfg \
21331 programs/wineconsole/wineconsole \
21332 programs/winedbg/winedbg \
21333 programs/winefile/winefile \
21334 programs/winemine/winemine \
21335 programs/winepath/winepath \
21336 server/wineserver"
21338 case $host_os in
21339 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21340 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21341 esac
21344 $as_echo " done" >&6
21345 cat >confcache <<\_ACEOF
21346 # This file is a shell script that caches the results of configure
21347 # tests run on this system so they can be shared between configure
21348 # scripts and configure runs, see configure's option --config-cache.
21349 # It is not useful on other systems. If it contains results you don't
21350 # want to keep, you may remove or edit it.
21352 # config.status only pays attention to the cache file if you give it
21353 # the --recheck option to rerun configure.
21355 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21357 # following values.
21359 _ACEOF
21361 # The following way of writing the cache mishandles newlines in values,
21362 # but we know of no workaround that is simple, portable, and efficient.
21363 # So, we kill variables containing newlines.
21364 # Ultrix sh set writes to stderr and can't be redirected directly,
21365 # and sets the high bit in the cache file unless we assign to the vars.
21367 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21368 eval ac_val=\$$ac_var
21369 case $ac_val in #(
21370 *${as_nl}*)
21371 case $ac_var in #(
21372 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21373 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21374 esac
21375 case $ac_var in #(
21376 _ | IFS | as_nl) ;; #(
21377 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21378 *) { eval $ac_var=; unset $ac_var;} ;;
21379 esac ;;
21380 esac
21381 done
21383 (set) 2>&1 |
21384 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21385 *${as_nl}ac_space=\ *)
21386 # `set' does not quote correctly, so add quotes: double-quote
21387 # substitution turns \\\\ into \\, and sed turns \\ into \.
21388 sed -n \
21389 "s/'/'\\\\''/g;
21390 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21391 ;; #(
21393 # `set' quotes correctly as required by POSIX, so do not add quotes.
21394 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21396 esac |
21397 sort
21399 sed '
21400 /^ac_cv_env_/b end
21401 t clear
21402 :clear
21403 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21404 t end
21405 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21406 :end' >>confcache
21407 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21408 if test -w "$cache_file"; then
21409 if test "x$cache_file" != "x/dev/null"; then
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21411 $as_echo "$as_me: updating cache $cache_file" >&6;}
21412 if test ! -f "$cache_file" || test -h "$cache_file"; then
21413 cat confcache >"$cache_file"
21414 else
21415 case $cache_file in #(
21416 */* | ?:*)
21417 mv -f confcache "$cache_file"$$ &&
21418 mv -f "$cache_file"$$ "$cache_file" ;; #(
21420 mv -f confcache "$cache_file" ;;
21421 esac
21424 else
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21426 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21429 rm -f confcache
21431 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21432 # Let make expand exec_prefix.
21433 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21435 DEFS=-DHAVE_CONFIG_H
21437 ac_libobjs=
21438 ac_ltlibobjs=
21440 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21441 # 1. Remove the extension, and $U if already installed.
21442 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21443 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21444 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21445 # will be set to the directory where LIBOBJS objects are built.
21446 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21447 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21448 done
21449 LIBOBJS=$ac_libobjs
21451 LTLIBOBJS=$ac_ltlibobjs
21455 : "${CONFIG_STATUS=./config.status}"
21456 ac_write_fail=0
21457 ac_clean_files_save=$ac_clean_files
21458 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21460 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21461 as_write_fail=0
21462 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21463 #! $SHELL
21464 # Generated by $as_me.
21465 # Run this file to recreate the current configuration.
21466 # Compiler output produced by configure, useful for debugging
21467 # configure, is in config.log if it exists.
21469 debug=false
21470 ac_cs_recheck=false
21471 ac_cs_silent=false
21473 SHELL=\${CONFIG_SHELL-$SHELL}
21474 export SHELL
21475 _ASEOF
21476 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21477 ## -------------------- ##
21478 ## M4sh Initialization. ##
21479 ## -------------------- ##
21481 # Be more Bourne compatible
21482 DUALCASE=1; export DUALCASE # for MKS sh
21483 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21484 emulate sh
21485 NULLCMD=:
21486 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21487 # is contrary to our usage. Disable this feature.
21488 alias -g '${1+"$@"}'='"$@"'
21489 setopt NO_GLOB_SUBST
21490 else
21491 case `(set -o) 2>/dev/null` in #(
21492 *posix*) :
21493 set -o posix ;; #(
21494 *) :
21496 esac
21500 as_nl='
21502 export as_nl
21503 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21504 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21507 # Prefer a ksh shell builtin over an external printf program on Solaris,
21508 # but without wasting forks for bash or zsh.
21509 if test -z "$BASH_VERSION$ZSH_VERSION" \
21510 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21511 as_echo='print -r --'
21512 as_echo_n='print -rn --'
21513 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21514 as_echo='printf %s\n'
21515 as_echo_n='printf %s'
21516 else
21517 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21518 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21519 as_echo_n='/usr/ucb/echo -n'
21520 else
21521 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21522 as_echo_n_body='eval
21523 arg=$1;
21524 case $arg in #(
21525 *"$as_nl"*)
21526 expr "X$arg" : "X\\(.*\\)$as_nl";
21527 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21528 esac;
21529 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21531 export as_echo_n_body
21532 as_echo_n='sh -c $as_echo_n_body as_echo'
21534 export as_echo_body
21535 as_echo='sh -c $as_echo_body as_echo'
21538 # The user is always right.
21539 if test "${PATH_SEPARATOR+set}" != set; then
21540 PATH_SEPARATOR=:
21541 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21542 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21543 PATH_SEPARATOR=';'
21548 # IFS
21549 # We need space, tab and new line, in precisely that order. Quoting is
21550 # there to prevent editors from complaining about space-tab.
21551 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21552 # splitting by setting IFS to empty value.)
21553 IFS=" "" $as_nl"
21555 # Find who we are. Look in the path if we contain no directory separator.
21556 as_myself=
21557 case $0 in #((
21558 *[\\/]* ) as_myself=$0 ;;
21559 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21560 for as_dir in $PATH
21562 IFS=$as_save_IFS
21563 test -z "$as_dir" && as_dir=.
21564 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21565 done
21566 IFS=$as_save_IFS
21569 esac
21570 # We did not find ourselves, most probably we were run as `sh COMMAND'
21571 # in which case we are not to be found in the path.
21572 if test "x$as_myself" = x; then
21573 as_myself=$0
21575 if test ! -f "$as_myself"; then
21576 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21577 exit 1
21580 # Unset variables that we do not need and which cause bugs (e.g. in
21581 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21582 # suppresses any "Segmentation fault" message there. '((' could
21583 # trigger a bug in pdksh 5.2.14.
21584 for as_var in BASH_ENV ENV MAIL MAILPATH
21585 do eval test x\${$as_var+set} = xset \
21586 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21587 done
21588 PS1='$ '
21589 PS2='> '
21590 PS4='+ '
21592 # NLS nuisances.
21593 LC_ALL=C
21594 export LC_ALL
21595 LANGUAGE=C
21596 export LANGUAGE
21598 # CDPATH.
21599 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21602 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21603 # ----------------------------------------
21604 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21605 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21606 # script with STATUS, using 1 if that was 0.
21607 as_fn_error ()
21609 as_status=$1; test $as_status -eq 0 && as_status=1
21610 if test "$4"; then
21611 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21612 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21614 $as_echo "$as_me: error: $2" >&2
21615 as_fn_exit $as_status
21616 } # as_fn_error
21619 # as_fn_set_status STATUS
21620 # -----------------------
21621 # Set $? to STATUS, without forking.
21622 as_fn_set_status ()
21624 return $1
21625 } # as_fn_set_status
21627 # as_fn_exit STATUS
21628 # -----------------
21629 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21630 as_fn_exit ()
21632 set +e
21633 as_fn_set_status $1
21634 exit $1
21635 } # as_fn_exit
21637 # as_fn_unset VAR
21638 # ---------------
21639 # Portably unset VAR.
21640 as_fn_unset ()
21642 { eval $1=; unset $1;}
21644 as_unset=as_fn_unset
21645 # as_fn_append VAR VALUE
21646 # ----------------------
21647 # Append the text in VALUE to the end of the definition contained in VAR. Take
21648 # advantage of any shell optimizations that allow amortized linear growth over
21649 # repeated appends, instead of the typical quadratic growth present in naive
21650 # implementations.
21651 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21652 eval 'as_fn_append ()
21654 eval $1+=\$2
21656 else
21657 as_fn_append ()
21659 eval $1=\$$1\$2
21661 fi # as_fn_append
21663 # as_fn_arith ARG...
21664 # ------------------
21665 # Perform arithmetic evaluation on the ARGs, and store the result in the
21666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21667 # must be portable across $(()) and expr.
21668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21669 eval 'as_fn_arith ()
21671 as_val=$(( $* ))
21673 else
21674 as_fn_arith ()
21676 as_val=`expr "$@" || test $? -eq 1`
21678 fi # as_fn_arith
21681 if expr a : '\(a\)' >/dev/null 2>&1 &&
21682 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21683 as_expr=expr
21684 else
21685 as_expr=false
21688 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21689 as_basename=basename
21690 else
21691 as_basename=false
21694 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21695 as_dirname=dirname
21696 else
21697 as_dirname=false
21700 as_me=`$as_basename -- "$0" ||
21701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21702 X"$0" : 'X\(//\)$' \| \
21703 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21704 $as_echo X/"$0" |
21705 sed '/^.*\/\([^/][^/]*\)\/*$/{
21706 s//\1/
21709 /^X\/\(\/\/\)$/{
21710 s//\1/
21713 /^X\/\(\/\).*/{
21714 s//\1/
21717 s/.*/./; q'`
21719 # Avoid depending upon Character Ranges.
21720 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21721 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21722 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21723 as_cr_digits='0123456789'
21724 as_cr_alnum=$as_cr_Letters$as_cr_digits
21726 ECHO_C= ECHO_N= ECHO_T=
21727 case `echo -n x` in #(((((
21728 -n*)
21729 case `echo 'xy\c'` in
21730 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21731 xy) ECHO_C='\c';;
21732 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21733 ECHO_T=' ';;
21734 esac;;
21736 ECHO_N='-n';;
21737 esac
21739 rm -f conf$$ conf$$.exe conf$$.file
21740 if test -d conf$$.dir; then
21741 rm -f conf$$.dir/conf$$.file
21742 else
21743 rm -f conf$$.dir
21744 mkdir conf$$.dir 2>/dev/null
21746 if (echo >conf$$.file) 2>/dev/null; then
21747 if ln -s conf$$.file conf$$ 2>/dev/null; then
21748 as_ln_s='ln -s'
21749 # ... but there are two gotchas:
21750 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21751 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21752 # In both cases, we have to default to `cp -pR'.
21753 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21754 as_ln_s='cp -pR'
21755 elif ln conf$$.file conf$$ 2>/dev/null; then
21756 as_ln_s=ln
21757 else
21758 as_ln_s='cp -pR'
21760 else
21761 as_ln_s='cp -pR'
21763 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21764 rmdir conf$$.dir 2>/dev/null
21767 # as_fn_mkdir_p
21768 # -------------
21769 # Create "$as_dir" as a directory, including parents if necessary.
21770 as_fn_mkdir_p ()
21773 case $as_dir in #(
21774 -*) as_dir=./$as_dir;;
21775 esac
21776 test -d "$as_dir" || eval $as_mkdir_p || {
21777 as_dirs=
21778 while :; do
21779 case $as_dir in #(
21780 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21781 *) as_qdir=$as_dir;;
21782 esac
21783 as_dirs="'$as_qdir' $as_dirs"
21784 as_dir=`$as_dirname -- "$as_dir" ||
21785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21786 X"$as_dir" : 'X\(//\)[^/]' \| \
21787 X"$as_dir" : 'X\(//\)$' \| \
21788 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21789 $as_echo X"$as_dir" |
21790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21791 s//\1/
21794 /^X\(\/\/\)[^/].*/{
21795 s//\1/
21798 /^X\(\/\/\)$/{
21799 s//\1/
21802 /^X\(\/\).*/{
21803 s//\1/
21806 s/.*/./; q'`
21807 test -d "$as_dir" && break
21808 done
21809 test -z "$as_dirs" || eval "mkdir $as_dirs"
21810 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21813 } # as_fn_mkdir_p
21814 if mkdir -p . 2>/dev/null; then
21815 as_mkdir_p='mkdir -p "$as_dir"'
21816 else
21817 test -d ./-p && rmdir ./-p
21818 as_mkdir_p=false
21822 # as_fn_executable_p FILE
21823 # -----------------------
21824 # Test if FILE is an executable regular file.
21825 as_fn_executable_p ()
21827 test -f "$1" && test -x "$1"
21828 } # as_fn_executable_p
21829 as_test_x='test -x'
21830 as_executable_p=as_fn_executable_p
21832 # Sed expression to map a string onto a valid CPP name.
21833 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21835 # Sed expression to map a string onto a valid variable name.
21836 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21839 exec 6>&1
21840 ## ----------------------------------- ##
21841 ## Main body of $CONFIG_STATUS script. ##
21842 ## ----------------------------------- ##
21843 _ASEOF
21844 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21847 # Save the log message, to keep $0 and so on meaningful, and to
21848 # report actual input values of CONFIG_FILES etc. instead of their
21849 # values after options handling.
21850 ac_log="
21851 This file was extended by Wine $as_me 5.1, which was
21852 generated by GNU Autoconf 2.69. Invocation command line was
21854 CONFIG_FILES = $CONFIG_FILES
21855 CONFIG_HEADERS = $CONFIG_HEADERS
21856 CONFIG_LINKS = $CONFIG_LINKS
21857 CONFIG_COMMANDS = $CONFIG_COMMANDS
21858 $ $0 $@
21860 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21863 _ACEOF
21865 case $ac_config_files in *"
21866 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21867 esac
21869 case $ac_config_headers in *"
21870 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21871 esac
21874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21875 # Files that config.status was made for.
21876 config_files="$ac_config_files"
21877 config_headers="$ac_config_headers"
21878 config_links="$ac_config_links"
21879 config_commands="$ac_config_commands"
21881 _ACEOF
21883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21884 ac_cs_usage="\
21885 \`$as_me' instantiates files and other configuration actions
21886 from templates according to the current configuration. Unless the files
21887 and actions are specified as TAGs, all are instantiated by default.
21889 Usage: $0 [OPTION]... [TAG]...
21891 -h, --help print this help, then exit
21892 -V, --version print version number and configuration settings, then exit
21893 --config print configuration, then exit
21894 -q, --quiet, --silent
21895 do not print progress messages
21896 -d, --debug don't remove temporary files
21897 --recheck update $as_me by reconfiguring in the same conditions
21898 --file=FILE[:TEMPLATE]
21899 instantiate the configuration file FILE
21900 --header=FILE[:TEMPLATE]
21901 instantiate the configuration header FILE
21903 Configuration files:
21904 $config_files
21906 Configuration headers:
21907 $config_headers
21909 Configuration links:
21910 $config_links
21912 Configuration commands:
21913 $config_commands
21915 Report bugs to <wine-devel@winehq.org>.
21916 Wine home page: <https://www.winehq.org>."
21918 _ACEOF
21919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21920 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21921 ac_cs_version="\\
21922 Wine config.status 5.1
21923 configured by $0, generated by GNU Autoconf 2.69,
21924 with options \\"\$ac_cs_config\\"
21926 Copyright (C) 2012 Free Software Foundation, Inc.
21927 This config.status script is free software; the Free Software Foundation
21928 gives unlimited permission to copy, distribute and modify it."
21930 ac_pwd='$ac_pwd'
21931 srcdir='$srcdir'
21932 test -n "\$AWK" || AWK=awk
21933 _ACEOF
21935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21936 # The default lists apply if the user does not specify any file.
21937 ac_need_defaults=:
21938 while test $# != 0
21940 case $1 in
21941 --*=?*)
21942 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21943 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21944 ac_shift=:
21946 --*=)
21947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21948 ac_optarg=
21949 ac_shift=:
21952 ac_option=$1
21953 ac_optarg=$2
21954 ac_shift=shift
21956 esac
21958 case $ac_option in
21959 # Handling of the options.
21960 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21961 ac_cs_recheck=: ;;
21962 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21963 $as_echo "$ac_cs_version"; exit ;;
21964 --config | --confi | --conf | --con | --co | --c )
21965 $as_echo "$ac_cs_config"; exit ;;
21966 --debug | --debu | --deb | --de | --d | -d )
21967 debug=: ;;
21968 --file | --fil | --fi | --f )
21969 $ac_shift
21970 case $ac_optarg in
21971 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21972 '') as_fn_error $? "missing file argument" ;;
21973 esac
21974 as_fn_append CONFIG_FILES " '$ac_optarg'"
21975 ac_need_defaults=false;;
21976 --header | --heade | --head | --hea )
21977 $ac_shift
21978 case $ac_optarg in
21979 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21980 esac
21981 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21982 ac_need_defaults=false;;
21983 --he | --h)
21984 # Conflict between --help and --header
21985 as_fn_error $? "ambiguous option: \`$1'
21986 Try \`$0 --help' for more information.";;
21987 --help | --hel | -h )
21988 $as_echo "$ac_cs_usage"; exit ;;
21989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21990 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21991 ac_cs_silent=: ;;
21993 # This is an error.
21994 -*) as_fn_error $? "unrecognized option: \`$1'
21995 Try \`$0 --help' for more information." ;;
21997 *) as_fn_append ac_config_targets " $1"
21998 ac_need_defaults=false ;;
22000 esac
22001 shift
22002 done
22004 ac_configure_extra_args=
22006 if $ac_cs_silent; then
22007 exec 6>/dev/null
22008 ac_configure_extra_args="$ac_configure_extra_args --silent"
22011 _ACEOF
22012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22013 if \$ac_cs_recheck; then
22014 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22015 shift
22016 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22017 CONFIG_SHELL='$SHELL'
22018 export CONFIG_SHELL
22019 exec "\$@"
22022 _ACEOF
22023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22024 exec 5>>config.log
22026 echo
22027 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22028 ## Running $as_me. ##
22029 _ASBOX
22030 $as_echo "$ac_log"
22031 } >&5
22033 _ACEOF
22034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22036 # INIT-COMMANDS
22038 wine_fn_output_makedep ()
22040 as_dir=tools; as_fn_mkdir_p
22041 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22043 wine_fn_output_makefile ()
22045 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22046 `cat $wine_rules_file`
22047 _WINE_EOF
22048 as_fn_error $? "could not create Makefile" "$LINENO" 5
22051 _ACEOF
22053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22055 # Handling of arguments.
22056 for ac_config_target in $ac_config_targets
22058 case $ac_config_target in
22059 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22060 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22061 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22062 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22063 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22064 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22065 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22067 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22068 esac
22069 done
22072 # If the user did not use the arguments to specify the items to instantiate,
22073 # then the envvar interface is used. Set only those that are not.
22074 # We use the long form for the default assignment because of an extremely
22075 # bizarre bug on SunOS 4.1.3.
22076 if $ac_need_defaults; then
22077 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22078 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22079 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22080 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22083 # Have a temporary directory for convenience. Make it in the build tree
22084 # simply because there is no reason against having it here, and in addition,
22085 # creating and moving files from /tmp can sometimes cause problems.
22086 # Hook for its removal unless debugging.
22087 # Note that there is a small window in which the directory will not be cleaned:
22088 # after its creation but before its name has been assigned to `$tmp'.
22089 $debug ||
22091 tmp= ac_tmp=
22092 trap 'exit_status=$?
22093 : "${ac_tmp:=$tmp}"
22094 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22096 trap 'as_fn_exit 1' 1 2 13 15
22098 # Create a (secure) tmp directory for tmp files.
22101 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22102 test -d "$tmp"
22103 } ||
22105 tmp=./conf$$-$RANDOM
22106 (umask 077 && mkdir "$tmp")
22107 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22108 ac_tmp=$tmp
22110 # Set up the scripts for CONFIG_FILES section.
22111 # No need to generate them if there are no CONFIG_FILES.
22112 # This happens for instance with `./config.status config.h'.
22113 if test -n "$CONFIG_FILES"; then
22116 ac_cr=`echo X | tr X '\015'`
22117 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22118 # But we know of no other shell where ac_cr would be empty at this
22119 # point, so we can use a bashism as a fallback.
22120 if test "x$ac_cr" = x; then
22121 eval ac_cr=\$\'\\r\'
22123 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22124 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22125 ac_cs_awk_cr='\\r'
22126 else
22127 ac_cs_awk_cr=$ac_cr
22130 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22131 _ACEOF
22135 echo "cat >conf$$subs.awk <<_ACEOF" &&
22136 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22137 echo "_ACEOF"
22138 } >conf$$subs.sh ||
22139 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22140 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22141 ac_delim='%!_!# '
22142 for ac_last_try in false false false false false :; do
22143 . ./conf$$subs.sh ||
22144 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22146 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22147 if test $ac_delim_n = $ac_delim_num; then
22148 break
22149 elif $ac_last_try; then
22150 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22151 else
22152 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22154 done
22155 rm -f conf$$subs.sh
22157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22158 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22159 _ACEOF
22160 sed -n '
22162 s/^/S["/; s/!.*/"]=/
22165 s/^[^!]*!//
22166 :repl
22167 t repl
22168 s/'"$ac_delim"'$//
22169 t delim
22172 s/\(.\{148\}\)..*/\1/
22173 t more1
22174 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22177 b repl
22178 :more1
22179 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22182 s/.\{148\}//
22183 t nl
22184 :delim
22186 s/\(.\{148\}\)..*/\1/
22187 t more2
22188 s/["\\]/\\&/g; s/^/"/; s/$/"/
22191 :more2
22192 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22195 s/.\{148\}//
22196 t delim
22197 ' <conf$$subs.awk | sed '
22198 /^[^""]/{
22200 s/\n//
22202 ' >>$CONFIG_STATUS || ac_write_fail=1
22203 rm -f conf$$subs.awk
22204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22205 _ACAWK
22206 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22207 for (key in S) S_is_set[key] = 1
22208 FS = "\a"
22212 line = $ 0
22213 nfields = split(line, field, "@")
22214 substed = 0
22215 len = length(field[1])
22216 for (i = 2; i < nfields; i++) {
22217 key = field[i]
22218 keylen = length(key)
22219 if (S_is_set[key]) {
22220 value = S[key]
22221 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22222 len += length(value) + length(field[++i])
22223 substed = 1
22224 } else
22225 len += 1 + keylen
22228 print line
22231 _ACAWK
22232 _ACEOF
22233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22234 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22235 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22236 else
22238 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22239 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22240 _ACEOF
22242 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22243 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22244 # trailing colons and then remove the whole line if VPATH becomes empty
22245 # (actually we leave an empty line to preserve line numbers).
22246 if test "x$srcdir" = x.; then
22247 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22249 s///
22250 s/^/:/
22251 s/[ ]*$/:/
22252 s/:\$(srcdir):/:/g
22253 s/:\${srcdir}:/:/g
22254 s/:@srcdir@:/:/g
22255 s/^:*//
22256 s/:*$//
22258 s/\(=[ ]*\).*/\1/
22260 s/\n//
22261 s/^[^=]*=[ ]*$//
22265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22266 fi # test -n "$CONFIG_FILES"
22268 # Set up the scripts for CONFIG_HEADERS section.
22269 # No need to generate them if there are no CONFIG_HEADERS.
22270 # This happens for instance with `./config.status Makefile'.
22271 if test -n "$CONFIG_HEADERS"; then
22272 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22273 BEGIN {
22274 _ACEOF
22276 # Transform confdefs.h into an awk script `defines.awk', embedded as
22277 # here-document in config.status, that substitutes the proper values into
22278 # config.h.in to produce config.h.
22280 # Create a delimiter string that does not exist in confdefs.h, to ease
22281 # handling of long lines.
22282 ac_delim='%!_!# '
22283 for ac_last_try in false false :; do
22284 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22285 if test -z "$ac_tt"; then
22286 break
22287 elif $ac_last_try; then
22288 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22289 else
22290 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22292 done
22294 # For the awk script, D is an array of macro values keyed by name,
22295 # likewise P contains macro parameters if any. Preserve backslash
22296 # newline sequences.
22298 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22299 sed -n '
22300 s/.\{148\}/&'"$ac_delim"'/g
22301 t rset
22302 :rset
22303 s/^[ ]*#[ ]*define[ ][ ]*/ /
22304 t def
22306 :def
22307 s/\\$//
22308 t bsnl
22309 s/["\\]/\\&/g
22310 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22311 D["\1"]=" \3"/p
22312 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22314 :bsnl
22315 s/["\\]/\\&/g
22316 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22317 D["\1"]=" \3\\\\\\n"\\/p
22318 t cont
22319 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22320 t cont
22322 :cont
22324 s/.\{148\}/&'"$ac_delim"'/g
22325 t clear
22326 :clear
22327 s/\\$//
22328 t bsnlc
22329 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22331 :bsnlc
22332 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22333 b cont
22334 ' <confdefs.h | sed '
22335 s/'"$ac_delim"'/"\\\
22336 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22339 for (key in D) D_is_set[key] = 1
22340 FS = "\a"
22342 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22343 line = \$ 0
22344 split(line, arg, " ")
22345 if (arg[1] == "#") {
22346 defundef = arg[2]
22347 mac1 = arg[3]
22348 } else {
22349 defundef = substr(arg[1], 2)
22350 mac1 = arg[2]
22352 split(mac1, mac2, "(") #)
22353 macro = mac2[1]
22354 prefix = substr(line, 1, index(line, defundef) - 1)
22355 if (D_is_set[macro]) {
22356 # Preserve the white space surrounding the "#".
22357 print prefix "define", macro P[macro] D[macro]
22358 next
22359 } else {
22360 # Replace #undef with comments. This is necessary, for example,
22361 # in the case of _POSIX_SOURCE, which is predefined and required
22362 # on some systems where configure will not decide to define it.
22363 if (defundef == "undef") {
22364 print "/*", prefix defundef, macro, "*/"
22365 next
22369 { print }
22370 _ACAWK
22371 _ACEOF
22372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22373 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22374 fi # test -n "$CONFIG_HEADERS"
22377 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22378 shift
22379 for ac_tag
22381 case $ac_tag in
22382 :[FHLC]) ac_mode=$ac_tag; continue;;
22383 esac
22384 case $ac_mode$ac_tag in
22385 :[FHL]*:*);;
22386 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22387 :[FH]-) ac_tag=-:-;;
22388 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22389 esac
22390 ac_save_IFS=$IFS
22391 IFS=:
22392 set x $ac_tag
22393 IFS=$ac_save_IFS
22394 shift
22395 ac_file=$1
22396 shift
22398 case $ac_mode in
22399 :L) ac_source=$1;;
22400 :[FH])
22401 ac_file_inputs=
22402 for ac_f
22404 case $ac_f in
22405 -) ac_f="$ac_tmp/stdin";;
22406 *) # Look for the file first in the build tree, then in the source tree
22407 # (if the path is not absolute). The absolute path cannot be DOS-style,
22408 # because $ac_f cannot contain `:'.
22409 test -f "$ac_f" ||
22410 case $ac_f in
22411 [\\/$]*) false;;
22412 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22413 esac ||
22414 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22415 esac
22416 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22417 as_fn_append ac_file_inputs " '$ac_f'"
22418 done
22420 # Let's still pretend it is `configure' which instantiates (i.e., don't
22421 # use $as_me), people would be surprised to read:
22422 # /* config.h. Generated by config.status. */
22423 configure_input='Generated from '`
22424 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22425 `' by configure.'
22426 if test x"$ac_file" != x-; then
22427 configure_input="$ac_file. $configure_input"
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22429 $as_echo "$as_me: creating $ac_file" >&6;}
22431 # Neutralize special characters interpreted by sed in replacement strings.
22432 case $configure_input in #(
22433 *\&* | *\|* | *\\* )
22434 ac_sed_conf_input=`$as_echo "$configure_input" |
22435 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22436 *) ac_sed_conf_input=$configure_input;;
22437 esac
22439 case $ac_tag in
22440 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22442 esac
22444 esac
22446 ac_dir=`$as_dirname -- "$ac_file" ||
22447 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22448 X"$ac_file" : 'X\(//\)[^/]' \| \
22449 X"$ac_file" : 'X\(//\)$' \| \
22450 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22451 $as_echo X"$ac_file" |
22452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22453 s//\1/
22456 /^X\(\/\/\)[^/].*/{
22457 s//\1/
22460 /^X\(\/\/\)$/{
22461 s//\1/
22464 /^X\(\/\).*/{
22465 s//\1/
22468 s/.*/./; q'`
22469 as_dir="$ac_dir"; as_fn_mkdir_p
22470 ac_builddir=.
22472 case "$ac_dir" in
22473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22475 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22476 # A ".." for each directory in $ac_dir_suffix.
22477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22478 case $ac_top_builddir_sub in
22479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22481 esac ;;
22482 esac
22483 ac_abs_top_builddir=$ac_pwd
22484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22485 # for backward compatibility:
22486 ac_top_builddir=$ac_top_build_prefix
22488 case $srcdir in
22489 .) # We are building in place.
22490 ac_srcdir=.
22491 ac_top_srcdir=$ac_top_builddir_sub
22492 ac_abs_top_srcdir=$ac_pwd ;;
22493 [\\/]* | ?:[\\/]* ) # Absolute name.
22494 ac_srcdir=$srcdir$ac_dir_suffix;
22495 ac_top_srcdir=$srcdir
22496 ac_abs_top_srcdir=$srcdir ;;
22497 *) # Relative name.
22498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22499 ac_top_srcdir=$ac_top_build_prefix$srcdir
22500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22501 esac
22502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22505 case $ac_mode in
22508 # CONFIG_FILE
22511 _ACEOF
22513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22514 # If the template does not know about datarootdir, expand it.
22515 # FIXME: This hack should be removed a few years after 2.60.
22516 ac_datarootdir_hack=; ac_datarootdir_seen=
22517 ac_sed_dataroot='
22518 /datarootdir/ {
22522 /@datadir@/p
22523 /@docdir@/p
22524 /@infodir@/p
22525 /@localedir@/p
22526 /@mandir@/p'
22527 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22528 *datarootdir*) ac_datarootdir_seen=yes;;
22529 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22531 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22532 _ACEOF
22533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22534 ac_datarootdir_hack='
22535 s&@datadir@&$datadir&g
22536 s&@docdir@&$docdir&g
22537 s&@infodir@&$infodir&g
22538 s&@localedir@&$localedir&g
22539 s&@mandir@&$mandir&g
22540 s&\\\${datarootdir}&$datarootdir&g' ;;
22541 esac
22542 _ACEOF
22544 # Neutralize VPATH when `$srcdir' = `.'.
22545 # Shell code in configure.ac might set extrasub.
22546 # FIXME: do we really want to maintain this feature?
22547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22548 ac_sed_extra="$ac_vpsub
22549 $extrasub
22550 _ACEOF
22551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22554 s|@configure_input@|$ac_sed_conf_input|;t t
22555 s&@top_builddir@&$ac_top_builddir_sub&;t t
22556 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22557 s&@srcdir@&$ac_srcdir&;t t
22558 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22559 s&@top_srcdir@&$ac_top_srcdir&;t t
22560 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22561 s&@builddir@&$ac_builddir&;t t
22562 s&@abs_builddir@&$ac_abs_builddir&;t t
22563 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22564 $ac_datarootdir_hack
22566 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22567 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22569 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22570 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22571 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22572 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22574 which seems to be undefined. Please make sure it is defined" >&5
22575 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22576 which seems to be undefined. Please make sure it is defined" >&2;}
22578 rm -f "$ac_tmp/stdin"
22579 case $ac_file in
22580 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22581 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22582 esac \
22583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22587 # CONFIG_HEADER
22589 if test x"$ac_file" != x-; then
22591 $as_echo "/* $configure_input */" \
22592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22593 } >"$ac_tmp/config.h" \
22594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22595 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22597 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22598 else
22599 rm -f "$ac_file"
22600 mv "$ac_tmp/config.h" "$ac_file" \
22601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22603 else
22604 $as_echo "/* $configure_input */" \
22605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22606 || as_fn_error $? "could not create -" "$LINENO" 5
22611 # CONFIG_LINK
22614 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22616 else
22617 # Prefer the file from the source tree if names are identical.
22618 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22619 ac_source=$srcdir/$ac_source
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22623 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22625 if test ! -r "$ac_source"; then
22626 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22628 rm -f "$ac_file"
22630 # Try a relative symlink, then a hard link, then a copy.
22631 case $ac_source in
22632 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22633 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22634 esac
22635 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22636 ln "$ac_source" "$ac_file" 2>/dev/null ||
22637 cp -p "$ac_source" "$ac_file" ||
22638 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22641 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22642 $as_echo "$as_me: executing $ac_file commands" >&6;}
22644 esac
22647 case $ac_file$ac_mode in
22648 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22649 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22650 "Makefile":C) wine_fn_output_makefile Makefile ;;
22652 esac
22653 done # for ac_tag
22656 as_fn_exit 0
22657 _ACEOF
22658 ac_clean_files=$ac_clean_files_save
22660 test $ac_write_fail = 0 ||
22661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22664 # configure is writing to config.log, and then calls config.status.
22665 # config.status does its own redirection, appending to config.log.
22666 # Unfortunately, on DOS this fails, as config.log is still kept open
22667 # by configure, so config.status won't be able to write to it; its
22668 # output is simply discarded. So we exec the FD to /dev/null,
22669 # effectively closing config.log, so it can be properly (re)opened and
22670 # appended to by config.status. When coming back to configure, we
22671 # need to make the FD available again.
22672 if test "$no_create" != yes; then
22673 ac_cs_success=:
22674 ac_config_status_args=
22675 test "$silent" = yes &&
22676 ac_config_status_args="$ac_config_status_args --quiet"
22677 exec 5>/dev/null
22678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22679 exec 5>>config.log
22680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22681 # would make configure fail if this is the last instruction.
22682 $ac_cs_success || as_fn_exit 1
22684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22686 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22690 if test "$no_create" = "yes"
22691 then
22692 exit 0
22695 ac_save_IFS="$IFS"
22696 if test "x$wine_notices" != x; then
22697 echo >&6
22698 IFS="|"
22699 for msg in $wine_notices; do
22700 IFS="$ac_save_IFS"
22701 if ${msg:+false} :; then :
22703 else
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22705 $as_echo "$as_me: $msg" >&6;}
22707 done
22709 IFS="|"
22710 for msg in $wine_warnings; do
22711 IFS="$ac_save_IFS"
22712 if ${msg:+false} :; then :
22714 else
22715 echo >&2
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22717 $as_echo "$as_me: WARNING: $msg" >&2;}
22719 done
22720 IFS="$ac_save_IFS"
22722 $as_echo "
22723 $as_me: Finished. Do '${ac_make}' to compile Wine.
22724 " >&6