amstream: Implement MediaStreamFilter::GetState.
[wine.git] / configure
bloba56bf17bc4f4b636f4f01e11b87aeb67d72466f3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.4.
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.4'
584 PACKAGE_STRING='Wine 5.4'
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 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_zlib
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dswave
1271 enable_dwmapi
1272 enable_dwrite
1273 enable_dx8vb
1274 enable_dxdiagn
1275 enable_dxerr8
1276 enable_dxerr9
1277 enable_dxgi
1278 enable_dxguid
1279 enable_dxva2
1280 enable_esent
1281 enable_evr
1282 enable_explorerframe
1283 enable_ext_ms_win_authz_context_l1_1_0
1284 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1285 enable_ext_ms_win_dwmapi_ext_l1_1_0
1286 enable_ext_ms_win_gdi_dc_create_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_1
1288 enable_ext_ms_win_gdi_dc_l1_2_0
1289 enable_ext_ms_win_gdi_devcaps_l1_1_0
1290 enable_ext_ms_win_gdi_draw_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_1
1292 enable_ext_ms_win_gdi_font_l1_1_0
1293 enable_ext_ms_win_gdi_font_l1_1_1
1294 enable_ext_ms_win_gdi_render_l1_1_0
1295 enable_ext_ms_win_kernel32_package_current_l1_1_0
1296 enable_ext_ms_win_kernel32_package_l1_1_1
1297 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1298 enable_ext_ms_win_ntuser_draw_l1_1_0
1299 enable_ext_ms_win_ntuser_gui_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_3_0
1301 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1302 enable_ext_ms_win_ntuser_message_l1_1_0
1303 enable_ext_ms_win_ntuser_message_l1_1_1
1304 enable_ext_ms_win_ntuser_misc_l1_1_0
1305 enable_ext_ms_win_ntuser_misc_l1_2_0
1306 enable_ext_ms_win_ntuser_misc_l1_5_1
1307 enable_ext_ms_win_ntuser_mouse_l1_1_0
1308 enable_ext_ms_win_ntuser_private_l1_1_1
1309 enable_ext_ms_win_ntuser_private_l1_3_1
1310 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1311 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_window_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_1
1314 enable_ext_ms_win_ntuser_window_l1_1_4
1315 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1317 enable_ext_ms_win_oleacc_l1_1_0
1318 enable_ext_ms_win_ras_rasapi32_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1326 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1329 enable_ext_ms_win_security_credui_l1_1_0
1330 enable_ext_ms_win_security_cryptui_l1_1_0
1331 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1332 enable_ext_ms_win_shell_comdlg32_l1_1_0
1333 enable_ext_ms_win_shell_shell32_l1_2_0
1334 enable_ext_ms_win_uxtheme_themes_l1_1_0
1335 enable_faultrep
1336 enable_feclient
1337 enable_fltlib
1338 enable_fltmgr_sys
1339 enable_fntcache
1340 enable_fontsub
1341 enable_fusion
1342 enable_fwpuclnt
1343 enable_gameux
1344 enable_gdi32
1345 enable_gdiplus
1346 enable_glu32
1347 enable_gphoto2_ds
1348 enable_gpkcsp
1349 enable_hal
1350 enable_hhctrl_ocx
1351 enable_hid
1352 enable_hidclass_sys
1353 enable_hlink
1354 enable_hnetcfg
1355 enable_http_sys
1356 enable_httpapi
1357 enable_iccvid
1358 enable_icmp
1359 enable_ieframe
1360 enable_ieproxy
1361 enable_imaadp32_acm
1362 enable_imagehlp
1363 enable_imm32
1364 enable_inetcomm
1365 enable_inetcpl_cpl
1366 enable_inetmib1
1367 enable_infosoft
1368 enable_initpki
1369 enable_inkobj
1370 enable_inseng
1371 enable_iphlpapi
1372 enable_iprop
1373 enable_irprops_cpl
1374 enable_itircl
1375 enable_itss
1376 enable_joy_cpl
1377 enable_jscript
1378 enable_jsproxy
1379 enable_kerberos
1380 enable_kernel32
1381 enable_kernelbase
1382 enable_ksecdd_sys
1383 enable_ksuser
1384 enable_ktmw32
1385 enable_l3codeca_acm
1386 enable_loadperf
1387 enable_localspl
1388 enable_localui
1389 enable_lz32
1390 enable_mapi32
1391 enable_mapistub
1392 enable_mciavi32
1393 enable_mcicda
1394 enable_mciqtz32
1395 enable_mciseq
1396 enable_mciwave
1397 enable_mf
1398 enable_mf3216
1399 enable_mferror
1400 enable_mfmediaengine
1401 enable_mfplat
1402 enable_mfplay
1403 enable_mfreadwrite
1404 enable_mfuuid
1405 enable_mgmtapi
1406 enable_midimap
1407 enable_mlang
1408 enable_mmcndmgr
1409 enable_mmdevapi
1410 enable_mountmgr_sys
1411 enable_mp3dmod
1412 enable_mpr
1413 enable_mprapi
1414 enable_msacm32_drv
1415 enable_msacm32
1416 enable_msado15
1417 enable_msadp32_acm
1418 enable_msasn1
1419 enable_mscat32
1420 enable_mscms
1421 enable_mscoree
1422 enable_mscorwks
1423 enable_msctf
1424 enable_msctfp
1425 enable_msdaps
1426 enable_msdelta
1427 enable_msdmo
1428 enable_msdrm
1429 enable_msftedit
1430 enable_msg711_acm
1431 enable_msgsm32_acm
1432 enable_mshtml_tlb
1433 enable_mshtml
1434 enable_msi
1435 enable_msident
1436 enable_msimg32
1437 enable_msimsg
1438 enable_msimtf
1439 enable_msisip
1440 enable_msisys_ocx
1441 enable_msls31
1442 enable_msnet32
1443 enable_mspatcha
1444 enable_msports
1445 enable_msrle32
1446 enable_msscript_ocx
1447 enable_mssign32
1448 enable_mssip32
1449 enable_mstask
1450 enable_msvcirt
1451 enable_msvcm80
1452 enable_msvcm90
1453 enable_msvcp100
1454 enable_msvcp110
1455 enable_msvcp120
1456 enable_msvcp120_app
1457 enable_msvcp140
1458 enable_msvcp60
1459 enable_msvcp70
1460 enable_msvcp71
1461 enable_msvcp80
1462 enable_msvcp90
1463 enable_msvcr100
1464 enable_msvcr110
1465 enable_msvcr120
1466 enable_msvcr120_app
1467 enable_msvcr70
1468 enable_msvcr71
1469 enable_msvcr80
1470 enable_msvcr90
1471 enable_msvcrt
1472 enable_msvcrt20
1473 enable_msvcrt40
1474 enable_msvcrtd
1475 enable_msvfw32
1476 enable_msvidc32
1477 enable_mswsock
1478 enable_msxml
1479 enable_msxml2
1480 enable_msxml3
1481 enable_msxml4
1482 enable_msxml6
1483 enable_mtxdm
1484 enable_ncrypt
1485 enable_nddeapi
1486 enable_ndis_sys
1487 enable_netapi32
1488 enable_netcfgx
1489 enable_netprofm
1490 enable_newdev
1491 enable_ninput
1492 enable_normaliz
1493 enable_npmshtml
1494 enable_npptools
1495 enable_ntdll
1496 enable_ntdsapi
1497 enable_ntoskrnl_exe
1498 enable_ntprint
1499 enable_objsel
1500 enable_odbc32
1501 enable_odbcbcp
1502 enable_odbccp32
1503 enable_odbccu32
1504 enable_ole32
1505 enable_oleacc
1506 enable_oleaut32
1507 enable_olecli32
1508 enable_oledb32
1509 enable_oledlg
1510 enable_olepro32
1511 enable_olesvr32
1512 enable_olethk32
1513 enable_opcservices
1514 enable_openal32
1515 enable_opencl
1516 enable_opengl32
1517 enable_packager
1518 enable_pdh
1519 enable_photometadatahandler
1520 enable_pidgen
1521 enable_powrprof
1522 enable_printui
1523 enable_prntvpt
1524 enable_propsys
1525 enable_psapi
1526 enable_pstorec
1527 enable_qasf
1528 enable_qcap
1529 enable_qedit
1530 enable_qmgr
1531 enable_qmgrprxy
1532 enable_quartz
1533 enable_query
1534 enable_qwave
1535 enable_rasapi32
1536 enable_rasdlg
1537 enable_regapi
1538 enable_resutils
1539 enable_riched20
1540 enable_riched32
1541 enable_rpcrt4
1542 enable_rsabase
1543 enable_rsaenh
1544 enable_rstrtmgr
1545 enable_rtutils
1546 enable_rtworkq
1547 enable_samlib
1548 enable_sane_ds
1549 enable_sapi
1550 enable_sas
1551 enable_scarddlg
1552 enable_sccbase
1553 enable_schannel
1554 enable_schedsvc
1555 enable_scrobj
1556 enable_scrrun
1557 enable_scsiport_sys
1558 enable_secur32
1559 enable_security
1560 enable_sensapi
1561 enable_serialui
1562 enable_setupapi
1563 enable_sfc
1564 enable_sfc_os
1565 enable_shcore
1566 enable_shdoclc
1567 enable_shdocvw
1568 enable_shell32
1569 enable_shfolder
1570 enable_shlwapi
1571 enable_slbcsp
1572 enable_slc
1573 enable_snmpapi
1574 enable_softpub
1575 enable_spoolss
1576 enable_srclient
1577 enable_sspicli
1578 enable_stdole2_tlb
1579 enable_stdole32_tlb
1580 enable_sti
1581 enable_strmbase
1582 enable_strmdll
1583 enable_strmiids
1584 enable_svrapi
1585 enable_sxs
1586 enable_t2embed
1587 enable_tapi32
1588 enable_taskschd
1589 enable_tdh
1590 enable_tdi_sys
1591 enable_traffic
1592 enable_twain_32
1593 enable_tzres
1594 enable_ucrtbase
1595 enable_uianimation
1596 enable_uiautomationcore
1597 enable_uiribbon
1598 enable_unicows
1599 enable_updspapi
1600 enable_url
1601 enable_urlmon
1602 enable_usbd_sys
1603 enable_user32
1604 enable_userenv
1605 enable_usp10
1606 enable_utildll
1607 enable_uuid
1608 enable_uxtheme
1609 enable_vbscript
1610 enable_vcomp
1611 enable_vcomp100
1612 enable_vcomp110
1613 enable_vcomp120
1614 enable_vcomp140
1615 enable_vcomp90
1616 enable_vcruntime140
1617 enable_vcruntime140_1
1618 enable_vdmdbg
1619 enable_version
1620 enable_vga
1621 enable_virtdisk
1622 enable_vssapi
1623 enable_vulkan_1
1624 enable_wbemdisp
1625 enable_wbemprox
1626 enable_wbemuuid
1627 enable_wdscore
1628 enable_webservices
1629 enable_wer
1630 enable_wevtapi
1631 enable_wiaservc
1632 enable_wimgapi
1633 enable_windowscodecs
1634 enable_windowscodecsext
1635 enable_winealsa_drv
1636 enable_wineandroid_drv
1637 enable_winebus_sys
1638 enable_winecoreaudio_drv
1639 enable_winecrt0
1640 enable_wined3d
1641 enable_winegstreamer
1642 enable_winehid_sys
1643 enable_winejoystick_drv
1644 enable_winemac_drv
1645 enable_winemapi
1646 enable_wineoss_drv
1647 enable_wineps_drv
1648 enable_winepulse_drv
1649 enable_wineqtdecoder
1650 enable_winevulkan
1651 enable_winex11_drv
1652 enable_wing32
1653 enable_winhttp
1654 enable_wininet
1655 enable_winmm
1656 enable_winnls32
1657 enable_winscard
1658 enable_winspool_drv
1659 enable_winsta
1660 enable_wintab32
1661 enable_wintrust
1662 enable_winusb
1663 enable_wlanapi
1664 enable_wlanui
1665 enable_wldap32
1666 enable_wmasf
1667 enable_wmcodecdspuuid
1668 enable_wmi
1669 enable_wmiutils
1670 enable_wmp
1671 enable_wmphoto
1672 enable_wmvcore
1673 enable_wnaspi32
1674 enable_wpc
1675 enable_wpcap
1676 enable_ws2_32
1677 enable_wsdapi
1678 enable_wshom_ocx
1679 enable_wsnmp32
1680 enable_wsock32
1681 enable_wtsapi32
1682 enable_wuapi
1683 enable_wuaueng
1684 enable_x3daudio1_0
1685 enable_x3daudio1_1
1686 enable_x3daudio1_2
1687 enable_x3daudio1_3
1688 enable_x3daudio1_4
1689 enable_x3daudio1_5
1690 enable_x3daudio1_6
1691 enable_x3daudio1_7
1692 enable_xapofx1_1
1693 enable_xapofx1_2
1694 enable_xapofx1_3
1695 enable_xapofx1_4
1696 enable_xapofx1_5
1697 enable_xaudio2_0
1698 enable_xaudio2_1
1699 enable_xaudio2_2
1700 enable_xaudio2_3
1701 enable_xaudio2_4
1702 enable_xaudio2_5
1703 enable_xaudio2_6
1704 enable_xaudio2_7
1705 enable_xaudio2_8
1706 enable_xaudio2_9
1707 enable_xinput1_1
1708 enable_xinput1_2
1709 enable_xinput1_3
1710 enable_xinput1_4
1711 enable_xinput9_1_0
1712 enable_xmllite
1713 enable_xolehlp
1714 enable_xpsprint
1715 enable_xpssvcs
1716 enable_fonts
1717 enable_include
1718 enable_port
1719 enable_wine
1720 enable_wpp
1721 enable_loader
1722 enable_nls
1723 enable_po
1724 enable_arp
1725 enable_aspnet_regiis
1726 enable_attrib
1727 enable_cabarc
1728 enable_cacls
1729 enable_chcp_com
1730 enable_clock
1731 enable_cmd
1732 enable_conhost
1733 enable_control
1734 enable_cscript
1735 enable_dism
1736 enable_dpnsvr
1737 enable_dxdiag
1738 enable_eject
1739 enable_expand
1740 enable_explorer
1741 enable_extrac32
1742 enable_fc
1743 enable_find
1744 enable_findstr
1745 enable_fsutil
1746 enable_hh
1747 enable_hostname
1748 enable_icacls
1749 enable_icinfo
1750 enable_iexplore
1751 enable_ipconfig
1752 enable_lodctr
1753 enable_mofcomp
1754 enable_mshta
1755 enable_msidb
1756 enable_msiexec
1757 enable_msinfo32
1758 enable_net
1759 enable_netsh
1760 enable_netstat
1761 enable_ngen
1762 enable_notepad
1763 enable_oleview
1764 enable_ping
1765 enable_plugplay
1766 enable_powershell
1767 enable_presentationfontcache
1768 enable_progman
1769 enable_reg
1770 enable_regasm
1771 enable_regedit
1772 enable_regini
1773 enable_regsvcs
1774 enable_regsvr32
1775 enable_rpcss
1776 enable_rundll32
1777 enable_sc
1778 enable_schtasks
1779 enable_sdbinst
1780 enable_secedit
1781 enable_servicemodelreg
1782 enable_services
1783 enable_shutdown
1784 enable_spoolsv
1785 enable_start
1786 enable_subst
1787 enable_svchost
1788 enable_systeminfo
1789 enable_taskkill
1790 enable_tasklist
1791 enable_taskmgr
1792 enable_termsv
1793 enable_uninstaller
1794 enable_unlodctr
1795 enable_view
1796 enable_wevtutil
1797 enable_whoami
1798 enable_wineboot
1799 enable_winebrowser
1800 enable_winecfg
1801 enable_wineconsole
1802 enable_winedbg
1803 enable_winedevice
1804 enable_winefile
1805 enable_winemenubuilder
1806 enable_winemine
1807 enable_winemsibuilder
1808 enable_winepath
1809 enable_winetest
1810 enable_winhlp32
1811 enable_winmgmt
1812 enable_winver
1813 enable_wmic
1814 enable_wmplayer
1815 enable_wordpad
1816 enable_write
1817 enable_wscript
1818 enable_wuauserv
1819 enable_wusa
1820 enable_xcopy
1821 enable_server
1822 enable_tools
1823 enable_sfnt2fon
1824 enable_widl
1825 enable_winebuild
1826 enable_winedump
1827 enable_winegcc
1828 enable_winemaker
1829 enable_wmc
1830 enable_wrc
1832 ac_precious_vars='build_alias
1833 host_alias
1834 target_alias
1836 CFLAGS
1837 LDFLAGS
1838 LIBS
1839 CPPFLAGS
1841 CXXFLAGS
1844 OBJC
1845 OBJCFLAGS
1846 OBJCPP
1847 XMKMF
1848 XML2_CFLAGS
1849 XML2_LIBS
1850 XSLT_CFLAGS
1851 XSLT_LIBS
1852 INOTIFY_CFLAGS
1853 INOTIFY_LIBS
1854 DBUS_CFLAGS
1855 DBUS_LIBS
1856 HAL_CFLAGS
1857 HAL_LIBS
1858 GNUTLS_CFLAGS
1859 GNUTLS_LIBS
1860 SANE_CFLAGS
1861 SANE_LIBS
1862 GPHOTO2_CFLAGS
1863 GPHOTO2_LIBS
1864 GPHOTO2_PORT_CFLAGS
1865 GPHOTO2_PORT_LIBS
1866 LCMS2_CFLAGS
1867 LCMS2_LIBS
1868 FREETYPE_CFLAGS
1869 FREETYPE_LIBS
1870 Z_CFLAGS
1871 Z_LIBS
1872 PULSE_CFLAGS
1873 PULSE_LIBS
1874 GSTREAMER_CFLAGS
1875 GSTREAMER_LIBS
1876 UDEV_CFLAGS
1877 UDEV_LIBS
1878 UNWIND_CFLAGS
1879 UNWIND_LIBS
1880 SDL2_CFLAGS
1881 SDL2_LIBS
1882 FAUDIO_CFLAGS
1883 FAUDIO_LIBS
1884 CAPI20_CFLAGS
1885 CAPI20_LIBS
1886 CUPS_CFLAGS
1887 CUPS_LIBS
1888 FONTCONFIG_CFLAGS
1889 FONTCONFIG_LIBS
1890 KRB5_CFLAGS
1891 KRB5_LIBS
1892 GSSAPI_CFLAGS
1893 GSSAPI_LIBS
1894 JPEG_CFLAGS
1895 JPEG_LIBS
1896 PNG_CFLAGS
1897 PNG_LIBS
1898 TIFF_CFLAGS
1899 TIFF_LIBS
1900 MPG123_CFLAGS
1901 MPG123_LIBS
1902 NETAPI_CFLAGS
1903 NETAPI_LIBS
1904 VKD3D_CFLAGS
1905 VKD3D_LIBS
1906 LDAP_CFLAGS
1907 LDAP_LIBS'
1910 # Initialize some variables set by options.
1911 ac_init_help=
1912 ac_init_version=false
1913 ac_unrecognized_opts=
1914 ac_unrecognized_sep=
1915 # The variables have the same names as the options, with
1916 # dashes changed to underlines.
1917 cache_file=/dev/null
1918 exec_prefix=NONE
1919 no_create=
1920 no_recursion=
1921 prefix=NONE
1922 program_prefix=NONE
1923 program_suffix=NONE
1924 program_transform_name=s,x,x,
1925 silent=
1926 site=
1927 srcdir=
1928 verbose=
1929 x_includes=NONE
1930 x_libraries=NONE
1932 # Installation directory options.
1933 # These are left unexpanded so users can "make install exec_prefix=/foo"
1934 # and all the variables that are supposed to be based on exec_prefix
1935 # by default will actually change.
1936 # Use braces instead of parens because sh, perl, etc. also accept them.
1937 # (The list follows the same order as the GNU Coding Standards.)
1938 bindir='${exec_prefix}/bin'
1939 sbindir='${exec_prefix}/sbin'
1940 libexecdir='${exec_prefix}/libexec'
1941 datarootdir='${prefix}/share'
1942 datadir='${datarootdir}'
1943 sysconfdir='${prefix}/etc'
1944 sharedstatedir='${prefix}/com'
1945 localstatedir='${prefix}/var'
1946 runstatedir='${localstatedir}/run'
1947 includedir='${prefix}/include'
1948 oldincludedir='/usr/include'
1949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1950 infodir='${datarootdir}/info'
1951 htmldir='${docdir}'
1952 dvidir='${docdir}'
1953 pdfdir='${docdir}'
1954 psdir='${docdir}'
1955 libdir='${exec_prefix}/lib'
1956 localedir='${datarootdir}/locale'
1957 mandir='${datarootdir}/man'
1959 ac_prev=
1960 ac_dashdash=
1961 for ac_option
1963 # If the previous option needs an argument, assign it.
1964 if test -n "$ac_prev"; then
1965 eval $ac_prev=\$ac_option
1966 ac_prev=
1967 continue
1970 case $ac_option in
1971 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1972 *=) ac_optarg= ;;
1973 *) ac_optarg=yes ;;
1974 esac
1976 # Accept the important Cygnus configure options, so we can diagnose typos.
1978 case $ac_dashdash$ac_option in
1980 ac_dashdash=yes ;;
1982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1983 ac_prev=bindir ;;
1984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1985 bindir=$ac_optarg ;;
1987 -build | --build | --buil | --bui | --bu)
1988 ac_prev=build_alias ;;
1989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1990 build_alias=$ac_optarg ;;
1992 -cache-file | --cache-file | --cache-fil | --cache-fi \
1993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1994 ac_prev=cache_file ;;
1995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1997 cache_file=$ac_optarg ;;
1999 --config-cache | -C)
2000 cache_file=config.cache ;;
2002 -datadir | --datadir | --datadi | --datad)
2003 ac_prev=datadir ;;
2004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2005 datadir=$ac_optarg ;;
2007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2008 | --dataroo | --dataro | --datar)
2009 ac_prev=datarootdir ;;
2010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2012 datarootdir=$ac_optarg ;;
2014 -disable-* | --disable-*)
2015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2016 # Reject names that are not valid shell variable names.
2017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2018 as_fn_error $? "invalid feature name: $ac_useropt"
2019 ac_useropt_orig=$ac_useropt
2020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2021 case $ac_user_opts in
2023 "enable_$ac_useropt"
2024 "*) ;;
2025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2026 ac_unrecognized_sep=', ';;
2027 esac
2028 eval enable_$ac_useropt=no ;;
2030 -docdir | --docdir | --docdi | --doc | --do)
2031 ac_prev=docdir ;;
2032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2033 docdir=$ac_optarg ;;
2035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2036 ac_prev=dvidir ;;
2037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2038 dvidir=$ac_optarg ;;
2040 -enable-* | --enable-*)
2041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2042 # Reject names that are not valid shell variable names.
2043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2044 as_fn_error $? "invalid feature name: $ac_useropt"
2045 ac_useropt_orig=$ac_useropt
2046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2047 case $ac_user_opts in
2049 "enable_$ac_useropt"
2050 "*) ;;
2051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2052 ac_unrecognized_sep=', ';;
2053 esac
2054 eval enable_$ac_useropt=\$ac_optarg ;;
2056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2058 | --exec | --exe | --ex)
2059 ac_prev=exec_prefix ;;
2060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2062 | --exec=* | --exe=* | --ex=*)
2063 exec_prefix=$ac_optarg ;;
2065 -gas | --gas | --ga | --g)
2066 # Obsolete; use --with-gas.
2067 with_gas=yes ;;
2069 -help | --help | --hel | --he | -h)
2070 ac_init_help=long ;;
2071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2072 ac_init_help=recursive ;;
2073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2074 ac_init_help=short ;;
2076 -host | --host | --hos | --ho)
2077 ac_prev=host_alias ;;
2078 -host=* | --host=* | --hos=* | --ho=*)
2079 host_alias=$ac_optarg ;;
2081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2082 ac_prev=htmldir ;;
2083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2084 | --ht=*)
2085 htmldir=$ac_optarg ;;
2087 -includedir | --includedir | --includedi | --included | --include \
2088 | --includ | --inclu | --incl | --inc)
2089 ac_prev=includedir ;;
2090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2091 | --includ=* | --inclu=* | --incl=* | --inc=*)
2092 includedir=$ac_optarg ;;
2094 -infodir | --infodir | --infodi | --infod | --info | --inf)
2095 ac_prev=infodir ;;
2096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2097 infodir=$ac_optarg ;;
2099 -libdir | --libdir | --libdi | --libd)
2100 ac_prev=libdir ;;
2101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2102 libdir=$ac_optarg ;;
2104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2105 | --libexe | --libex | --libe)
2106 ac_prev=libexecdir ;;
2107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2108 | --libexe=* | --libex=* | --libe=*)
2109 libexecdir=$ac_optarg ;;
2111 -localedir | --localedir | --localedi | --localed | --locale)
2112 ac_prev=localedir ;;
2113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2114 localedir=$ac_optarg ;;
2116 -localstatedir | --localstatedir | --localstatedi | --localstated \
2117 | --localstate | --localstat | --localsta | --localst | --locals)
2118 ac_prev=localstatedir ;;
2119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2121 localstatedir=$ac_optarg ;;
2123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2124 ac_prev=mandir ;;
2125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2126 mandir=$ac_optarg ;;
2128 -nfp | --nfp | --nf)
2129 # Obsolete; use --without-fp.
2130 with_fp=no ;;
2132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2133 | --no-cr | --no-c | -n)
2134 no_create=yes ;;
2136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2138 no_recursion=yes ;;
2140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2142 | --oldin | --oldi | --old | --ol | --o)
2143 ac_prev=oldincludedir ;;
2144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2147 oldincludedir=$ac_optarg ;;
2149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2150 ac_prev=prefix ;;
2151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2152 prefix=$ac_optarg ;;
2154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2155 | --program-pre | --program-pr | --program-p)
2156 ac_prev=program_prefix ;;
2157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2159 program_prefix=$ac_optarg ;;
2161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2162 | --program-suf | --program-su | --program-s)
2163 ac_prev=program_suffix ;;
2164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2166 program_suffix=$ac_optarg ;;
2168 -program-transform-name | --program-transform-name \
2169 | --program-transform-nam | --program-transform-na \
2170 | --program-transform-n | --program-transform- \
2171 | --program-transform | --program-transfor \
2172 | --program-transfo | --program-transf \
2173 | --program-trans | --program-tran \
2174 | --progr-tra | --program-tr | --program-t)
2175 ac_prev=program_transform_name ;;
2176 -program-transform-name=* | --program-transform-name=* \
2177 | --program-transform-nam=* | --program-transform-na=* \
2178 | --program-transform-n=* | --program-transform-=* \
2179 | --program-transform=* | --program-transfor=* \
2180 | --program-transfo=* | --program-transf=* \
2181 | --program-trans=* | --program-tran=* \
2182 | --progr-tra=* | --program-tr=* | --program-t=*)
2183 program_transform_name=$ac_optarg ;;
2185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2186 ac_prev=pdfdir ;;
2187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2188 pdfdir=$ac_optarg ;;
2190 -psdir | --psdir | --psdi | --psd | --ps)
2191 ac_prev=psdir ;;
2192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2193 psdir=$ac_optarg ;;
2195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2196 | -silent | --silent | --silen | --sile | --sil)
2197 silent=yes ;;
2199 -runstatedir | --runstatedir | --runstatedi | --runstated \
2200 | --runstate | --runstat | --runsta | --runst | --runs \
2201 | --run | --ru | --r)
2202 ac_prev=runstatedir ;;
2203 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2204 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2205 | --run=* | --ru=* | --r=*)
2206 runstatedir=$ac_optarg ;;
2208 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2209 ac_prev=sbindir ;;
2210 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2211 | --sbi=* | --sb=*)
2212 sbindir=$ac_optarg ;;
2214 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2215 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2216 | --sharedst | --shareds | --shared | --share | --shar \
2217 | --sha | --sh)
2218 ac_prev=sharedstatedir ;;
2219 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2220 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2221 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2222 | --sha=* | --sh=*)
2223 sharedstatedir=$ac_optarg ;;
2225 -site | --site | --sit)
2226 ac_prev=site ;;
2227 -site=* | --site=* | --sit=*)
2228 site=$ac_optarg ;;
2230 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2231 ac_prev=srcdir ;;
2232 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2233 srcdir=$ac_optarg ;;
2235 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2236 | --syscon | --sysco | --sysc | --sys | --sy)
2237 ac_prev=sysconfdir ;;
2238 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2239 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2240 sysconfdir=$ac_optarg ;;
2242 -target | --target | --targe | --targ | --tar | --ta | --t)
2243 ac_prev=target_alias ;;
2244 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2245 target_alias=$ac_optarg ;;
2247 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2248 verbose=yes ;;
2250 -version | --version | --versio | --versi | --vers | -V)
2251 ac_init_version=: ;;
2253 -with-* | --with-*)
2254 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2255 # Reject names that are not valid shell variable names.
2256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2257 as_fn_error $? "invalid package name: $ac_useropt"
2258 ac_useropt_orig=$ac_useropt
2259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2260 case $ac_user_opts in
2262 "with_$ac_useropt"
2263 "*) ;;
2264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2265 ac_unrecognized_sep=', ';;
2266 esac
2267 eval with_$ac_useropt=\$ac_optarg ;;
2269 -without-* | --without-*)
2270 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2271 # Reject names that are not valid shell variable names.
2272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2273 as_fn_error $? "invalid package name: $ac_useropt"
2274 ac_useropt_orig=$ac_useropt
2275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2276 case $ac_user_opts in
2278 "with_$ac_useropt"
2279 "*) ;;
2280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2281 ac_unrecognized_sep=', ';;
2282 esac
2283 eval with_$ac_useropt=no ;;
2285 --x)
2286 # Obsolete; use --with-x.
2287 with_x=yes ;;
2289 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2290 | --x-incl | --x-inc | --x-in | --x-i)
2291 ac_prev=x_includes ;;
2292 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2293 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2294 x_includes=$ac_optarg ;;
2296 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2297 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2298 ac_prev=x_libraries ;;
2299 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2300 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2301 x_libraries=$ac_optarg ;;
2303 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2304 Try \`$0 --help' for more information"
2307 *=*)
2308 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2309 # Reject names that are not valid shell variable names.
2310 case $ac_envvar in #(
2311 '' | [0-9]* | *[!_$as_cr_alnum]* )
2312 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2313 esac
2314 eval $ac_envvar=\$ac_optarg
2315 export $ac_envvar ;;
2318 # FIXME: should be removed in autoconf 3.0.
2319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2322 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2325 esac
2326 done
2328 if test -n "$ac_prev"; then
2329 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2330 as_fn_error $? "missing argument to $ac_option"
2333 if test -n "$ac_unrecognized_opts"; then
2334 case $enable_option_checking in
2335 no) ;;
2336 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2338 esac
2341 # Check all directory arguments for consistency.
2342 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2343 datadir sysconfdir sharedstatedir localstatedir includedir \
2344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2345 libdir localedir mandir runstatedir
2347 eval ac_val=\$$ac_var
2348 # Remove trailing slashes.
2349 case $ac_val in
2350 */ )
2351 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2352 eval $ac_var=\$ac_val;;
2353 esac
2354 # Be sure to have absolute directory names.
2355 case $ac_val in
2356 [\\/$]* | ?:[\\/]* ) continue;;
2357 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2358 esac
2359 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2360 done
2362 # There might be people who depend on the old broken behavior: `$host'
2363 # used to hold the argument of --host etc.
2364 # FIXME: To remove some day.
2365 build=$build_alias
2366 host=$host_alias
2367 target=$target_alias
2369 # FIXME: To remove some day.
2370 if test "x$host_alias" != x; then
2371 if test "x$build_alias" = x; then
2372 cross_compiling=maybe
2373 elif test "x$build_alias" != "x$host_alias"; then
2374 cross_compiling=yes
2378 ac_tool_prefix=
2379 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2381 test "$silent" = yes && exec 6>/dev/null
2384 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2385 ac_ls_di=`ls -di .` &&
2386 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2387 as_fn_error $? "working directory cannot be determined"
2388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2389 as_fn_error $? "pwd does not report name of working directory"
2392 # Find the source files, if location was not specified.
2393 if test -z "$srcdir"; then
2394 ac_srcdir_defaulted=yes
2395 # Try the directory containing this script, then the parent directory.
2396 ac_confdir=`$as_dirname -- "$as_myself" ||
2397 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2398 X"$as_myself" : 'X\(//\)[^/]' \| \
2399 X"$as_myself" : 'X\(//\)$' \| \
2400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2401 $as_echo X"$as_myself" |
2402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2403 s//\1/
2406 /^X\(\/\/\)[^/].*/{
2407 s//\1/
2410 /^X\(\/\/\)$/{
2411 s//\1/
2414 /^X\(\/\).*/{
2415 s//\1/
2418 s/.*/./; q'`
2419 srcdir=$ac_confdir
2420 if test ! -r "$srcdir/$ac_unique_file"; then
2421 srcdir=..
2423 else
2424 ac_srcdir_defaulted=no
2426 if test ! -r "$srcdir/$ac_unique_file"; then
2427 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2428 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2430 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2431 ac_abs_confdir=`(
2432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2433 pwd)`
2434 # When building in place, set srcdir=.
2435 if test "$ac_abs_confdir" = "$ac_pwd"; then
2436 srcdir=.
2438 # Remove unnecessary trailing slashes from srcdir.
2439 # Double slashes in file names in object file debugging info
2440 # mess up M-x gdb in Emacs.
2441 case $srcdir in
2442 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2443 esac
2444 for ac_var in $ac_precious_vars; do
2445 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2446 eval ac_env_${ac_var}_value=\$${ac_var}
2447 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2448 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2449 done
2452 # Report the --help message.
2454 if test "$ac_init_help" = "long"; then
2455 # Omit some internal or obsolete options to make the list less imposing.
2456 # This message is too long to be a string in the A/UX 3.1 sh.
2457 cat <<_ACEOF
2458 \`configure' configures Wine 5.4 to adapt to many kinds of systems.
2460 Usage: $0 [OPTION]... [VAR=VALUE]...
2462 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2463 VAR=VALUE. See below for descriptions of some of the useful variables.
2465 Defaults for the options are specified in brackets.
2467 Configuration:
2468 -h, --help display this help and exit
2469 --help=short display options specific to this package
2470 --help=recursive display the short help of all the included packages
2471 -V, --version display version information and exit
2472 -q, --quiet, --silent do not print \`checking ...' messages
2473 --cache-file=FILE cache test results in FILE [disabled]
2474 -C, --config-cache alias for \`--cache-file=config.cache'
2475 -n, --no-create do not create output files
2476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2478 Installation directories:
2479 --prefix=PREFIX install architecture-independent files in PREFIX
2480 [$ac_default_prefix]
2481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2482 [PREFIX]
2484 By default, \`make install' will install all the files in
2485 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2486 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2487 for instance \`--prefix=\$HOME'.
2489 For better control, use the options below.
2491 Fine tuning of the installation directories:
2492 --bindir=DIR user executables [EPREFIX/bin]
2493 --sbindir=DIR system admin executables [EPREFIX/sbin]
2494 --libexecdir=DIR program executables [EPREFIX/libexec]
2495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2498 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2499 --libdir=DIR object code libraries [EPREFIX/lib]
2500 --includedir=DIR C header files [PREFIX/include]
2501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2504 --infodir=DIR info documentation [DATAROOTDIR/info]
2505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2506 --mandir=DIR man documentation [DATAROOTDIR/man]
2507 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2508 --htmldir=DIR html documentation [DOCDIR]
2509 --dvidir=DIR dvi documentation [DOCDIR]
2510 --pdfdir=DIR pdf documentation [DOCDIR]
2511 --psdir=DIR ps documentation [DOCDIR]
2512 _ACEOF
2514 cat <<\_ACEOF
2516 X features:
2517 --x-includes=DIR X include files are in DIR
2518 --x-libraries=DIR X library files are in DIR
2520 System types:
2521 --build=BUILD configure for building on BUILD [guessed]
2522 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2523 _ACEOF
2526 if test -n "$ac_init_help"; then
2527 case $ac_init_help in
2528 short | recursive ) echo "Configuration of Wine 5.4:";;
2529 esac
2530 cat <<\_ACEOF
2532 Optional Features:
2533 --disable-option-checking ignore unrecognized --enable/--with options
2534 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2535 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2536 --disable-win16 do not include Win16 support
2537 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2538 binaries)
2539 --disable-tests do not build the regression tests
2540 --enable-maintainer-mode
2541 enable maintainer-specific build rules
2542 --enable-werror treat compilation warnings as errors
2543 --disable-largefile omit support for large files
2545 Optional Packages:
2546 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2547 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2548 --without-alsa do not use the Alsa sound support
2549 --without-capi do not use CAPI (ISDN support)
2550 --without-cms do not use CMS (color management support)
2551 --without-coreaudio do not use the CoreAudio sound support
2552 --without-cups do not use CUPS
2553 --without-curses do not use (n)curses
2554 --without-dbus do not use DBus (dynamic device support)
2555 --without-faudio do not use FAudio (XAudio2 support)
2556 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2557 --without-fontconfig do not use fontconfig
2558 --without-freetype do not use the FreeType library
2559 --without-gettext do not use gettext
2560 --with-gettextpo use the GetTextPO library to rebuild po files
2561 --without-gphoto do not use gphoto (Digital Camera support)
2562 --without-glu do not use the GLU library
2563 --without-gnutls do not use GnuTLS (schannel support)
2564 --without-gsm do not use libgsm (GSM 06.10 codec support)
2565 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2566 --without-gstreamer do not use GStreamer (codecs support)
2567 --without-hal do not use HAL (dynamic device support)
2568 --without-inotify do not use inotify (filesystem change notifications)
2569 --without-jpeg do not use JPEG
2570 --without-krb5 do not use krb5 (Kerberos)
2571 --without-ldap do not use LDAP
2572 --without-mingw do not use the MinGW cross-compiler
2573 --without-mpg123 do not use the mpg123 library
2574 --without-netapi do not use the Samba NetAPI library
2575 --without-openal do not use OpenAL
2576 --without-opencl do not use OpenCL
2577 --without-opengl do not use OpenGL
2578 --without-osmesa do not use the OSMesa library
2579 --without-oss do not use the OSS sound support
2580 --without-pcap do not use the Packet Capture library
2581 --without-png do not use PNG
2582 --without-pthread do not use the pthread library
2583 --without-pulse do not use PulseAudio sound support
2584 --without-sane do not use SANE (scanner support)
2585 --without-sdl do not use SDL
2586 --without-tiff do not use TIFF
2587 --without-udev do not use udev (plug and play support)
2588 --without-unwind do not use the libunwind library (exception
2589 handling)
2590 --without-v4l2 do not use v4l2 (video capture)
2591 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2592 --without-vulkan do not use Vulkan
2593 --without-xcomposite do not use the Xcomposite extension
2594 --without-xcursor do not use the Xcursor extension
2595 --without-xfixes do not use Xfixes for clipboard change notifications
2596 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2597 --without-xinput do not use the Xinput extension
2598 --without-xinput2 do not use the Xinput 2 extension
2599 --without-xml do not use XML
2600 --without-xrandr do not use Xrandr (multi-monitor support)
2601 --without-xrender do not use the Xrender extension
2602 --without-xshape do not use the Xshape extension
2603 --without-xshm do not use XShm (shared memory extension)
2604 --without-xslt do not use XSLT
2605 --without-xxf86vm do not use XFree video mode extension
2606 --without-zlib do not use Zlib (data compression)
2607 --with-wine-tools=DIR use Wine tools from directory DIR
2608 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2609 --with-x use the X Window System
2611 Some influential environment variables:
2612 CC C compiler command
2613 CFLAGS C compiler flags
2614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2615 nonstandard directory <lib dir>
2616 LIBS libraries to pass to the linker, e.g. -l<library>
2617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2618 you have headers in a nonstandard directory <include dir>
2619 CXX C++ compiler command
2620 CXXFLAGS C++ compiler flags
2621 CPP C preprocessor
2622 OBJC Objective C compiler command
2623 OBJCFLAGS Objective C compiler flags
2624 OBJCPP Objective C preprocessor
2625 XMKMF Path to xmkmf, Makefile generator for X Window System
2626 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2627 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2628 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2629 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2630 INOTIFY_CFLAGS
2631 C compiler flags for libinotify, overriding pkg-config
2632 INOTIFY_LIBS
2633 Linker flags for libinotify, overriding pkg-config
2634 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2635 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2636 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2637 HAL_LIBS Linker flags for hal, overriding pkg-config
2638 GNUTLS_CFLAGS
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2642 SANE_LIBS Linker flags for libsane, overriding pkg-config
2643 GPHOTO2_CFLAGS
2644 C compiler flags for libgphoto2, overriding pkg-config
2645 GPHOTO2_LIBS
2646 Linker flags for libgphoto2, overriding pkg-config
2647 GPHOTO2_PORT_CFLAGS
2648 C compiler flags for libgphoto2_port, overriding pkg-config
2649 GPHOTO2_PORT_LIBS
2650 Linker flags for libgphoto2_port, overriding pkg-config
2651 LCMS2_CFLAGS
2652 C compiler flags for lcms2, overriding pkg-config
2653 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2654 FREETYPE_CFLAGS
2655 C compiler flags for freetype2, overriding pkg-config
2656 FREETYPE_LIBS
2657 Linker flags for freetype2, overriding pkg-config
2658 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2659 Z_LIBS Linker flags for libz, overriding pkg-config
2660 PULSE_CFLAGS
2661 C compiler flags for libpulse, overriding pkg-config
2662 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2663 GSTREAMER_CFLAGS
2664 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0, overriding pkg-config
2666 GSTREAMER_LIBS
2667 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2668 gstreamer-audio-1.0, overriding pkg-config
2669 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2670 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2671 UNWIND_CFLAGS
2672 C compiler flags for libunwind, overriding pkg-config
2673 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2674 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2675 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2676 FAUDIO_CFLAGS
2677 C compiler flags for faudio, overriding pkg-config
2678 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2679 CAPI20_CFLAGS
2680 C compiler flags for capi20, overriding pkg-config
2681 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2682 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2683 CUPS_LIBS Linker flags for cups, overriding pkg-config
2684 FONTCONFIG_CFLAGS
2685 C compiler flags for fontconfig, overriding pkg-config
2686 FONTCONFIG_LIBS
2687 Linker flags for fontconfig, overriding pkg-config
2688 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2689 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2690 GSSAPI_CFLAGS
2691 C compiler flags for krb5-gssapi, overriding pkg-config
2692 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2693 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2694 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2695 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2696 PNG_LIBS Linker flags for libpng, overriding pkg-config
2697 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2698 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2699 MPG123_CFLAGS
2700 C compiler flags for libmpg123, overriding pkg-config
2701 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2702 NETAPI_CFLAGS
2703 C compiler flags for netapi, overriding pkg-config
2704 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2705 VKD3D_CFLAGS
2706 C compiler flags for libvkd3d, overriding pkg-config
2707 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2708 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2709 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2711 Use these variables to override the choices made by `configure' or to help
2712 it to find libraries and programs with nonstandard names/locations.
2714 Report bugs to <wine-devel@winehq.org>.
2715 Wine home page: <https://www.winehq.org>.
2716 _ACEOF
2717 ac_status=$?
2720 if test "$ac_init_help" = "recursive"; then
2721 # If there are subdirs, report their specific --help.
2722 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2723 test -d "$ac_dir" ||
2724 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2725 continue
2726 ac_builddir=.
2728 case "$ac_dir" in
2729 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2731 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2732 # A ".." for each directory in $ac_dir_suffix.
2733 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2734 case $ac_top_builddir_sub in
2735 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2737 esac ;;
2738 esac
2739 ac_abs_top_builddir=$ac_pwd
2740 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2741 # for backward compatibility:
2742 ac_top_builddir=$ac_top_build_prefix
2744 case $srcdir in
2745 .) # We are building in place.
2746 ac_srcdir=.
2747 ac_top_srcdir=$ac_top_builddir_sub
2748 ac_abs_top_srcdir=$ac_pwd ;;
2749 [\\/]* | ?:[\\/]* ) # Absolute name.
2750 ac_srcdir=$srcdir$ac_dir_suffix;
2751 ac_top_srcdir=$srcdir
2752 ac_abs_top_srcdir=$srcdir ;;
2753 *) # Relative name.
2754 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2755 ac_top_srcdir=$ac_top_build_prefix$srcdir
2756 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2757 esac
2758 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2760 cd "$ac_dir" || { ac_status=$?; continue; }
2761 # Check for guested configure.
2762 if test -f "$ac_srcdir/configure.gnu"; then
2763 echo &&
2764 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2765 elif test -f "$ac_srcdir/configure"; then
2766 echo &&
2767 $SHELL "$ac_srcdir/configure" --help=recursive
2768 else
2769 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2770 fi || ac_status=$?
2771 cd "$ac_pwd" || { ac_status=$?; break; }
2772 done
2775 test -n "$ac_init_help" && exit $ac_status
2776 if $ac_init_version; then
2777 cat <<\_ACEOF
2778 Wine configure 5.4
2779 generated by GNU Autoconf 2.69
2781 Copyright (C) 2012 Free Software Foundation, Inc.
2782 This configure script is free software; the Free Software Foundation
2783 gives unlimited permission to copy, distribute and modify it.
2784 _ACEOF
2785 exit
2788 ## ------------------------ ##
2789 ## Autoconf initialization. ##
2790 ## ------------------------ ##
2792 # ac_fn_c_try_compile LINENO
2793 # --------------------------
2794 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2795 ac_fn_c_try_compile ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 rm -f conftest.$ac_objext
2799 if { { ac_try="$ac_compile"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_compile") 2>conftest.err
2807 ac_status=$?
2808 if test -s conftest.err; then
2809 grep -v '^ *+' conftest.err >conftest.er1
2810 cat conftest.er1 >&5
2811 mv -f conftest.er1 conftest.err
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } && {
2815 test -z "$ac_c_werror_flag" ||
2816 test ! -s conftest.err
2817 } && test -s conftest.$ac_objext; then :
2818 ac_retval=0
2819 else
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2823 ac_retval=1
2825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_c_try_compile
2830 # ac_fn_cxx_try_compile LINENO
2831 # ----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_cxx_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_cxx_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_cxx_try_compile
2868 # ac_fn_c_try_link LINENO
2869 # -----------------------
2870 # Try to link conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_c_try_link ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 rm -f conftest.$ac_objext conftest$ac_exeext
2875 if { { ac_try="$ac_link"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_link") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest$ac_exeext && {
2894 test "$cross_compiling" = yes ||
2895 test -x conftest$ac_exeext
2896 }; then :
2897 ac_retval=0
2898 else
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 ac_retval=1
2904 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2905 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2906 # interfere with the next link command; also delete a directory that is
2907 # left behind by Apple's compiler. We do this before executing the actions.
2908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_c_try_link
2914 # ac_fn_c_try_cpp LINENO
2915 # ----------------------
2916 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2917 ac_fn_c_try_cpp ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 if { { ac_try="$ac_cpp conftest.$ac_ext"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2928 ac_status=$?
2929 if test -s conftest.err; then
2930 grep -v '^ *+' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 mv -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } > conftest.i && {
2936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 }; then :
2939 ac_retval=0
2940 else
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_retval=1
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_c_try_cpp
2951 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2952 # -------------------------------------------------------
2953 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2954 # the include files in INCLUDES and setting the cache variable VAR
2955 # accordingly.
2956 ac_fn_c_check_header_mongrel ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 if eval \${$3+:} false; then :
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2961 $as_echo_n "checking for $2... " >&6; }
2962 if eval \${$3+:} false; then :
2963 $as_echo_n "(cached) " >&6
2965 eval ac_res=\$$3
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2967 $as_echo "$ac_res" >&6; }
2968 else
2969 # Is the header compilable?
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2971 $as_echo_n "checking $2 usability... " >&6; }
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2975 #include <$2>
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 ac_header_compiler=yes
2979 else
2980 ac_header_compiler=no
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2984 $as_echo "$ac_header_compiler" >&6; }
2986 # Is the header present?
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2988 $as_echo_n "checking $2 presence... " >&6; }
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2991 #include <$2>
2992 _ACEOF
2993 if ac_fn_c_try_cpp "$LINENO"; then :
2994 ac_header_preproc=yes
2995 else
2996 ac_header_preproc=no
2998 rm -f conftest.err conftest.i conftest.$ac_ext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3000 $as_echo "$ac_header_preproc" >&6; }
3002 # So? What about this header?
3003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3004 yes:no: )
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3006 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3008 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3010 no:yes:* )
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3012 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3014 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3016 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3018 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3021 ( $as_echo "## ------------------------------------ ##
3022 ## Report this to wine-devel@winehq.org ##
3023 ## ------------------------------------ ##"
3024 ) | sed "s/^/$as_me: WARNING: /" >&2
3026 esac
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3028 $as_echo_n "checking for $2... " >&6; }
3029 if eval \${$3+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 eval "$3=\$ac_header_compiler"
3034 eval ac_res=\$$3
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 } # ac_fn_c_check_header_mongrel
3042 # ac_fn_c_try_run LINENO
3043 # ----------------------
3044 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3045 # that executables *can* be run.
3046 ac_fn_c_try_run ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 if { { ac_try="$ac_link"
3050 case "(($ac_try" in
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3053 esac
3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056 (eval "$ac_link") 2>&5
3057 ac_status=$?
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3060 { { case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_try") 2>&5
3067 ac_status=$?
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }; }; then :
3070 ac_retval=0
3071 else
3072 $as_echo "$as_me: program exited with status $ac_status" >&5
3073 $as_echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3076 ac_retval=$ac_status
3078 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status $ac_retval
3082 } # ac_fn_c_try_run
3084 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3085 # -------------------------------------------------------
3086 # Tests whether HEADER exists and can be compiled using the include files in
3087 # INCLUDES, setting the cache variable VAR accordingly.
3088 ac_fn_c_check_header_compile ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3092 $as_echo_n "checking for $2... " >&6; }
3093 if eval \${$3+:} false; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3099 #include <$2>
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 eval "$3=yes"
3103 else
3104 eval "$3=no"
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_header_compile
3115 # ac_fn_objc_try_compile LINENO
3116 # -----------------------------
3117 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3118 ac_fn_objc_try_compile ()
3120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3121 rm -f conftest.$ac_objext
3122 if { { ac_try="$ac_compile"
3123 case "(($ac_try" in
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3126 esac
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_compile") 2>conftest.err
3130 ac_status=$?
3131 if test -s conftest.err; then
3132 grep -v '^ *+' conftest.err >conftest.er1
3133 cat conftest.er1 >&5
3134 mv -f conftest.er1 conftest.err
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; } && {
3138 test -z "$ac_objc_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then :
3141 ac_retval=0
3142 else
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_retval=1
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3149 as_fn_set_status $ac_retval
3151 } # ac_fn_objc_try_compile
3153 # ac_fn_objc_try_cpp LINENO
3154 # -------------------------
3155 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3156 ac_fn_objc_try_cpp ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 if { { ac_try="$ac_cpp conftest.$ac_ext"
3160 case "(($ac_try" in
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3163 esac
3164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3165 $as_echo "$ac_try_echo"; } >&5
3166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3167 ac_status=$?
3168 if test -s conftest.err; then
3169 grep -v '^ *+' conftest.err >conftest.er1
3170 cat conftest.er1 >&5
3171 mv -f conftest.er1 conftest.err
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; } > conftest.i && {
3175 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3176 test ! -s conftest.err
3177 }; then :
3178 ac_retval=0
3179 else
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3183 ac_retval=1
3185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3186 as_fn_set_status $ac_retval
3188 } # ac_fn_objc_try_cpp
3190 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3191 # ----------------------------------------------------------
3192 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3193 # the include files in INCLUDES and setting the cache variable VAR
3194 # accordingly.
3195 ac_fn_objc_check_header_mongrel ()
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 if eval \${$3+:} false; then :
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3200 $as_echo_n "checking for $2... " >&6; }
3201 if eval \${$3+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 eval ac_res=\$$3
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3206 $as_echo "$ac_res" >&6; }
3207 else
3208 # Is the header compilable?
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3210 $as_echo_n "checking $2 usability... " >&6; }
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3214 #include <$2>
3215 _ACEOF
3216 if ac_fn_objc_try_compile "$LINENO"; then :
3217 ac_header_compiler=yes
3218 else
3219 ac_header_compiler=no
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3223 $as_echo "$ac_header_compiler" >&6; }
3225 # Is the header present?
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3227 $as_echo_n "checking $2 presence... " >&6; }
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3230 #include <$2>
3231 _ACEOF
3232 if ac_fn_objc_try_cpp "$LINENO"; then :
3233 ac_header_preproc=yes
3234 else
3235 ac_header_preproc=no
3237 rm -f conftest.err conftest.i conftest.$ac_ext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3239 $as_echo "$ac_header_preproc" >&6; }
3241 # So? What about this header?
3242 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3243 yes:no: )
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3245 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3247 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3249 no:yes:* )
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3251 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3253 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3255 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3257 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3259 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3260 ( $as_echo "## ------------------------------------ ##
3261 ## Report this to wine-devel@winehq.org ##
3262 ## ------------------------------------ ##"
3263 ) | sed "s/^/$as_me: WARNING: /" >&2
3265 esac
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3267 $as_echo_n "checking for $2... " >&6; }
3268 if eval \${$3+:} false; then :
3269 $as_echo_n "(cached) " >&6
3270 else
3271 eval "$3=\$ac_header_compiler"
3273 eval ac_res=\$$3
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3275 $as_echo "$ac_res" >&6; }
3277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3279 } # ac_fn_objc_check_header_mongrel
3281 # ac_fn_c_check_func LINENO FUNC VAR
3282 # ----------------------------------
3283 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3284 ac_fn_c_check_func ()
3286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3288 $as_echo_n "checking for $2... " >&6; }
3289 if eval \${$3+:} false; then :
3290 $as_echo_n "(cached) " >&6
3291 else
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3294 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3296 #define $2 innocuous_$2
3298 /* System header to define __stub macros and hopefully few prototypes,
3299 which can conflict with char $2 (); below.
3300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3301 <limits.h> exists even on freestanding compilers. */
3303 #ifdef __STDC__
3304 # include <limits.h>
3305 #else
3306 # include <assert.h>
3307 #endif
3309 #undef $2
3311 /* Override any GCC internal prototype to avoid an error.
3312 Use char because int might match the return type of a GCC
3313 builtin and then its argument prototype would still apply. */
3314 #ifdef __cplusplus
3315 extern "C"
3316 #endif
3317 char $2 ();
3318 /* The GNU C library defines this for functions which it implements
3319 to always fail with ENOSYS. Some functions are actually named
3320 something starting with __ and the normal name is an alias. */
3321 #if defined __stub_$2 || defined __stub___$2
3322 choke me
3323 #endif
3326 main ()
3328 return $2 ();
3330 return 0;
3332 _ACEOF
3333 if ac_fn_c_try_link "$LINENO"; then :
3334 eval "$3=yes"
3335 else
3336 eval "$3=no"
3338 rm -f core conftest.err conftest.$ac_objext \
3339 conftest$ac_exeext conftest.$ac_ext
3341 eval ac_res=\$$3
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3343 $as_echo "$ac_res" >&6; }
3344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3346 } # ac_fn_c_check_func
3348 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3349 # ----------------------------------------------------
3350 # Tries to find if the field MEMBER exists in type AGGR, after including
3351 # INCLUDES, setting cache variable VAR accordingly.
3352 ac_fn_c_check_member ()
3354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3356 $as_echo_n "checking for $2.$3... " >&6; }
3357 if eval \${$4+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 main ()
3366 static $2 ac_aggr;
3367 if (ac_aggr.$3)
3368 return 0;
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 eval "$4=yes"
3375 else
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 static $2 ac_aggr;
3383 if (sizeof ac_aggr.$3)
3384 return 0;
3386 return 0;
3388 _ACEOF
3389 if ac_fn_c_try_compile "$LINENO"; then :
3390 eval "$4=yes"
3391 else
3392 eval "$4=no"
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 eval ac_res=\$$4
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3400 $as_echo "$ac_res" >&6; }
3401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3403 } # ac_fn_c_check_member
3405 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3406 # -------------------------------------------
3407 # Tests whether TYPE exists after having included INCLUDES, setting cache
3408 # variable VAR accordingly.
3409 ac_fn_c_check_type ()
3411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3413 $as_echo_n "checking for $2... " >&6; }
3414 if eval \${$3+:} false; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 eval "$3=no"
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 main ()
3424 if (sizeof ($2))
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 if (sizeof (($2)))
3438 return 0;
3440 return 0;
3442 _ACEOF
3443 if ac_fn_c_try_compile "$LINENO"; then :
3445 else
3446 eval "$3=yes"
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 eval ac_res=\$$3
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3454 $as_echo "$ac_res" >&6; }
3455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3457 } # ac_fn_c_check_type
3458 cat >config.log <<_ACEOF
3459 This file contains any messages produced by compilers while
3460 running configure, to aid debugging if configure makes a mistake.
3462 It was created by Wine $as_me 5.4, which was
3463 generated by GNU Autoconf 2.69. Invocation command line was
3465 $ $0 $@
3467 _ACEOF
3468 exec 5>>config.log
3470 cat <<_ASUNAME
3471 ## --------- ##
3472 ## Platform. ##
3473 ## --------- ##
3475 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3476 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3477 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3478 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3479 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3481 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3482 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3484 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3485 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3486 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3487 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3488 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3489 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3490 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3492 _ASUNAME
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH
3497 IFS=$as_save_IFS
3498 test -z "$as_dir" && as_dir=.
3499 $as_echo "PATH: $as_dir"
3500 done
3501 IFS=$as_save_IFS
3503 } >&5
3505 cat >&5 <<_ACEOF
3508 ## ----------- ##
3509 ## Core tests. ##
3510 ## ----------- ##
3512 _ACEOF
3515 # Keep a trace of the command line.
3516 # Strip out --no-create and --no-recursion so they do not pile up.
3517 # Strip out --silent because we don't want to record it for future runs.
3518 # Also quote any args containing shell meta-characters.
3519 # Make two passes to allow for proper duplicate-argument suppression.
3520 ac_configure_args=
3521 ac_configure_args0=
3522 ac_configure_args1=
3523 ac_must_keep_next=false
3524 for ac_pass in 1 2
3526 for ac_arg
3528 case $ac_arg in
3529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3531 | -silent | --silent | --silen | --sile | --sil)
3532 continue ;;
3533 *\'*)
3534 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3535 esac
3536 case $ac_pass in
3537 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3539 as_fn_append ac_configure_args1 " '$ac_arg'"
3540 if test $ac_must_keep_next = true; then
3541 ac_must_keep_next=false # Got value, back to normal.
3542 else
3543 case $ac_arg in
3544 *=* | --config-cache | -C | -disable-* | --disable-* \
3545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3547 | -with-* | --with-* | -without-* | --without-* | --x)
3548 case "$ac_configure_args0 " in
3549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3550 esac
3552 -* ) ac_must_keep_next=true ;;
3553 esac
3555 as_fn_append ac_configure_args " '$ac_arg'"
3557 esac
3558 done
3559 done
3560 { ac_configure_args0=; unset ac_configure_args0;}
3561 { ac_configure_args1=; unset ac_configure_args1;}
3563 # When interrupted or exit'd, cleanup temporary files, and complete
3564 # config.log. We remove comments because anyway the quotes in there
3565 # would cause problems or look ugly.
3566 # WARNING: Use '\'' to represent an apostrophe within the trap.
3567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3568 trap 'exit_status=$?
3569 # Save into config.log some information that might help in debugging.
3571 echo
3573 $as_echo "## ---------------- ##
3574 ## Cache variables. ##
3575 ## ---------------- ##"
3576 echo
3577 # The following way of writing the cache mishandles newlines in values,
3579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3580 eval ac_val=\$$ac_var
3581 case $ac_val in #(
3582 *${as_nl}*)
3583 case $ac_var in #(
3584 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3586 esac
3587 case $ac_var in #(
3588 _ | IFS | as_nl) ;; #(
3589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3590 *) { eval $ac_var=; unset $ac_var;} ;;
3591 esac ;;
3592 esac
3593 done
3594 (set) 2>&1 |
3595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3596 *${as_nl}ac_space=\ *)
3597 sed -n \
3598 "s/'\''/'\''\\\\'\'''\''/g;
3599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3600 ;; #(
3602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3604 esac |
3605 sort
3607 echo
3609 $as_echo "## ----------------- ##
3610 ## Output variables. ##
3611 ## ----------------- ##"
3612 echo
3613 for ac_var in $ac_subst_vars
3615 eval ac_val=\$$ac_var
3616 case $ac_val in
3617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3618 esac
3619 $as_echo "$ac_var='\''$ac_val'\''"
3620 done | sort
3621 echo
3623 if test -n "$ac_subst_files"; then
3624 $as_echo "## ------------------- ##
3625 ## File substitutions. ##
3626 ## ------------------- ##"
3627 echo
3628 for ac_var in $ac_subst_files
3630 eval ac_val=\$$ac_var
3631 case $ac_val in
3632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3633 esac
3634 $as_echo "$ac_var='\''$ac_val'\''"
3635 done | sort
3636 echo
3639 if test -s confdefs.h; then
3640 $as_echo "## ----------- ##
3641 ## confdefs.h. ##
3642 ## ----------- ##"
3643 echo
3644 cat confdefs.h
3645 echo
3647 test "$ac_signal" != 0 &&
3648 $as_echo "$as_me: caught signal $ac_signal"
3649 $as_echo "$as_me: exit $exit_status"
3650 } >&5
3651 rm -f core *.core core.conftest.* &&
3652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3653 exit $exit_status
3655 for ac_signal in 1 2 13 15; do
3656 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3657 done
3658 ac_signal=0
3660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3661 rm -f -r conftest* confdefs.h
3663 $as_echo "/* confdefs.h */" > confdefs.h
3665 # Predefined preprocessor variables.
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_NAME "$PACKAGE_NAME"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_STRING "$PACKAGE_STRING"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3685 _ACEOF
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_URL "$PACKAGE_URL"
3689 _ACEOF
3692 # Let the site file select an alternate cache file if it wants to.
3693 # Prefer an explicitly selected file to automatically selected ones.
3694 ac_site_file1=NONE
3695 ac_site_file2=NONE
3696 if test -n "$CONFIG_SITE"; then
3697 # We do not want a PATH search for config.site.
3698 case $CONFIG_SITE in #((
3699 -*) ac_site_file1=./$CONFIG_SITE;;
3700 */*) ac_site_file1=$CONFIG_SITE;;
3701 *) ac_site_file1=./$CONFIG_SITE;;
3702 esac
3703 elif test "x$prefix" != xNONE; then
3704 ac_site_file1=$prefix/share/config.site
3705 ac_site_file2=$prefix/etc/config.site
3706 else
3707 ac_site_file1=$ac_default_prefix/share/config.site
3708 ac_site_file2=$ac_default_prefix/etc/config.site
3710 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3712 test "x$ac_site_file" = xNONE && continue
3713 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3715 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3716 sed 's/^/| /' "$ac_site_file" >&5
3717 . "$ac_site_file" \
3718 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error $? "failed to load site script $ac_site_file
3721 See \`config.log' for more details" "$LINENO" 5; }
3723 done
3725 if test -r "$cache_file"; then
3726 # Some versions of bash will fail to source /dev/null (special files
3727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3728 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3730 $as_echo "$as_me: loading cache $cache_file" >&6;}
3731 case $cache_file in
3732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3733 *) . "./$cache_file";;
3734 esac
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3738 $as_echo "$as_me: creating cache $cache_file" >&6;}
3739 >$cache_file
3742 # Check that the precious variables saved in the cache have kept the same
3743 # value.
3744 ac_cache_corrupted=false
3745 for ac_var in $ac_precious_vars; do
3746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3747 eval ac_new_set=\$ac_env_${ac_var}_set
3748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3749 eval ac_new_val=\$ac_env_${ac_var}_value
3750 case $ac_old_set,$ac_new_set in
3751 set,)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3753 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3754 ac_cache_corrupted=: ;;
3755 ,set)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3757 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3758 ac_cache_corrupted=: ;;
3759 ,);;
3761 if test "x$ac_old_val" != "x$ac_new_val"; then
3762 # differences in whitespace do not lead to failure.
3763 ac_old_val_w=`echo x $ac_old_val`
3764 ac_new_val_w=`echo x $ac_new_val`
3765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3768 ac_cache_corrupted=:
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3772 eval $ac_var=\$ac_old_val
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3775 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3778 fi;;
3779 esac
3780 # Pass precious variables to config.status.
3781 if test "$ac_new_set" = set; then
3782 case $ac_new_val in
3783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3784 *) ac_arg=$ac_var=$ac_new_val ;;
3785 esac
3786 case " $ac_configure_args " in
3787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3788 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3789 esac
3791 done
3792 if $ac_cache_corrupted; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3797 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3799 ## -------------------- ##
3800 ## Main body of script. ##
3801 ## -------------------- ##
3803 ac_ext=c
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 ac_config_headers="$ac_config_headers include/config.h"
3813 ac_aux_dir=
3814 for ac_dir in tools "$srcdir"/tools; do
3815 if test -f "$ac_dir/install-sh"; then
3816 ac_aux_dir=$ac_dir
3817 ac_install_sh="$ac_aux_dir/install-sh -c"
3818 break
3819 elif test -f "$ac_dir/install.sh"; then
3820 ac_aux_dir=$ac_dir
3821 ac_install_sh="$ac_aux_dir/install.sh -c"
3822 break
3823 elif test -f "$ac_dir/shtool"; then
3824 ac_aux_dir=$ac_dir
3825 ac_install_sh="$ac_aux_dir/shtool install -c"
3826 break
3828 done
3829 if test -z "$ac_aux_dir"; then
3830 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3833 # These three variables are undocumented and unsupported,
3834 # and are intended to be withdrawn in a future Autoconf release.
3835 # They can cause serious problems if a builder's source tree is in a directory
3836 # whose full name contains unusual characters.
3837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3843 libwine_version="1.0"
3847 # Check whether --enable-win16 was given.
3848 if test "${enable_win16+set}" = set; then :
3849 enableval=$enable_win16;
3852 # Check whether --enable-win64 was given.
3853 if test "${enable_win64+set}" = set; then :
3854 enableval=$enable_win64;
3857 # Check whether --enable-tests was given.
3858 if test "${enable_tests+set}" = set; then :
3859 enableval=$enable_tests;
3862 # Check whether --enable-maintainer-mode was given.
3863 if test "${enable_maintainer_mode+set}" = set; then :
3864 enableval=$enable_maintainer_mode;
3867 # Check whether --enable-werror was given.
3868 if test "${enable_werror+set}" = set; then :
3869 enableval=$enable_werror;
3874 # Check whether --with-alsa was given.
3875 if test "${with_alsa+set}" = set; then :
3876 withval=$with_alsa;
3880 # Check whether --with-capi was given.
3881 if test "${with_capi+set}" = set; then :
3882 withval=$with_capi;
3886 # Check whether --with-cms was given.
3887 if test "${with_cms+set}" = set; then :
3888 withval=$with_cms;
3892 # Check whether --with-coreaudio was given.
3893 if test "${with_coreaudio+set}" = set; then :
3894 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3898 # Check whether --with-cups was given.
3899 if test "${with_cups+set}" = set; then :
3900 withval=$with_cups;
3904 # Check whether --with-curses was given.
3905 if test "${with_curses+set}" = set; then :
3906 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3910 # Check whether --with-dbus was given.
3911 if test "${with_dbus+set}" = set; then :
3912 withval=$with_dbus;
3916 # Check whether --with-faudio was given.
3917 if test "${with_faudio+set}" = set; then :
3918 withval=$with_faudio;
3922 # Check whether --with-float-abi was given.
3923 if test "${with_float_abi+set}" = set; then :
3924 withval=$with_float_abi;
3928 # Check whether --with-fontconfig was given.
3929 if test "${with_fontconfig+set}" = set; then :
3930 withval=$with_fontconfig;
3934 # Check whether --with-freetype was given.
3935 if test "${with_freetype+set}" = set; then :
3936 withval=$with_freetype;
3940 # Check whether --with-gettext was given.
3941 if test "${with_gettext+set}" = set; then :
3942 withval=$with_gettext;
3946 # Check whether --with-gettextpo was given.
3947 if test "${with_gettextpo+set}" = set; then :
3948 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3952 # Check whether --with-gphoto was given.
3953 if test "${with_gphoto+set}" = set; then :
3954 withval=$with_gphoto;
3958 # Check whether --with-glu was given.
3959 if test "${with_glu+set}" = set; then :
3960 withval=$with_glu;
3964 # Check whether --with-gnutls was given.
3965 if test "${with_gnutls+set}" = set; then :
3966 withval=$with_gnutls;
3970 # Check whether --with-gsm was given.
3971 if test "${with_gsm+set}" = set; then :
3972 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3976 # Check whether --with-gssapi was given.
3977 if test "${with_gssapi+set}" = set; then :
3978 withval=$with_gssapi;
3982 # Check whether --with-gstreamer was given.
3983 if test "${with_gstreamer+set}" = set; then :
3984 withval=$with_gstreamer;
3988 # Check whether --with-hal was given.
3989 if test "${with_hal+set}" = set; then :
3990 withval=$with_hal;
3994 # Check whether --with-inotify was given.
3995 if test "${with_inotify+set}" = set; then :
3996 withval=$with_inotify;
4000 # Check whether --with-jpeg was given.
4001 if test "${with_jpeg+set}" = set; then :
4002 withval=$with_jpeg;
4006 # Check whether --with-krb5 was given.
4007 if test "${with_krb5+set}" = set; then :
4008 withval=$with_krb5;
4012 # Check whether --with-ldap was given.
4013 if test "${with_ldap+set}" = set; then :
4014 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4018 # Check whether --with-mingw was given.
4019 if test "${with_mingw+set}" = set; then :
4020 withval=$with_mingw;
4024 # Check whether --with-mpg123 was given.
4025 if test "${with_mpg123+set}" = set; then :
4026 withval=$with_mpg123;
4030 # Check whether --with-netapi was given.
4031 if test "${with_netapi+set}" = set; then :
4032 withval=$with_netapi;
4036 # Check whether --with-openal was given.
4037 if test "${with_openal+set}" = set; then :
4038 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4042 # Check whether --with-opencl was given.
4043 if test "${with_opencl+set}" = set; then :
4044 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4048 # Check whether --with-opengl was given.
4049 if test "${with_opengl+set}" = set; then :
4050 withval=$with_opengl;
4054 # Check whether --with-osmesa was given.
4055 if test "${with_osmesa+set}" = set; then :
4056 withval=$with_osmesa;
4060 # Check whether --with-oss was given.
4061 if test "${with_oss+set}" = set; then :
4062 withval=$with_oss;
4066 # Check whether --with-pcap was given.
4067 if test "${with_pcap+set}" = set; then :
4068 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4072 # Check whether --with-png was given.
4073 if test "${with_png+set}" = set; then :
4074 withval=$with_png;
4078 # Check whether --with-pthread was given.
4079 if test "${with_pthread+set}" = set; then :
4080 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4084 # Check whether --with-pulse was given.
4085 if test "${with_pulse+set}" = set; then :
4086 withval=$with_pulse;
4090 # Check whether --with-sane was given.
4091 if test "${with_sane+set}" = set; then :
4092 withval=$with_sane;
4096 # Check whether --with-sdl was given.
4097 if test "${with_sdl+set}" = set; then :
4098 withval=$with_sdl;
4102 # Check whether --with-tiff was given.
4103 if test "${with_tiff+set}" = set; then :
4104 withval=$with_tiff;
4108 # Check whether --with-udev was given.
4109 if test "${with_udev+set}" = set; then :
4110 withval=$with_udev;
4114 # Check whether --with-unwind was given.
4115 if test "${with_unwind+set}" = set; then :
4116 withval=$with_unwind;
4120 # Check whether --with-v4l2 was given.
4121 if test "${with_v4l2+set}" = set; then :
4122 withval=$with_v4l2;
4126 # Check whether --with-vkd3d was given.
4127 if test "${with_vkd3d+set}" = set; then :
4128 withval=$with_vkd3d;
4132 # Check whether --with-vulkan was given.
4133 if test "${with_vulkan+set}" = set; then :
4134 withval=$with_vulkan;
4138 # Check whether --with-xcomposite was given.
4139 if test "${with_xcomposite+set}" = set; then :
4140 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4144 # Check whether --with-xcursor was given.
4145 if test "${with_xcursor+set}" = set; then :
4146 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4150 # Check whether --with-xfixes was given.
4151 if test "${with_xfixes+set}" = set; then :
4152 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4156 # Check whether --with-xinerama was given.
4157 if test "${with_xinerama+set}" = set; then :
4158 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4162 # Check whether --with-xinput was given.
4163 if test "${with_xinput+set}" = set; then :
4164 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4168 # Check whether --with-xinput2 was given.
4169 if test "${with_xinput2+set}" = set; then :
4170 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4174 # Check whether --with-xml was given.
4175 if test "${with_xml+set}" = set; then :
4176 withval=$with_xml;
4180 # Check whether --with-xrandr was given.
4181 if test "${with_xrandr+set}" = set; then :
4182 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4186 # Check whether --with-xrender was given.
4187 if test "${with_xrender+set}" = set; then :
4188 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4192 # Check whether --with-xshape was given.
4193 if test "${with_xshape+set}" = set; then :
4194 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4198 # Check whether --with-xshm was given.
4199 if test "${with_xshm+set}" = set; then :
4200 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4204 # Check whether --with-xslt was given.
4205 if test "${with_xslt+set}" = set; then :
4206 withval=$with_xslt;
4210 # Check whether --with-xxf86vm was given.
4211 if test "${with_xxf86vm+set}" = set; then :
4212 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
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then :
4218 withval=$with_zlib;
4223 # Check whether --with-wine-tools was given.
4224 if test "${with_wine_tools+set}" = set; then :
4225 withval=$with_wine_tools;
4229 # Check whether --with-wine64 was given.
4230 if test "${with_wine64+set}" = set; then :
4231 withval=$with_wine64;
4235 # Make sure we can run config.sub.
4236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4237 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4240 $as_echo_n "checking build system type... " >&6; }
4241 if ${ac_cv_build+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 ac_build_alias=$build_alias
4245 test "x$ac_build_alias" = x &&
4246 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4247 test "x$ac_build_alias" = x &&
4248 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4249 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4250 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4254 $as_echo "$ac_cv_build" >&6; }
4255 case $ac_cv_build in
4256 *-*-*) ;;
4257 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4258 esac
4259 build=$ac_cv_build
4260 ac_save_IFS=$IFS; IFS='-'
4261 set x $ac_cv_build
4262 shift
4263 build_cpu=$1
4264 build_vendor=$2
4265 shift; shift
4266 # Remember, the first character of IFS is used to create $*,
4267 # except with old shells:
4268 build_os=$*
4269 IFS=$ac_save_IFS
4270 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4274 $as_echo_n "checking host system type... " >&6; }
4275 if ${ac_cv_host+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 if test "x$host_alias" = x; then
4279 ac_cv_host=$ac_cv_build
4280 else
4281 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4287 $as_echo "$ac_cv_host" >&6; }
4288 case $ac_cv_host in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4291 esac
4292 host=$ac_cv_host
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_host
4295 shift
4296 host_cpu=$1
4297 host_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 host_os=$*
4302 IFS=$ac_save_IFS
4303 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4309 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4310 set x ${MAKE-make}
4311 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4312 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 cat >conftest.make <<\_ACEOF
4316 SHELL = /bin/sh
4317 all:
4318 @echo '@@@%%%=$(MAKE)=@@@%%%'
4319 _ACEOF
4320 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4321 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4322 *@@@%%%=?*=@@@%%%*)
4323 eval ac_cv_prog_make_${ac_make}_set=yes;;
4325 eval ac_cv_prog_make_${ac_make}_set=no;;
4326 esac
4327 rm -f conftest.make
4329 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4331 $as_echo "yes" >&6; }
4332 SET_MAKE=
4333 else
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4336 SET_MAKE="MAKE=${MAKE-make}"
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4351 else
4352 if test -n "$CC"; then
4353 ac_cv_prog_CC="$CC" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 break 2
4366 done
4367 done
4368 IFS=$as_save_IFS
4372 CC=$ac_cv_prog_CC
4373 if test -n "$CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4375 $as_echo "$CC" >&6; }
4376 else
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4383 if test -z "$ac_cv_prog_CC"; then
4384 ac_ct_CC=$CC
4385 # Extract the first word of "gcc", so it can be a program name with args.
4386 set dummy gcc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$ac_ct_CC"; then
4393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_ac_ct_CC="gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4413 if test -n "$ac_ct_CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4415 $as_echo "$ac_ct_CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_ct_CC" = x; then
4422 CC=""
4423 else
4424 case $cross_compiling:$ac_tool_warned in
4425 yes:)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4429 esac
4430 CC=$ac_ct_CC
4432 else
4433 CC="$ac_cv_prog_CC"
4436 if test -z "$CC"; then
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}cc; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 else
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH
4451 IFS=$as_save_IFS
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_CC="${ac_tool_prefix}cc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4459 done
4460 done
4461 IFS=$as_save_IFS
4465 CC=$ac_cv_prog_CC
4466 if test -n "$CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4468 $as_echo "$CC" >&6; }
4469 else
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4477 if test -z "$CC"; then
4478 # Extract the first word of "cc", so it can be a program name with args.
4479 set dummy cc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 ac_prog_rejected=no
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4497 ac_prog_rejected=yes
4498 continue
4500 ac_cv_prog_CC="cc"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 break 2
4504 done
4505 done
4506 IFS=$as_save_IFS
4508 if test $ac_prog_rejected = yes; then
4509 # We found a bogon in the path, so make sure we never use it.
4510 set dummy $ac_cv_prog_CC
4511 shift
4512 if test $# != 0; then
4513 # We chose a different compiler from the bogus one.
4514 # However, it has the same basename, so the bogon will be chosen
4515 # first if we set CC to just the basename; use the full file name.
4516 shift
4517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4522 CC=$ac_cv_prog_CC
4523 if test -n "$CC"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4526 else
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4533 if test -z "$CC"; then
4534 if test -n "$ac_tool_prefix"; then
4535 for ac_prog in cl.exe
4537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if ${ac_cv_prog_CC+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 if test -n "$CC"; then
4545 ac_cv_prog_CC="$CC" # Let the user override the test.
4546 else
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH
4550 IFS=$as_save_IFS
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 break 2
4558 done
4559 done
4560 IFS=$as_save_IFS
4564 CC=$ac_cv_prog_CC
4565 if test -n "$CC"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4567 $as_echo "$CC" >&6; }
4568 else
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$CC" && break
4575 done
4577 if test -z "$CC"; then
4578 ac_ct_CC=$CC
4579 for ac_prog in cl.exe
4581 # Extract the first word of "$ac_prog", so it can be a program name with args.
4582 set dummy $ac_prog; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 if test -n "$ac_ct_CC"; then
4589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4590 else
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH
4594 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_ac_ct_CC="$ac_prog"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4602 done
4603 done
4604 IFS=$as_save_IFS
4608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4609 if test -n "$ac_ct_CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4611 $as_echo "$ac_ct_CC" >&6; }
4612 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4618 test -n "$ac_ct_CC" && break
4619 done
4621 if test "x$ac_ct_CC" = x; then
4622 CC=""
4623 else
4624 case $cross_compiling:$ac_tool_warned in
4625 yes:)
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned=yes ;;
4629 esac
4630 CC=$ac_ct_CC
4637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4639 as_fn_error $? "no acceptable C compiler found in \$PATH
4640 See \`config.log' for more details" "$LINENO" 5; }
4642 # Provide some information about the compiler.
4643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4644 set X $ac_compile
4645 ac_compiler=$2
4646 for ac_option in --version -v -V -qversion; do
4647 { { ac_try="$ac_compiler $ac_option >&5"
4648 case "(($ac_try" in
4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4651 esac
4652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4653 $as_echo "$ac_try_echo"; } >&5
4654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4655 ac_status=$?
4656 if test -s conftest.err; then
4657 sed '10a\
4658 ... rest of stderr output deleted ...
4659 10q' conftest.err >conftest.er1
4660 cat conftest.er1 >&5
4662 rm -f conftest.er1 conftest.err
4663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4664 test $ac_status = 0; }
4665 done
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4675 return 0;
4677 _ACEOF
4678 ac_clean_files_save=$ac_clean_files
4679 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4680 # Try to create an executable without -o first, disregard a.out.
4681 # It will help us diagnose broken compilers, and finding out an intuition
4682 # of exeext.
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4684 $as_echo_n "checking whether the C compiler works... " >&6; }
4685 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4687 # The possible output files:
4688 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4690 ac_rmfiles=
4691 for ac_file in $ac_files
4693 case $ac_file in
4694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4696 esac
4697 done
4698 rm -f $ac_rmfiles
4700 if { { ac_try="$ac_link_default"
4701 case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4704 esac
4705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4706 $as_echo "$ac_try_echo"; } >&5
4707 (eval "$ac_link_default") 2>&5
4708 ac_status=$?
4709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4710 test $ac_status = 0; }; then :
4711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4712 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4714 # so that the user can short-circuit this test for compilers unknown to
4715 # Autoconf.
4716 for ac_file in $ac_files ''
4718 test -f "$ac_file" || continue
4719 case $ac_file in
4720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4722 [ab].out )
4723 # We found the default executable, but exeext='' is most
4724 # certainly right.
4725 break;;
4726 *.* )
4727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4728 then :; else
4729 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4731 # We set ac_cv_exeext here because the later test for it is not
4732 # safe: cross compilers may not add the suffix if given an `-o'
4733 # argument, so we may need to know it at that point already.
4734 # Even if this section looks crufty: it has the advantage of
4735 # actually working.
4736 break;;
4738 break;;
4739 esac
4740 done
4741 test "$ac_cv_exeext" = no && ac_cv_exeext=
4743 else
4744 ac_file=''
4746 if test -z "$ac_file"; then :
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4749 $as_echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error 77 "C compiler cannot create executables
4755 See \`config.log' for more details" "$LINENO" 5; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4758 $as_echo "yes" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4761 $as_echo_n "checking for C compiler default output file name... " >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4763 $as_echo "$ac_file" >&6; }
4764 ac_exeext=$ac_cv_exeext
4766 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4767 ac_clean_files=$ac_clean_files_save
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4769 $as_echo_n "checking for suffix of executables... " >&6; }
4770 if { { ac_try="$ac_link"
4771 case "(($ac_try" in
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4774 esac
4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4776 $as_echo "$ac_try_echo"; } >&5
4777 (eval "$ac_link") 2>&5
4778 ac_status=$?
4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 test $ac_status = 0; }; then :
4781 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4782 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4783 # work properly (i.e., refer to `conftest.exe'), while it won't with
4784 # `rm'.
4785 for ac_file in conftest.exe conftest conftest.*; do
4786 test -f "$ac_file" || continue
4787 case $ac_file in
4788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4789 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4790 break;;
4791 * ) break;;
4792 esac
4793 done
4794 else
4795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4797 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4798 See \`config.log' for more details" "$LINENO" 5; }
4800 rm -f conftest conftest$ac_cv_exeext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4802 $as_echo "$ac_cv_exeext" >&6; }
4804 rm -f conftest.$ac_ext
4805 EXEEXT=$ac_cv_exeext
4806 ac_exeext=$EXEEXT
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809 #include <stdio.h>
4811 main ()
4813 FILE *f = fopen ("conftest.out", "w");
4814 return ferror (f) || fclose (f) != 0;
4817 return 0;
4819 _ACEOF
4820 ac_clean_files="$ac_clean_files conftest.out"
4821 # Check that the compiler produces executables we can run. If not, either
4822 # the compiler is broken, or we cross compile.
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4824 $as_echo_n "checking whether we are cross compiling... " >&6; }
4825 if test "$cross_compiling" != yes; then
4826 { { ac_try="$ac_link"
4827 case "(($ac_try" in
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4830 esac
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_link") 2>&5
4834 ac_status=$?
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }
4837 if { ac_try='./conftest$ac_cv_exeext'
4838 { { case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_try") 2>&5
4845 ac_status=$?
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }; }; then
4848 cross_compiling=no
4849 else
4850 if test "$cross_compiling" = maybe; then
4851 cross_compiling=yes
4852 else
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $? "cannot run C compiled programs.
4856 If you meant to cross compile, use \`--host'.
4857 See \`config.log' for more details" "$LINENO" 5; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4862 $as_echo "$cross_compiling" >&6; }
4864 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4865 ac_clean_files=$ac_clean_files_save
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4867 $as_echo_n "checking for suffix of object files... " >&6; }
4868 if ${ac_cv_objext+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 rm -f conftest.o conftest.obj
4883 if { { ac_try="$ac_compile"
4884 case "(($ac_try" in
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4887 esac
4888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4889 $as_echo "$ac_try_echo"; } >&5
4890 (eval "$ac_compile") 2>&5
4891 ac_status=$?
4892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4893 test $ac_status = 0; }; then :
4894 for ac_file in conftest.o conftest.obj conftest.*; do
4895 test -f "$ac_file" || continue;
4896 case $ac_file in
4897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4898 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4899 break;;
4900 esac
4901 done
4902 else
4903 $as_echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4908 as_fn_error $? "cannot compute suffix of object files: cannot compile
4909 See \`config.log' for more details" "$LINENO" 5; }
4911 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4914 $as_echo "$ac_cv_objext" >&6; }
4915 OBJEXT=$ac_cv_objext
4916 ac_objext=$OBJEXT
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4919 if ${ac_cv_c_compiler_gnu+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4926 main ()
4928 #ifndef __GNUC__
4929 choke me
4930 #endif
4933 return 0;
4935 _ACEOF
4936 if ac_fn_c_try_compile "$LINENO"; then :
4937 ac_compiler_gnu=yes
4938 else
4939 ac_compiler_gnu=no
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4947 if test $ac_compiler_gnu = yes; then
4948 GCC=yes
4949 else
4950 GCC=
4952 ac_test_CFLAGS=${CFLAGS+set}
4953 ac_save_CFLAGS=$CFLAGS
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4956 if ${ac_cv_prog_cc_g+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 ac_save_c_werror_flag=$ac_c_werror_flag
4960 ac_c_werror_flag=yes
4961 ac_cv_prog_cc_g=no
4962 CFLAGS="-g"
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 ac_cv_prog_cc_g=yes
4976 else
4977 CFLAGS=""
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_compile "$LINENO"; then :
4991 else
4992 ac_c_werror_flag=$ac_save_c_werror_flag
4993 CFLAGS="-g"
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_compile "$LINENO"; then :
5006 ac_cv_prog_cc_g=yes
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 ac_c_werror_flag=$ac_save_c_werror_flag
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5016 $as_echo "$ac_cv_prog_cc_g" >&6; }
5017 if test "$ac_test_CFLAGS" = set; then
5018 CFLAGS=$ac_save_CFLAGS
5019 elif test $ac_cv_prog_cc_g = yes; then
5020 if test "$GCC" = yes; then
5021 CFLAGS="-g -O2"
5022 else
5023 CFLAGS="-g"
5025 else
5026 if test "$GCC" = yes; then
5027 CFLAGS="-O2"
5028 else
5029 CFLAGS=
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5034 if ${ac_cv_prog_cc_c89+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 ac_cv_prog_cc_c89=no
5038 ac_save_CC=$CC
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <stdarg.h>
5042 #include <stdio.h>
5043 struct stat;
5044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5045 struct buf { int x; };
5046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5047 static char *e (p, i)
5048 char **p;
5049 int i;
5051 return p[i];
5053 static char *f (char * (*g) (char **, int), char **p, ...)
5055 char *s;
5056 va_list v;
5057 va_start (v,p);
5058 s = g (p, va_arg (v,int));
5059 va_end (v);
5060 return s;
5063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std. */
5070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5073 inside strings and character constants. */
5074 #define FOO(x) 'x'
5075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5077 int test (int i, double x);
5078 struct s1 {int (*f) (int a);};
5079 struct s2 {int (*f) (double a);};
5080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5081 int argc;
5082 char **argv;
5084 main ()
5086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5088 return 0;
5090 _ACEOF
5091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5094 CC="$ac_save_CC $ac_arg"
5095 if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_prog_cc_c89=$ac_arg
5098 rm -f core conftest.err conftest.$ac_objext
5099 test "x$ac_cv_prog_cc_c89" != "xno" && break
5100 done
5101 rm -f conftest.$ac_ext
5102 CC=$ac_save_CC
5105 # AC_CACHE_VAL
5106 case "x$ac_cv_prog_cc_c89" in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5109 $as_echo "none needed" >&6; } ;;
5110 xno)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5112 $as_echo "unsupported" >&6; } ;;
5114 CC="$CC $ac_cv_prog_cc_c89"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5117 esac
5118 if test "x$ac_cv_prog_cc_c89" != xno; then :
5122 ac_ext=c
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5128 ac_ext=cpp
5129 ac_cpp='$CXXCPP $CPPFLAGS'
5130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5133 if test -z "$CXX"; then
5134 if test -n "$CCC"; then
5135 CXX=$CCC
5136 else
5137 if test -n "$ac_tool_prefix"; then
5138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_CXX+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$CXX"; then
5148 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 CXX=$ac_cv_prog_CXX
5168 if test -n "$CXX"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5170 $as_echo "$CXX" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$CXX" && break
5178 done
5180 if test -z "$CXX"; then
5181 ac_ct_CXX=$CXX
5182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5184 # Extract the first word of "$ac_prog", so it can be a program name with args.
5185 set dummy $ac_prog; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 if test -n "$ac_ct_CXX"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5197 IFS=$as_save_IFS
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_CXX="$ac_prog"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 break 2
5205 done
5206 done
5207 IFS=$as_save_IFS
5211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5212 if test -n "$ac_ct_CXX"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5214 $as_echo "$ac_ct_CXX" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5221 test -n "$ac_ct_CXX" && break
5222 done
5224 if test "x$ac_ct_CXX" = x; then
5225 CXX="g++"
5226 else
5227 case $cross_compiling:$ac_tool_warned in
5228 yes:)
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned=yes ;;
5232 esac
5233 CXX=$ac_ct_CXX
5239 # Provide some information about the compiler.
5240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5241 set X $ac_compile
5242 ac_compiler=$2
5243 for ac_option in --version -v -V -qversion; do
5244 { { ac_try="$ac_compiler $ac_option >&5"
5245 case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248 esac
5249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5250 $as_echo "$ac_try_echo"; } >&5
5251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5252 ac_status=$?
5253 if test -s conftest.err; then
5254 sed '10a\
5255 ... rest of stderr output deleted ...
5256 10q' conftest.err >conftest.er1
5257 cat conftest.er1 >&5
5259 rm -f conftest.er1 conftest.err
5260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5261 test $ac_status = 0; }
5262 done
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5265 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5266 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5273 main ()
5275 #ifndef __GNUC__
5276 choke me
5277 #endif
5280 return 0;
5282 _ACEOF
5283 if ac_fn_cxx_try_compile "$LINENO"; then :
5284 ac_compiler_gnu=yes
5285 else
5286 ac_compiler_gnu=no
5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5293 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5294 if test $ac_compiler_gnu = yes; then
5295 GXX=yes
5296 else
5297 GXX=
5299 ac_test_CXXFLAGS=${CXXFLAGS+set}
5300 ac_save_CXXFLAGS=$CXXFLAGS
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5302 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5303 if ${ac_cv_prog_cxx_g+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5307 ac_cxx_werror_flag=yes
5308 ac_cv_prog_cxx_g=no
5309 CXXFLAGS="-g"
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5322 ac_cv_prog_cxx_g=yes
5323 else
5324 CXXFLAGS=""
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5333 return 0;
5335 _ACEOF
5336 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 else
5339 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5340 CXXFLAGS="-g"
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5345 main ()
5349 return 0;
5351 _ACEOF
5352 if ac_fn_cxx_try_compile "$LINENO"; then :
5353 ac_cv_prog_cxx_g=yes
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5363 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5364 if test "$ac_test_CXXFLAGS" = set; then
5365 CXXFLAGS=$ac_save_CXXFLAGS
5366 elif test $ac_cv_prog_cxx_g = yes; then
5367 if test "$GXX" = yes; then
5368 CXXFLAGS="-g -O2"
5369 else
5370 CXXFLAGS="-g"
5372 else
5373 if test "$GXX" = yes; then
5374 CXXFLAGS="-O2"
5375 else
5376 CXXFLAGS=
5379 ac_ext=c
5380 ac_cpp='$CPP $CPPFLAGS'
5381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5387 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_CPPBIN+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$CPPBIN"; then
5394 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 CPPBIN=$ac_cv_prog_CPPBIN
5414 if test -n "$CPPBIN"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5416 $as_echo "$CPPBIN" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_CPPBIN"; then
5425 ac_ct_CPPBIN=$CPPBIN
5426 # Extract the first word of "cpp", so it can be a program name with args.
5427 set dummy cpp; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$ac_ct_CPPBIN"; then
5434 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_CPPBIN="cpp"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5454 if test -n "$ac_ct_CPPBIN"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5456 $as_echo "$ac_ct_CPPBIN" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_CPPBIN" = x; then
5463 CPPBIN="cpp"
5464 else
5465 case $cross_compiling:$ac_tool_warned in
5466 yes:)
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5470 esac
5471 CPPBIN=$ac_ct_CPPBIN
5473 else
5474 CPPBIN="$ac_cv_prog_CPPBIN"
5478 cat >>confdefs.h <<_ACEOF
5479 #define EXEEXT "$ac_exeext"
5480 _ACEOF
5482 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5484 set dummy ${ac_tool_prefix}ld; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_LD+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$LD"; then
5491 ac_cv_prog_LD="$LD" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_LD="${ac_tool_prefix}ld"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 LD=$ac_cv_prog_LD
5511 if test -n "$LD"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5513 $as_echo "$LD" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5521 if test -z "$ac_cv_prog_LD"; then
5522 ac_ct_LD=$LD
5523 # Extract the first word of "ld", so it can be a program name with args.
5524 set dummy ld; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$ac_ct_LD"; then
5531 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_LD="ld"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5551 if test -n "$ac_ct_LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5553 $as_echo "$ac_ct_LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5559 if test "x$ac_ct_LD" = x; then
5560 LD=""
5561 else
5562 case $cross_compiling:$ac_tool_warned in
5563 yes:)
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5567 esac
5568 LD=$ac_ct_LD
5570 else
5571 LD="$ac_cv_prog_LD"
5575 case $host in
5576 *-darwin*)
5577 with_fontconfig=${with_fontconfig:-no}
5579 *-mingw32*|*-cygwin*)
5580 enable_win16=${enable_win16:-no}
5581 with_mingw=${with_mingw:-no}
5582 CFLAGS="$CFLAGS -D_WIN32"
5584 esac
5586 case $host in
5587 x86_64*|amd64*)
5588 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5589 then
5590 CC="$CC -m32"
5591 CXX="$CXX -m32"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5594 $as_echo_n "checking whether $CC works... " >&6; }
5595 if ${wine_cv_cc_m32+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5602 main ()
5606 return 0;
5608 _ACEOF
5609 if ac_fn_c_try_link "$LINENO"; then :
5610 wine_cv_cc_m32=yes
5611 else
5612 wine_cv_cc_m32=no
5614 rm -f core conftest.err conftest.$ac_objext \
5615 conftest$ac_exeext conftest.$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5618 $as_echo "$wine_cv_cc_m32" >&6; }
5619 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
5620 host_cpu="i386"
5621 notice_platform="32-bit "
5622 TARGETFLAGS="-m32"
5624 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5625 export PKG_CONFIG_PATH
5626 enable_win16=${enable_win16:-yes}
5627 with_unwind=${with_unwind:-no}
5628 else
5629 if test "x${GCC}" = "xyes"
5630 then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5632 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5633 if ${wine_cv_builtin_ms_va_list+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5638 #include <stdarg.h>
5640 main ()
5642 void func(__builtin_ms_va_list *args);
5644 return 0;
5646 _ACEOF
5647 if ac_fn_c_try_compile "$LINENO"; then :
5648 wine_cv_builtin_ms_va_list=yes
5649 else
5650 wine_cv_builtin_ms_va_list=no
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5655 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5656 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
5658 CC="$CC -m64"
5659 CXX="$CXX -m64"
5660 host_cpu="x86_64"
5661 notice_platform="64-bit "
5662 TARGETFLAGS="-m64"
5666 arm*)
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5668 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5669 if ${wine_cv_thumb+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5674 int ac_test(int i) { return i; }
5676 main ()
5678 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5680 return 0;
5682 _ACEOF
5683 if ac_fn_c_try_link "$LINENO"; then :
5684 wine_cv_thumb=yes
5685 else
5686 wine_cv_thumb=no
5688 rm -f core conftest.err conftest.$ac_objext \
5689 conftest$ac_exeext conftest.$ac_ext
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5692 $as_echo "$wine_cv_thumb" >&6; }
5693 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5694 case $with_float_abi in
5695 soft|softfp|hard)
5696 float_abi=$with_float_abi ;;
5698 case $host_os in
5699 *eabihf)
5700 float_abi=hard ;;
5702 float_abi=softfp
5703 saved_CFLAGS=$CFLAGS
5704 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5706 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5707 if ${wine_cv_float_abi+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5714 main ()
5716 asm("vmrs r2,fpscr");
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_link "$LINENO"; then :
5722 wine_cv_float_abi=yes
5723 else
5724 wine_cv_float_abi=no
5726 rm -f core conftest.err conftest.$ac_objext \
5727 conftest$ac_exeext conftest.$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5730 $as_echo "$wine_cv_float_abi" >&6; }
5731 if test $wine_cv_float_abi = no
5732 then
5733 float_abi=soft
5734 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5736 CFLAGS=$saved_CFLAGS
5737 esac
5739 esac
5740 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5741 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5744 aarch64*)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5746 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5747 if ${wine_cv_builtin_ms_va_list+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5752 #include <stdarg.h>
5754 main ()
5756 void func(__builtin_ms_va_list *args);
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_compile "$LINENO"; then :
5762 wine_cv_builtin_ms_va_list=yes
5763 else
5764 wine_cv_builtin_ms_va_list=no
5766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5769 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5770 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5772 i[3456789]86*)
5773 enable_win16=${enable_win16:-yes}
5774 with_unwind=${with_unwind:-no}
5776 esac
5778 enable_win16=${enable_win16:-no}
5779 enable_win64=${enable_win64:-no}
5781 enable_winetest=${enable_winetest:-$enable_tests}
5783 if test "x$enable_win64" = "xyes"
5784 then
5785 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5786 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5787 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5791 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5792 if ${wine_cv_toolsdir+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 wine_cv_toolsdir="$with_wine_tools"
5796 if test -z "$with_wine_tools"; then
5797 if test "$cross_compiling" = "yes"; then
5798 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5799 elif test -n "$with_wine64"; then
5800 wine_cv_toolsdir="$with_wine64"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5805 $as_echo "$wine_cv_toolsdir" >&6; }
5806 if test -z "$wine_cv_toolsdir"; then
5807 wine_makedep=tools/makedep
5808 TOOLSDIR="\$(top_builddir)"
5810 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5811 wine_makedep=$wine_cv_toolsdir/tools/makedep
5812 case "$wine_cv_toolsdir" in
5813 /*) TOOLSDIR=$wine_cv_toolsdir
5815 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5817 esac
5818 enable_tools=${enable_tools:-no}
5819 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5820 else
5821 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5823 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5824 then
5825 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5829 for ac_prog in flex
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy $ac_prog; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_FLEX+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -n "$FLEX"; then
5839 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_FLEX="$ac_prog"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5852 done
5853 done
5854 IFS=$as_save_IFS
5858 FLEX=$ac_cv_prog_FLEX
5859 if test -n "$FLEX"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5861 $as_echo "$FLEX" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 test -n "$FLEX" && break
5869 done
5870 test -n "$FLEX" || FLEX="none"
5872 if test "$FLEX" = "none"
5873 then
5874 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5877 $as_echo_n "checking whether flex is recent enough... " >&6; }
5878 if ${wine_cv_recent_flex+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 cat >conftest.l <<EOF
5882 %top{
5883 #include "prediluvian.h"
5887 if $FLEX -t conftest.l >/dev/null 2>&5
5888 then
5889 wine_cv_recent_flex=yes
5890 else
5891 wine_cv_recent_flex=no
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5895 $as_echo "$wine_cv_recent_flex" >&6; }
5896 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
5898 for ac_prog in bison
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_BISON+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$BISON"; then
5908 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_BISON="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 BISON=$ac_cv_prog_BISON
5928 if test -n "$BISON"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5930 $as_echo "$BISON" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$BISON" && break
5938 done
5939 test -n "$BISON" || BISON="none"
5941 if test "$BISON" = "none"
5942 then
5943 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5946 $as_echo_n "checking whether bison is recent enough... " >&6; }
5947 if ${wine_cv_recent_bison+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 cat >conftest.y <<EOF
5951 %define parse.error verbose
5953 empty: ;
5955 if $BISON conftest.y >/dev/null 2>&5
5956 then
5957 wine_cv_recent_bison=yes
5958 else
5959 wine_cv_recent_bison=no
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5963 $as_echo "$wine_cv_recent_bison" >&6; }
5964 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
5966 if test -n "$ac_tool_prefix"; then
5967 for ac_prog in ar gar
5969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_AR+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$AR"; then
5977 ac_cv_prog_AR="$AR" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 AR=$ac_cv_prog_AR
5997 if test -n "$AR"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5999 $as_echo "$AR" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$AR" && break
6007 done
6009 if test -z "$AR"; then
6010 ac_ct_AR=$AR
6011 for ac_prog in ar gar
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy $ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$ac_ct_AR"; then
6021 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_ac_ct_AR="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6041 if test -n "$ac_ct_AR"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6043 $as_echo "$ac_ct_AR" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$ac_ct_AR" && break
6051 done
6053 if test "x$ac_ct_AR" = x; then
6054 AR="ar"
6055 else
6056 case $cross_compiling:$ac_tool_warned in
6057 yes:)
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6061 esac
6062 AR=$ac_ct_AR
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}strip; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_STRIP+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -n "$STRIP"; then
6075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 STRIP=$ac_cv_prog_STRIP
6095 if test -n "$STRIP"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6097 $as_echo "$STRIP" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6105 if test -z "$ac_cv_prog_STRIP"; then
6106 ac_ct_STRIP=$STRIP
6107 # Extract the first word of "strip", so it can be a program name with args.
6108 set dummy strip; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$ac_ct_STRIP"; then
6115 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ac_ct_STRIP="strip"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6135 if test -n "$ac_ct_STRIP"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6137 $as_echo "$ac_ct_STRIP" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6143 if test "x$ac_ct_STRIP" = x; then
6144 STRIP="strip"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 STRIP=$ac_ct_STRIP
6154 else
6155 STRIP="$ac_cv_prog_STRIP"
6158 if test -n "$ac_tool_prefix"; then
6159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 $as_echo_n "checking for $ac_word... " >&6; }
6163 if ${ac_cv_prog_RANLIB+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if test -n "$RANLIB"; then
6167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6180 done
6181 done
6182 IFS=$as_save_IFS
6186 RANLIB=$ac_cv_prog_RANLIB
6187 if test -n "$RANLIB"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6189 $as_echo "$RANLIB" >&6; }
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 $as_echo "no" >&6; }
6197 if test -z "$ac_cv_prog_RANLIB"; then
6198 ac_ct_RANLIB=$RANLIB
6199 # Extract the first word of "ranlib", so it can be a program name with args.
6200 set dummy ranlib; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 if test -n "$ac_ct_RANLIB"; then
6207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_ac_ct_RANLIB="ranlib"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 break 2
6220 done
6221 done
6222 IFS=$as_save_IFS
6226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6227 if test -n "$ac_ct_RANLIB"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6229 $as_echo "$ac_ct_RANLIB" >&6; }
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6235 if test "x$ac_ct_RANLIB" = x; then
6236 RANLIB=":"
6237 else
6238 case $cross_compiling:$ac_tool_warned in
6239 yes:)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6243 esac
6244 RANLIB=$ac_ct_RANLIB
6246 else
6247 RANLIB="$ac_cv_prog_RANLIB"
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6251 $as_echo_n "checking whether ln -s works... " >&6; }
6252 LN_S=$as_ln_s
6253 if test "$LN_S" = "ln -s"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6255 $as_echo "yes" >&6; }
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6258 $as_echo "no, using $LN_S" >&6; }
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6263 if ${ac_cv_path_GREP+:} false; then :
6264 $as_echo_n "(cached) " >&6
6265 else
6266 if test -z "$GREP"; then
6267 ac_path_GREP_found=false
6268 # Loop through the user's path and test for each of PROGNAME-LIST
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_prog in grep ggrep; do
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6277 as_fn_executable_p "$ac_path_GREP" || continue
6278 # Check for GNU ac_path_GREP and select it if it is found.
6279 # Check for GNU $ac_path_GREP
6280 case `"$ac_path_GREP" --version 2>&1` in
6281 *GNU*)
6282 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6284 ac_count=0
6285 $as_echo_n 0123456789 >"conftest.in"
6286 while :
6288 cat "conftest.in" "conftest.in" >"conftest.tmp"
6289 mv "conftest.tmp" "conftest.in"
6290 cp "conftest.in" "conftest.nl"
6291 $as_echo 'GREP' >> "conftest.nl"
6292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6293 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6294 as_fn_arith $ac_count + 1 && ac_count=$as_val
6295 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6296 # Best one so far, save it but keep looking for a better one
6297 ac_cv_path_GREP="$ac_path_GREP"
6298 ac_path_GREP_max=$ac_count
6300 # 10*(2^10) chars as input seems more than enough
6301 test $ac_count -gt 10 && break
6302 done
6303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6304 esac
6306 $ac_path_GREP_found && break 3
6307 done
6308 done
6309 done
6310 IFS=$as_save_IFS
6311 if test -z "$ac_cv_path_GREP"; then
6312 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6314 else
6315 ac_cv_path_GREP=$GREP
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6320 $as_echo "$ac_cv_path_GREP" >&6; }
6321 GREP="$ac_cv_path_GREP"
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6325 $as_echo_n "checking for egrep... " >&6; }
6326 if ${ac_cv_path_EGREP+:} false; then :
6327 $as_echo_n "(cached) " >&6
6328 else
6329 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6330 then ac_cv_path_EGREP="$GREP -E"
6331 else
6332 if test -z "$EGREP"; then
6333 ac_path_EGREP_found=false
6334 # Loop through the user's path and test for each of PROGNAME-LIST
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_prog in egrep; do
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6343 as_fn_executable_p "$ac_path_EGREP" || continue
6344 # Check for GNU ac_path_EGREP and select it if it is found.
6345 # Check for GNU $ac_path_EGREP
6346 case `"$ac_path_EGREP" --version 2>&1` in
6347 *GNU*)
6348 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6350 ac_count=0
6351 $as_echo_n 0123456789 >"conftest.in"
6352 while :
6354 cat "conftest.in" "conftest.in" >"conftest.tmp"
6355 mv "conftest.tmp" "conftest.in"
6356 cp "conftest.in" "conftest.nl"
6357 $as_echo 'EGREP' >> "conftest.nl"
6358 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6360 as_fn_arith $ac_count + 1 && ac_count=$as_val
6361 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6362 # Best one so far, save it but keep looking for a better one
6363 ac_cv_path_EGREP="$ac_path_EGREP"
6364 ac_path_EGREP_max=$ac_count
6366 # 10*(2^10) chars as input seems more than enough
6367 test $ac_count -gt 10 && break
6368 done
6369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6370 esac
6372 $ac_path_EGREP_found && break 3
6373 done
6374 done
6375 done
6376 IFS=$as_save_IFS
6377 if test -z "$ac_cv_path_EGREP"; then
6378 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6380 else
6381 ac_cv_path_EGREP=$EGREP
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6387 $as_echo "$ac_cv_path_EGREP" >&6; }
6388 EGREP="$ac_cv_path_EGREP"
6391 # Extract the first word of "ldconfig", so it can be a program name with args.
6392 set dummy ldconfig; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_path_LDCONFIG+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 case $LDCONFIG in
6399 [\\/]* | ?:[\\/]*)
6400 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in /sbin /usr/sbin $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6418 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6420 esac
6422 LDCONFIG=$ac_cv_path_LDCONFIG
6423 if test -n "$LDCONFIG"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6425 $as_echo "$LDCONFIG" >&6; }
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6432 for ac_prog in msgfmt
6434 # Extract the first word of "$ac_prog", so it can be a program name with args.
6435 set dummy $ac_prog; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_MSGFMT+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 if test -n "$MSGFMT"; then
6442 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6443 else
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in $PATH
6447 IFS=$as_save_IFS
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_MSGFMT="$ac_prog"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 break 2
6455 done
6456 done
6457 IFS=$as_save_IFS
6461 MSGFMT=$ac_cv_prog_MSGFMT
6462 if test -n "$MSGFMT"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6464 $as_echo "$MSGFMT" >&6; }
6465 else
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6471 test -n "$MSGFMT" && break
6472 done
6473 test -n "$MSGFMT" || MSGFMT="false"
6475 if ${ac_tool_prefix+:} false; then :
6476 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6477 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 $as_echo_n "checking for $ac_word... " >&6; }
6480 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6481 $as_echo_n "(cached) " >&6
6482 else
6483 if test -n "$PKG_CONFIG"; then
6484 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6504 if test -n "$PKG_CONFIG"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6506 $as_echo "$PKG_CONFIG" >&6; }
6507 else
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6515 if test "x$cross_compiling" = xyes; then :
6517 else
6518 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6519 # Extract the first word of "pkg-config", so it can be a program name with args.
6520 set dummy pkg-config; ac_word=$2
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522 $as_echo_n "checking for $ac_word... " >&6; }
6523 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 if test -n "$PKG_CONFIG"; then
6527 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6528 else
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 for as_dir in $PATH
6532 IFS=$as_save_IFS
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_PKG_CONFIG="pkg-config"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 break 2
6540 done
6541 done
6542 IFS=$as_save_IFS
6546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6547 if test -n "$PKG_CONFIG"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6549 $as_echo "$PKG_CONFIG" >&6; }
6550 else
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552 $as_echo "no" >&6; }
6557 else
6558 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6561 if test "x$enable_maintainer_mode" != "xyes"
6562 then
6563 FONTFORGE=""
6564 RSVG=""
6565 CONVERT=""
6566 ICOTOOL=""
6567 else
6568 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6569 for ac_prog in fontforge
6571 # Extract the first word of "$ac_prog", so it can be a program name with args.
6572 set dummy $ac_prog; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_FONTFORGE+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$FONTFORGE"; then
6579 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_FONTFORGE="$ac_prog"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6592 done
6593 done
6594 IFS=$as_save_IFS
6598 FONTFORGE=$ac_cv_prog_FONTFORGE
6599 if test -n "$FONTFORGE"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6601 $as_echo "$FONTFORGE" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6608 test -n "$FONTFORGE" && break
6609 done
6610 test -n "$FONTFORGE" || FONTFORGE="false"
6612 for ac_prog in rsvg-convert rsvg
6614 # Extract the first word of "$ac_prog", so it can be a program name with args.
6615 set dummy $ac_prog; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_RSVG+:} false; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 if test -n "$RSVG"; then
6622 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_RSVG="$ac_prog"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6641 RSVG=$ac_cv_prog_RSVG
6642 if test -n "$RSVG"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6644 $as_echo "$RSVG" >&6; }
6645 else
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6651 test -n "$RSVG" && break
6652 done
6653 test -n "$RSVG" || RSVG="false"
6655 for ac_prog in convert
6657 # Extract the first word of "$ac_prog", so it can be a program name with args.
6658 set dummy $ac_prog; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_CONVERT+:} false; then :
6662 $as_echo_n "(cached) " >&6
6663 else
6664 if test -n "$CONVERT"; then
6665 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6670 IFS=$as_save_IFS
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_CONVERT="$ac_prog"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 break 2
6678 done
6679 done
6680 IFS=$as_save_IFS
6684 CONVERT=$ac_cv_prog_CONVERT
6685 if test -n "$CONVERT"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6687 $as_echo "$CONVERT" >&6; }
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6694 test -n "$CONVERT" && break
6695 done
6696 test -n "$CONVERT" || CONVERT="false"
6698 for ac_prog in icotool
6700 # Extract the first word of "$ac_prog", so it can be a program name with args.
6701 set dummy $ac_prog; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ICOTOOL+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706 else
6707 if test -n "$ICOTOOL"; then
6708 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6709 else
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 for as_dir in $PATH
6713 IFS=$as_save_IFS
6714 test -z "$as_dir" && as_dir=.
6715 for ac_exec_ext in '' $ac_executable_extensions; do
6716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6717 ac_cv_prog_ICOTOOL="$ac_prog"
6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719 break 2
6721 done
6722 done
6723 IFS=$as_save_IFS
6727 ICOTOOL=$ac_cv_prog_ICOTOOL
6728 if test -n "$ICOTOOL"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6730 $as_echo "$ICOTOOL" >&6; }
6731 else
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6737 test -n "$ICOTOOL" && break
6738 done
6739 test -n "$ICOTOOL" || ICOTOOL="false"
6741 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6742 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6744 if test "$CONVERT" = false
6745 then
6746 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6749 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6750 convert_version=`convert --version | head -n1`
6751 if test "x$convert_version" != "x"
6752 then
6753 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6754 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6755 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6756 then
6757 CONVERT=false
6760 if test "$CONVERT" = false
6761 then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6763 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6764 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6767 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6771 if test "$ICOTOOL" = false
6772 then
6773 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6774 else
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6776 $as_echo_n "checking for recent enough icotool... " >&6; }
6777 icotool_version=`icotool --version | head -n1`
6778 if test "x$icotool_version" != "x"
6779 then
6780 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6781 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6782 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6783 then
6784 ICOTOOL=false
6785 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6788 if test "$ICOTOOL" = false
6789 then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6791 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6792 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6793 else
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6795 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6799 with_gettext=yes
6800 with_gettextpo=yes
6802 enable_werror=yes
6805 test "x$with_gettext" != xno || MSGFMT=false
6806 if test "$MSGFMT" != "false"
6807 then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6809 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6810 if ${wine_cv_msgfmt_contexts+:} false; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6813 cat >conftest.po <<EOF
6814 # comment
6815 msgctxt "ctxt"
6816 msgid "id"
6817 msgstr "str"
6819 if $MSGFMT -o /dev/null conftest.po 2>&5
6820 then
6821 wine_cv_msgfmt_contexts=yes
6822 else
6823 wine_cv_msgfmt_contexts=no
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6827 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6828 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6830 if test "$MSGFMT" = false; then :
6831 case "x$with_gettext" in
6832 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6833 xno) ;;
6834 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6835 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6836 esac
6837 enable_po=${enable_po:-no}
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6842 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6843 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 ac_check_lib_save_LIBS=$LIBS
6847 LIBS="-li386 $LIBS"
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6851 /* Override any GCC internal prototype to avoid an error.
6852 Use char because int might match the return type of a GCC
6853 builtin and then its argument prototype would still apply. */
6854 #ifdef __cplusplus
6855 extern "C"
6856 #endif
6857 char i386_set_ldt ();
6859 main ()
6861 return i386_set_ldt ();
6863 return 0;
6865 _ACEOF
6866 if ac_fn_c_try_link "$LINENO"; then :
6867 ac_cv_lib_i386_i386_set_ldt=yes
6868 else
6869 ac_cv_lib_i386_i386_set_ldt=no
6871 rm -f core conftest.err conftest.$ac_objext \
6872 conftest$ac_exeext conftest.$ac_ext
6873 LIBS=$ac_check_lib_save_LIBS
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6876 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6877 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6878 I386_LIBS="-li386"
6883 OPENGL_LIBS=""
6887 # Check whether --enable-largefile was given.
6888 if test "${enable_largefile+set}" = set; then :
6889 enableval=$enable_largefile;
6892 if test "$enable_largefile" != no; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6895 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6896 if ${ac_cv_sys_largefile_CC+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 ac_cv_sys_largefile_CC=no
6900 if test "$GCC" != yes; then
6901 ac_save_CC=$CC
6902 while :; do
6903 # IRIX 6.2 and later do not support large files by default,
6904 # so use the C compiler's -n32 option if that helps.
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 #include <sys/types.h>
6908 /* Check that off_t can represent 2**63 - 1 correctly.
6909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6910 since some C++ compilers masquerading as C compilers
6911 incorrectly reject 9223372036854775807. */
6912 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6914 && LARGE_OFF_T % 2147483647 == 1)
6915 ? 1 : -1];
6917 main ()
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 break
6927 rm -f core conftest.err conftest.$ac_objext
6928 CC="$CC -n32"
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 ac_cv_sys_largefile_CC=' -n32'; break
6932 rm -f core conftest.err conftest.$ac_objext
6933 break
6934 done
6935 CC=$ac_save_CC
6936 rm -f conftest.$ac_ext
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6940 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6941 if test "$ac_cv_sys_largefile_CC" != no; then
6942 CC=$CC$ac_cv_sys_largefile_CC
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6946 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6947 if ${ac_cv_sys_file_offset_bits+:} false; then :
6948 $as_echo_n "(cached) " >&6
6949 else
6950 while :; do
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 #include <sys/types.h>
6954 /* Check that off_t can represent 2**63 - 1 correctly.
6955 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6956 since some C++ compilers masquerading as C compilers
6957 incorrectly reject 9223372036854775807. */
6958 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6959 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6960 && LARGE_OFF_T % 2147483647 == 1)
6961 ? 1 : -1];
6963 main ()
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_compile "$LINENO"; then :
6971 ac_cv_sys_file_offset_bits=no; break
6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6976 #define _FILE_OFFSET_BITS 64
6977 #include <sys/types.h>
6978 /* Check that off_t can represent 2**63 - 1 correctly.
6979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6980 since some C++ compilers masquerading as C compilers
6981 incorrectly reject 9223372036854775807. */
6982 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6984 && LARGE_OFF_T % 2147483647 == 1)
6985 ? 1 : -1];
6987 main ()
6991 return 0;
6993 _ACEOF
6994 if ac_fn_c_try_compile "$LINENO"; then :
6995 ac_cv_sys_file_offset_bits=64; break
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 ac_cv_sys_file_offset_bits=unknown
6999 break
7000 done
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7003 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7004 case $ac_cv_sys_file_offset_bits in #(
7005 no | unknown) ;;
7007 cat >>confdefs.h <<_ACEOF
7008 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7009 _ACEOF
7011 esac
7012 rm -rf conftest*
7013 if test $ac_cv_sys_file_offset_bits = unknown; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7015 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7016 if ${ac_cv_sys_large_files+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 while :; do
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 ac_cv_sys_large_files=no; break
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #define _LARGE_FILES 1
7046 #include <sys/types.h>
7047 /* Check that off_t can represent 2**63 - 1 correctly.
7048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7049 since some C++ compilers masquerading as C compilers
7050 incorrectly reject 9223372036854775807. */
7051 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7053 && LARGE_OFF_T % 2147483647 == 1)
7054 ? 1 : -1];
7056 main ()
7060 return 0;
7062 _ACEOF
7063 if ac_fn_c_try_compile "$LINENO"; then :
7064 ac_cv_sys_large_files=1; break
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 ac_cv_sys_large_files=unknown
7068 break
7069 done
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7072 $as_echo "$ac_cv_sys_large_files" >&6; }
7073 case $ac_cv_sys_large_files in #(
7074 no | unknown) ;;
7076 cat >>confdefs.h <<_ACEOF
7077 #define _LARGE_FILES $ac_cv_sys_large_files
7078 _ACEOF
7080 esac
7081 rm -rf conftest*
7088 ac_ext=c
7089 ac_cpp='$CPP $CPPFLAGS'
7090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7094 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7095 # On Suns, sometimes $CPP names a directory.
7096 if test -n "$CPP" && test -d "$CPP"; then
7097 CPP=
7099 if test -z "$CPP"; then
7100 if ${ac_cv_prog_CPP+:} false; then :
7101 $as_echo_n "(cached) " >&6
7102 else
7103 # Double quotes because CPP needs to be expanded
7104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7106 ac_preproc_ok=false
7107 for ac_c_preproc_warn_flag in '' yes
7109 # Use a header file that comes with gcc, so configuring glibc
7110 # with a fresh cross-compiler works.
7111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7112 # <limits.h> exists even on freestanding compilers.
7113 # On the NeXT, cc -E runs the code through the compiler's parser,
7114 # not just through cpp. "Syntax error" is here to catch this case.
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 #ifdef __STDC__
7118 # include <limits.h>
7119 #else
7120 # include <assert.h>
7121 #endif
7122 Syntax error
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7126 else
7127 # Broken: fails on valid input.
7128 continue
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7132 # OK, works on sane cases. Now check whether nonexistent headers
7133 # can be detected and how.
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7136 #include <ac_nonexistent.h>
7137 _ACEOF
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7139 # Broken: success on invalid input.
7140 continue
7141 else
7142 # Passes both tests.
7143 ac_preproc_ok=:
7144 break
7146 rm -f conftest.err conftest.i conftest.$ac_ext
7148 done
7149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7150 rm -f conftest.i conftest.err conftest.$ac_ext
7151 if $ac_preproc_ok; then :
7152 break
7155 done
7156 ac_cv_prog_CPP=$CPP
7159 CPP=$ac_cv_prog_CPP
7160 else
7161 ac_cv_prog_CPP=$CPP
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7164 $as_echo "$CPP" >&6; }
7165 ac_preproc_ok=false
7166 for ac_c_preproc_warn_flag in '' yes
7168 # Use a header file that comes with gcc, so configuring glibc
7169 # with a fresh cross-compiler works.
7170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7171 # <limits.h> exists even on freestanding compilers.
7172 # On the NeXT, cc -E runs the code through the compiler's parser,
7173 # not just through cpp. "Syntax error" is here to catch this case.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #ifdef __STDC__
7177 # include <limits.h>
7178 #else
7179 # include <assert.h>
7180 #endif
7181 Syntax error
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7185 else
7186 # Broken: fails on valid input.
7187 continue
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7191 # OK, works on sane cases. Now check whether nonexistent headers
7192 # can be detected and how.
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #include <ac_nonexistent.h>
7196 _ACEOF
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7198 # Broken: success on invalid input.
7199 continue
7200 else
7201 # Passes both tests.
7202 ac_preproc_ok=:
7203 break
7205 rm -f conftest.err conftest.i conftest.$ac_ext
7207 done
7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7209 rm -f conftest.i conftest.err conftest.$ac_ext
7210 if $ac_preproc_ok; then :
7212 else
7213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7215 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7216 See \`config.log' for more details" "$LINENO" 5; }
7219 ac_ext=c
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7227 $as_echo_n "checking for ANSI C header files... " >&6; }
7228 if ${ac_cv_header_stdc+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 #include <stdlib.h>
7234 #include <stdarg.h>
7235 #include <string.h>
7236 #include <float.h>
7239 main ()
7243 return 0;
7245 _ACEOF
7246 if ac_fn_c_try_compile "$LINENO"; then :
7247 ac_cv_header_stdc=yes
7248 else
7249 ac_cv_header_stdc=no
7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253 if test $ac_cv_header_stdc = yes; then
7254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <string.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "memchr" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #include <stdlib.h>
7276 _ACEOF
7277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7278 $EGREP "free" >/dev/null 2>&1; then :
7280 else
7281 ac_cv_header_stdc=no
7283 rm -f conftest*
7287 if test $ac_cv_header_stdc = yes; then
7288 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7289 if test "$cross_compiling" = yes; then :
7291 else
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <ctype.h>
7295 #include <stdlib.h>
7296 #if ((' ' & 0x0FF) == 0x020)
7297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7299 #else
7300 # define ISLOWER(c) \
7301 (('a' <= (c) && (c) <= 'i') \
7302 || ('j' <= (c) && (c) <= 'r') \
7303 || ('s' <= (c) && (c) <= 'z'))
7304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7305 #endif
7307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7309 main ()
7311 int i;
7312 for (i = 0; i < 256; i++)
7313 if (XOR (islower (i), ISLOWER (i))
7314 || toupper (i) != TOUPPER (i))
7315 return 2;
7316 return 0;
7318 _ACEOF
7319 if ac_fn_c_try_run "$LINENO"; then :
7321 else
7322 ac_cv_header_stdc=no
7324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7325 conftest.$ac_objext conftest.beam conftest.$ac_ext
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7331 $as_echo "$ac_cv_header_stdc" >&6; }
7332 if test $ac_cv_header_stdc = yes; then
7334 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7338 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7339 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7340 inttypes.h stdint.h unistd.h
7341 do :
7342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7343 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7355 for ac_header in \
7356 AL/al.h \
7357 ApplicationServices/ApplicationServices.h \
7358 AudioToolbox/AudioConverter.h \
7359 AudioUnit/AudioUnit.h \
7360 AudioUnit/AudioComponent.h \
7361 CL/cl.h \
7362 Carbon/Carbon.h \
7363 CommonCrypto/CommonCryptor.h \
7364 CoreAudio/CoreAudio.h \
7365 CoreServices/CoreServices.h \
7366 DiskArbitration/DiskArbitration.h \
7367 EGL/egl.h \
7368 IOKit/IOKitLib.h \
7369 IOKit/hid/IOHIDLib.h \
7370 OpenAL/al.h \
7371 OpenCL/opencl.h \
7372 QuickTime/ImageCompression.h \
7373 Security/Security.h \
7374 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7375 SystemConfiguration/SCNetworkConfiguration.h \
7376 alias.h \
7377 arpa/inet.h \
7378 arpa/nameser.h \
7379 asm/types.h \
7380 asm/user.h \
7381 curses.h \
7382 dirent.h \
7383 dlfcn.h \
7384 elf.h \
7385 float.h \
7386 fnmatch.h \
7387 getopt.h \
7388 gettext-po.h \
7389 grp.h \
7390 gsm.h \
7391 gsm/gsm.h \
7392 ieeefp.h \
7393 inet/mib2.h \
7394 kstat.h \
7395 libproc.h \
7396 link.h \
7397 linux/cdrom.h \
7398 linux/compiler.h \
7399 linux/filter.h \
7400 linux/hdreg.h \
7401 linux/hidraw.h \
7402 linux/input.h \
7403 linux/ioctl.h \
7404 linux/joystick.h \
7405 linux/major.h \
7406 linux/param.h \
7407 linux/serial.h \
7408 linux/types.h \
7409 linux/ucdrom.h \
7410 lwp.h \
7411 mach-o/nlist.h \
7412 mach-o/loader.h \
7413 mach/mach.h \
7414 mach/machine.h \
7415 machine/cpu.h \
7416 machine/limits.h \
7417 machine/sysarch.h \
7418 mntent.h \
7419 ncurses.h \
7420 netdb.h \
7421 netinet/in.h \
7422 netinet/in_systm.h \
7423 netinet/tcp.h \
7424 netinet/tcp_fsm.h \
7425 pcap/pcap.h \
7426 poll.h \
7427 port.h \
7428 pthread.h \
7429 pwd.h \
7430 sasl/sasl.h \
7431 sched.h \
7432 scsi/scsi.h \
7433 scsi/scsi_ioctl.h \
7434 scsi/sg.h \
7435 stdbool.h \
7436 stdint.h \
7437 stropts.h \
7438 sys/attr.h \
7439 sys/auxv.h \
7440 sys/cdio.h \
7441 sys/elf32.h \
7442 sys/epoll.h \
7443 sys/event.h \
7444 sys/exec_elf.h \
7445 sys/filio.h \
7446 sys/ioctl.h \
7447 sys/ipc.h \
7448 sys/limits.h \
7449 sys/link.h \
7450 sys/mman.h \
7451 sys/modem.h \
7452 sys/msg.h \
7453 sys/mtio.h \
7454 sys/param.h \
7455 sys/poll.h \
7456 sys/prctl.h \
7457 sys/protosw.h \
7458 sys/ptrace.h \
7459 sys/queue.h \
7460 sys/resource.h \
7461 sys/scsiio.h \
7462 sys/shm.h \
7463 sys/signal.h \
7464 sys/socket.h \
7465 sys/socketvar.h \
7466 sys/sockio.h \
7467 sys/statvfs.h \
7468 sys/strtio.h \
7469 sys/syscall.h \
7470 sys/sysinfo.h \
7471 sys/tihdr.h \
7472 sys/time.h \
7473 sys/timeout.h \
7474 sys/times.h \
7475 sys/uio.h \
7476 sys/user.h \
7477 sys/utsname.h \
7478 sys/vnode.h \
7479 sys/wait.h \
7480 syscall.h \
7481 termios.h \
7482 unistd.h \
7483 utime.h \
7484 valgrind/memcheck.h \
7485 valgrind/valgrind.h
7487 do :
7488 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7491 cat >>confdefs.h <<_ACEOF
7492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7493 _ACEOF
7497 done
7499 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7500 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7502 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7507 if test $ac_cv_header_sys_mkdev_h = no; then
7508 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7509 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7511 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7518 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7519 if ${ac_cv_header_stat_broken+:} false; then :
7520 $as_echo_n "(cached) " >&6
7521 else
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7524 #include <sys/types.h>
7525 #include <sys/stat.h>
7527 #if defined S_ISBLK && defined S_IFDIR
7528 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7529 #endif
7531 #if defined S_ISBLK && defined S_IFCHR
7532 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7533 #endif
7535 #if defined S_ISLNK && defined S_IFREG
7536 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7537 #endif
7539 #if defined S_ISSOCK && defined S_IFREG
7540 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7541 #endif
7543 _ACEOF
7544 if ac_fn_c_try_compile "$LINENO"; then :
7545 ac_cv_header_stat_broken=no
7546 else
7547 ac_cv_header_stat_broken=yes
7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7552 $as_echo "$ac_cv_header_stat_broken" >&6; }
7553 if test $ac_cv_header_stat_broken = yes; then
7555 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7561 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7562 do :
7563 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7565 #ifdef HAVE_SYS_PARAM_H
7566 # include <sys/param.h>
7567 #endif
7569 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7570 cat >>confdefs.h <<_ACEOF
7571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7572 _ACEOF
7576 done
7579 for ac_header in \
7580 netinet/ip.h \
7581 net/if.h \
7582 net/if_arp.h \
7583 net/if_dl.h \
7584 net/if_types.h \
7585 net/route.h \
7586 netinet/if_ether.h \
7587 netinet/if_inarp.h \
7588 netinet/in_pcb.h \
7589 netinet/ip_icmp.h \
7590 netinet/ip_var.h \
7591 netinet/udp.h \
7592 netipx/ipx.h \
7593 sys/un.h \
7595 do :
7596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7598 #ifdef HAVE_SYS_SOCKET_H
7599 # include <sys/socket.h>
7600 #endif
7601 #ifdef HAVE_SYS_SOCKETVAR_H
7602 # include <sys/socketvar.h>
7603 #endif
7604 #ifdef HAVE_NET_ROUTE_H
7605 # include <net/route.h>
7606 #endif
7607 #ifdef HAVE_NETINET_IN_H
7608 # include <netinet/in.h>
7609 #endif
7610 #ifdef HAVE_NETINET_IN_SYSTM_H
7611 # include <netinet/in_systm.h>
7612 #endif
7613 #ifdef HAVE_NET_IF_H
7614 # include <net/if.h>
7615 #endif
7616 #ifdef HAVE_NETINET_IP_H
7617 # include <netinet/ip.h>
7618 #endif
7620 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7621 cat >>confdefs.h <<_ACEOF
7622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7623 _ACEOF
7627 done
7630 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7631 do :
7632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7634 #ifdef HAVE_ALIAS_H
7635 # include <alias.h>
7636 #endif
7637 #ifdef HAVE_SYS_SOCKET_H
7638 # include <sys/socket.h>
7639 #endif
7640 #ifdef HAVE_SYS_SOCKETVAR_H
7641 # include <sys/socketvar.h>
7642 #endif
7643 #ifdef HAVE_SYS_TIMEOUT_H
7644 # include <sys/timeout.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IN_H
7647 # include <netinet/in.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IN_SYSTM_H
7650 # include <netinet/in_systm.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IP_H
7653 # include <netinet/ip.h>
7654 #endif
7655 #ifdef HAVE_NETINET_IP_VAR_H
7656 # include <netinet/ip_var.h>
7657 #endif
7658 #ifdef HAVE_NETINET_IP_ICMP_H
7659 # include <netinet/ip_icmp.h>
7660 #endif
7661 #ifdef HAVE_NETINET_UDP_H
7662 # include <netinet/udp.h>
7663 #endif
7664 #ifdef HAVE_NETINET_TCP_H
7665 # include <netinet/tcp.h>
7666 #endif
7667 #ifdef HAVE_NETINET_TCP_TIMER_H
7668 #include <netinet/tcp_timer.h>
7669 #endif
7671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7681 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7682 do :
7683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7685 #ifdef HAVE_ASM_TYPES_H
7686 # include <asm/types.h>
7687 #endif
7688 #ifdef HAVE_SYS_SOCKET_H
7689 # include <sys/socket.h>
7690 #endif
7691 #ifdef HAVE_LINUX_TYPES_H
7692 # include <linux/types.h>
7693 #endif
7695 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7696 cat >>confdefs.h <<_ACEOF
7697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7698 _ACEOF
7702 done
7705 for ac_header in resolv.h
7706 do :
7707 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7708 #ifdef HAVE_SYS_SOCKET_H
7709 # include <sys/socket.h>
7710 #endif
7711 #ifdef HAVE_NETINET_IN_H
7712 # include <netinet/in.h>
7713 #endif
7714 #ifdef HAVE_ARPA_NAMESER_H
7715 # include <arpa/nameser.h>
7716 #endif
7718 if test "x$ac_cv_header_resolv_h" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_RESOLV_H 1
7721 _ACEOF
7725 done
7728 for ac_header in ifaddrs.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7732 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_IFADDRS_H 1
7735 _ACEOF
7739 done
7742 for ac_header in sys/ucontext.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7746 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_SYS_UCONTEXT_H 1
7749 _ACEOF
7753 done
7756 for ac_header in sys/thr.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7759 #ifdef HAVE_SYS_UCONTEXT_H
7760 #include <sys/ucontext.h>
7761 #endif
7763 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_SYS_THR_H 1
7766 _ACEOF
7770 done
7773 for ac_header in pthread_np.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7776 #include <pthread.h>
7777 #endif
7779 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_PTHREAD_NP_H 1
7782 _ACEOF
7786 done
7789 for ac_header in linux/videodev2.h
7790 do :
7791 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7792 #include <sys/time.h>
7793 #endif
7794 #include <sys/types.h>
7795 #ifdef HAVE_ASM_TYPES_H
7796 #include <asm/types.h>
7797 #endif
7799 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_LINUX_VIDEODEV2_H 1
7802 _ACEOF
7806 done
7809 for ac_header in libprocstat.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7812 #include <sys/param.h>
7813 #endif
7814 #ifdef HAVE_SYS_QUEUE_H
7815 #include <sys/queue.h>
7816 #endif
7817 #ifdef HAVE_SYS_SOCKET_H
7818 #include <sys/socket.h>
7819 #endif
7821 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_LIBPROCSTAT_H 1
7824 _ACEOF
7828 done
7832 DLLFLAGS="-D_REENTRANT"
7834 LDRPATH_INSTALL=""
7836 LDRPATH_LOCAL=""
7838 LDDLLFLAGS=""
7840 LDEXECFLAGS=""
7842 TOP_INSTALL_LIB=""
7844 TOP_INSTALL_DEV=""
7846 WINELOADER_LDFLAGS=""
7848 WINEPRELOADER_LDFLAGS=""
7850 LIBEXT="so"
7851 DLLEXT=".so"
7852 # Extract the first word of "ldd", so it can be a program name with args.
7853 set dummy ldd; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_path_LDD+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 case $LDD in
7860 [\\/]* | ?:[\\/]*)
7861 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 as_dummy="/sbin:/usr/sbin:$PATH"
7866 for as_dir in $as_dummy
7868 IFS=$as_save_IFS
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 break 2
7876 done
7877 done
7878 IFS=$as_save_IFS
7880 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7882 esac
7884 LDD=$ac_cv_path_LDD
7885 if test -n "$LDD"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7887 $as_echo "$LDD" >&6; }
7888 else
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 $as_echo "no" >&6; }
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}otool; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_OTOOL+:} false; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 if test -n "$OTOOL"; then
7903 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7904 else
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 for as_dir in $PATH
7908 IFS=$as_save_IFS
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 break 2
7916 done
7917 done
7918 IFS=$as_save_IFS
7922 OTOOL=$ac_cv_prog_OTOOL
7923 if test -n "$OTOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7925 $as_echo "$OTOOL" >&6; }
7926 else
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7933 if test -z "$ac_cv_prog_OTOOL"; then
7934 ac_ct_OTOOL=$OTOOL
7935 # Extract the first word of "otool", so it can be a program name with args.
7936 set dummy otool; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 if test -n "$ac_ct_OTOOL"; then
7943 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_OTOOL="otool"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7962 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7963 if test -n "$ac_ct_OTOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7965 $as_echo "$ac_ct_OTOOL" >&6; }
7966 else
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7971 if test "x$ac_ct_OTOOL" = x; then
7972 OTOOL="otool"
7973 else
7974 case $cross_compiling:$ac_tool_warned in
7975 yes:)
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned=yes ;;
7979 esac
7980 OTOOL=$ac_ct_OTOOL
7982 else
7983 OTOOL="$ac_cv_prog_OTOOL"
7986 if test -n "$ac_tool_prefix"; then
7987 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7988 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_READELF+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 if test -n "$READELF"; then
7995 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7996 else
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 for as_dir in $PATH
8000 IFS=$as_save_IFS
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 break 2
8008 done
8009 done
8010 IFS=$as_save_IFS
8014 READELF=$ac_cv_prog_READELF
8015 if test -n "$READELF"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8017 $as_echo "$READELF" >&6; }
8018 else
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8025 if test -z "$ac_cv_prog_READELF"; then
8026 ac_ct_READELF=$READELF
8027 # Extract the first word of "readelf", so it can be a program name with args.
8028 set dummy readelf; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$ac_ct_READELF"; then
8035 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_ac_ct_READELF="readelf"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8055 if test -n "$ac_ct_READELF"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8057 $as_echo "$ac_ct_READELF" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8063 if test "x$ac_ct_READELF" = x; then
8064 READELF="true"
8065 else
8066 case $cross_compiling:$ac_tool_warned in
8067 yes:)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8070 ac_tool_warned=yes ;;
8071 esac
8072 READELF=$ac_ct_READELF
8074 else
8075 READELF="$ac_cv_prog_READELF"
8078 wine_rules_file=conf$$rules.make
8079 rm -f $wine_rules_file
8080 SUBDIRS=""
8082 DISABLED_SUBDIRS=""
8084 CONFIGURE_TARGETS=""
8087 wine_fn_append_file ()
8089 as_fn_append $1 " \\$as_nl $2"
8092 wine_fn_append_rule ()
8094 $as_echo "$1" >>$wine_rules_file
8097 wine_fn_config_makefile ()
8099 wine_fn_append_file SUBDIRS $1
8100 if eval test \"x\$"$2"\" = x"no"; then :
8101 wine_fn_append_file DISABLED_SUBDIRS $1
8105 wine_fn_config_symlink ()
8107 ac_links=$@
8108 wine_fn_append_rule \
8109 "$ac_links:
8110 @./config.status \$@"
8111 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8114 wine_binary="wine"
8115 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8116 WINELOADER_PROGRAMS="$wine_binary"
8118 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8120 case $host_os in
8121 cygwin*|mingw32*)
8122 if test -n "$ac_tool_prefix"; then
8123 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8124 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_DLLTOOL+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 if test -n "$DLLTOOL"; then
8131 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8136 IFS=$as_save_IFS
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 break 2
8144 done
8145 done
8146 IFS=$as_save_IFS
8150 DLLTOOL=$ac_cv_prog_DLLTOOL
8151 if test -n "$DLLTOOL"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8153 $as_echo "$DLLTOOL" >&6; }
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8161 if test -z "$ac_cv_prog_DLLTOOL"; then
8162 ac_ct_DLLTOOL=$DLLTOOL
8163 # Extract the first word of "dlltool", so it can be a program name with args.
8164 set dummy dlltool; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 if test -n "$ac_ct_DLLTOOL"; then
8171 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8172 else
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 for as_dir in $PATH
8176 IFS=$as_save_IFS
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 break 2
8184 done
8185 done
8186 IFS=$as_save_IFS
8190 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8191 if test -n "$ac_ct_DLLTOOL"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8193 $as_echo "$ac_ct_DLLTOOL" >&6; }
8194 else
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8199 if test "x$ac_ct_DLLTOOL" = x; then
8200 DLLTOOL="false"
8201 else
8202 case $cross_compiling:$ac_tool_warned in
8203 yes:)
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8206 ac_tool_warned=yes ;;
8207 esac
8208 DLLTOOL=$ac_ct_DLLTOOL
8210 else
8211 DLLTOOL="$ac_cv_prog_DLLTOOL"
8214 LIBEXT="dll"
8215 DLLEXT=""
8216 case $host_cpu in
8217 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8218 esac
8219 enable_iphlpapi=${enable_iphlpapi:-no}
8220 enable_kernel32=${enable_kernel32:-no}
8221 enable_ntdll=${enable_ntdll:-no}
8222 enable_ws2_32=${enable_ws2_32:-no}
8223 enable_loader=${enable_loader:-no}
8224 enable_server=${enable_server:-no}
8225 with_x=${with_x:-no}
8226 with_pthread=${with_pthread:-no}
8229 darwin*|macosx*)
8230 ac_ext=m
8231 ac_cpp='$OBJCPP $CPPFLAGS'
8232 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8233 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8234 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8236 ac_ext=m
8237 ac_cpp='$OBJCPP $CPPFLAGS'
8238 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8239 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8240 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8241 if test -n "$ac_tool_prefix"; then
8242 for ac_prog in gcc objcc objc cc CC
8244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_OBJC+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$OBJC"; then
8252 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 OBJC=$ac_cv_prog_OBJC
8272 if test -n "$OBJC"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8274 $as_echo "$OBJC" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8281 test -n "$OBJC" && break
8282 done
8284 if test -z "$OBJC"; then
8285 ac_ct_OBJC=$OBJC
8286 for ac_prog in gcc objcc objc cc CC
8288 # Extract the first word of "$ac_prog", so it can be a program name with args.
8289 set dummy $ac_prog; ac_word=$2
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8291 $as_echo_n "checking for $ac_word... " >&6; }
8292 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 if test -n "$ac_ct_OBJC"; then
8296 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8297 else
8298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8299 for as_dir in $PATH
8301 IFS=$as_save_IFS
8302 test -z "$as_dir" && as_dir=.
8303 for ac_exec_ext in '' $ac_executable_extensions; do
8304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8305 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 break 2
8309 done
8310 done
8311 IFS=$as_save_IFS
8315 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8316 if test -n "$ac_ct_OBJC"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8318 $as_echo "$ac_ct_OBJC" >&6; }
8319 else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8325 test -n "$ac_ct_OBJC" && break
8326 done
8328 if test "x$ac_ct_OBJC" = x; then
8329 OBJC="gcc"
8330 else
8331 case $cross_compiling:$ac_tool_warned in
8332 yes:)
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8335 ac_tool_warned=yes ;;
8336 esac
8337 OBJC=$ac_ct_OBJC
8341 # Provide some information about the compiler.
8342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8343 set X $ac_compile
8344 ac_compiler=$2
8345 for ac_option in --version -v -V -qversion; do
8346 { { ac_try="$ac_compiler $ac_option >&5"
8347 case "(($ac_try" in
8348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8349 *) ac_try_echo=$ac_try;;
8350 esac
8351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8352 $as_echo "$ac_try_echo"; } >&5
8353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8354 ac_status=$?
8355 if test -s conftest.err; then
8356 sed '10a\
8357 ... rest of stderr output deleted ...
8358 10q' conftest.err >conftest.er1
8359 cat conftest.er1 >&5
8361 rm -f conftest.er1 conftest.err
8362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8363 test $ac_status = 0; }
8364 done
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8367 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8368 if ${ac_cv_objc_compiler_gnu+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8375 main ()
8377 #ifndef __GNUC__
8378 choke me
8379 #endif
8382 return 0;
8384 _ACEOF
8385 if ac_fn_objc_try_compile "$LINENO"; then :
8386 ac_compiler_gnu=yes
8387 else
8388 ac_compiler_gnu=no
8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8391 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8395 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8396 if test $ac_compiler_gnu = yes; then
8397 GOBJC=yes
8398 else
8399 GOBJC=
8401 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8402 ac_save_OBJCFLAGS=$OBJCFLAGS
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8404 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8405 if ${ac_cv_prog_objc_g+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_save_objc_werror_flag=$ac_objc_werror_flag
8409 ac_objc_werror_flag=yes
8410 ac_cv_prog_objc_g=no
8411 OBJCFLAGS="-g"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 main ()
8420 return 0;
8422 _ACEOF
8423 if ac_fn_objc_try_compile "$LINENO"; then :
8424 ac_cv_prog_objc_g=yes
8425 else
8426 OBJCFLAGS=""
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 if ac_fn_objc_try_compile "$LINENO"; then :
8440 else
8441 ac_objc_werror_flag=$ac_save_objc_werror_flag
8442 OBJCFLAGS="-g"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8447 main ()
8451 return 0;
8453 _ACEOF
8454 if ac_fn_objc_try_compile "$LINENO"; then :
8455 ac_cv_prog_objc_g=yes
8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 ac_objc_werror_flag=$ac_save_objc_werror_flag
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8465 $as_echo "$ac_cv_prog_objc_g" >&6; }
8466 if test "$ac_test_OBJCFLAGS" = set; then
8467 OBJCFLAGS=$ac_save_OBJCFLAGS
8468 elif test $ac_cv_prog_objc_g = yes; then
8469 if test "$GOBJC" = yes; then
8470 OBJCFLAGS="-g -O2"
8471 else
8472 OBJCFLAGS="-g"
8474 else
8475 if test "$GOBJC" = yes; then
8476 OBJCFLAGS="-O2"
8477 else
8478 OBJCFLAGS=
8481 ac_ext=m
8482 ac_cpp='$OBJCPP $CPPFLAGS'
8483 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8484 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8485 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8488 ac_ext=m
8489 ac_cpp='$OBJCPP $CPPFLAGS'
8490 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8494 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8495 if test -z "$OBJCPP"; then
8496 if ${ac_cv_prog_OBJCPP+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 # Double quotes because OBJCPP needs to be expanded
8500 for OBJCPP in "$OBJC -E" "/lib/cpp"
8502 ac_preproc_ok=false
8503 for ac_objc_preproc_warn_flag in '' yes
8505 # Use a header file that comes with gcc, so configuring glibc
8506 # with a fresh cross-compiler works.
8507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8508 # <limits.h> exists even on freestanding compilers.
8509 # On the NeXT, cc -E runs the code through the compiler's parser,
8510 # not just through cpp. "Syntax error" is here to catch this case.
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 #ifdef __STDC__
8514 # include <limits.h>
8515 #else
8516 # include <assert.h>
8517 #endif
8518 Syntax error
8519 _ACEOF
8520 if ac_fn_objc_try_cpp "$LINENO"; then :
8522 else
8523 # Broken: fails on valid input.
8524 continue
8526 rm -f conftest.err conftest.i conftest.$ac_ext
8528 # OK, works on sane cases. Now check whether nonexistent headers
8529 # can be detected and how.
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 #include <ac_nonexistent.h>
8533 _ACEOF
8534 if ac_fn_objc_try_cpp "$LINENO"; then :
8535 # Broken: success on invalid input.
8536 continue
8537 else
8538 # Passes both tests.
8539 ac_preproc_ok=:
8540 break
8542 rm -f conftest.err conftest.i conftest.$ac_ext
8544 done
8545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8546 rm -f conftest.i conftest.err conftest.$ac_ext
8547 if $ac_preproc_ok; then :
8548 break
8551 done
8552 ac_cv_prog_OBJCPP=$OBJCPP
8555 OBJCPP=$ac_cv_prog_OBJCPP
8556 else
8557 ac_cv_prog_OBJCPP=$OBJCPP
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8560 $as_echo "$OBJCPP" >&6; }
8561 ac_preproc_ok=false
8562 for ac_objc_preproc_warn_flag in '' yes
8564 # Use a header file that comes with gcc, so configuring glibc
8565 # with a fresh cross-compiler works.
8566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8567 # <limits.h> exists even on freestanding compilers.
8568 # On the NeXT, cc -E runs the code through the compiler's parser,
8569 # not just through cpp. "Syntax error" is here to catch this case.
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 #ifdef __STDC__
8573 # include <limits.h>
8574 #else
8575 # include <assert.h>
8576 #endif
8577 Syntax error
8578 _ACEOF
8579 if ac_fn_objc_try_cpp "$LINENO"; then :
8581 else
8582 # Broken: fails on valid input.
8583 continue
8585 rm -f conftest.err conftest.i conftest.$ac_ext
8587 # OK, works on sane cases. Now check whether nonexistent headers
8588 # can be detected and how.
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 #include <ac_nonexistent.h>
8592 _ACEOF
8593 if ac_fn_objc_try_cpp "$LINENO"; then :
8594 # Broken: success on invalid input.
8595 continue
8596 else
8597 # Passes both tests.
8598 ac_preproc_ok=:
8599 break
8601 rm -f conftest.err conftest.i conftest.$ac_ext
8603 done
8604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8605 rm -f conftest.i conftest.err conftest.$ac_ext
8606 if $ac_preproc_ok; then :
8608 else
8609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8611 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8612 See \`config.log' for more details" "$LINENO" 5; }
8615 ac_ext=m
8616 ac_cpp='$OBJCPP $CPPFLAGS'
8617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8622 for ac_header in Metal/Metal.h
8623 do :
8624 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8625 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8626 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_METAL_METAL_H 1
8628 _ACEOF
8632 done
8634 ac_ext=c
8635 ac_cpp='$CPP $CPPFLAGS'
8636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8640 LIBEXT="dylib"
8641 DLLFLAGS="$DLLFLAGS -fPIC"
8642 LDDLLFLAGS="-fPIC"
8643 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8645 COREFOUNDATION_LIBS="-framework CoreFoundation"
8647 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8649 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8651 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8653 CORESERVICES_LIBS="-framework CoreServices"
8655 APPKIT_LIBS="-framework AppKit"
8657 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8660 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8662 wine_can_build_preloader=yes
8663 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8665 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8666 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 int main(int argc, char **argv) { return 0; }
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 ac_cv_cflags__Wl__no_new_main__e__main=yes
8677 else
8678 ac_cv_cflags__Wl__no_new_main__e__main=no
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8685 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8686 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8687 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8690 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8701 else
8702 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8709 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8710 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8711 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8712 else
8713 { $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
8714 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8715 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8726 else
8727 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $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
8734 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8735 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8736 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8737 else
8738 wine_can_build_preloader=no
8741 else
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8743 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8744 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8755 else
8756 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8763 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8764 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8765 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8766 else
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8768 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8769 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8780 else
8781 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8788 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8789 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8790 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8791 else
8792 wine_can_build_preloader=no
8796 if test "$wine_can_build_preloader" = "yes"
8797 then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8800 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -Wl,-no_pie"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__Wl__no_pie=yes
8811 else
8812 ac_cv_cflags__Wl__no_pie=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8819 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8820 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8821 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8823 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8824 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8825 else
8826 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8829 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8830 then
8831 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8834 if test "$ac_cv_header_Security_Security_h" = "yes"
8835 then
8836 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8838 ac_save_LIBS="$LIBS"
8839 LIBS="$LIBS $SECURITY_LIBS"
8840 for ac_func in SSLCopyPeerCertificates
8841 do :
8842 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8843 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8844 cat >>confdefs.h <<_ACEOF
8845 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8846 _ACEOF
8849 done
8851 LIBS="$ac_save_LIBS"
8853 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8854 then
8855 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8856 then
8857 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8859 else
8860 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8863 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8864 ac_save_LIBS="$LIBS"
8865 LIBS="$LIBS $COREAUDIO_LIBS"
8866 for ac_func in AUGraphAddNode
8867 do :
8868 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8869 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8870 cat >>confdefs.h <<_ACEOF
8871 #define HAVE_AUGRAPHADDNODE 1
8872 _ACEOF
8875 done
8877 LIBS="$ac_save_LIBS"
8879 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8880 then
8881 OPENAL_LIBS="-framework OpenAL"
8884 cat >>confdefs.h <<_ACEOF
8885 #define HAVE_OPENAL 1
8886 _ACEOF
8888 ac_cv_lib_openal=yes
8890 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8891 then
8892 OPENCL_LIBS="-framework OpenCL"
8894 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8896 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8897 then
8898 ac_save_LIBS="$LIBS"
8899 LIBS="$LIBS $IOKIT_LIBS"
8900 for ac_func in IOHIDManagerCreate
8901 do :
8902 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8903 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8904 cat >>confdefs.h <<_ACEOF
8905 #define HAVE_IOHIDMANAGERCREATE 1
8906 _ACEOF
8909 done
8911 LIBS="$ac_save_LIBS"
8913 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8914 then
8915 ac_save_LIBS="$LIBS"
8916 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8918 $as_echo_n "checking for the QuickTime framework... " >&6; }
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8921 #include <QuickTime/ImageCompression.h>
8923 main ()
8925 CodecManagerVersion(NULL);
8927 return 0;
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8932 $as_echo "yes" >&6; }
8933 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8935 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8936 else
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8939 ac_cv_header_QuickTime_ImageCompression_h=no
8941 rm -f core conftest.err conftest.$ac_objext \
8942 conftest$ac_exeext conftest.$ac_ext
8943 LIBS="$ac_save_LIBS"
8945 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8946 then
8947 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8949 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8950 then
8951 CARBON_LIBS="-framework Carbon"
8954 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8955 then
8956 METAL_LIBS="-framework Metal -framework QuartzCore"
8960 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8961 then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8963 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8964 ac_ext=m
8965 ac_cpp='$OBJCPP $CPPFLAGS'
8966 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8967 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8968 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8972 #include <Metal/Metal.h>
8974 main ()
8976 id<MTLDevice> device; device.registryID;
8978 return 0;
8980 _ACEOF
8981 if ac_fn_objc_try_compile "$LINENO"; then :
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8983 $as_echo "yes" >&6; }
8985 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8987 else
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992 ac_ext=c
8993 ac_cpp='$CPP $CPPFLAGS'
8994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9000 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9001 then
9002 ac_save_LIBS="$LIBS"
9003 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9004 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9005 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9006 enable_winemac_drv=${enable_winemac_drv:-yes}
9009 LIBS="$ac_save_LIBS"
9012 if test "x$enable_win16" = "xyes"
9013 then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9015 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9016 if test "$cross_compiling" = yes; then :
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9018 $as_echo "cross-compiling, assuming yes" >&6; }
9019 else
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 asm(".text\n"
9023 "bad:\tnop;nop\n"
9024 "good:\tnop;nop\n\t"
9025 ".globl _testfunc\n"
9026 "_testfunc:\tcallw good");
9027 extern void testfunc();
9029 main ()
9031 unsigned short *p = (unsigned short *)testfunc;
9032 return p[0] != 0xe866 || p[1] != 0xfffa
9034 return 0;
9036 _ACEOF
9037 if ac_fn_c_try_run "$LINENO"; then :
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9039 $as_echo "yes" >&6; }
9040 else
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9043 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
9045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9046 conftest.$ac_objext conftest.beam conftest.$ac_ext
9051 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9053 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9055 WINELOADER_DEPENDS="wine_info.plist"
9057 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9058 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9061 linux-android*)
9062 DLLFLAGS="$DLLFLAGS -fPIC"
9063 LDDLLFLAGS="-fPIC"
9064 LDEXECFLAGS="-Wl,-pie"
9065 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9067 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9068 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 ac_wine_try_cflags_saved=$CFLAGS
9072 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 int main(int argc, char **argv) { return 0; }
9076 _ACEOF
9077 if ac_fn_c_try_link "$LINENO"; then :
9078 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9079 else
9080 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9082 rm -f core conftest.err conftest.$ac_objext \
9083 conftest$ac_exeext conftest.$ac_ext
9084 CFLAGS=$ac_wine_try_cflags_saved
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9087 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9088 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9089 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9091 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9092 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9094 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9095 if eval \${$as_ac_var+:} false; then :
9096 $as_echo_n "(cached) " >&6
9097 else
9098 ac_wine_try_cflags_saved=$CFLAGS
9099 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 int main(int argc, char **argv) { return 0; }
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 eval "$as_ac_var=yes"
9106 else
9107 eval "$as_ac_var=no"
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 CFLAGS=$ac_wine_try_cflags_saved
9113 eval ac_res=\$$as_ac_var
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9115 $as_echo "$ac_res" >&6; }
9116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9117 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9118 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9119 else
9120 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9122 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9123 if eval \${$as_ac_var+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_wine_try_cflags_saved=$CFLAGS
9127 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9130 int main(int argc, char **argv) { return 0; }
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 eval "$as_ac_var=yes"
9134 else
9135 eval "$as_ac_var=no"
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 CFLAGS=$ac_wine_try_cflags_saved
9141 eval ac_res=\$$as_ac_var
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9143 $as_echo "$ac_res" >&6; }
9144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9145 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9146 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9150 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9151 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9152 $as_echo_n "(cached) " >&6
9153 else
9154 ac_wine_try_cflags_saved=$CFLAGS
9155 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 int main(int argc, char **argv) { return 0; }
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 ac_cv_cflags__Wl___enable_new_dtags=yes
9162 else
9163 ac_cv_cflags__Wl___enable_new_dtags=no
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 CFLAGS=$ac_wine_try_cflags_saved
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9170 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9171 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9172 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9175 LIBWINE_SHAREDLIB="libwine.so"
9177 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9179 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9182 $as_echo_n "checking for -lEGL... " >&6; }
9183 if ${ac_cv_lib_soname_EGL+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_check_soname_save_LIBS=$LIBS
9187 LIBS="-lEGL $LIBS"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char eglGetProcAddress ();
9199 main ()
9201 return eglGetProcAddress ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 case "$LIBEXT" in
9208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9209 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'` ;;
9210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9213 fi ;;
9214 esac
9215 else
9216 ac_cv_lib_soname_EGL=
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if ${ac_cv_lib_soname_EGL:+false} :; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9228 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9232 _ACEOF
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9237 $as_echo_n "checking for -lGLESv2... " >&6; }
9238 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_soname_save_LIBS=$LIBS
9242 LIBS="-lGLESv2 $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char glFlush ();
9254 main ()
9256 return glFlush ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 case "$LIBEXT" in
9263 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9264 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'` ;;
9265 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9268 fi ;;
9269 esac
9270 else
9271 ac_cv_lib_soname_GLESv2=
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_soname_save_LIBS
9277 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9279 $as_echo "not found" >&6; }
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9283 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9285 cat >>confdefs.h <<_ACEOF
9286 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9287 _ACEOF
9292 if test "x$exec_prefix" = xNONE
9293 then
9294 case $host_cpu in
9295 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9296 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9297 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9298 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9299 esac
9304 case $host_cpu in
9305 *i[3456789]86*)
9306 DLLFLAGS="$DLLFLAGS -fno-PIC"
9307 LDDLLFLAGS="-fno-PIC" ;;
9309 DLLFLAGS="$DLLFLAGS -fPIC"
9310 LDDLLFLAGS="-fPIC" ;;
9311 esac
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9313 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9314 if ${ac_cv_c_dll_gnuelf+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_wine_try_cflags_saved=$CFLAGS
9318 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9321 void myfunc() {}
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9325 else
9326 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 CFLAGS=$ac_wine_try_cflags_saved
9331 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9332 ac_cv_c_dll_gnuelf="yes"
9333 else
9334 ac_cv_c_dll_gnuelf="no"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9338 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9339 if test "$ac_cv_c_dll_gnuelf" = "yes"
9340 then
9341 LIBWINE_LDFLAGS="-shared"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9343 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9344 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_wine_try_cflags_saved=$CFLAGS
9348 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9351 int main(int argc, char **argv) { return 0; }
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9355 else
9356 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 CFLAGS=$ac_wine_try_cflags_saved
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9363 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9364 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9365 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9366 else
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9368 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9369 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_wine_try_cflags_saved=$CFLAGS
9373 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9376 int main(int argc, char **argv) { return 0; }
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9380 else
9381 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9388 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9389 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9390 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9394 echo '{ global: *; };' >conftest.map
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9396 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9397 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_wine_try_cflags_saved=$CFLAGS
9401 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9408 else
9409 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 CFLAGS=$ac_wine_try_cflags_saved
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9416 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9417 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9418 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9420 rm -f conftest.map
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9423 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9424 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_wine_try_cflags_saved=$CFLAGS
9428 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9431 int main(int argc, char **argv) { return 0; }
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_cflags__Wl___export_dynamic=yes
9435 else
9436 ac_cv_cflags__Wl___export_dynamic=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 CFLAGS=$ac_wine_try_cflags_saved
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9443 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9444 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9445 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9447 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9449 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9451 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9452 if eval \${$as_ac_var+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_wine_try_cflags_saved=$CFLAGS
9456 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9459 int main(int argc, char **argv) { return 0; }
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 eval "$as_ac_var=yes"
9463 else
9464 eval "$as_ac_var=no"
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 CFLAGS=$ac_wine_try_cflags_saved
9470 eval ac_res=\$$as_ac_var
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9472 $as_echo "$ac_res" >&6; }
9473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9474 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9475 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9476 else
9477 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9479 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9480 if eval \${$as_ac_var+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_wine_try_cflags_saved=$CFLAGS
9484 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9487 int main(int argc, char **argv) { return 0; }
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 eval "$as_ac_var=yes"
9491 else
9492 eval "$as_ac_var=no"
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 CFLAGS=$ac_wine_try_cflags_saved
9498 eval ac_res=\$$as_ac_var
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9500 $as_echo "$ac_res" >&6; }
9501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9502 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9503 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9508 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9509 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_cflags__Wl___enable_new_dtags=yes
9520 else
9521 ac_cv_cflags__Wl___enable_new_dtags=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9528 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9529 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9530 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9533 case $host_cpu in
9534 *i[3456789]86* | x86_64 | *aarch64*)
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9536 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9537 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9548 else
9549 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9556 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9557 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9558 case $host_os in
9559 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9560 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9561 esac
9562 else
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9564 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9565 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_wine_try_cflags_saved=$CFLAGS
9569 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9576 else
9577 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 CFLAGS=$ac_wine_try_cflags_saved
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9584 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9585 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9586 case $host_os in
9587 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9588 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9589 esac
9591 # Extract the first word of "prelink", so it can be a program name with args.
9592 set dummy prelink; ac_word=$2
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594 $as_echo_n "checking for $ac_word... " >&6; }
9595 if ${ac_cv_path_PRELINK+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 case $PRELINK in
9599 [\\/]* | ?:[\\/]*)
9600 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9604 for as_dir in /sbin /usr/sbin $PATH
9606 IFS=$as_save_IFS
9607 test -z "$as_dir" && as_dir=.
9608 for ac_exec_ext in '' $ac_executable_extensions; do
9609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9610 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9612 break 2
9614 done
9615 done
9616 IFS=$as_save_IFS
9618 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9620 esac
9622 PRELINK=$ac_cv_path_PRELINK
9623 if test -n "$PRELINK"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9625 $as_echo "$PRELINK" >&6; }
9626 else
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 $as_echo "no" >&6; }
9632 if test "x$PRELINK" = xfalse
9633 then
9634 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9638 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9639 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9640 $as_echo_n "(cached) " >&6
9641 else
9642 ac_wine_try_cflags_saved=$CFLAGS
9643 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9646 int main(int argc, char **argv) { return 0; }
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9649 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9650 else
9651 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9653 rm -f core conftest.err conftest.$ac_objext \
9654 conftest$ac_exeext conftest.$ac_ext
9655 CFLAGS=$ac_wine_try_cflags_saved
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9658 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9659 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9660 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9663 esac
9665 else
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9667 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9668 if ${ac_cv_c_dll_unixware+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 ac_wine_try_cflags_saved=$CFLAGS
9672 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675 void myfunc() {}
9676 _ACEOF
9677 if ac_fn_c_try_link "$LINENO"; then :
9678 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9679 else
9680 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9682 rm -f core conftest.err conftest.$ac_objext \
9683 conftest$ac_exeext conftest.$ac_ext
9684 CFLAGS=$ac_wine_try_cflags_saved
9685 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9686 ac_cv_c_dll_unixware="yes"
9687 else
9688 ac_cv_c_dll_unixware="no"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9692 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9693 if test "$ac_cv_c_dll_unixware" = "yes"
9694 then
9695 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9698 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9700 LIBWINE_DEPENDS="wine.map"
9702 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9703 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9705 esac
9707 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9708 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9709 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9710 enable_winemac_drv=${enable_winemac_drv:-no}
9711 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9713 CROSSTARGET=""
9715 if test "x$with_mingw" != xno
9716 then
9717 case "x$with_mingw" in
9718 x|xyes) case "$host_cpu" in
9719 aarch64*)
9720 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9721 arm*)
9722 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9723 i[3456789]86*)
9724 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
9725 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9726 mingw32-gcc" ;;
9727 x86_64)
9728 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
9729 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9731 ac_prefix_list="" ;;
9732 esac
9733 for ac_prog in $ac_prefix_list
9735 # Extract the first word of "$ac_prog", so it can be a program name with args.
9736 set dummy $ac_prog; ac_word=$2
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9738 $as_echo_n "checking for $ac_word... " >&6; }
9739 if ${ac_cv_prog_CROSSCC+:} false; then :
9740 $as_echo_n "(cached) " >&6
9741 else
9742 if test -n "$CROSSCC"; then
9743 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9744 else
9745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9746 for as_dir in $PATH
9748 IFS=$as_save_IFS
9749 test -z "$as_dir" && as_dir=.
9750 for ac_exec_ext in '' $ac_executable_extensions; do
9751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9752 ac_cv_prog_CROSSCC="$ac_prog"
9753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9754 break 2
9756 done
9757 done
9758 IFS=$as_save_IFS
9762 CROSSCC=$ac_cv_prog_CROSSCC
9763 if test -n "$CROSSCC"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9765 $as_echo "$CROSSCC" >&6; }
9766 else
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9768 $as_echo "no" >&6; }
9772 test -n "$CROSSCC" && break
9773 done
9774 test -n "$CROSSCC" || CROSSCC="false"
9776 *) CROSSCC=$with_mingw ;;
9777 esac
9778 if test "$CROSSCC" != "false"
9779 then
9780 ac_save_CC="$CC"
9781 saved_CFLAGS=$CFLAGS
9782 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9784 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9788 CC="$CROSSCC"
9789 CFLAGS=$CROSSCFLAGS
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9791 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9792 if ${wine_cv_crosscc+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9799 main ()
9803 return 0;
9805 _ACEOF
9806 if ac_fn_c_try_compile "$LINENO"; then :
9807 wine_cv_crosscc=yes
9808 else
9809 wine_cv_crosscc=no
9811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9814 $as_echo "$wine_cv_crosscc" >&6; }
9815 if test $wine_cv_crosscc = yes
9816 then
9817 set x $CROSSCC
9818 shift
9819 while test $# -ge 1
9821 case "$1" in
9822 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9823 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9824 esac
9825 shift
9826 done
9828 llvm_target=$CROSSTARGET
9829 if test -z "$llvm_target"
9830 then
9831 case $host_cpu in
9832 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9833 *) llvm_target=$host_cpu-windows-gnu ;;
9834 esac
9836 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9838 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9839 if eval \${$as_ac_var+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_wine_try_cflags_saved=$CFLAGS
9843 ac_wine_try_cflags_saved_cc=$CC
9844 ac_wine_try_cflags_saved_exeext=$ac_exeext
9845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9846 CC="$CROSSCC"
9847 ac_exeext=".exe"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 eval "$as_ac_var=yes"
9854 else
9855 eval "$as_ac_var=no"
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9860 CC=$ac_wine_try_cflags_saved_cc
9861 ac_exeext=$ac_wine_try_cflags_saved_exeext
9863 eval ac_res=\$$as_ac_var
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9865 $as_echo "$ac_res" >&6; }
9866 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9867 CROSSTARGET=$llvm_target
9868 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9869 CFLAGS="$CFLAGS -fuse-ld=lld"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9873 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9874 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 ac_wine_try_cflags_saved_cc=$CC
9879 ac_wine_try_cflags_saved_exeext=$ac_exeext
9880 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9881 CC="$CROSSCC"
9882 ac_exeext=".exe"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_crosscflags__fno_strict_aliasing=yes
9889 else
9890 ac_cv_crosscflags__fno_strict_aliasing=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9895 CC=$ac_wine_try_cflags_saved_cc
9896 ac_exeext=$ac_wine_try_cflags_saved_exeext
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9899 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9900 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9901 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9904 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9905 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 ac_wine_try_cflags_saved_cc=$CC
9910 ac_wine_try_cflags_saved_exeext=$ac_exeext
9911 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9912 CC="$CROSSCC"
9913 ac_exeext=".exe"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9920 else
9921 ac_cv_crosscflags__Werror_unknown_warning_option=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9926 CC=$ac_wine_try_cflags_saved_cc
9927 ac_exeext=$ac_wine_try_cflags_saved_exeext
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9930 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9931 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9932 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9935 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9936 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 ac_wine_try_cflags_saved_cc=$CC
9941 ac_wine_try_cflags_saved_exeext=$ac_exeext
9942 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9943 CC="$CROSSCC"
9944 ac_exeext=".exe"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"; then :
9950 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9951 else
9952 ac_cv_crosscflags__Wdeclaration_after_statement=no
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 CFLAGS=$ac_wine_try_cflags_saved
9957 CC=$ac_wine_try_cflags_saved_cc
9958 ac_exeext=$ac_wine_try_cflags_saved_exeext
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9961 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9962 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9963 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9966 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9967 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 ac_wine_try_cflags_saved_cc=$CC
9972 ac_wine_try_cflags_saved_exeext=$ac_exeext
9973 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9974 CC="$CROSSCC"
9975 ac_exeext=".exe"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 ac_cv_crosscflags__Wempty_body=yes
9982 else
9983 ac_cv_crosscflags__Wempty_body=no
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 CFLAGS=$ac_wine_try_cflags_saved
9988 CC=$ac_wine_try_cflags_saved_cc
9989 ac_exeext=$ac_wine_try_cflags_saved_exeext
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9992 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9993 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9994 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9997 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9998 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_wine_try_cflags_saved=$CFLAGS
10002 ac_wine_try_cflags_saved_cc=$CC
10003 ac_wine_try_cflags_saved_exeext=$ac_exeext
10004 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10005 CC="$CROSSCC"
10006 ac_exeext=".exe"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 ac_cv_crosscflags__Wignored_qualifiers=yes
10013 else
10014 ac_cv_crosscflags__Wignored_qualifiers=no
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10019 CC=$ac_wine_try_cflags_saved_cc
10020 ac_exeext=$ac_wine_try_cflags_saved_exeext
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10023 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10024 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10025 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10028 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10029 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_wine_try_cflags_saved=$CFLAGS
10033 ac_wine_try_cflags_saved_cc=$CC
10034 ac_wine_try_cflags_saved_exeext=$ac_exeext
10035 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10036 CC="$CROSSCC"
10037 ac_exeext=".exe"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_crosscflags__Wpacked_not_aligned=yes
10044 else
10045 ac_cv_crosscflags__Wpacked_not_aligned=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 CFLAGS=$ac_wine_try_cflags_saved
10050 CC=$ac_wine_try_cflags_saved_cc
10051 ac_exeext=$ac_wine_try_cflags_saved_exeext
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10054 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10055 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10056 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10059 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10060 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_wine_try_cflags_saved=$CFLAGS
10064 ac_wine_try_cflags_saved_cc=$CC
10065 ac_wine_try_cflags_saved_exeext=$ac_exeext
10066 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10067 CC="$CROSSCC"
10068 ac_exeext=".exe"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10071 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_crosscflags__Wpragma_pack=yes
10075 else
10076 ac_cv_crosscflags__Wpragma_pack=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 CFLAGS=$ac_wine_try_cflags_saved
10081 CC=$ac_wine_try_cflags_saved_cc
10082 ac_exeext=$ac_wine_try_cflags_saved_exeext
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10085 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10086 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10087 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10090 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10091 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_wine_try_cflags_saved=$CFLAGS
10095 ac_wine_try_cflags_saved_cc=$CC
10096 ac_wine_try_cflags_saved_exeext=$ac_exeext
10097 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10098 CC="$CROSSCC"
10099 ac_exeext=".exe"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_crosscflags__Wshift_overflow_2=yes
10106 else
10107 ac_cv_crosscflags__Wshift_overflow_2=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10112 CC=$ac_wine_try_cflags_saved_cc
10113 ac_exeext=$ac_wine_try_cflags_saved_exeext
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10116 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10117 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10121 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10122 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 ac_wine_try_cflags_saved_cc=$CC
10127 ac_wine_try_cflags_saved_exeext=$ac_exeext
10128 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10129 CC="$CROSSCC"
10130 ac_exeext=".exe"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_crosscflags__Wstrict_prototypes=yes
10137 else
10138 ac_cv_crosscflags__Wstrict_prototypes=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10143 CC=$ac_wine_try_cflags_saved_cc
10144 ac_exeext=$ac_wine_try_cflags_saved_exeext
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10147 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10148 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10149 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10152 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10153 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10154 $as_echo_n "(cached) " >&6
10155 else
10156 ac_wine_try_cflags_saved=$CFLAGS
10157 ac_wine_try_cflags_saved_cc=$CC
10158 ac_wine_try_cflags_saved_exeext=$ac_exeext
10159 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10160 CC="$CROSSCC"
10161 ac_exeext=".exe"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_crosscflags__Wtype_limits=yes
10168 else
10169 ac_cv_crosscflags__Wtype_limits=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10174 CC=$ac_wine_try_cflags_saved_cc
10175 ac_exeext=$ac_wine_try_cflags_saved_exeext
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10178 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10179 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10180 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10183 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10184 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 ac_wine_try_cflags_saved_cc=$CC
10189 ac_wine_try_cflags_saved_exeext=$ac_exeext
10190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10191 CC="$CROSSCC"
10192 ac_exeext=".exe"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10199 else
10200 ac_cv_crosscflags__Wunused_but_set_parameter=no
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10205 CC=$ac_wine_try_cflags_saved_cc
10206 ac_exeext=$ac_wine_try_cflags_saved_exeext
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10209 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10210 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10214 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10215 if ${ac_cv_crosscflags__Wvla+:} false; then :
10216 $as_echo_n "(cached) " >&6
10217 else
10218 ac_wine_try_cflags_saved=$CFLAGS
10219 ac_wine_try_cflags_saved_cc=$CC
10220 ac_wine_try_cflags_saved_exeext=$ac_exeext
10221 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10222 CC="$CROSSCC"
10223 ac_exeext=".exe"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_crosscflags__Wvla=yes
10230 else
10231 ac_cv_crosscflags__Wvla=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10236 CC=$ac_wine_try_cflags_saved_cc
10237 ac_exeext=$ac_wine_try_cflags_saved_exeext
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10240 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10241 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10242 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10245 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10246 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_wine_try_cflags_saved=$CFLAGS
10250 ac_wine_try_cflags_saved_cc=$CC
10251 ac_wine_try_cflags_saved_exeext=$ac_exeext
10252 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10253 CC="$CROSSCC"
10254 ac_exeext=".exe"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_crosscflags__Wwrite_strings=yes
10261 else
10262 ac_cv_crosscflags__Wwrite_strings=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10267 CC=$ac_wine_try_cflags_saved_cc
10268 ac_exeext=$ac_wine_try_cflags_saved_exeext
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10271 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10272 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10273 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10276 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10277 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_wine_try_cflags_saved=$CFLAGS
10281 ac_wine_try_cflags_saved_cc=$CC
10282 ac_wine_try_cflags_saved_exeext=$ac_exeext
10283 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10284 CC="$CROSSCC"
10285 ac_exeext=".exe"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_crosscflags__Wpointer_arith=yes
10292 else
10293 ac_cv_crosscflags__Wpointer_arith=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10298 CC=$ac_wine_try_cflags_saved_cc
10299 ac_exeext=$ac_wine_try_cflags_saved_exeext
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10302 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10303 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10304 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10307 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10308 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_wine_try_cflags_saved=$CFLAGS
10312 ac_wine_try_cflags_saved_cc=$CC
10313 ac_wine_try_cflags_saved_exeext=$ac_exeext
10314 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10315 CC="$CROSSCC"
10316 ac_exeext=".exe"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_crosscflags__Wlogical_op=yes
10323 else
10324 ac_cv_crosscflags__Wlogical_op=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 CFLAGS=$ac_wine_try_cflags_saved
10329 CC=$ac_wine_try_cflags_saved_cc
10330 ac_exeext=$ac_wine_try_cflags_saved_exeext
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10333 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10334 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10335 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10338 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10339 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_wine_try_cflags_saved=$CFLAGS
10343 ac_wine_try_cflags_saved_cc=$CC
10344 ac_wine_try_cflags_saved_exeext=$ac_exeext
10345 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10346 CC="$CROSSCC"
10347 ac_exeext=".exe"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10351 _ACEOF
10352 if ac_fn_c_try_link "$LINENO"; then :
10353 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10354 else
10355 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 CFLAGS=$ac_wine_try_cflags_saved
10360 CC=$ac_wine_try_cflags_saved_cc
10361 ac_exeext=$ac_wine_try_cflags_saved_exeext
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10364 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10365 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10366 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10369 case $host_cpu in
10370 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10371 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10372 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_wine_try_cflags_saved=$CFLAGS
10376 ac_wine_try_cflags_saved_cc=$CC
10377 ac_wine_try_cflags_saved_exeext=$ac_exeext
10378 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10379 CC="$CROSSCC"
10380 ac_exeext=".exe"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10383 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10387 else
10388 ac_cv_crosscflags__fno_omit_frame_pointer=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 CFLAGS=$ac_wine_try_cflags_saved
10393 CC=$ac_wine_try_cflags_saved_cc
10394 ac_exeext=$ac_wine_try_cflags_saved_exeext
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10397 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10398 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10399 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10400 fi ;;
10401 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10402 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10403 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 ac_wine_try_cflags_saved_cc=$CC
10408 ac_wine_try_cflags_saved_exeext=$ac_exeext
10409 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10410 CC="$CROSSCC"
10411 ac_exeext=".exe"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10414 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10415 _ACEOF
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 ac_cv_crosscflags__Wno_format=yes
10418 else
10419 ac_cv_crosscflags__Wno_format=no
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 CFLAGS=$ac_wine_try_cflags_saved
10424 CC=$ac_wine_try_cflags_saved_cc
10425 ac_exeext=$ac_wine_try_cflags_saved_exeext
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10428 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10429 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10430 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10433 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10434 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10435 $as_echo_n "(cached) " >&6
10436 else
10437 ac_wine_try_cflags_saved=$CFLAGS
10438 ac_wine_try_cflags_saved_cc=$CC
10439 ac_wine_try_cflags_saved_exeext=$ac_exeext
10440 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10441 CC="$CROSSCC"
10442 ac_exeext=".exe"
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10445 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10446 _ACEOF
10447 if ac_fn_c_try_link "$LINENO"; then :
10448 ac_cv_crosscflags__Wformat_overflow=yes
10449 else
10450 ac_cv_crosscflags__Wformat_overflow=no
10452 rm -f core conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10454 CFLAGS=$ac_wine_try_cflags_saved
10455 CC=$ac_wine_try_cflags_saved_cc
10456 ac_exeext=$ac_wine_try_cflags_saved_exeext
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10459 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10460 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10461 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10464 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10465 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_wine_try_cflags_saved=$CFLAGS
10469 ac_wine_try_cflags_saved_cc=$CC
10470 ac_wine_try_cflags_saved_exeext=$ac_exeext
10471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10472 CC="$CROSSCC"
10473 ac_exeext=".exe"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10476 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_crosscflags__Wnonnull=yes
10480 else
10481 ac_cv_crosscflags__Wnonnull=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 CFLAGS=$ac_wine_try_cflags_saved
10486 CC=$ac_wine_try_cflags_saved_cc
10487 ac_exeext=$ac_wine_try_cflags_saved_exeext
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10490 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10491 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10492 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10493 fi ;;
10494 esac
10496 for ac_flag in $CROSSCFLAGS; do
10497 case $ac_flag in
10498 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10499 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10500 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_wine_try_cflags_saved=$CFLAGS
10504 ac_wine_try_cflags_saved_cc=$CC
10505 ac_wine_try_cflags_saved_exeext=$ac_exeext
10506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10507 CC="$CROSSCC"
10508 ac_exeext=".exe"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 ac_cv_crosscflags__gdwarf_2=yes
10515 else
10516 ac_cv_crosscflags__gdwarf_2=no
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10521 CC=$ac_wine_try_cflags_saved_cc
10522 ac_exeext=$ac_wine_try_cflags_saved_exeext
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10525 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10526 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10530 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10531 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_wine_try_cflags_saved=$CFLAGS
10535 ac_wine_try_cflags_saved_cc=$CC
10536 ac_wine_try_cflags_saved_exeext=$ac_exeext
10537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10538 CC="$CROSSCC"
10539 ac_exeext=".exe"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_crosscflags__gstrict_dwarf=yes
10546 else
10547 ac_cv_crosscflags__gstrict_dwarf=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 CFLAGS=$ac_wine_try_cflags_saved
10552 CC=$ac_wine_try_cflags_saved_cc
10553 ac_exeext=$ac_wine_try_cflags_saved_exeext
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10556 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10557 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10558 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10559 fi ;;
10560 esac
10561 done
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10564 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10565 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_wine_try_cflags_saved=$CFLAGS
10569 ac_wine_try_cflags_saved_cc=$CC
10570 ac_wine_try_cflags_saved_exeext=$ac_exeext
10571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10572 CC="$CROSSCC"
10573 ac_exeext=".exe"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10576 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10580 else
10581 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 CFLAGS=$ac_wine_try_cflags_saved
10586 CC=$ac_wine_try_cflags_saved_cc
10587 ac_exeext=$ac_wine_try_cflags_saved_exeext
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10590 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10591 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10592 DELAYLOADFLAG="-Wl,-delayload,"
10596 if test "x$enable_werror" = "xyes"
10597 then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10599 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10600 if ${ac_cv_crosscflags__Werror+:} false; then :
10601 $as_echo_n "(cached) " >&6
10602 else
10603 ac_wine_try_cflags_saved=$CFLAGS
10604 ac_wine_try_cflags_saved_cc=$CC
10605 ac_wine_try_cflags_saved_exeext=$ac_exeext
10606 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10607 CC="$CROSSCC"
10608 ac_exeext=".exe"
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10611 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 ac_cv_crosscflags__Werror=yes
10615 else
10616 ac_cv_crosscflags__Werror=no
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 CFLAGS=$ac_wine_try_cflags_saved
10621 CC=$ac_wine_try_cflags_saved_cc
10622 ac_exeext=$ac_wine_try_cflags_saved_exeext
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10625 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10626 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10627 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10631 CFLAGS=$saved_CFLAGS
10632 CC="$ac_save_CC"
10635 if test "x$CROSSTARGET" = "x"; then :
10636 case "x$with_mingw" in
10637 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10638 xno) ;;
10639 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10640 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10641 esac
10646 if test "$ac_cv_header_pthread_h" = "yes"
10647 then
10648 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10649 if test "x$ac_cv_func_pthread_create" = xyes; then :
10651 else
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10653 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10654 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_lib_save_LIBS=$LIBS
10658 LIBS="-lpthread $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char pthread_create ();
10670 main ()
10672 return pthread_create ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 ac_cv_lib_pthread_pthread_create=yes
10679 else
10680 ac_cv_lib_pthread_pthread_create=no
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10687 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10688 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10689 PTHREAD_LIBS="-lpthread"
10696 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10697 case "x$with_pthread" in
10698 xno) ;;
10699 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10700 Wine cannot support threads without libpthread.
10701 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10702 esac
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10708 $as_echo_n "checking for X... " >&6; }
10711 # Check whether --with-x was given.
10712 if test "${with_x+set}" = set; then :
10713 withval=$with_x;
10716 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10717 if test "x$with_x" = xno; then
10718 # The user explicitly disabled X.
10719 have_x=disabled
10720 else
10721 case $x_includes,$x_libraries in #(
10722 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10723 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 # One or both of the vars are not set, and there is no cached value.
10727 ac_x_includes=no ac_x_libraries=no
10728 rm -f -r conftest.dir
10729 if mkdir conftest.dir; then
10730 cd conftest.dir
10731 cat >Imakefile <<'_ACEOF'
10732 incroot:
10733 @echo incroot='${INCROOT}'
10734 usrlibdir:
10735 @echo usrlibdir='${USRLIBDIR}'
10736 libdir:
10737 @echo libdir='${LIBDIR}'
10738 _ACEOF
10739 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10741 for ac_var in incroot usrlibdir libdir; do
10742 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10743 done
10744 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10745 for ac_extension in a so sl dylib la dll; do
10746 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10747 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10748 ac_im_usrlibdir=$ac_im_libdir; break
10750 done
10751 # Screen out bogus values from the imake configuration. They are
10752 # bogus both because they are the default anyway, and because
10753 # using them would break gcc on systems where it needs fixed includes.
10754 case $ac_im_incroot in
10755 /usr/include) ac_x_includes= ;;
10756 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10757 esac
10758 case $ac_im_usrlibdir in
10759 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10760 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10761 esac
10763 cd ..
10764 rm -f -r conftest.dir
10767 # Standard set of common directories for X headers.
10768 # Check X11 before X11Rn because it is often a symlink to the current release.
10769 ac_x_header_dirs='
10770 /usr/X11/include
10771 /usr/X11R7/include
10772 /usr/X11R6/include
10773 /usr/X11R5/include
10774 /usr/X11R4/include
10776 /usr/include/X11
10777 /usr/include/X11R7
10778 /usr/include/X11R6
10779 /usr/include/X11R5
10780 /usr/include/X11R4
10782 /usr/local/X11/include
10783 /usr/local/X11R7/include
10784 /usr/local/X11R6/include
10785 /usr/local/X11R5/include
10786 /usr/local/X11R4/include
10788 /usr/local/include/X11
10789 /usr/local/include/X11R7
10790 /usr/local/include/X11R6
10791 /usr/local/include/X11R5
10792 /usr/local/include/X11R4
10794 /usr/X386/include
10795 /usr/x386/include
10796 /usr/XFree86/include/X11
10798 /usr/include
10799 /usr/local/include
10800 /usr/unsupported/include
10801 /usr/athena/include
10802 /usr/local/x11r5/include
10803 /usr/lpp/Xamples/include
10805 /usr/openwin/include
10806 /usr/openwin/share/include'
10808 if test "$ac_x_includes" = no; then
10809 # Guess where to find include files, by looking for Xlib.h.
10810 # First, try using that file with no special directory specified.
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10813 #include <X11/Xlib.h>
10814 _ACEOF
10815 if ac_fn_c_try_cpp "$LINENO"; then :
10816 # We can compile using X headers with no special include directory.
10817 ac_x_includes=
10818 else
10819 for ac_dir in $ac_x_header_dirs; do
10820 if test -r "$ac_dir/X11/Xlib.h"; then
10821 ac_x_includes=$ac_dir
10822 break
10824 done
10826 rm -f conftest.err conftest.i conftest.$ac_ext
10827 fi # $ac_x_includes = no
10829 if test "$ac_x_libraries" = no; then
10830 # Check for the libraries.
10831 # See if we find them without any special options.
10832 # Don't add to $LIBS permanently.
10833 ac_save_LIBS=$LIBS
10834 LIBS="-lX11 $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10837 #include <X11/Xlib.h>
10839 main ()
10841 XrmInitialize ()
10843 return 0;
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 LIBS=$ac_save_LIBS
10848 # We can link X programs with no special library path.
10849 ac_x_libraries=
10850 else
10851 LIBS=$ac_save_LIBS
10852 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10854 # Don't even attempt the hair of trying to link an X program!
10855 for ac_extension in a so sl dylib la dll; do
10856 if test -r "$ac_dir/libX11.$ac_extension"; then
10857 ac_x_libraries=$ac_dir
10858 break 2
10860 done
10861 done
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 fi # $ac_x_libraries = no
10867 case $ac_x_includes,$ac_x_libraries in #(
10868 no,* | *,no | *\'*)
10869 # Didn't find X, or a directory has "'" in its name.
10870 ac_cv_have_x="have_x=no";; #(
10872 # Record where we found X for the cache.
10873 ac_cv_have_x="have_x=yes\
10874 ac_x_includes='$ac_x_includes'\
10875 ac_x_libraries='$ac_x_libraries'"
10876 esac
10878 ;; #(
10879 *) have_x=yes;;
10880 esac
10881 eval "$ac_cv_have_x"
10882 fi # $with_x != no
10884 if test "$have_x" != yes; then
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10886 $as_echo "$have_x" >&6; }
10887 no_x=yes
10888 else
10889 # If each of the values was on the command line, it overrides each guess.
10890 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10891 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10892 # Update the cache value to reflect the command line values.
10893 ac_cv_have_x="have_x=yes\
10894 ac_x_includes='$x_includes'\
10895 ac_x_libraries='$x_libraries'"
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10897 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10900 if test "$no_x" = yes; then
10901 # Not all programs may use this symbol, but it does not hurt to define it.
10903 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10905 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10906 else
10907 if test -n "$x_includes"; then
10908 X_CFLAGS="$X_CFLAGS -I$x_includes"
10911 # It would also be nice to do this for all -L options, not just this one.
10912 if test -n "$x_libraries"; then
10913 X_LIBS="$X_LIBS -L$x_libraries"
10914 # For Solaris; some versions of Sun CC require a space after -R and
10915 # others require no space. Words are not sufficient . . . .
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10917 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10918 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10919 ac_xsave_c_werror_flag=$ac_c_werror_flag
10920 ac_c_werror_flag=yes
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10925 main ()
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10934 $as_echo "no" >&6; }
10935 X_LIBS="$X_LIBS -R$x_libraries"
10936 else
10937 LIBS="$ac_xsave_LIBS -R $x_libraries"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10942 main ()
10946 return 0;
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10951 $as_echo "yes" >&6; }
10952 X_LIBS="$X_LIBS -R $x_libraries"
10953 else
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10955 $as_echo "neither works" >&6; }
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10962 ac_c_werror_flag=$ac_xsave_c_werror_flag
10963 LIBS=$ac_xsave_LIBS
10966 # Check for system-dependent libraries X programs must link with.
10967 # Do this before checking for the system-independent R6 libraries
10968 # (-lICE), since we may need -lsocket or whatever for X linking.
10970 if test "$ISC" = yes; then
10971 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10972 else
10973 # Martyn Johnson says this is needed for Ultrix, if the X
10974 # libraries were built with DECnet support. And Karl Berry says
10975 # the Alpha needs dnet_stub (dnet does not exist).
10976 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char XOpenDisplay ();
10988 main ()
10990 return XOpenDisplay ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10997 else
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10999 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11000 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-ldnet $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char dnet_ntoa ();
11016 main ()
11018 return dnet_ntoa ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_dnet_dnet_ntoa=yes
11025 else
11026 ac_cv_lib_dnet_dnet_ntoa=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11033 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11034 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11035 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11038 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11040 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11041 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11042 $as_echo_n "(cached) " >&6
11043 else
11044 ac_check_lib_save_LIBS=$LIBS
11045 LIBS="-ldnet_stub $LIBS"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11049 /* Override any GCC internal prototype to avoid an error.
11050 Use char because int might match the return type of a GCC
11051 builtin and then its argument prototype would still apply. */
11052 #ifdef __cplusplus
11053 extern "C"
11054 #endif
11055 char dnet_ntoa ();
11057 main ()
11059 return dnet_ntoa ();
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"; then :
11065 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11066 else
11067 ac_cv_lib_dnet_stub_dnet_ntoa=no
11069 rm -f core conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS=$ac_check_lib_save_LIBS
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11074 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11075 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11076 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS="$ac_xsave_LIBS"
11085 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11086 # to get the SysV transport functions.
11087 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11088 # needs -lnsl.
11089 # The nsl library prevents programs from opening the X display
11090 # on Irix 5.2, according to T.E. Dickey.
11091 # The functions gethostbyname, getservbyname, and inet_addr are
11092 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11093 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11094 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11098 if test $ac_cv_func_gethostbyname = no; then
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11100 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11101 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11102 $as_echo_n "(cached) " >&6
11103 else
11104 ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-lnsl $LIBS"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char gethostbyname ();
11117 main ()
11119 return gethostbyname ();
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11125 ac_cv_lib_nsl_gethostbyname=yes
11126 else
11127 ac_cv_lib_nsl_gethostbyname=no
11129 rm -f core conftest.err conftest.$ac_objext \
11130 conftest$ac_exeext conftest.$ac_ext
11131 LIBS=$ac_check_lib_save_LIBS
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11134 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11135 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11139 if test $ac_cv_lib_nsl_gethostbyname = no; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11141 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11142 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lbsd $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char gethostbyname ();
11158 main ()
11160 return gethostbyname ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_bsd_gethostbyname=yes
11167 else
11168 ac_cv_lib_bsd_gethostbyname=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11175 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11176 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11183 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11184 # socket/setsockopt and other routines are undefined under SCO ODT
11185 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11186 # on later versions), says Simon Leinen: it contains gethostby*
11187 # variants that don't use the name server (or something). -lsocket
11188 # must be given before -lnsl if both are needed. We assume that
11189 # if connect needs -lnsl, so does gethostbyname.
11190 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11191 if test "x$ac_cv_func_connect" = xyes; then :
11195 if test $ac_cv_func_connect = no; then
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11197 $as_echo_n "checking for connect in -lsocket... " >&6; }
11198 if ${ac_cv_lib_socket_connect+:} false; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char connect ();
11214 main ()
11216 return connect ();
11218 return 0;
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 ac_cv_lib_socket_connect=yes
11223 else
11224 ac_cv_lib_socket_connect=no
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11231 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11232 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11233 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11238 # Guillermo Gomez says -lposix is necessary on A/UX.
11239 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11240 if test "x$ac_cv_func_remove" = xyes; then :
11244 if test $ac_cv_func_remove = no; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11246 $as_echo_n "checking for remove in -lposix... " >&6; }
11247 if ${ac_cv_lib_posix_remove+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lposix $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char remove ();
11263 main ()
11265 return remove ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_posix_remove=yes
11272 else
11273 ac_cv_lib_posix_remove=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11280 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11281 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11287 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11288 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11289 if test "x$ac_cv_func_shmat" = xyes; then :
11293 if test $ac_cv_func_shmat = no; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11295 $as_echo_n "checking for shmat in -lipc... " >&6; }
11296 if ${ac_cv_lib_ipc_shmat+:} false; then :
11297 $as_echo_n "(cached) " >&6
11298 else
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-lipc $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char shmat ();
11312 main ()
11314 return shmat ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_ipc_shmat=yes
11321 else
11322 ac_cv_lib_ipc_shmat=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11329 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11330 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11337 # Check for libraries that X11R6 Xt/Xaw programs need.
11338 ac_save_LDFLAGS=$LDFLAGS
11339 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11340 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11341 # check for ICE first), but we must link in the order -lSM -lICE or
11342 # we get undefined symbols. So assume we have SM if we have ICE.
11343 # These have to be linked with before -lX11, unlike the other
11344 # libraries we check for below, so use a different variable.
11345 # John Interrante, Karl Berry
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11347 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11348 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11349 $as_echo_n "(cached) " >&6
11350 else
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char IceConnectionNumber ();
11364 main ()
11366 return IceConnectionNumber ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_ICE_IceConnectionNumber=yes
11373 else
11374 ac_cv_lib_ICE_IceConnectionNumber=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11381 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11382 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11383 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11386 LDFLAGS=$ac_save_LDFLAGS
11391 if test "$have_x" = "yes"
11392 then
11393 ac_save_CPPFLAGS="$CPPFLAGS"
11394 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11397 $as_echo_n "checking for -lX11... " >&6; }
11398 if ${ac_cv_lib_soname_X11+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_soname_save_LIBS=$LIBS
11402 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char XCreateWindow ();
11414 main ()
11416 return XCreateWindow ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 case "$LIBEXT" in
11423 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11424 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'` ;;
11425 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11426 if ${ac_cv_lib_soname_X11:+false} :; then :
11427 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11428 fi ;;
11429 esac
11430 else
11431 ac_cv_lib_soname_X11=
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_X11:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11443 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11447 _ACEOF
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11452 $as_echo_n "checking for -lXext... " >&6; }
11453 if ${ac_cv_lib_soname_Xext+:} false; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_soname_save_LIBS=$LIBS
11457 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11464 #ifdef __cplusplus
11465 extern "C"
11466 #endif
11467 char XextCreateExtension ();
11469 main ()
11471 return XextCreateExtension ();
11473 return 0;
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"; then :
11477 case "$LIBEXT" in
11478 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11479 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'` ;;
11480 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11481 if ${ac_cv_lib_soname_Xext:+false} :; then :
11482 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 fi ;;
11484 esac
11485 else
11486 ac_cv_lib_soname_Xext=
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_Xext:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11496 else
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11498 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11500 cat >>confdefs.h <<_ACEOF
11501 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11502 _ACEOF
11504 X_LIBS="$X_LIBS -lXext"
11506 X_LIBS="$X_LIBS -lX11"
11508 for ac_header in X11/Xlib.h \
11509 X11/XKBlib.h \
11510 X11/Xutil.h \
11511 X11/Xcursor/Xcursor.h \
11512 X11/extensions/shape.h \
11513 X11/extensions/XInput.h \
11514 X11/extensions/XInput2.h \
11515 X11/extensions/XShm.h \
11516 X11/extensions/Xcomposite.h \
11517 X11/extensions/Xfixes.h \
11518 X11/extensions/Xinerama.h \
11519 X11/extensions/Xrandr.h \
11520 X11/extensions/Xrender.h \
11521 X11/extensions/xf86vmode.h \
11522 X11/extensions/xf86vmproto.h
11523 do :
11524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11526 # include <X11/Xlib.h>
11527 #endif
11528 #ifdef HAVE_X11_XUTIL_H
11529 # include <X11/Xutil.h>
11530 #endif
11532 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11533 cat >>confdefs.h <<_ACEOF
11534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11535 _ACEOF
11539 done
11542 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11543 then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11545 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11546 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 ac_check_lib_save_LIBS=$LIBS
11550 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char XkbQueryExtension ();
11562 main ()
11564 return XkbQueryExtension ();
11566 return 0;
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 ac_cv_lib_X11_XkbQueryExtension=yes
11571 else
11572 ac_cv_lib_X11_XkbQueryExtension=no
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11579 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11580 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11582 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11588 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11589 then
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11591 $as_echo_n "checking for -lXcursor... " >&6; }
11592 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11593 $as_echo_n "(cached) " >&6
11594 else
11595 ac_check_soname_save_LIBS=$LIBS
11596 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11603 #ifdef __cplusplus
11604 extern "C"
11605 #endif
11606 char XcursorImageLoadCursor ();
11608 main ()
11610 return XcursorImageLoadCursor ();
11612 return 0;
11614 _ACEOF
11615 if ac_fn_c_try_link "$LINENO"; then :
11616 case "$LIBEXT" in
11617 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11618 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'` ;;
11619 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11620 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11621 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11622 fi ;;
11623 esac
11624 else
11625 ac_cv_lib_soname_Xcursor=
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_soname_save_LIBS
11631 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11633 $as_echo "not found" >&6; }
11635 else
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11637 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11639 cat >>confdefs.h <<_ACEOF
11640 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11641 _ACEOF
11646 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11647 case "x$with_xcursor" in
11648 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11649 xno) ;;
11650 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11651 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11652 esac
11656 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11657 then
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11659 $as_echo_n "checking for -lXi... " >&6; }
11660 if ${ac_cv_lib_soname_Xi+:} false; then :
11661 $as_echo_n "(cached) " >&6
11662 else
11663 ac_check_soname_save_LIBS=$LIBS
11664 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11671 #ifdef __cplusplus
11672 extern "C"
11673 #endif
11674 char XOpenDevice ();
11676 main ()
11678 return XOpenDevice ();
11680 return 0;
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"; then :
11684 case "$LIBEXT" in
11685 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11686 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'` ;;
11687 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11688 if ${ac_cv_lib_soname_Xi:+false} :; then :
11689 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11690 fi ;;
11691 esac
11692 else
11693 ac_cv_lib_soname_Xi=
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_soname_save_LIBS
11699 if ${ac_cv_lib_soname_Xi:+false} :; then :
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11701 $as_echo "not found" >&6; }
11703 else
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11705 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11707 cat >>confdefs.h <<_ACEOF
11708 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11709 _ACEOF
11714 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11715 case "x$with_xinput" in
11716 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11717 xno) ;;
11718 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11719 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11720 esac
11724 if test "x$ac_cv_lib_soname_Xi" != x
11725 then
11726 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11727 case "x$with_xinput2" in
11728 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11729 xno) ;;
11730 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11731 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11732 esac
11737 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11738 then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11740 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11741 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11742 $as_echo_n "(cached) " >&6
11743 else
11744 ac_check_lib_save_LIBS=$LIBS
11745 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 char XShmQueryExtension ();
11757 main ()
11759 return XShmQueryExtension ();
11761 return 0;
11763 _ACEOF
11764 if ac_fn_c_try_link "$LINENO"; then :
11765 ac_cv_lib_Xext_XShmQueryExtension=yes
11766 else
11767 ac_cv_lib_Xext_XShmQueryExtension=no
11769 rm -f core conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_lib_save_LIBS
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11774 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11775 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11777 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11782 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11783 case "x$with_xshm" in
11784 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11785 xno) ;;
11786 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11787 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11788 esac
11792 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11793 then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11795 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11796 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_lib_save_LIBS=$LIBS
11800 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char XShapeQueryExtension ();
11812 main ()
11814 return XShapeQueryExtension ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 ac_cv_lib_Xext_XShapeQueryExtension=yes
11821 else
11822 ac_cv_lib_Xext_XShapeQueryExtension=no
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11829 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11830 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11832 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11837 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11838 case "x$with_xshape" in
11839 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11840 xno) ;;
11841 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11842 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11843 esac
11847 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11848 then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11850 $as_echo_n "checking for -lXxf86vm... " >&6; }
11851 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_soname_save_LIBS=$LIBS
11855 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char XF86VidModeQueryExtension ();
11867 main ()
11869 return XF86VidModeQueryExtension ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 case "$LIBEXT" in
11876 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11877 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'` ;;
11878 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11879 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11880 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11881 fi ;;
11882 esac
11883 else
11884 ac_cv_lib_soname_Xxf86vm=
11886 rm -f core conftest.err conftest.$ac_objext \
11887 conftest$ac_exeext conftest.$ac_ext
11888 LIBS=$ac_check_soname_save_LIBS
11890 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11892 $as_echo "not found" >&6; }
11894 else
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11896 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11898 cat >>confdefs.h <<_ACEOF
11899 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11900 _ACEOF
11905 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11906 case "x$with_xxf86vm" in
11907 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11910 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11916 then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11918 $as_echo_n "checking for -lXrender... " >&6; }
11919 if ${ac_cv_lib_soname_Xrender+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_soname_save_LIBS=$LIBS
11923 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char XRenderQueryExtension ();
11935 main ()
11937 return XRenderQueryExtension ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 case "$LIBEXT" in
11944 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11945 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'` ;;
11946 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11947 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11948 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11949 fi ;;
11950 esac
11951 else
11952 ac_cv_lib_soname_Xrender=
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_soname_save_LIBS
11958 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11960 $as_echo "not found" >&6; }
11962 else
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11964 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11966 cat >>confdefs.h <<_ACEOF
11967 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11968 _ACEOF
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11971 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11972 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 ac_check_lib_save_LIBS=$LIBS
11976 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char XRenderSetPictureTransform ();
11988 main ()
11990 return XRenderSetPictureTransform ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11997 else
11998 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12000 rm -f core conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_lib_save_LIBS
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12005 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12006 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12008 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12013 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12014 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_lib_save_LIBS=$LIBS
12018 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char XRenderCreateLinearGradient ();
12030 main ()
12032 return XRenderCreateLinearGradient ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12039 else
12040 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12047 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12048 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12050 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12057 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12058 case "x$with_xrender" in
12059 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12062 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12063 esac
12067 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12068 then
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12071 #include <X11/Xlib.h>
12072 #include <X11/extensions/Xrandr.h>
12074 main ()
12076 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12078 return 0;
12080 _ACEOF
12081 if ac_fn_c_try_compile "$LINENO"; then :
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12083 $as_echo_n "checking for -lXrandr... " >&6; }
12084 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_check_soname_save_LIBS=$LIBS
12088 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 char XRRQueryExtension ();
12100 main ()
12102 return XRRQueryExtension ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 case "$LIBEXT" in
12109 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12112 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12113 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 fi ;;
12115 esac
12116 else
12117 ac_cv_lib_soname_Xrandr=
12119 rm -f core conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_soname_save_LIBS
12123 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12125 $as_echo "not found" >&6; }
12127 else
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12129 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12131 cat >>confdefs.h <<_ACEOF
12132 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12133 _ACEOF
12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12137 #include <X11/Xlib.h>
12138 #include <X11/extensions/Xrandr.h>
12140 main ()
12142 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_compile "$LINENO"; then :
12149 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12155 #include <X11/Xlib.h>
12156 #include <X11/extensions/Xrandr.h>
12158 main ()
12160 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"; then :
12167 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12169 else
12170 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12177 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12178 case "x$with_xrandr" in
12179 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12180 xno) ;;
12181 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12182 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12183 esac
12187 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12188 then
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12191 #include <X11/Xlib.h>
12192 #include <X11/extensions/Xfixes.h>
12194 main ()
12196 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_compile "$LINENO"; then :
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12203 $as_echo_n "checking for -lXfixes... " >&6; }
12204 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 ac_check_soname_save_LIBS=$LIBS
12208 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 #ifdef __cplusplus
12216 extern "C"
12217 #endif
12218 char XFixesQueryVersion ();
12220 main ()
12222 return XFixesQueryVersion ();
12224 return 0;
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"; then :
12228 case "$LIBEXT" in
12229 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12230 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'` ;;
12231 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12232 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12233 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12234 fi ;;
12235 esac
12236 else
12237 ac_cv_lib_soname_Xfixes=
12239 rm -f core conftest.err conftest.$ac_objext \
12240 conftest$ac_exeext conftest.$ac_ext
12241 LIBS=$ac_check_soname_save_LIBS
12243 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12245 $as_echo "not found" >&6; }
12247 else
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12249 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12251 cat >>confdefs.h <<_ACEOF
12252 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12253 _ACEOF
12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12260 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12261 case "x$with_xfixes" in
12262 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12263 xno) ;;
12264 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12265 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12266 esac
12270 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12271 then
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 #include <X11/Xlib.h>
12275 #include <X11/extensions/Xinerama.h>
12277 main ()
12279 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_compile "$LINENO"; then :
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12286 $as_echo_n "checking for -lXinerama... " >&6; }
12287 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_soname_save_LIBS=$LIBS
12291 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char XineramaQueryScreens ();
12303 main ()
12305 return XineramaQueryScreens ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 case "$LIBEXT" in
12312 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 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'` ;;
12314 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12316 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12317 fi ;;
12318 esac
12319 else
12320 ac_cv_lib_soname_Xinerama=
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_soname_save_LIBS
12326 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12328 $as_echo "not found" >&6; }
12330 else
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12332 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12334 cat >>confdefs.h <<_ACEOF
12335 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12336 _ACEOF
12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12344 case "x$with_xinerama" in
12345 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12346 xno) ;;
12347 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12348 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12349 esac
12353 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12354 then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12356 $as_echo_n "checking for -lXcomposite... " >&6; }
12357 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_soname_save_LIBS=$LIBS
12361 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char XCompositeRedirectWindow ();
12373 main ()
12375 return XCompositeRedirectWindow ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 case "$LIBEXT" in
12382 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12383 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'` ;;
12384 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12385 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12386 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12387 fi ;;
12388 esac
12389 else
12390 ac_cv_lib_soname_Xcomposite=
12392 rm -f core conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394 LIBS=$ac_check_soname_save_LIBS
12396 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12398 $as_echo "not found" >&6; }
12400 else
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12402 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12404 cat >>confdefs.h <<_ACEOF
12405 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12406 _ACEOF
12411 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12412 case "x$with_xcomposite" in
12413 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12414 xno) ;;
12415 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12416 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12417 esac
12421 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12422 #include <X11/Xlib.h>
12423 #endif
12425 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_XICCALLBACK_CALLBACK 1
12429 _ACEOF
12433 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12434 #include <X11/Xlib.h>
12435 #endif
12437 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12439 cat >>confdefs.h <<_ACEOF
12440 #define HAVE_XEVENT_XCOOKIE 1
12441 _ACEOF
12448 opengl_msg=""
12449 if test "x$with_opengl" != "xno"
12450 then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12452 $as_echo_n "checking for -lGL... " >&6; }
12453 if ${ac_cv_lib_soname_GL+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_soname_save_LIBS=$LIBS
12457 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char glXCreateContext ();
12469 main ()
12471 return glXCreateContext ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 case "$LIBEXT" in
12478 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12479 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'` ;;
12480 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12481 if ${ac_cv_lib_soname_GL:+false} :; then :
12482 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12483 fi ;;
12484 esac
12485 else
12486 ac_cv_lib_soname_GL=
12488 rm -f core conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_soname_save_LIBS
12492 if ${ac_cv_lib_soname_GL:+false} :; then :
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12494 $as_echo "not found" >&6; }
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12496 $as_echo_n "checking for -lGL... " >&6; }
12497 if ${ac_cv_lib_soname_GL+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_soname_save_LIBS=$LIBS
12501 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"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char glXCreateContext ();
12513 main ()
12515 return glXCreateContext ();
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 case "$LIBEXT" in
12522 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12523 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'` ;;
12524 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12525 if ${ac_cv_lib_soname_GL:+false} :; then :
12526 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12527 fi ;;
12528 esac
12529 else
12530 ac_cv_lib_soname_GL=
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_soname_save_LIBS
12536 if ${ac_cv_lib_soname_GL:+false} :; then :
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12538 $as_echo "not found" >&6; }
12539 if test -f /usr/X11R6/lib/libGL.a
12540 then
12541 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12542 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12543 else
12544 opengl_msg="No OpenGL library found on this system."
12546 else
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12548 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12550 cat >>confdefs.h <<_ACEOF
12551 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12552 _ACEOF
12554 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"
12556 else
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12558 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12560 cat >>confdefs.h <<_ACEOF
12561 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12562 _ACEOF
12564 OPENGL_LIBS="-lGL"
12566 if test "x$with_glu" != "xno"
12567 then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12569 $as_echo_n "checking for -lGLU... " >&6; }
12570 if ${ac_cv_lib_soname_GLU+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_soname_save_LIBS=$LIBS
12574 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char gluLookAt ();
12586 main ()
12588 return gluLookAt ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 case "$LIBEXT" in
12595 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12596 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'` ;;
12597 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12598 if ${ac_cv_lib_soname_GLU:+false} :; then :
12599 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12600 fi ;;
12601 esac
12602 else
12603 ac_cv_lib_soname_GLU=
12605 rm -f core conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12607 LIBS=$ac_check_soname_save_LIBS
12609 if ${ac_cv_lib_soname_GLU:+false} :; then :
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12611 $as_echo "not found" >&6; }
12613 else
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12615 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12617 cat >>confdefs.h <<_ACEOF
12618 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12619 _ACEOF
12623 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12624 case "x$with_glu" in
12625 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12626 xno) ;;
12627 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12628 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12629 esac
12634 if test "x$with_osmesa" != "xno"
12635 then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12637 $as_echo_n "checking for -lOSMesa... " >&6; }
12638 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_soname_save_LIBS=$LIBS
12642 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char OSMesaGetProcAddress ();
12654 main ()
12656 return OSMesaGetProcAddress ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 case "$LIBEXT" in
12663 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12664 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'` ;;
12665 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12666 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12667 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12668 fi ;;
12669 esac
12670 else
12671 ac_cv_lib_soname_OSMesa=
12673 rm -f core conftest.err conftest.$ac_objext \
12674 conftest$ac_exeext conftest.$ac_ext
12675 LIBS=$ac_check_soname_save_LIBS
12677 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12679 $as_echo "not found" >&6; }
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12683 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12685 cat >>confdefs.h <<_ACEOF
12686 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12687 _ACEOF
12691 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12692 case "x$with_osmesa" in
12693 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12694 xno) ;;
12695 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12696 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12697 esac
12702 if test -n "$opengl_msg"; then :
12703 case "x$with_opengl" in
12704 x) as_fn_append wine_warnings "|$opengl_msg
12705 OpenGL and Direct3D won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "$opengl_msg
12708 OpenGL and Direct3D won't be supported.
12709 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12710 esac
12714 CPPFLAGS="$ac_save_CPPFLAGS"
12715 else
12716 X_CFLAGS=""
12717 X_LIBS=""
12720 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12721 then
12722 if test "x$X_LIBS" = "x"; then :
12723 case "x$with_x" in
12724 xno) ;;
12725 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12726 without X support, which probably isn't what you want. You will need
12727 to install ${notice_platform}development packages of Xlib at the very least.
12728 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12729 esac
12730 enable_winex11_drv=${enable_winex11_drv:-no}
12732 else
12733 if test "x$X_LIBS" = "x"; then :
12734 case "x$with_x" in
12735 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12738 This is an error since --with-x was requested." "$LINENO" 5 ;;
12739 esac
12740 enable_winex11_drv=${enable_winex11_drv:-no}
12744 if test "$ac_cv_header_CL_cl_h" = "yes"
12745 then
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12747 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12748 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 ac_check_lib_save_LIBS=$LIBS
12752 LIBS="-lOpenCL $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char clGetPlatformInfo ();
12764 main ()
12766 return clGetPlatformInfo ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12773 else
12774 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_lib_save_LIBS
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12781 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12782 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12783 OPENCL_LIBS="-lOpenCL"
12788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12789 case "x$with_opencl" in
12790 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12791 xno) ;;
12792 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12793 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12794 esac
12795 enable_opencl=${enable_opencl:-no}
12798 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12799 then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12801 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12802 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12803 $as_echo_n "(cached) " >&6
12804 else
12805 ac_check_lib_save_LIBS=$LIBS
12806 LIBS="-lpcap $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 char pcap_create ();
12818 main ()
12820 return pcap_create ();
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_lib_pcap_pcap_create=yes
12827 else
12828 ac_cv_lib_pcap_pcap_create=no
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12835 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12836 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12837 PCAP_LIBS="-lpcap"
12842 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12843 case "x$with_pcap" in
12844 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12845 xno) ;;
12846 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12847 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12848 esac
12849 enable_wpcap=${enable_wpcap:-no}
12853 if test "x$with_xml" != "xno"
12854 then
12855 if ${XML2_CFLAGS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12860 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12861 if ${XML2_LIBS:+false} :; then :
12862 if ${PKG_CONFIG+:} false; then :
12863 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12866 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12867 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12868 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12869 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12870 ac_save_CPPFLAGS=$CPPFLAGS
12871 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12872 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12873 do :
12874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12877 cat >>confdefs.h <<_ACEOF
12878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12879 _ACEOF
12883 done
12885 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"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12888 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12889 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lxml2 $XML2_LIBS $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char xmlParseMemory ();
12905 main ()
12907 return xmlParseMemory ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_xml2_xmlParseMemory=yes
12914 else
12915 ac_cv_lib_xml2_xmlParseMemory=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12922 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12923 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12925 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12927 else
12928 XML2_LIBS=""
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12932 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12933 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_lib_save_LIBS=$LIBS
12937 LIBS="-lxml2 $XML2_LIBS $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char xmlReadMemory ();
12949 main ()
12951 return xmlReadMemory ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_lib_xml2_xmlReadMemory=yes
12958 else
12959 ac_cv_lib_xml2_xmlReadMemory=no
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_lib_save_LIBS
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12966 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12967 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12969 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12974 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12975 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12976 $as_echo_n "(cached) " >&6
12977 else
12978 ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lxml2 $XML2_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char xmlNewDocPI ();
12991 main ()
12993 return xmlNewDocPI ();
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 ac_cv_lib_xml2_xmlNewDocPI=yes
13000 else
13001 ac_cv_lib_xml2_xmlNewDocPI=no
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13008 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13009 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13011 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13016 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13017 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lxml2 $XML2_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char xmlSchemaSetParserStructuredErrors ();
13033 main ()
13035 return xmlSchemaSetParserStructuredErrors ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13042 else
13043 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13050 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13051 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13053 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13058 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13059 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lxml2 $XML2_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char xmlSchemaSetValidStructuredErrors ();
13075 main ()
13077 return xmlSchemaSetValidStructuredErrors ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13084 else
13085 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13092 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13093 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13095 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13100 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13101 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-lxml2 $XML2_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xmlFirstElementChild ();
13117 main ()
13119 return xmlFirstElementChild ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_xml2_xmlFirstElementChild=yes
13126 else
13127 ac_cv_lib_xml2_xmlFirstElementChild=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13134 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13135 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13137 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13141 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13143 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13145 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13149 else
13150 XML2_CFLAGS=""
13151 XML2_LIBS=""
13153 CPPFLAGS=$ac_save_CPPFLAGS
13154 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13155 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13158 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13159 case "x$with_xml" in
13160 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13161 xno) ;;
13162 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13163 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13164 esac
13168 if test "x$with_xslt" != "xno"
13169 then
13170 if ${XSLT_CFLAGS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13175 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13176 if ${XSLT_LIBS:+false} :; then :
13177 if ${PKG_CONFIG+:} false; then :
13178 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13181 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13182 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13185 ac_save_CPPFLAGS=$CPPFLAGS
13186 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13187 for ac_header in libxslt/pattern.h libxslt/transform.h
13188 do :
13189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13191 # include <libxslt/pattern.h>
13192 #endif
13194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13197 _ACEOF
13201 done
13203 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13204 then
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13206 $as_echo_n "checking for -lxslt... " >&6; }
13207 if ${ac_cv_lib_soname_xslt+:} false; then :
13208 $as_echo_n "(cached) " >&6
13209 else
13210 ac_check_soname_save_LIBS=$LIBS
13211 LIBS="-lxslt $XSLT_LIBS $LIBS"
13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 /* Override any GCC internal prototype to avoid an error.
13216 Use char because int might match the return type of a GCC
13217 builtin and then its argument prototype would still apply. */
13218 #ifdef __cplusplus
13219 extern "C"
13220 #endif
13221 char xsltCompilePattern ();
13223 main ()
13225 return xsltCompilePattern ();
13227 return 0;
13229 _ACEOF
13230 if ac_fn_c_try_link "$LINENO"; then :
13231 case "$LIBEXT" in
13232 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13233 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'` ;;
13234 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13235 if ${ac_cv_lib_soname_xslt:+false} :; then :
13236 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13237 fi ;;
13238 esac
13239 else
13240 ac_cv_lib_soname_xslt=
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_soname_save_LIBS
13246 if ${ac_cv_lib_soname_xslt:+false} :; then :
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13248 $as_echo "not found" >&6; }
13250 else
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13252 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13254 cat >>confdefs.h <<_ACEOF
13255 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13256 _ACEOF
13260 else
13261 XSLT_CFLAGS=""
13263 CPPFLAGS=$ac_save_CPPFLAGS
13264 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13265 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13268 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13269 case "x$with_xslt" in
13270 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13271 xno) ;;
13272 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13273 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13274 esac
13278 if test "x$with_inotify" != "xno"
13279 then
13280 if ${INOTIFY_CFLAGS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13286 if ${INOTIFY_LIBS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13293 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13294 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13295 ac_save_CPPFLAGS=$CPPFLAGS
13296 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13297 for ac_header in sys/inotify.h
13298 do :
13299 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13300 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_SYS_INOTIFY_H 1
13303 _ACEOF
13307 done
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13310 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13311 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13312 $as_echo_n "(cached) " >&6
13313 else
13314 ac_check_lib_save_LIBS=$LIBS
13315 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13322 #ifdef __cplusplus
13323 extern "C"
13324 #endif
13325 char inotify_add_watch ();
13327 main ()
13329 return inotify_add_watch ();
13331 return 0;
13333 _ACEOF
13334 if ac_fn_c_try_link "$LINENO"; then :
13335 ac_cv_lib_inotify_inotify_add_watch=yes
13336 else
13337 ac_cv_lib_inotify_inotify_add_watch=no
13339 rm -f core conftest.err conftest.$ac_objext \
13340 conftest$ac_exeext conftest.$ac_ext
13341 LIBS=$ac_check_lib_save_LIBS
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13344 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13345 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13347 else
13348 INOTIFY_LIBS=""
13351 CPPFLAGS=$ac_save_CPPFLAGS
13352 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13353 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13356 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13357 case "x$with_inotify" in
13358 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13359 xno) ;;
13360 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13361 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13362 esac
13366 if test "x$with_dbus" != "xno"
13367 then
13368 if ${DBUS_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13374 if ${DBUS_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13381 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13385 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13388 $as_echo_n "checking for -ldbus-1... " >&6; }
13389 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_soname_save_LIBS=$LIBS
13393 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char dbus_connection_close ();
13405 main ()
13407 return dbus_connection_close ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 case "$LIBEXT" in
13414 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13415 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'` ;;
13416 *) 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'`
13417 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13418 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13419 fi ;;
13420 esac
13421 else
13422 ac_cv_lib_soname_dbus_1=
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 LIBS=$ac_check_soname_save_LIBS
13428 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13430 $as_echo "not found" >&6; }
13431 DBUS_CFLAGS=""
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13434 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13436 cat >>confdefs.h <<_ACEOF
13437 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13438 _ACEOF
13442 else
13443 DBUS_CFLAGS=""
13447 CPPFLAGS=$ac_save_CPPFLAGS
13448 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13449 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13452 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13453 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13454 case "x$with_dbus" in
13455 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13456 xno) ;;
13457 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13458 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13459 esac
13463 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13464 then
13465 if ${HAL_CFLAGS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13471 if ${HAL_LIBS:+false} :; then :
13472 if ${PKG_CONFIG+:} false; then :
13473 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13477 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13478 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13479 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13480 ac_save_CPPFLAGS=$CPPFLAGS
13481 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13482 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13485 $as_echo_n "checking for -lhal... " >&6; }
13486 if ${ac_cv_lib_soname_hal+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 ac_check_soname_save_LIBS=$LIBS
13490 LIBS="-lhal $HAL_LIBS $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 char libhal_ctx_new ();
13502 main ()
13504 return libhal_ctx_new ();
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 case "$LIBEXT" in
13511 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13512 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'` ;;
13513 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13514 if ${ac_cv_lib_soname_hal:+false} :; then :
13515 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13516 fi ;;
13517 esac
13518 else
13519 ac_cv_lib_soname_hal=
13521 rm -f core conftest.err conftest.$ac_objext \
13522 conftest$ac_exeext conftest.$ac_ext
13523 LIBS=$ac_check_soname_save_LIBS
13525 if ${ac_cv_lib_soname_hal:+false} :; then :
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13527 $as_echo "not found" >&6; }
13528 HAL_CFLAGS=""
13529 else
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13531 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13533 cat >>confdefs.h <<_ACEOF
13534 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13535 _ACEOF
13539 else
13540 HAL_CFLAGS=""
13544 CPPFLAGS=$ac_save_CPPFLAGS
13545 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13546 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13548 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13549 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13550 case "x$with_hal" in
13551 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13552 xno) ;;
13553 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13554 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13555 esac
13560 if test "x$with_gnutls" != "xno"
13561 then
13562 if ${GNUTLS_CFLAGS:+false} :; then :
13563 if ${PKG_CONFIG+:} false; then :
13564 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13568 if ${GNUTLS_LIBS:+false} :; then :
13569 if ${PKG_CONFIG+:} false; then :
13570 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13575 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13576 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13577 ac_save_CPPFLAGS=$CPPFLAGS
13578 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13579 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13580 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13583 #include <gnutls/gnutls.h>
13584 #include <gnutls/crypto.h>
13586 main ()
13588 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_compile "$LINENO"; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13595 $as_echo_n "checking for -lgnutls... " >&6; }
13596 if ${ac_cv_lib_soname_gnutls+:} false; then :
13597 $as_echo_n "(cached) " >&6
13598 else
13599 ac_check_soname_save_LIBS=$LIBS
13600 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13604 /* Override any GCC internal prototype to avoid an error.
13605 Use char because int might match the return type of a GCC
13606 builtin and then its argument prototype would still apply. */
13607 #ifdef __cplusplus
13608 extern "C"
13609 #endif
13610 char gnutls_global_init ();
13612 main ()
13614 return gnutls_global_init ();
13616 return 0;
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"; then :
13620 case "$LIBEXT" in
13621 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13622 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'` ;;
13623 *) 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'`
13624 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13625 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'`
13626 fi ;;
13627 esac
13628 else
13629 ac_cv_lib_soname_gnutls=
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 LIBS=$ac_check_soname_save_LIBS
13635 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13637 $as_echo "not found" >&6; }
13638 GNUTLS_CFLAGS=""
13639 else
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13641 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13643 cat >>confdefs.h <<_ACEOF
13644 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13645 _ACEOF
13649 ac_wine_check_funcs_save_LIBS="$LIBS"
13650 LIBS="$LIBS $GNUTLS_LIBS"
13651 for ac_func in gnutls_cipher_init
13652 do :
13653 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13654 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13655 cat >>confdefs.h <<_ACEOF
13656 #define HAVE_GNUTLS_CIPHER_INIT 1
13657 _ACEOF
13659 else
13660 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13662 done
13664 LIBS="$ac_wine_check_funcs_save_LIBS"
13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13667 else
13668 GNUTLS_CFLAGS=""
13672 CPPFLAGS=$ac_save_CPPFLAGS
13673 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13674 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13677 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13678 case "x$with_gnutls" in
13679 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13680 xno) ;;
13681 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13682 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13683 esac
13687 CURSES_LIBS=""
13688 if test "$ac_cv_header_ncurses_h" = "yes"
13689 then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13691 $as_echo_n "checking for -lncurses... " >&6; }
13692 if ${ac_cv_lib_soname_ncurses+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_check_soname_save_LIBS=$LIBS
13696 LIBS="-lncurses $LIBS"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
13703 #ifdef __cplusplus
13704 extern "C"
13705 #endif
13706 char waddch ();
13708 main ()
13710 return waddch ();
13712 return 0;
13714 _ACEOF
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 case "$LIBEXT" in
13717 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13718 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'` ;;
13719 *) 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'`
13720 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13721 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13722 fi ;;
13723 esac
13724 else
13725 ac_cv_lib_soname_ncurses=
13727 rm -f core conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13729 LIBS=$ac_check_soname_save_LIBS
13731 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13733 $as_echo "not found" >&6; }
13735 else
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13737 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13739 cat >>confdefs.h <<_ACEOF
13740 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13741 _ACEOF
13743 CURSES_LIBS="-lncurses"
13745 elif test "$ac_cv_header_curses_h" = "yes"
13746 then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13748 $as_echo_n "checking for -lcurses... " >&6; }
13749 if ${ac_cv_lib_soname_curses+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_check_soname_save_LIBS=$LIBS
13753 LIBS="-lcurses $LIBS"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13757 /* Override any GCC internal prototype to avoid an error.
13758 Use char because int might match the return type of a GCC
13759 builtin and then its argument prototype would still apply. */
13760 #ifdef __cplusplus
13761 extern "C"
13762 #endif
13763 char waddch ();
13765 main ()
13767 return waddch ();
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"; then :
13773 case "$LIBEXT" in
13774 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13775 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'` ;;
13776 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13777 if ${ac_cv_lib_soname_curses:+false} :; then :
13778 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13779 fi ;;
13780 esac
13781 else
13782 ac_cv_lib_soname_curses=
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 LIBS=$ac_check_soname_save_LIBS
13788 if ${ac_cv_lib_soname_curses:+false} :; then :
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13790 $as_echo "not found" >&6; }
13792 else
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13794 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13796 cat >>confdefs.h <<_ACEOF
13797 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13798 _ACEOF
13800 CURSES_LIBS="-lcurses"
13803 ac_save_LIBS="$LIBS"
13804 LIBS="$LIBS $CURSES_LIBS"
13805 for ac_func in mousemask
13806 do :
13807 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13808 if test "x$ac_cv_func_mousemask" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 #define HAVE_MOUSEMASK 1
13811 _ACEOF
13814 done
13816 LIBS="$ac_save_LIBS"
13817 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13818 case "x$with_curses" in
13819 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13820 xno) ;;
13821 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13822 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13823 esac
13827 if test "x$with_sane" != "xno"
13828 then
13829 if ${SANE_CFLAGS:+false} :; then :
13830 if ${PKG_CONFIG+:} false; then :
13831 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13834 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13835 if ${SANE_LIBS:+false} :; then :
13836 if ${PKG_CONFIG+:} false; then :
13837 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13840 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13842 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13844 ac_save_CPPFLAGS=$CPPFLAGS
13845 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13846 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13847 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13849 $as_echo_n "checking for -lsane... " >&6; }
13850 if ${ac_cv_lib_soname_sane+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_check_soname_save_LIBS=$LIBS
13854 LIBS="-lsane $SANE_LIBS $LIBS"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13858 /* Override any GCC internal prototype to avoid an error.
13859 Use char because int might match the return type of a GCC
13860 builtin and then its argument prototype would still apply. */
13861 #ifdef __cplusplus
13862 extern "C"
13863 #endif
13864 char sane_init ();
13866 main ()
13868 return sane_init ();
13870 return 0;
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"; then :
13874 case "$LIBEXT" in
13875 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13876 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'` ;;
13877 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13878 if ${ac_cv_lib_soname_sane:+false} :; then :
13879 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13880 fi ;;
13881 esac
13882 else
13883 ac_cv_lib_soname_sane=
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_soname_save_LIBS
13889 if ${ac_cv_lib_soname_sane:+false} :; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13891 $as_echo "not found" >&6; }
13892 SANE_CFLAGS=""
13893 else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13895 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13897 cat >>confdefs.h <<_ACEOF
13898 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13899 _ACEOF
13903 else
13904 SANE_CFLAGS=""
13908 CPPFLAGS=$ac_save_CPPFLAGS
13909 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13910 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13913 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13914 case "x$with_sane" in
13915 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13916 xno) ;;
13917 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13918 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13919 esac
13923 if test "x$with_v4l2" != "xno"
13924 then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13926 $as_echo_n "checking for -lv4l2... " >&6; }
13927 if ${ac_cv_lib_soname_v4l2+:} false; then :
13928 $as_echo_n "(cached) " >&6
13929 else
13930 ac_check_soname_save_LIBS=$LIBS
13931 LIBS="-lv4l2 $LIBS"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13935 /* Override any GCC internal prototype to avoid an error.
13936 Use char because int might match the return type of a GCC
13937 builtin and then its argument prototype would still apply. */
13938 #ifdef __cplusplus
13939 extern "C"
13940 #endif
13941 char v4l2_open ();
13943 main ()
13945 return v4l2_open ();
13947 return 0;
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 case "$LIBEXT" in
13952 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13953 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'` ;;
13954 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13955 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13956 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13957 fi ;;
13958 esac
13959 else
13960 ac_cv_lib_soname_v4l2=
13962 rm -f core conftest.err conftest.$ac_objext \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_soname_save_LIBS
13966 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13968 $as_echo "not found" >&6; }
13970 else
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13972 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13974 cat >>confdefs.h <<_ACEOF
13975 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13976 _ACEOF
13981 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13982 case "x$with_v4l2" in
13983 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13984 xno) ;;
13985 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13986 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13987 esac
13991 if test "x$with_gphoto" != "xno"
13992 then
13993 if ${GPHOTO2_CFLAGS:+false} :; then :
13994 if ${PKG_CONFIG+:} false; then :
13995 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13998 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13999 if ${GPHOTO2_LIBS:+false} :; then :
14000 if ${PKG_CONFIG+:} false; then :
14001 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14004 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14005 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14006 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14007 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14008 ac_save_CPPFLAGS=$CPPFLAGS
14009 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14010 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14011 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14013 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14014 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14015 $as_echo_n "(cached) " >&6
14016 else
14017 ac_check_lib_save_LIBS=$LIBS
14018 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14022 /* Override any GCC internal prototype to avoid an error.
14023 Use char because int might match the return type of a GCC
14024 builtin and then its argument prototype would still apply. */
14025 #ifdef __cplusplus
14026 extern "C"
14027 #endif
14028 char gp_camera_new ();
14030 main ()
14032 return gp_camera_new ();
14034 return 0;
14036 _ACEOF
14037 if ac_fn_c_try_link "$LINENO"; then :
14038 ac_cv_lib_gphoto2_gp_camera_new=yes
14039 else
14040 ac_cv_lib_gphoto2_gp_camera_new=no
14042 rm -f core conftest.err conftest.$ac_objext \
14043 conftest$ac_exeext conftest.$ac_ext
14044 LIBS=$ac_check_lib_save_LIBS
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14047 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14048 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14050 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14052 else
14053 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14056 else
14057 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14061 CPPFLAGS=$ac_save_CPPFLAGS
14062 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14063 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14065 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14066 if ${PKG_CONFIG+:} false; then :
14067 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14070 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14071 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14072 if ${PKG_CONFIG+:} false; then :
14073 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14076 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14077 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14078 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14079 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14080 ac_save_CPPFLAGS=$CPPFLAGS
14081 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14082 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14083 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14085 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14086 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14087 $as_echo_n "(cached) " >&6
14088 else
14089 ac_check_lib_save_LIBS=$LIBS
14090 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092 /* end confdefs.h. */
14094 /* Override any GCC internal prototype to avoid an error.
14095 Use char because int might match the return type of a GCC
14096 builtin and then its argument prototype would still apply. */
14097 #ifdef __cplusplus
14098 extern "C"
14099 #endif
14100 char gp_port_info_list_new ();
14102 main ()
14104 return gp_port_info_list_new ();
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"; then :
14110 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14111 else
14112 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_lib_save_LIBS
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14119 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14120 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14122 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14124 else
14125 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14128 else
14129 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14133 CPPFLAGS=$ac_save_CPPFLAGS
14134 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14135 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14138 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14139 case "x$with_gphoto" in
14140 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14141 xno) ;;
14142 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14143 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14144 esac
14147 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14148 case "x$with_gphoto" in
14149 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14150 xno) ;;
14151 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14152 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14153 esac
14158 if test "$ac_cv_header_resolv_h" = "yes"
14159 then
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14161 $as_echo_n "checking for resolver library... " >&6; }
14162 if ${ac_cv_have_resolv+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 ac_save_LIBS="$LIBS"
14166 for lib in '' -lresolv
14168 LIBS="$lib $ac_save_LIBS"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 #ifdef HAVE_NETINET_IN_H
14172 #include <netinet/in.h>
14173 #endif
14174 #include <resolv.h>
14176 main ()
14178 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"; then :
14184 ac_cv_have_resolv=${lib:-"none required"}
14185 else
14186 ac_cv_have_resolv="not found"
14188 rm -f core conftest.err conftest.$ac_objext \
14189 conftest$ac_exeext conftest.$ac_ext
14190 test "x$ac_cv_have_resolv" = "xnot found" || break
14191 done
14192 LIBS="$ac_save_LIBS"
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14195 $as_echo "$ac_cv_have_resolv" >&6; }
14197 case "$ac_cv_have_resolv" in
14198 "not found") ;;
14199 "none required")
14201 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14204 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14206 RESOLV_LIBS=$ac_cv_have_resolv
14208 esac
14211 if test "x$with_cms" != "xno"
14212 then
14213 if ${LCMS2_CFLAGS:+false} :; then :
14214 if ${PKG_CONFIG+:} false; then :
14215 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14219 if ${LCMS2_LIBS:+false} :; then :
14220 if ${PKG_CONFIG+:} false; then :
14221 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14225 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14226 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14227 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14228 ac_save_CPPFLAGS=$CPPFLAGS
14229 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14230 for ac_header in lcms2.h
14231 do :
14232 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14233 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14234 cat >>confdefs.h <<_ACEOF
14235 #define HAVE_LCMS2_H 1
14236 _ACEOF
14240 done
14242 if test "$ac_cv_header_lcms2_h" = "yes"
14243 then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14245 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14246 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_check_lib_save_LIBS=$LIBS
14250 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 #ifdef __cplusplus
14258 extern "C"
14259 #endif
14260 char cmsOpenProfileFromFile ();
14262 main ()
14264 return cmsOpenProfileFromFile ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14271 else
14272 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_lib_save_LIBS
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14279 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14280 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14282 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14284 else
14285 LCMS2_LIBS=""
14288 else
14289 LCMS2_CFLAGS=""
14290 LCMS2_LIBS=""
14292 CPPFLAGS=$ac_save_CPPFLAGS
14293 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14294 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14297 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14298 case "x$with_cms" in
14299 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14300 xno) ;;
14301 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14302 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14303 esac
14307 if test "x$with_freetype" != "xno"
14308 then
14309 if ${FREETYPE_CFLAGS:+false} :; then :
14310 if ${PKG_CONFIG+:} false; then :
14311 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14314 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14315 if ${FREETYPE_LIBS:+false} :; then :
14316 if ${PKG_CONFIG+:} false; then :
14317 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14320 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14321 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14322 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14323 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14324 ac_save_CPPFLAGS=$CPPFLAGS
14325 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14326 for ac_header in ft2build.h
14327 do :
14328 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14329 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14330 cat >>confdefs.h <<_ACEOF
14331 #define HAVE_FT2BUILD_H 1
14332 _ACEOF
14336 done
14338 if test "$ac_cv_header_ft2build_h" = "yes"
14339 then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14341 $as_echo_n "checking for -lfreetype... " >&6; }
14342 if ${ac_cv_lib_soname_freetype+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_check_soname_save_LIBS=$LIBS
14346 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 char FT_Init_FreeType ();
14358 main ()
14360 return FT_Init_FreeType ();
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 case "$LIBEXT" in
14367 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14368 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'` ;;
14369 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14370 if ${ac_cv_lib_soname_freetype:+false} :; then :
14371 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14372 fi ;;
14373 esac
14374 else
14375 ac_cv_lib_soname_freetype=
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 LIBS=$ac_check_soname_save_LIBS
14381 if ${ac_cv_lib_soname_freetype:+false} :; then :
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14383 $as_echo "not found" >&6; }
14384 FREETYPE_LIBS=""
14385 else
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14387 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14389 cat >>confdefs.h <<_ACEOF
14390 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14391 _ACEOF
14394 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14396 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14397 #include FT_MODULE_H
14399 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14401 cat >>confdefs.h <<_ACEOF
14402 #define HAVE_FT_TRUETYPEENGINETYPE 1
14403 _ACEOF
14409 else
14410 FREETYPE_CFLAGS=""
14411 FREETYPE_LIBS=""
14413 CPPFLAGS=$ac_save_CPPFLAGS
14414 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14415 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14418 if test "x$ac_cv_lib_soname_freetype" = x; then :
14419 case "x$with_freetype" in
14420 xno) ;;
14421 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14422 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14423 esac
14424 enable_fonts=${enable_fonts:-no}
14427 ac_wine_check_funcs_save_LIBS="$LIBS"
14428 LIBS="$LIBS $PTHREAD_LIBS"
14429 for ac_func in \
14430 pthread_getthreadid_np
14431 do :
14432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14435 cat >>confdefs.h <<_ACEOF
14436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14437 _ACEOF
14440 done
14442 LIBS="$ac_wine_check_funcs_save_LIBS"
14444 if test "x$with_zlib" != "xno"
14445 then
14446 if ${Z_CFLAGS:+false} :; then :
14447 if ${PKG_CONFIG+:} false; then :
14448 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14452 if ${Z_LIBS:+false} :; then :
14453 if ${PKG_CONFIG+:} false; then :
14454 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14458 Z_LIBS=${Z_LIBS:-"-lz"}
14459 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14460 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14461 ac_save_CPPFLAGS=$CPPFLAGS
14462 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14463 for ac_header in zlib.h
14464 do :
14465 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14466 if test "x$ac_cv_header_zlib_h" = xyes; then :
14467 cat >>confdefs.h <<_ACEOF
14468 #define HAVE_ZLIB_H 1
14469 _ACEOF
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14471 $as_echo_n "checking for inflate in -lz... " >&6; }
14472 if ${ac_cv_lib_z_inflate+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_check_lib_save_LIBS=$LIBS
14476 LIBS="-lz $Z_LIBS $LIBS"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 /* Override any GCC internal prototype to avoid an error.
14481 Use char because int might match the return type of a GCC
14482 builtin and then its argument prototype would still apply. */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char inflate ();
14488 main ()
14490 return inflate ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_lib_z_inflate=yes
14497 else
14498 ac_cv_lib_z_inflate=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14505 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14506 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14508 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14510 else
14511 Z_LIBS=""
14514 else
14515 Z_LIBS=""
14518 done
14520 CPPFLAGS=$ac_save_CPPFLAGS
14521 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14522 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14525 if test "x$Z_LIBS" = "x"; then :
14526 case "x$with_zlib" in
14527 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14528 xno) ;;
14529 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14530 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14531 esac
14535 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14536 then
14537 if test "$ac_cv_header_gettext_po_h" = "yes"
14538 then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14540 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14541 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_check_lib_save_LIBS=$LIBS
14545 LIBS="-lgettextpo $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 #ifdef __cplusplus
14553 extern "C"
14554 #endif
14555 char po_message_msgctxt ();
14557 main ()
14559 return po_message_msgctxt ();
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14566 else
14567 ac_cv_lib_gettextpo_po_message_msgctxt=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_lib_save_LIBS
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14574 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14575 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14577 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14579 GETTEXTPO_LIBS="-lgettextpo"
14584 if test "x$GETTEXTPO_LIBS" = "x"; then :
14585 case "x$with_gettextpo" in
14586 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14587 xno) ;;
14588 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14589 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14590 esac
14593 if test "$srcdir" != .; then :
14594 case "x$with_gettextpo" in
14595 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14596 xno) ;;
14597 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14598 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14599 esac
14604 if test "x$with_pulse" != "xno";
14605 then
14606 if ${PULSE_CFLAGS:+false} :; then :
14607 if ${PKG_CONFIG+:} false; then :
14608 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14612 if ${PULSE_LIBS:+false} :; then :
14613 if ${PKG_CONFIG+:} false; then :
14614 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14619 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14620 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14621 ac_save_CPPFLAGS=$CPPFLAGS
14622 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14623 for ac_header in pulse/pulseaudio.h
14624 do :
14625 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14626 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14627 cat >>confdefs.h <<_ACEOF
14628 #define HAVE_PULSE_PULSEAUDIO_H 1
14629 _ACEOF
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14631 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14632 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 ac_check_lib_save_LIBS=$LIBS
14636 LIBS="-lpulse $PULSE_LIBS $LIBS"
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14643 #ifdef __cplusplus
14644 extern "C"
14645 #endif
14646 char pa_stream_is_corked ();
14648 main ()
14650 return pa_stream_is_corked ();
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_link "$LINENO"; then :
14656 ac_cv_lib_pulse_pa_stream_is_corked=yes
14657 else
14658 ac_cv_lib_pulse_pa_stream_is_corked=no
14660 rm -f core conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662 LIBS=$ac_check_lib_save_LIBS
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14665 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14666 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14668 else
14669 PULSE_LIBS=""
14672 else
14673 PULSE_LIBS=""
14676 done
14678 CPPFLAGS=$ac_save_CPPFLAGS
14679 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14680 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14683 if test -z "$PULSE_LIBS"; then :
14684 case "x$with_pulse" in
14685 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14686 xno) ;;
14687 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14688 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14689 esac
14690 enable_winepulse_drv=${enable_winepulse_drv:-no}
14693 if test "x$with_gstreamer" != "xno"
14694 then
14695 if ${GSTREAMER_CFLAGS:+false} :; then :
14696 if ${PKG_CONFIG+:} false; then :
14697 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14701 if ${GSTREAMER_LIBS:+false} :; then :
14702 if ${PKG_CONFIG+:} false; then :
14703 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14708 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14709 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14710 ac_save_CPPFLAGS=$CPPFLAGS
14711 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14712 ac_gst_incl=""
14713 for i in $GSTREAMER_CFLAGS
14715 case "$i" in
14716 -I*) ac_gst_incl="$ac_gst_incl $i";;
14717 esac
14718 done
14719 GSTREAMER_CFLAGS=$ac_gst_incl
14720 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14721 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14722 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14724 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 #include <gst/gst.h>
14729 main ()
14731 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14733 return 0;
14735 _ACEOF
14736 if ac_fn_c_try_compile "$LINENO"; then :
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14738 $as_echo "yes" >&6; }
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14740 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14741 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743 else
14744 ac_check_lib_save_LIBS=$LIBS
14745 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14749 /* Override any GCC internal prototype to avoid an error.
14750 Use char because int might match the return type of a GCC
14751 builtin and then its argument prototype would still apply. */
14752 #ifdef __cplusplus
14753 extern "C"
14754 #endif
14755 char gst_pad_new ();
14757 main ()
14759 return gst_pad_new ();
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14766 else
14767 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 LIBS=$ac_check_lib_save_LIBS
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14774 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14775 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14779 else
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14781 $as_echo "no" >&6; }
14782 ac_glib2_broken=yes
14783 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14789 CPPFLAGS=$ac_save_CPPFLAGS
14790 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14791 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14794 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 :
14795 case "x$with_gstreamer" in
14796 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14797 xno) ;;
14798 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14799 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14800 esac
14803 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14805 ALSA_LIBS=""
14807 if test "x$with_alsa" != "xno"
14808 then
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14810 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14811 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_check_lib_save_LIBS=$LIBS
14815 LIBS="-lasound $LIBS"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 char snd_pcm_hw_params_get_access_mask ();
14827 main ()
14829 return snd_pcm_hw_params_get_access_mask ();
14831 return 0;
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14836 else
14837 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 LIBS=$ac_check_lib_save_LIBS
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14844 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14845 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 #include <alsa/asoundlib.h>
14850 main ()
14852 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_compile "$LINENO"; then :
14858 ALSA_LIBS="-lasound"
14860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14864 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14866 if test "x$with_oss" != xno
14867 then
14868 ac_save_CPPFLAGS="$CPPFLAGS"
14869 if test -f /etc/oss.conf
14870 then
14871 . /etc/oss.conf
14873 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14874 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14875 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14876 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14877 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14879 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14881 cat >>confdefs.h <<_ACEOF
14882 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14883 _ACEOF
14885 OSS4_CFLAGS="$ac_oss_incl"
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14888 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14889 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-lossaudio $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14900 #ifdef __cplusplus
14901 extern "C"
14902 #endif
14903 char _oss_ioctl ();
14905 main ()
14907 return _oss_ioctl ();
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_ossaudio__oss_ioctl=yes
14914 else
14915 ac_cv_lib_ossaudio__oss_ioctl=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14922 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14923 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14924 OSS4_LIBS="-lossaudio"
14933 CPPFLAGS="$ac_save_CPPFLAGS"
14935 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14936 case "x$with_oss" in
14937 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14938 xno) ;;
14939 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14940 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14941 esac
14942 enable_wineoss_drv=${enable_wineoss_drv:-no}
14945 if test "x$with_udev" != "xno"
14946 then
14947 if ${UDEV_CFLAGS:+false} :; then :
14948 if ${PKG_CONFIG+:} false; then :
14949 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14953 if ${UDEV_LIBS:+false} :; then :
14954 if ${PKG_CONFIG+:} false; then :
14955 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14959 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14960 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14961 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14962 ac_save_CPPFLAGS=$CPPFLAGS
14963 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14964 for ac_header in libudev.h
14965 do :
14966 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14967 if test "x$ac_cv_header_libudev_h" = xyes; then :
14968 cat >>confdefs.h <<_ACEOF
14969 #define HAVE_LIBUDEV_H 1
14970 _ACEOF
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14972 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14973 if ${ac_cv_lib_udev_udev_new+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 ac_check_lib_save_LIBS=$LIBS
14977 LIBS="-ludev $UDEV_LIBS $LIBS"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14984 #ifdef __cplusplus
14985 extern "C"
14986 #endif
14987 char udev_new ();
14989 main ()
14991 return udev_new ();
14993 return 0;
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"; then :
14997 ac_cv_lib_udev_udev_new=yes
14998 else
14999 ac_cv_lib_udev_udev_new=no
15001 rm -f core conftest.err conftest.$ac_objext \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15006 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15007 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15009 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15011 else
15012 UDEV_LIBS=""
15015 else
15016 UDEV_LIBS=""
15019 done
15021 CPPFLAGS=$ac_save_CPPFLAGS
15022 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15023 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15026 if test "x$UDEV_LIBS" = "x"; then :
15027 case "x$with_udev" in
15028 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15029 xno) ;;
15030 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15031 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15032 esac
15036 if test "x$with_unwind" != xno
15037 then
15038 if ${UNWIND_CFLAGS:+false} :; then :
15039 if ${PKG_CONFIG+:} false; then :
15040 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15044 if ${UNWIND_LIBS:+false} :; then :
15045 if ${PKG_CONFIG+:} false; then :
15046 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15050 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15051 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15052 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15053 ac_save_CPPFLAGS=$CPPFLAGS
15054 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15056 $as_echo_n "checking for unw_step... " >&6; }
15057 if ${wine_cv_have_unw_step+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15062 #define UNW_LOCAL_ONLY
15063 #include <libunwind.h>
15065 main ()
15067 unw_cursor_t cursor; unw_step( &cursor );
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 wine_cv_have_unw_step="yes"
15074 else
15075 wine_cv_have_unw_step="no"
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15081 $as_echo "$wine_cv_have_unw_step" >&6; }
15082 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15083 then
15084 save_libs=$LIBS
15085 LIBS="$UNWIND_LIBS $LIBS"
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15087 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15088 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15093 #define UNW_LOCAL_ONLY
15094 #include <libunwind.h>
15096 main ()
15098 unw_cursor_t cursor; unw_step( &cursor );
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 wine_cv_have_libunwind_unw_step="yes"
15105 else
15106 wine_cv_have_libunwind_unw_step="no"
15108 rm -f core conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15112 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15113 LIBS=$save_libs
15115 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15116 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15117 then
15119 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15122 CPPFLAGS=$ac_save_CPPFLAGS
15123 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15124 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15127 case $host in
15128 aarch64*|*-darwin*)
15129 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15130 case "x$with_unwind" in
15131 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15132 xno) ;;
15133 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15134 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15135 esac
15137 fi ;;
15138 esac
15140 if test "x$with_sdl" != "xno"
15141 then
15142 if ${SDL2_CFLAGS:+false} :; then :
15143 if ${PKG_CONFIG+:} false; then :
15144 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15148 if ${SDL2_LIBS:+false} :; then :
15149 if ${PKG_CONFIG+:} false; then :
15150 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15154 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15155 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15156 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15157 ac_save_CPPFLAGS=$CPPFLAGS
15158 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15159 for ac_header in SDL2/SDL.h
15160 do :
15161 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15162 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_SDL2_SDL_H 1
15165 _ACEOF
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15167 $as_echo_n "checking for -lSDL2... " >&6; }
15168 if ${ac_cv_lib_soname_SDL2+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 ac_check_soname_save_LIBS=$LIBS
15172 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15179 #ifdef __cplusplus
15180 extern "C"
15181 #endif
15182 char SDL_Init ();
15184 main ()
15186 return SDL_Init ();
15188 return 0;
15190 _ACEOF
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 case "$LIBEXT" in
15193 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15194 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'` ;;
15195 *) 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'`
15196 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15197 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15198 fi ;;
15199 esac
15200 else
15201 ac_cv_lib_soname_SDL2=
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15205 LIBS=$ac_check_soname_save_LIBS
15207 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15209 $as_echo "not found" >&6; }
15211 else
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15213 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15215 cat >>confdefs.h <<_ACEOF
15216 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15217 _ACEOF
15223 done
15225 CPPFLAGS=$ac_save_CPPFLAGS
15226 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15227 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15230 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15231 case "x$with_sdl" in
15232 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15233 xno) ;;
15234 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15235 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15236 esac
15240 if test "x$with_faudio" != "xno"
15241 then
15242 if ${FAUDIO_CFLAGS:+false} :; then :
15243 if ${PKG_CONFIG+:} false; then :
15244 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15248 if ${FAUDIO_LIBS:+false} :; then :
15249 if ${PKG_CONFIG+:} false; then :
15250 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15254 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15255 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15256 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15257 ac_save_CPPFLAGS=$CPPFLAGS
15258 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15259 for ac_header in FAudio.h
15260 do :
15261 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15262 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15263 cat >>confdefs.h <<_ACEOF
15264 #define HAVE_FAUDIO_H 1
15265 _ACEOF
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15267 $as_echo_n "checking for -lFAudio... " >&6; }
15268 if ${ac_cv_lib_soname_FAudio+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 ac_check_soname_save_LIBS=$LIBS
15272 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15276 /* Override any GCC internal prototype to avoid an error.
15277 Use char because int might match the return type of a GCC
15278 builtin and then its argument prototype would still apply. */
15279 #ifdef __cplusplus
15280 extern "C"
15281 #endif
15282 char FAudioCreate ();
15284 main ()
15286 return FAudioCreate ();
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_link "$LINENO"; then :
15292 case "$LIBEXT" in
15293 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15294 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'` ;;
15295 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15296 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15297 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15298 fi ;;
15299 esac
15300 else
15301 ac_cv_lib_soname_FAudio=
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext conftest.$ac_ext
15305 LIBS=$ac_check_soname_save_LIBS
15307 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15309 $as_echo "not found" >&6; }
15311 else
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15313 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15315 cat >>confdefs.h <<_ACEOF
15316 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15317 _ACEOF
15323 done
15325 ac_wine_check_funcs_save_LIBS="$LIBS"
15326 LIBS="$LIBS $FAUDIO_LIBS"
15327 for ac_func in FAudio_CommitOperationSet \
15328 F3DAudioInitialize8 \
15329 FAudioLinkedVersion
15330 do :
15331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15333 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15336 _ACEOF
15339 done
15341 LIBS="$ac_wine_check_funcs_save_LIBS"
15343 CPPFLAGS=$ac_save_CPPFLAGS
15344 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15345 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15348 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15349 case "x$with_faudio" in
15350 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15351 xno) ;;
15352 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15353 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15354 esac
15358 if test "x$with_capi" != "xno"
15359 then
15360 if ${CAPI20_CFLAGS:+false} :; then :
15361 if ${PKG_CONFIG+:} false; then :
15362 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15366 if ${CAPI20_LIBS:+false} :; then :
15367 if ${PKG_CONFIG+:} false; then :
15368 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15373 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15374 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15375 ac_save_CPPFLAGS=$CPPFLAGS
15376 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15377 for ac_header in capi20.h linux/capi.h
15378 do :
15379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15380 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15383 cat >>confdefs.h <<_ACEOF
15384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15385 _ACEOF
15389 done
15391 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15392 then
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15394 $as_echo_n "checking for -lcapi20... " >&6; }
15395 if ${ac_cv_lib_soname_capi20+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 #ifdef __cplusplus
15407 extern "C"
15408 #endif
15409 char capi20_register ();
15411 main ()
15413 return capi20_register ();
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 case "$LIBEXT" in
15420 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_capi20:+false} :; then :
15424 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 fi ;;
15426 esac
15427 else
15428 ac_cv_lib_soname_capi20=
15430 rm -f core conftest.err conftest.$ac_objext \
15431 conftest$ac_exeext conftest.$ac_ext
15432 LIBS=$ac_check_soname_save_LIBS
15434 if ${ac_cv_lib_soname_capi20:+false} :; then :
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 $as_echo "not found" >&6; }
15438 else
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15440 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15442 cat >>confdefs.h <<_ACEOF
15443 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15444 _ACEOF
15449 CPPFLAGS=$ac_save_CPPFLAGS
15450 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15451 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15454 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15455 case "x$with_capi" in
15456 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15457 xno) ;;
15458 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15459 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15460 esac
15464 if test "x$with_cups" != "xno"
15465 then
15466 if ${CUPS_CFLAGS:+false} :; then :
15467 if ${PKG_CONFIG+:} false; then :
15468 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15471 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15472 if ${CUPS_LIBS:+false} :; then :
15473 if ${PKG_CONFIG+:} false; then :
15474 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15477 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15478 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15479 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15480 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15481 ac_save_CPPFLAGS=$CPPFLAGS
15482 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15483 for ac_header in cups/cups.h cups/ppd.h
15484 do :
15485 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15486 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15490 _ACEOF
15494 done
15496 if test "$ac_cv_header_cups_cups_h" = "yes"
15497 then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15499 $as_echo_n "checking for -lcups... " >&6; }
15500 if ${ac_cv_lib_soname_cups+:} false; then :
15501 $as_echo_n "(cached) " >&6
15502 else
15503 ac_check_soname_save_LIBS=$LIBS
15504 LIBS="-lcups $CUPS_LIBS $LIBS"
15505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15506 /* end confdefs.h. */
15508 /* Override any GCC internal prototype to avoid an error.
15509 Use char because int might match the return type of a GCC
15510 builtin and then its argument prototype would still apply. */
15511 #ifdef __cplusplus
15512 extern "C"
15513 #endif
15514 char cupsGetDefault ();
15516 main ()
15518 return cupsGetDefault ();
15520 return 0;
15522 _ACEOF
15523 if ac_fn_c_try_link "$LINENO"; then :
15524 case "$LIBEXT" in
15525 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15526 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'` ;;
15527 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15528 if ${ac_cv_lib_soname_cups:+false} :; then :
15529 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15530 fi ;;
15531 esac
15532 else
15533 ac_cv_lib_soname_cups=
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15537 LIBS=$ac_check_soname_save_LIBS
15539 if ${ac_cv_lib_soname_cups:+false} :; then :
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15541 $as_echo "not found" >&6; }
15542 CUPS_LIBS=""
15543 else
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15545 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15547 cat >>confdefs.h <<_ACEOF
15548 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15549 _ACEOF
15553 else
15554 CUPS_CFLAGS=""
15555 CUPS_LIBS=""
15557 CPPFLAGS=$ac_save_CPPFLAGS
15558 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15559 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15562 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15563 case "x$with_cups" in
15564 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15565 xno) ;;
15566 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15567 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15568 esac
15572 if test "x$with_fontconfig" != "xno"
15573 then
15574 if ${FONTCONFIG_CFLAGS:+false} :; then :
15575 if ${PKG_CONFIG+:} false; then :
15576 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15579 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15580 if ${FONTCONFIG_LIBS:+false} :; then :
15581 if ${PKG_CONFIG+:} false; then :
15582 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15585 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15587 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15588 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15589 ac_save_CPPFLAGS=$CPPFLAGS
15590 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15591 for ac_header in fontconfig/fontconfig.h
15592 do :
15593 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15594 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15597 _ACEOF
15601 done
15603 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15604 then
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15606 $as_echo_n "checking for -lfontconfig... " >&6; }
15607 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15608 $as_echo_n "(cached) " >&6
15609 else
15610 ac_check_soname_save_LIBS=$LIBS
15611 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15615 /* Override any GCC internal prototype to avoid an error.
15616 Use char because int might match the return type of a GCC
15617 builtin and then its argument prototype would still apply. */
15618 #ifdef __cplusplus
15619 extern "C"
15620 #endif
15621 char FcInit ();
15623 main ()
15625 return FcInit ();
15627 return 0;
15629 _ACEOF
15630 if ac_fn_c_try_link "$LINENO"; then :
15631 case "$LIBEXT" in
15632 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15633 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'` ;;
15634 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15635 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15636 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15637 fi ;;
15638 esac
15639 else
15640 ac_cv_lib_soname_fontconfig=
15642 rm -f core conftest.err conftest.$ac_objext \
15643 conftest$ac_exeext conftest.$ac_ext
15644 LIBS=$ac_check_soname_save_LIBS
15646 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15648 $as_echo "not found" >&6; }
15649 FONTCONFIG_CFLAGS=""
15650 else
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15652 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15654 cat >>confdefs.h <<_ACEOF
15655 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15656 _ACEOF
15660 else
15661 FONTCONFIG_CFLAGS=""
15663 CPPFLAGS=$ac_save_CPPFLAGS
15664 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15665 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15668 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15669 case "x$with_fontconfig" in
15670 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15671 xno) ;;
15672 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15673 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15674 esac
15678 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15679 then
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15681 $as_echo_n "checking for -lgsm... " >&6; }
15682 if ${ac_cv_lib_soname_gsm+:} false; then :
15683 $as_echo_n "(cached) " >&6
15684 else
15685 ac_check_soname_save_LIBS=$LIBS
15686 LIBS="-lgsm $LIBS"
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15693 #ifdef __cplusplus
15694 extern "C"
15695 #endif
15696 char gsm_create ();
15698 main ()
15700 return gsm_create ();
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_link "$LINENO"; then :
15706 case "$LIBEXT" in
15707 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15708 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'` ;;
15709 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15710 if ${ac_cv_lib_soname_gsm:+false} :; then :
15711 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15712 fi ;;
15713 esac
15714 else
15715 ac_cv_lib_soname_gsm=
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15719 LIBS=$ac_check_soname_save_LIBS
15721 if ${ac_cv_lib_soname_gsm:+false} :; then :
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15723 $as_echo "not found" >&6; }
15725 else
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15727 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15729 cat >>confdefs.h <<_ACEOF
15730 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15731 _ACEOF
15736 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15737 case "x$with_gsm" in
15738 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15739 xno) ;;
15740 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15741 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15742 esac
15746 if test "x$with_krb5" != "xno"
15747 then
15748 if ${KRB5_CFLAGS:+false} :; then :
15749 if ${PKG_CONFIG+:} false; then :
15750 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15753 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15754 if ${KRB5_LIBS:+false} :; then :
15755 if ${PKG_CONFIG+:} false; then :
15756 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15759 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15761 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15762 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15763 ac_save_CPPFLAGS=$CPPFLAGS
15764 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15765 for ac_header in krb5/krb5.h
15766 do :
15767 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15768 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_KRB5_KRB5_H 1
15771 _ACEOF
15775 done
15777 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15778 then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15780 $as_echo_n "checking for -lkrb5... " >&6; }
15781 if ${ac_cv_lib_soname_krb5+:} false; then :
15782 $as_echo_n "(cached) " >&6
15783 else
15784 ac_check_soname_save_LIBS=$LIBS
15785 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15789 /* Override any GCC internal prototype to avoid an error.
15790 Use char because int might match the return type of a GCC
15791 builtin and then its argument prototype would still apply. */
15792 #ifdef __cplusplus
15793 extern "C"
15794 #endif
15795 char krb5_is_config_principal ();
15797 main ()
15799 return krb5_is_config_principal ();
15801 return 0;
15803 _ACEOF
15804 if ac_fn_c_try_link "$LINENO"; then :
15805 case "$LIBEXT" in
15806 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15807 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'` ;;
15808 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15809 if ${ac_cv_lib_soname_krb5:+false} :; then :
15810 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15811 fi ;;
15812 esac
15813 else
15814 ac_cv_lib_soname_krb5=
15816 rm -f core conftest.err conftest.$ac_objext \
15817 conftest$ac_exeext conftest.$ac_ext
15818 LIBS=$ac_check_soname_save_LIBS
15820 if ${ac_cv_lib_soname_krb5:+false} :; then :
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15822 $as_echo "not found" >&6; }
15823 KRB5_CFLAGS=""
15824 else
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15826 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15828 cat >>confdefs.h <<_ACEOF
15829 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15830 _ACEOF
15834 else
15835 KRB5_CFLAGS=""
15837 CPPFLAGS=$ac_save_CPPFLAGS
15838 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15839 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15842 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15843 case "x$with_krb5" in
15844 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15845 xno) ;;
15846 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15847 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15848 esac
15851 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15853 if test "x$with_gssapi" != "xno"
15854 then
15855 if ${GSSAPI_CFLAGS:+false} :; then :
15856 if ${PKG_CONFIG+:} false; then :
15857 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15860 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15861 if ${GSSAPI_LIBS:+false} :; then :
15862 if ${PKG_CONFIG+:} false; then :
15863 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15866 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15868 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15869 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15870 ac_save_CPPFLAGS=$CPPFLAGS
15871 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15872 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15873 do :
15874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15879 _ACEOF
15883 done
15885 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15886 then
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15888 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15889 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 ac_check_soname_save_LIBS=$LIBS
15893 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 #ifdef __cplusplus
15901 extern "C"
15902 #endif
15903 char gss_init_sec_context ();
15905 main ()
15907 return gss_init_sec_context ();
15909 return 0;
15911 _ACEOF
15912 if ac_fn_c_try_link "$LINENO"; then :
15913 case "$LIBEXT" in
15914 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15915 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'` ;;
15916 *) 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'`
15917 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15918 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15919 fi ;;
15920 esac
15921 else
15922 ac_cv_lib_soname_gssapi_krb5=
15924 rm -f core conftest.err conftest.$ac_objext \
15925 conftest$ac_exeext conftest.$ac_ext
15926 LIBS=$ac_check_soname_save_LIBS
15928 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15930 $as_echo "not found" >&6; }
15931 GSSAPI_CFLAGS=""
15932 else
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15934 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15936 cat >>confdefs.h <<_ACEOF
15937 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15938 _ACEOF
15942 else
15943 GSSAPI_CFLAGS=""
15945 CPPFLAGS=$ac_save_CPPFLAGS
15946 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15947 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15950 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15951 case "x$with_gssapi" in
15952 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15953 xno) ;;
15954 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15955 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15956 esac
15960 if test "x$with_jpeg" != "xno"
15961 then
15962 if ${JPEG_CFLAGS:+false} :; then :
15963 if ${PKG_CONFIG+:} false; then :
15964 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15968 if ${JPEG_LIBS:+false} :; then :
15969 if ${PKG_CONFIG+:} false; then :
15970 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15975 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15976 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15979 for ac_header in jpeglib.h
15980 do :
15981 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15982 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define HAVE_JPEGLIB_H 1
15985 _ACEOF
15989 done
15991 if test "$ac_cv_header_jpeglib_h" = "yes"
15992 then
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15994 $as_echo_n "checking for -ljpeg... " >&6; }
15995 if ${ac_cv_lib_soname_jpeg+:} false; then :
15996 $as_echo_n "(cached) " >&6
15997 else
15998 ac_check_soname_save_LIBS=$LIBS
15999 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16003 /* Override any GCC internal prototype to avoid an error.
16004 Use char because int might match the return type of a GCC
16005 builtin and then its argument prototype would still apply. */
16006 #ifdef __cplusplus
16007 extern "C"
16008 #endif
16009 char jpeg_start_decompress ();
16011 main ()
16013 return jpeg_start_decompress ();
16015 return 0;
16017 _ACEOF
16018 if ac_fn_c_try_link "$LINENO"; then :
16019 case "$LIBEXT" in
16020 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16021 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'` ;;
16022 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16023 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16024 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16025 fi ;;
16026 esac
16027 else
16028 ac_cv_lib_soname_jpeg=
16030 rm -f core conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16032 LIBS=$ac_check_soname_save_LIBS
16034 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16036 $as_echo "not found" >&6; }
16037 JPEG_CFLAGS=""
16038 else
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16040 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16042 cat >>confdefs.h <<_ACEOF
16043 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16044 _ACEOF
16048 else
16049 JPEG_CFLAGS=""
16051 CPPFLAGS=$ac_save_CPPFLAGS
16052 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16053 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16056 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16057 case "x$with_jpeg" in
16058 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16059 xno) ;;
16060 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16061 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16062 esac
16066 if test "x$with_png" != "xno"
16067 then
16068 if ${PNG_CFLAGS:+false} :; then :
16069 if ${PKG_CONFIG+:} false; then :
16070 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16073 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16074 if ${PNG_LIBS:+false} :; then :
16075 if ${PKG_CONFIG+:} false; then :
16076 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16079 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16081 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16082 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16083 ac_save_CPPFLAGS=$CPPFLAGS
16084 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16085 for ac_header in png.h
16086 do :
16087 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16088 if test "x$ac_cv_header_png_h" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_PNG_H 1
16091 _ACEOF
16095 done
16097 if test "$ac_cv_header_png_h" = "yes"
16098 then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16100 $as_echo_n "checking for -lpng... " >&6; }
16101 if ${ac_cv_lib_soname_png+:} false; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 ac_check_soname_save_LIBS=$LIBS
16105 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16109 /* Override any GCC internal prototype to avoid an error.
16110 Use char because int might match the return type of a GCC
16111 builtin and then its argument prototype would still apply. */
16112 #ifdef __cplusplus
16113 extern "C"
16114 #endif
16115 char png_create_read_struct ();
16117 main ()
16119 return png_create_read_struct ();
16121 return 0;
16123 _ACEOF
16124 if ac_fn_c_try_link "$LINENO"; then :
16125 case "$LIBEXT" in
16126 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16127 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'` ;;
16128 *) 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'`
16129 if ${ac_cv_lib_soname_png:+false} :; then :
16130 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16131 fi ;;
16132 esac
16133 else
16134 ac_cv_lib_soname_png=
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16138 LIBS=$ac_check_soname_save_LIBS
16140 if ${ac_cv_lib_soname_png:+false} :; then :
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16142 $as_echo "not found" >&6; }
16143 PNG_CFLAGS=""
16144 else
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16146 $as_echo "$ac_cv_lib_soname_png" >&6; }
16148 cat >>confdefs.h <<_ACEOF
16149 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16150 _ACEOF
16154 else
16155 PNG_CFLAGS=""
16157 CPPFLAGS=$ac_save_CPPFLAGS
16158 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16159 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16162 if test "x$ac_cv_lib_soname_png" = "x"; then :
16163 case "x$with_png" in
16164 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16165 xno) ;;
16166 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16167 This is an error since --with-png was requested." "$LINENO" 5 ;;
16168 esac
16172 if test "x$with_tiff" != "xno"
16173 then
16174 if ${TIFF_CFLAGS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16180 if ${TIFF_LIBS:+false} :; then :
16181 if ${PKG_CONFIG+:} false; then :
16182 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16187 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16189 ac_save_CPPFLAGS=$CPPFLAGS
16190 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16191 for ac_header in tiffio.h
16192 do :
16193 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_TIFFIO_H 1
16197 _ACEOF
16201 done
16203 if test "$ac_cv_header_tiffio_h" = "yes"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16206 $as_echo_n "checking for -ltiff... " >&6; }
16207 if ${ac_cv_lib_soname_tiff+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_soname_save_LIBS=$LIBS
16211 LIBS="-ltiff $TIFF_LIBS $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char TIFFClientOpen ();
16223 main ()
16225 return TIFFClientOpen ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 case "$LIBEXT" in
16232 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16233 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'` ;;
16234 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16235 if ${ac_cv_lib_soname_tiff:+false} :; then :
16236 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16237 fi ;;
16238 esac
16239 else
16240 ac_cv_lib_soname_tiff=
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_soname_save_LIBS
16246 if ${ac_cv_lib_soname_tiff:+false} :; then :
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16248 $as_echo "not found" >&6; }
16250 else
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16252 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16254 cat >>confdefs.h <<_ACEOF
16255 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16256 _ACEOF
16261 CPPFLAGS=$ac_save_CPPFLAGS
16262 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16263 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16266 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16267 case "x$with_tiff" in
16268 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16269 xno) ;;
16270 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16271 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16272 esac
16276 if test "x$with_mpg123" != "xno"
16277 then
16278 if ${MPG123_CFLAGS:+false} :; then :
16279 if ${PKG_CONFIG+:} false; then :
16280 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16284 if ${MPG123_LIBS:+false} :; then :
16285 if ${PKG_CONFIG+:} false; then :
16286 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16290 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16291 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16292 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16293 ac_save_CPPFLAGS=$CPPFLAGS
16294 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16295 for ac_header in mpg123.h
16296 do :
16297 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16298 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_MPG123_H 1
16301 _ACEOF
16305 done
16307 if test "$ac_cv_header_mpg123_h" = "yes"
16308 then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16310 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16311 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 ac_check_lib_save_LIBS=$LIBS
16315 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16319 /* Override any GCC internal prototype to avoid an error.
16320 Use char because int might match the return type of a GCC
16321 builtin and then its argument prototype would still apply. */
16322 #ifdef __cplusplus
16323 extern "C"
16324 #endif
16325 char mpg123_feed ();
16327 main ()
16329 return mpg123_feed ();
16331 return 0;
16333 _ACEOF
16334 if ac_fn_c_try_link "$LINENO"; then :
16335 ac_cv_lib_mpg123_mpg123_feed=yes
16336 else
16337 ac_cv_lib_mpg123_mpg123_feed=no
16339 rm -f core conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16341 LIBS=$ac_check_lib_save_LIBS
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16344 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16345 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16347 else
16348 MPG123_LIBS=""
16351 else
16352 MPG123_CFLAGS=""
16353 MPG123_LIBS=""
16355 CPPFLAGS=$ac_save_CPPFLAGS
16356 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16357 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16360 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16361 case "x$with_mpg123" in
16362 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16363 xno) ;;
16364 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16365 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16366 esac
16367 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16369 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16371 if test "$ac_cv_header_AL_al_h" = "yes"
16372 then
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16374 $as_echo_n "checking for -lopenal... " >&6; }
16375 if ${ac_cv_lib_soname_openal+:} false; then :
16376 $as_echo_n "(cached) " >&6
16377 else
16378 ac_check_soname_save_LIBS=$LIBS
16379 LIBS="-lopenal $LIBS"
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16383 /* Override any GCC internal prototype to avoid an error.
16384 Use char because int might match the return type of a GCC
16385 builtin and then its argument prototype would still apply. */
16386 #ifdef __cplusplus
16387 extern "C"
16388 #endif
16389 char alGetSource3i ();
16391 main ()
16393 return alGetSource3i ();
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 case "$LIBEXT" in
16400 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16401 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'` ;;
16402 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16403 if ${ac_cv_lib_soname_openal:+false} :; then :
16404 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16405 fi ;;
16406 esac
16407 else
16408 ac_cv_lib_soname_openal=
16410 rm -f core conftest.err conftest.$ac_objext \
16411 conftest$ac_exeext conftest.$ac_ext
16412 LIBS=$ac_check_soname_save_LIBS
16414 if ${ac_cv_lib_soname_openal:+false} :; then :
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16416 $as_echo "not found" >&6; }
16418 else
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16420 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16422 cat >>confdefs.h <<_ACEOF
16423 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16424 _ACEOF
16426 OPENAL_LIBS="-lopenal"
16428 ac_cv_lib_openal=yes
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_OPENAL 1
16432 _ACEOF
16436 if test "x$ac_cv_lib_openal" != xyes; then :
16437 case "x$with_openal" in
16438 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16439 xno) ;;
16440 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16441 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16442 esac
16443 enable_openal32=${enable_openal32:-no}
16446 if test "x$ac_cv_lib_soname_FAudio" = "x"
16447 then
16448 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16449 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16450 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16451 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16452 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16453 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16454 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16455 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16456 enable_xapofx1_1=${enable_xapofx1_1:-no}
16457 enable_xapofx1_2=${enable_xapofx1_2:-no}
16458 enable_xapofx1_3=${enable_xapofx1_3:-no}
16459 enable_xapofx1_4=${enable_xapofx1_4:-no}
16460 enable_xapofx1_5=${enable_xapofx1_5:-no}
16461 enable_xaudio2_0=${enable_xaudio2_0:-no}
16462 enable_xaudio2_1=${enable_xaudio2_1:-no}
16463 enable_xaudio2_2=${enable_xaudio2_2:-no}
16464 enable_xaudio2_3=${enable_xaudio2_3:-no}
16465 enable_xaudio2_4=${enable_xaudio2_4:-no}
16466 enable_xaudio2_5=${enable_xaudio2_5:-no}
16467 enable_xaudio2_6=${enable_xaudio2_6:-no}
16468 enable_xaudio2_7=${enable_xaudio2_7:-no}
16469 enable_xaudio2_8=${enable_xaudio2_8:-no}
16470 enable_xaudio2_9=${enable_xaudio2_9:-no}
16473 if test "$ac_cv_header_kstat_h" = "yes"
16474 then
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16476 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16477 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16478 $as_echo_n "(cached) " >&6
16479 else
16480 ac_check_lib_save_LIBS=$LIBS
16481 LIBS="-lkstat $LIBS"
16482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16485 /* Override any GCC internal prototype to avoid an error.
16486 Use char because int might match the return type of a GCC
16487 builtin and then its argument prototype would still apply. */
16488 #ifdef __cplusplus
16489 extern "C"
16490 #endif
16491 char kstat_open ();
16493 main ()
16495 return kstat_open ();
16497 return 0;
16499 _ACEOF
16500 if ac_fn_c_try_link "$LINENO"; then :
16501 ac_cv_lib_kstat_kstat_open=yes
16502 else
16503 ac_cv_lib_kstat_kstat_open=no
16505 rm -f core conftest.err conftest.$ac_objext \
16506 conftest$ac_exeext conftest.$ac_ext
16507 LIBS=$ac_check_lib_save_LIBS
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16510 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16511 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16513 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16515 KSTAT_LIBS="-lkstat"
16521 if test "$ac_cv_header_libprocstat_h" = "yes"
16522 then
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16524 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16525 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 ac_check_lib_save_LIBS=$LIBS
16529 LIBS="-lprocstat $LIBS"
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16533 /* Override any GCC internal prototype to avoid an error.
16534 Use char because int might match the return type of a GCC
16535 builtin and then its argument prototype would still apply. */
16536 #ifdef __cplusplus
16537 extern "C"
16538 #endif
16539 char procstat_open_sysctl ();
16541 main ()
16543 return procstat_open_sysctl ();
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"; then :
16549 ac_cv_lib_procstat_procstat_open_sysctl=yes
16550 else
16551 ac_cv_lib_procstat_procstat_open_sysctl=no
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16555 LIBS=$ac_check_lib_save_LIBS
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16558 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16559 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16561 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16563 PROCSTAT_LIBS="-lprocstat"
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16570 $as_echo_n "checking for -lodbc... " >&6; }
16571 if ${ac_cv_lib_soname_odbc+:} false; then :
16572 $as_echo_n "(cached) " >&6
16573 else
16574 ac_check_soname_save_LIBS=$LIBS
16575 LIBS="-lodbc $LIBS"
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16579 /* Override any GCC internal prototype to avoid an error.
16580 Use char because int might match the return type of a GCC
16581 builtin and then its argument prototype would still apply. */
16582 #ifdef __cplusplus
16583 extern "C"
16584 #endif
16585 char SQLConnect ();
16587 main ()
16589 return SQLConnect ();
16591 return 0;
16593 _ACEOF
16594 if ac_fn_c_try_link "$LINENO"; then :
16595 case "$LIBEXT" in
16596 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16597 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'` ;;
16598 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16599 if ${ac_cv_lib_soname_odbc:+false} :; then :
16600 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16601 fi ;;
16602 esac
16603 else
16604 ac_cv_lib_soname_odbc=
16606 rm -f core conftest.err conftest.$ac_objext \
16607 conftest$ac_exeext conftest.$ac_ext
16608 LIBS=$ac_check_soname_save_LIBS
16610 if ${ac_cv_lib_soname_odbc:+false} :; then :
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16612 $as_echo "not found" >&6; }
16613 cat >>confdefs.h <<_ACEOF
16614 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16615 _ACEOF
16617 else
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16619 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16621 cat >>confdefs.h <<_ACEOF
16622 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16623 _ACEOF
16628 if test "x$with_netapi" != "xno"
16629 then
16630 if ${NETAPI_CFLAGS:+false} :; then :
16631 if ${PKG_CONFIG+:} false; then :
16632 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16636 if ${NETAPI_LIBS:+false} :; then :
16637 if ${PKG_CONFIG+:} false; then :
16638 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16643 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16644 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16645 ac_save_CPPFLAGS=$CPPFLAGS
16646 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16648 $as_echo_n "checking for -lnetapi... " >&6; }
16649 if ${ac_cv_lib_soname_netapi+:} false; then :
16650 $as_echo_n "(cached) " >&6
16651 else
16652 ac_check_soname_save_LIBS=$LIBS
16653 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16657 /* Override any GCC internal prototype to avoid an error.
16658 Use char because int might match the return type of a GCC
16659 builtin and then its argument prototype would still apply. */
16660 #ifdef __cplusplus
16661 extern "C"
16662 #endif
16663 char libnetapi_init ();
16665 main ()
16667 return libnetapi_init ();
16669 return 0;
16671 _ACEOF
16672 if ac_fn_c_try_link "$LINENO"; then :
16673 case "$LIBEXT" in
16674 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16675 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'` ;;
16676 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16677 if ${ac_cv_lib_soname_netapi:+false} :; then :
16678 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16679 fi ;;
16680 esac
16681 else
16682 ac_cv_lib_soname_netapi=
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16686 LIBS=$ac_check_soname_save_LIBS
16688 if ${ac_cv_lib_soname_netapi:+false} :; then :
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16690 $as_echo "not found" >&6; }
16691 cat >>confdefs.h <<_ACEOF
16692 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16693 _ACEOF
16695 else
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16697 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16699 cat >>confdefs.h <<_ACEOF
16700 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16701 _ACEOF
16705 CPPFLAGS=$ac_save_CPPFLAGS
16706 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16707 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16711 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16712 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16713 then
16714 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16717 if test "x$with_vulkan" != "xno"
16718 then
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16720 $as_echo_n "checking for -lvulkan... " >&6; }
16721 if ${ac_cv_lib_soname_vulkan+:} false; then :
16722 $as_echo_n "(cached) " >&6
16723 else
16724 ac_check_soname_save_LIBS=$LIBS
16725 LIBS="-lvulkan $LIBS"
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16732 #ifdef __cplusplus
16733 extern "C"
16734 #endif
16735 char vkGetInstanceProcAddr ();
16737 main ()
16739 return vkGetInstanceProcAddr ();
16741 return 0;
16743 _ACEOF
16744 if ac_fn_c_try_link "$LINENO"; then :
16745 case "$LIBEXT" in
16746 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16747 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'` ;;
16748 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16749 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16750 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16751 fi ;;
16752 esac
16753 else
16754 ac_cv_lib_soname_vulkan=
16756 rm -f core conftest.err conftest.$ac_objext \
16757 conftest$ac_exeext conftest.$ac_ext
16758 LIBS=$ac_check_soname_save_LIBS
16760 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16762 $as_echo "not found" >&6; }
16764 else
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16766 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16768 cat >>confdefs.h <<_ACEOF
16769 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16770 _ACEOF
16774 if test "x$ac_cv_lib_soname_vulkan" = "x"
16775 then
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16777 $as_echo_n "checking for -lMoltenVK... " >&6; }
16778 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 ac_check_soname_save_LIBS=$LIBS
16782 LIBS="-lMoltenVK $LIBS"
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 /* Override any GCC internal prototype to avoid an error.
16787 Use char because int might match the return type of a GCC
16788 builtin and then its argument prototype would still apply. */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
16792 char vkGetInstanceProcAddr ();
16794 main ()
16796 return vkGetInstanceProcAddr ();
16798 return 0;
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 case "$LIBEXT" in
16803 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16804 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'` ;;
16805 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16806 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16807 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16808 fi ;;
16809 esac
16810 else
16811 ac_cv_lib_soname_MoltenVK=
16813 rm -f core conftest.err conftest.$ac_objext \
16814 conftest$ac_exeext conftest.$ac_ext
16815 LIBS=$ac_check_soname_save_LIBS
16817 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16819 $as_echo "not found" >&6; }
16821 else
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16823 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16825 cat >>confdefs.h <<_ACEOF
16826 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16827 _ACEOF
16833 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16834 case "x$with_vulkan" in
16835 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16836 xno) ;;
16837 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16838 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16839 esac
16843 if test "x$with_vkd3d" != "xno"
16844 then
16845 if ${VKD3D_CFLAGS:+false} :; then :
16846 if ${PKG_CONFIG+:} false; then :
16847 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16851 if ${VKD3D_LIBS:+false} :; then :
16852 if ${PKG_CONFIG+:} false; then :
16853 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16858 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16859 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16860 ac_save_CPPFLAGS=$CPPFLAGS
16861 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16863 $as_echo_n "checking for -lvkd3d... " >&6; }
16864 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16865 $as_echo_n "(cached) " >&6
16866 else
16867 ac_check_soname_save_LIBS=$LIBS
16868 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16872 /* Override any GCC internal prototype to avoid an error.
16873 Use char because int might match the return type of a GCC
16874 builtin and then its argument prototype would still apply. */
16875 #ifdef __cplusplus
16876 extern "C"
16877 #endif
16878 char vkd3d_get_dxgi_format ();
16880 main ()
16882 return vkd3d_get_dxgi_format ();
16884 return 0;
16886 _ACEOF
16887 if ac_fn_c_try_link "$LINENO"; then :
16888 case "$LIBEXT" in
16889 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16890 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'` ;;
16891 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16892 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16893 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16894 fi ;;
16895 esac
16896 else
16897 ac_cv_lib_soname_vkd3d=
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16901 LIBS=$ac_check_soname_save_LIBS
16903 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16905 $as_echo "not found" >&6; }
16907 else
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16909 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16911 cat >>confdefs.h <<_ACEOF
16912 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16913 _ACEOF
16917 CPPFLAGS=$ac_save_CPPFLAGS
16918 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16919 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16922 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16923 case "x$with_vkd3d" in
16924 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16925 xno) ;;
16926 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16927 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16928 esac
16931 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16934 EXTRACFLAGS=""
16936 if test "x${GCC}" = "xyes"
16937 then
16938 EXTRACFLAGS="-Wall -pipe"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16941 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16942 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16943 $as_echo_n "(cached) " >&6
16944 else
16945 ac_wine_try_cflags_saved=$CFLAGS
16946 CFLAGS="$CFLAGS -fcf-protection=none"
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 int main(int argc, char **argv) { return 0; }
16950 _ACEOF
16951 if ac_fn_c_try_link "$LINENO"; then :
16952 ac_cv_cflags__fcf_protection_none=yes
16953 else
16954 ac_cv_cflags__fcf_protection_none=no
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext conftest.$ac_ext
16958 CFLAGS=$ac_wine_try_cflags_saved
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16961 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16962 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16963 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16966 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16967 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 ac_wine_try_cflags_saved=$CFLAGS
16971 CFLAGS="$CFLAGS -fno-stack-protector"
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 int main(int argc, char **argv) { return 0; }
16975 _ACEOF
16976 if ac_fn_c_try_link "$LINENO"; then :
16977 ac_cv_cflags__fno_stack_protector=yes
16978 else
16979 ac_cv_cflags__fno_stack_protector=no
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16983 CFLAGS=$ac_wine_try_cflags_saved
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16986 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16987 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16988 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16991 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16992 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 ac_wine_try_cflags_saved=$CFLAGS
16996 CFLAGS="$CFLAGS -fno-strict-aliasing"
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
16999 int main(int argc, char **argv) { return 0; }
17000 _ACEOF
17001 if ac_fn_c_try_link "$LINENO"; then :
17002 ac_cv_cflags__fno_strict_aliasing=yes
17003 else
17004 ac_cv_cflags__fno_strict_aliasing=no
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17008 CFLAGS=$ac_wine_try_cflags_saved
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17011 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17012 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17013 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17016 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17017 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17020 ac_wine_try_cflags_saved=$CFLAGS
17021 CFLAGS="$CFLAGS -fexcess-precision=standard"
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 int main(int argc, char **argv) { return 0; }
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027 ac_cv_cflags__fexcess_precision_standard=yes
17028 else
17029 ac_cv_cflags__fexcess_precision_standard=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17033 CFLAGS=$ac_wine_try_cflags_saved
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17036 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17037 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17038 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17041 saved_CFLAGS=$CFLAGS
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17043 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17044 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 ac_wine_try_cflags_saved=$CFLAGS
17048 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 int main(int argc, char **argv) { return 0; }
17052 _ACEOF
17053 if ac_fn_c_try_link "$LINENO"; then :
17054 ac_cv_cflags__Werror_unknown_warning_option=yes
17055 else
17056 ac_cv_cflags__Werror_unknown_warning_option=no
17058 rm -f core conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17060 CFLAGS=$ac_wine_try_cflags_saved
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17063 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17064 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17065 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17068 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17069 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17070 $as_echo_n "(cached) " >&6
17071 else
17072 ac_wine_try_cflags_saved=$CFLAGS
17073 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 int main(int argc, char **argv) { return 0; }
17077 _ACEOF
17078 if ac_fn_c_try_link "$LINENO"; then :
17079 ac_cv_cflags__Werror_unused_command_line_argument=yes
17080 else
17081 ac_cv_cflags__Werror_unused_command_line_argument=no
17083 rm -f core conftest.err conftest.$ac_objext \
17084 conftest$ac_exeext conftest.$ac_ext
17085 CFLAGS=$ac_wine_try_cflags_saved
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17088 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17089 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17090 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17093 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17094 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17095 $as_echo_n "(cached) " >&6
17096 else
17097 ac_wine_try_cflags_saved=$CFLAGS
17098 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 int main(int argc, char **argv) { return 0; }
17102 _ACEOF
17103 if ac_fn_c_try_link "$LINENO"; then :
17104 ac_cv_cflags__Wdeclaration_after_statement=yes
17105 else
17106 ac_cv_cflags__Wdeclaration_after_statement=no
17108 rm -f core conftest.err conftest.$ac_objext \
17109 conftest$ac_exeext conftest.$ac_ext
17110 CFLAGS=$ac_wine_try_cflags_saved
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17113 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17114 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17115 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17118 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17119 if ${ac_cv_cflags__Wempty_body+:} false; then :
17120 $as_echo_n "(cached) " >&6
17121 else
17122 ac_wine_try_cflags_saved=$CFLAGS
17123 CFLAGS="$CFLAGS -Wempty-body"
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 int main(int argc, char **argv) { return 0; }
17127 _ACEOF
17128 if ac_fn_c_try_link "$LINENO"; then :
17129 ac_cv_cflags__Wempty_body=yes
17130 else
17131 ac_cv_cflags__Wempty_body=no
17133 rm -f core conftest.err conftest.$ac_objext \
17134 conftest$ac_exeext conftest.$ac_ext
17135 CFLAGS=$ac_wine_try_cflags_saved
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17138 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17139 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17140 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17143 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17144 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 ac_wine_try_cflags_saved=$CFLAGS
17148 CFLAGS="$CFLAGS -Wignored-qualifiers"
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151 int main(int argc, char **argv) { return 0; }
17152 _ACEOF
17153 if ac_fn_c_try_link "$LINENO"; then :
17154 ac_cv_cflags__Wignored_qualifiers=yes
17155 else
17156 ac_cv_cflags__Wignored_qualifiers=no
17158 rm -f core conftest.err conftest.$ac_objext \
17159 conftest$ac_exeext conftest.$ac_ext
17160 CFLAGS=$ac_wine_try_cflags_saved
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17163 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17164 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17165 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17168 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17169 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 ac_wine_try_cflags_saved=$CFLAGS
17173 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17176 int main(int argc, char **argv) { return 0; }
17177 _ACEOF
17178 if ac_fn_c_try_link "$LINENO"; then :
17179 ac_cv_cflags__Wpacked_not_aligned=yes
17180 else
17181 ac_cv_cflags__Wpacked_not_aligned=no
17183 rm -f core conftest.err conftest.$ac_objext \
17184 conftest$ac_exeext conftest.$ac_ext
17185 CFLAGS=$ac_wine_try_cflags_saved
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17188 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17189 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17190 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17193 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17194 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17195 $as_echo_n "(cached) " >&6
17196 else
17197 ac_wine_try_cflags_saved=$CFLAGS
17198 CFLAGS="$CFLAGS -Wpragma-pack"
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17201 int main(int argc, char **argv) { return 0; }
17202 _ACEOF
17203 if ac_fn_c_try_link "$LINENO"; then :
17204 ac_cv_cflags__Wpragma_pack=yes
17205 else
17206 ac_cv_cflags__Wpragma_pack=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17210 CFLAGS=$ac_wine_try_cflags_saved
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17213 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17214 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17215 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17218 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17219 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 ac_wine_try_cflags_saved=$CFLAGS
17223 CFLAGS="$CFLAGS -Wshift-overflow=2"
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 int main(int argc, char **argv) { return 0; }
17227 _ACEOF
17228 if ac_fn_c_try_link "$LINENO"; then :
17229 ac_cv_cflags__Wshift_overflow_2=yes
17230 else
17231 ac_cv_cflags__Wshift_overflow_2=no
17233 rm -f core conftest.err conftest.$ac_objext \
17234 conftest$ac_exeext conftest.$ac_ext
17235 CFLAGS=$ac_wine_try_cflags_saved
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17238 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17239 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17240 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17243 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17244 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 ac_wine_try_cflags_saved=$CFLAGS
17248 CFLAGS="$CFLAGS -Wstrict-prototypes"
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 int main(int argc, char **argv) { return 0; }
17252 _ACEOF
17253 if ac_fn_c_try_link "$LINENO"; then :
17254 ac_cv_cflags__Wstrict_prototypes=yes
17255 else
17256 ac_cv_cflags__Wstrict_prototypes=no
17258 rm -f core conftest.err conftest.$ac_objext \
17259 conftest$ac_exeext conftest.$ac_ext
17260 CFLAGS=$ac_wine_try_cflags_saved
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17263 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17264 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17265 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17268 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17269 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17270 $as_echo_n "(cached) " >&6
17271 else
17272 ac_wine_try_cflags_saved=$CFLAGS
17273 CFLAGS="$CFLAGS -Wtype-limits"
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 int main(int argc, char **argv) { return 0; }
17277 _ACEOF
17278 if ac_fn_c_try_link "$LINENO"; then :
17279 ac_cv_cflags__Wtype_limits=yes
17280 else
17281 ac_cv_cflags__Wtype_limits=no
17283 rm -f core conftest.err conftest.$ac_objext \
17284 conftest$ac_exeext conftest.$ac_ext
17285 CFLAGS=$ac_wine_try_cflags_saved
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17288 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17289 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17290 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17293 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17294 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 ac_wine_try_cflags_saved=$CFLAGS
17298 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 int main(int argc, char **argv) { return 0; }
17302 _ACEOF
17303 if ac_fn_c_try_link "$LINENO"; then :
17304 ac_cv_cflags__Wunused_but_set_parameter=yes
17305 else
17306 ac_cv_cflags__Wunused_but_set_parameter=no
17308 rm -f core conftest.err conftest.$ac_objext \
17309 conftest$ac_exeext conftest.$ac_ext
17310 CFLAGS=$ac_wine_try_cflags_saved
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17313 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17314 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17315 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17318 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17319 if ${ac_cv_cflags__Wvla+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 ac_wine_try_cflags_saved=$CFLAGS
17323 CFLAGS="$CFLAGS -Wvla"
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17326 int main(int argc, char **argv) { return 0; }
17327 _ACEOF
17328 if ac_fn_c_try_link "$LINENO"; then :
17329 ac_cv_cflags__Wvla=yes
17330 else
17331 ac_cv_cflags__Wvla=no
17333 rm -f core conftest.err conftest.$ac_objext \
17334 conftest$ac_exeext conftest.$ac_ext
17335 CFLAGS=$ac_wine_try_cflags_saved
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17338 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17339 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17340 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17343 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17344 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347 ac_wine_try_cflags_saved=$CFLAGS
17348 CFLAGS="$CFLAGS -Wwrite-strings"
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 int main(int argc, char **argv) { return 0; }
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"; then :
17354 ac_cv_cflags__Wwrite_strings=yes
17355 else
17356 ac_cv_cflags__Wwrite_strings=no
17358 rm -f core conftest.err conftest.$ac_objext \
17359 conftest$ac_exeext conftest.$ac_ext
17360 CFLAGS=$ac_wine_try_cflags_saved
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17363 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17364 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17365 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17369 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17370 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17371 $as_echo_n "(cached) " >&6
17372 else
17373 ac_wine_try_cflags_saved=$CFLAGS
17374 CFLAGS="$CFLAGS -Wpointer-arith"
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 int main(int argc, char **argv) { return 0; }
17378 _ACEOF
17379 if ac_fn_c_try_link "$LINENO"; then :
17380 ac_cv_cflags__Wpointer_arith=yes
17381 else
17382 ac_cv_cflags__Wpointer_arith=no
17384 rm -f core conftest.err conftest.$ac_objext \
17385 conftest$ac_exeext conftest.$ac_ext
17386 CFLAGS=$ac_wine_try_cflags_saved
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17389 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17390 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17391 saved_string_h_CFLAGS=$CFLAGS
17392 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17394 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17395 if ${ac_cv_c_string_h_warnings+:} false; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #include <string.h>
17402 main ()
17406 return 0;
17408 _ACEOF
17409 if ac_fn_c_try_compile "$LINENO"; then :
17410 ac_cv_c_string_h_warnings=no
17411 else
17412 ac_cv_c_string_h_warnings=yes
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17417 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17418 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17419 CFLAGS=$saved_string_h_CFLAGS
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17423 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17424 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427 ac_wine_try_cflags_saved=$CFLAGS
17428 CFLAGS="$CFLAGS -Wlogical-op"
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 int main(int argc, char **argv) { return 0; }
17432 _ACEOF
17433 if ac_fn_c_try_link "$LINENO"; then :
17434 ac_cv_cflags__Wlogical_op=yes
17435 else
17436 ac_cv_cflags__Wlogical_op=no
17438 rm -f core conftest.err conftest.$ac_objext \
17439 conftest$ac_exeext conftest.$ac_ext
17440 CFLAGS=$ac_wine_try_cflags_saved
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17443 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17444 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17445 saved_string_h_CFLAGS=$CFLAGS
17446 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17448 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17449 if ${ac_cv_c_logicalop_noisy+:} false; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 #include <string.h>
17455 char*f(const char *h,char n) {return strchr(h,n);}
17457 main ()
17461 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_compile "$LINENO"; then :
17465 ac_cv_c_logicalop_noisy=no
17466 else
17467 ac_cv_c_logicalop_noisy=yes
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17472 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17473 CFLAGS=$saved_string_h_CFLAGS
17474 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17477 for ac_flag in $CFLAGS; do
17478 case $ac_flag in
17479 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17480 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17481 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 ac_wine_try_cflags_saved=$CFLAGS
17485 CFLAGS="$CFLAGS -gdwarf-2"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 int main(int argc, char **argv) { return 0; }
17489 _ACEOF
17490 if ac_fn_c_try_link "$LINENO"; then :
17491 ac_cv_cflags__gdwarf_2=yes
17492 else
17493 ac_cv_cflags__gdwarf_2=no
17495 rm -f core conftest.err conftest.$ac_objext \
17496 conftest$ac_exeext conftest.$ac_ext
17497 CFLAGS=$ac_wine_try_cflags_saved
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17500 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17501 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17502 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17505 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17506 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 ac_wine_try_cflags_saved=$CFLAGS
17510 CFLAGS="$CFLAGS -gstrict-dwarf"
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17513 int main(int argc, char **argv) { return 0; }
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"; then :
17516 ac_cv_cflags__gstrict_dwarf=yes
17517 else
17518 ac_cv_cflags__gstrict_dwarf=no
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17522 CFLAGS=$ac_wine_try_cflags_saved
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17525 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17526 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17527 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17528 fi ;;
17529 esac
17530 done
17532 MSVCRTFLAGS=""
17534 case $host_os in
17535 mingw32*) ;;
17536 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17537 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17538 if ${ac_cv_cflags__fno_builtin+:} false; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17541 ac_wine_try_cflags_saved=$CFLAGS
17542 CFLAGS="$CFLAGS -fno-builtin"
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17545 int main(int argc, char **argv) { return 0; }
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 ac_cv_cflags__fno_builtin=yes
17549 else
17550 ac_cv_cflags__fno_builtin=no
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17554 CFLAGS=$ac_wine_try_cflags_saved
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17557 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17558 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17559 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17562 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17563 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_wine_try_cflags_saved=$CFLAGS
17567 CFLAGS="$CFLAGS -fshort-wchar"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 int main(int argc, char **argv) { return 0; }
17571 _ACEOF
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 ac_cv_cflags__fshort_wchar=yes
17574 else
17575 ac_cv_cflags__fshort_wchar=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 CFLAGS=$ac_wine_try_cflags_saved
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17582 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17583 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17584 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17585 fi ;;
17586 esac
17588 case $host_cpu in
17589 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17590 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17591 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 ac_wine_try_cflags_saved=$CFLAGS
17595 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 int main(int argc, char **argv) { return 0; }
17599 _ACEOF
17600 if ac_fn_c_try_link "$LINENO"; then :
17601 ac_cv_cflags__fno_omit_frame_pointer=yes
17602 else
17603 ac_cv_cflags__fno_omit_frame_pointer=no
17605 rm -f core conftest.err conftest.$ac_objext \
17606 conftest$ac_exeext conftest.$ac_ext
17607 CFLAGS=$ac_wine_try_cflags_saved
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17610 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17611 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17612 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17613 fi ;;
17614 *x86_64*)
17615 case $host_os in
17616 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17617 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17618 if ${ac_cv_cflags__Wno_format+:} false; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621 ac_wine_try_cflags_saved=$CFLAGS
17622 CFLAGS="$CFLAGS -Wno-format"
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 int main(int argc, char **argv) { return 0; }
17626 _ACEOF
17627 if ac_fn_c_try_link "$LINENO"; then :
17628 ac_cv_cflags__Wno_format=yes
17629 else
17630 ac_cv_cflags__Wno_format=no
17632 rm -f core conftest.err conftest.$ac_objext \
17633 conftest$ac_exeext conftest.$ac_ext
17634 CFLAGS=$ac_wine_try_cflags_saved
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17637 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17638 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17639 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17640 fi ;;
17641 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17642 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17643 if ${ac_cv_cflags__mabi_ms+:} false; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 ac_wine_try_cflags_saved=$CFLAGS
17647 CFLAGS="$CFLAGS -mabi=ms"
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17650 int main(int argc, char **argv) { return 0; }
17651 _ACEOF
17652 if ac_fn_c_try_link "$LINENO"; then :
17653 ac_cv_cflags__mabi_ms=yes
17654 else
17655 ac_cv_cflags__mabi_ms=no
17657 rm -f core conftest.err conftest.$ac_objext \
17658 conftest$ac_exeext conftest.$ac_ext
17659 CFLAGS=$ac_wine_try_cflags_saved
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17662 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17663 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17664 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17665 fi ;;
17666 esac ;;
17667 esac
17669 CFLAGS=$saved_CFLAGS
17671 if test "x$enable_werror" = "xyes"
17672 then
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17674 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17675 if ${ac_cv_cflags__Werror+:} false; then :
17676 $as_echo_n "(cached) " >&6
17677 else
17678 ac_wine_try_cflags_saved=$CFLAGS
17679 CFLAGS="$CFLAGS -Werror"
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 int main(int argc, char **argv) { return 0; }
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then :
17685 ac_cv_cflags__Werror=yes
17686 else
17687 ac_cv_cflags__Werror=no
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17691 CFLAGS=$ac_wine_try_cflags_saved
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17694 $as_echo "$ac_cv_cflags__Werror" >&6; }
17695 if test "x$ac_cv_cflags__Werror" = xyes; then :
17696 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17703 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17704 if ${ac_cv_c_fortify_enabled+:} false; then :
17705 $as_echo_n "(cached) " >&6
17706 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #include <string.h>
17711 main ()
17713 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17714 #error Fortify enabled
17715 #endif
17717 return 0;
17719 _ACEOF
17720 if ac_fn_c_try_compile "$LINENO"; then :
17721 ac_cv_c_fortify_enabled=no
17722 else
17723 ac_cv_c_fortify_enabled=yes
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17728 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17729 if test "$ac_cv_c_fortify_enabled" = yes
17730 then
17731 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17736 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17737 if ${ac_cv_c_cfi_support+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17744 main ()
17748 return 0;
17750 _ACEOF
17751 if ac_fn_c_try_compile "$LINENO"; then :
17752 ac_cv_c_cfi_support="yes"
17753 else
17754 ac_cv_c_cfi_support="no"
17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17759 $as_echo "$ac_cv_c_cfi_support" >&6; }
17760 if test "$ac_cv_c_cfi_support" = "yes"
17761 then
17762 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17763 else
17764 if test "x$enable_win64" = "xyes"
17765 then
17766 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17771 case $build_os in
17772 cygwin*|mingw32*) TOOLSEXT=".exe"
17774 esac
17776 case $host_os in
17777 linux*)
17778 case $host_cpu in
17779 *i[3456789]86*|x86_64*|*aarch64*)
17780 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17781 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17783 esac
17785 esac
17788 ac_save_CFLAGS="$CFLAGS"
17789 CFLAGS="$CFLAGS $BUILTINFLAG"
17790 for ac_func in \
17791 __res_get_state \
17792 __res_getservers \
17793 _spawnvp \
17794 dlopen \
17795 epoll_create \
17796 ffs \
17797 finitef \
17798 fnmatch \
17799 fork \
17800 fpclass \
17801 fstatfs \
17802 fstatvfs \
17803 futimens \
17804 futimes \
17805 futimesat \
17806 getattrlist \
17807 getauxval \
17808 getifaddrs \
17809 getopt_long_only \
17810 kqueue \
17811 lstat \
17812 mach_continuous_time \
17813 pipe2 \
17814 poll \
17815 port_create \
17816 prctl \
17817 pread \
17818 proc_pidinfo \
17819 pwrite \
17820 readdir \
17821 readlink \
17822 sched_yield \
17823 select \
17824 setproctitle \
17825 setprogname \
17826 settimeofday \
17827 sigprocmask \
17828 statfs \
17829 statvfs \
17830 strnlen \
17831 strtold \
17832 symlink \
17833 sysinfo \
17834 tcdrain \
17835 thr_kill2 \
17836 timegm \
17837 usleep
17839 do :
17840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17843 cat >>confdefs.h <<_ACEOF
17844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17845 _ACEOF
17848 done
17850 CFLAGS="$ac_save_CFLAGS"
17852 if test "$ac_cv_func_dlopen" = no
17853 then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17855 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17856 if ${ac_cv_lib_dl_dlopen+:} false; then :
17857 $as_echo_n "(cached) " >&6
17858 else
17859 ac_check_lib_save_LIBS=$LIBS
17860 LIBS="-ldl $LIBS"
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 #ifdef __cplusplus
17868 extern "C"
17869 #endif
17870 char dlopen ();
17872 main ()
17874 return dlopen ();
17876 return 0;
17878 _ACEOF
17879 if ac_fn_c_try_link "$LINENO"; then :
17880 ac_cv_lib_dl_dlopen=yes
17881 else
17882 ac_cv_lib_dl_dlopen=no
17884 rm -f core conftest.err conftest.$ac_objext \
17885 conftest$ac_exeext conftest.$ac_ext
17886 LIBS=$ac_check_lib_save_LIBS
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17889 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17890 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17891 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17892 DL_LIBS="-ldl"
17897 ac_wine_check_funcs_save_LIBS="$LIBS"
17898 LIBS="$LIBS $DL_LIBS"
17899 for ac_func in dladdr
17900 do :
17901 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17902 if test "x$ac_cv_func_dladdr" = xyes; then :
17903 cat >>confdefs.h <<_ACEOF
17904 #define HAVE_DLADDR 1
17905 _ACEOF
17908 done
17910 LIBS="$ac_wine_check_funcs_save_LIBS"
17912 if test "$ac_cv_func_poll" = no
17913 then
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17915 $as_echo_n "checking for poll in -lpoll... " >&6; }
17916 if ${ac_cv_lib_poll_poll+:} false; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919 ac_check_lib_save_LIBS=$LIBS
17920 LIBS="-lpoll $LIBS"
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17924 /* Override any GCC internal prototype to avoid an error.
17925 Use char because int might match the return type of a GCC
17926 builtin and then its argument prototype would still apply. */
17927 #ifdef __cplusplus
17928 extern "C"
17929 #endif
17930 char poll ();
17932 main ()
17934 return poll ();
17936 return 0;
17938 _ACEOF
17939 if ac_fn_c_try_link "$LINENO"; then :
17940 ac_cv_lib_poll_poll=yes
17941 else
17942 ac_cv_lib_poll_poll=no
17944 rm -f core conftest.err conftest.$ac_objext \
17945 conftest$ac_exeext conftest.$ac_ext
17946 LIBS=$ac_check_lib_save_LIBS
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17949 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17950 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17951 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17952 POLL_LIBS="-lpoll"
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17959 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17960 if ${ac_cv_search_gethostbyname+:} false; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17963 ac_func_search_save_LIBS=$LIBS
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17970 #ifdef __cplusplus
17971 extern "C"
17972 #endif
17973 char gethostbyname ();
17975 main ()
17977 return gethostbyname ();
17979 return 0;
17981 _ACEOF
17982 for ac_lib in '' nsl; do
17983 if test -z "$ac_lib"; then
17984 ac_res="none required"
17985 else
17986 ac_res=-l$ac_lib
17987 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17989 if ac_fn_c_try_link "$LINENO"; then :
17990 ac_cv_search_gethostbyname=$ac_res
17992 rm -f core conftest.err conftest.$ac_objext \
17993 conftest$ac_exeext
17994 if ${ac_cv_search_gethostbyname+:} false; then :
17995 break
17997 done
17998 if ${ac_cv_search_gethostbyname+:} false; then :
18000 else
18001 ac_cv_search_gethostbyname=no
18003 rm conftest.$ac_ext
18004 LIBS=$ac_func_search_save_LIBS
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18007 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18008 ac_res=$ac_cv_search_gethostbyname
18009 if test "$ac_res" != no; then :
18010 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18016 $as_echo_n "checking for library containing connect... " >&6; }
18017 if ${ac_cv_search_connect+:} false; then :
18018 $as_echo_n "(cached) " >&6
18019 else
18020 ac_func_search_save_LIBS=$LIBS
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 /* Override any GCC internal prototype to avoid an error.
18025 Use char because int might match the return type of a GCC
18026 builtin and then its argument prototype would still apply. */
18027 #ifdef __cplusplus
18028 extern "C"
18029 #endif
18030 char connect ();
18032 main ()
18034 return connect ();
18036 return 0;
18038 _ACEOF
18039 for ac_lib in '' socket; do
18040 if test -z "$ac_lib"; then
18041 ac_res="none required"
18042 else
18043 ac_res=-l$ac_lib
18044 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18046 if ac_fn_c_try_link "$LINENO"; then :
18047 ac_cv_search_connect=$ac_res
18049 rm -f core conftest.err conftest.$ac_objext \
18050 conftest$ac_exeext
18051 if ${ac_cv_search_connect+:} false; then :
18052 break
18054 done
18055 if ${ac_cv_search_connect+:} false; then :
18057 else
18058 ac_cv_search_connect=no
18060 rm conftest.$ac_ext
18061 LIBS=$ac_func_search_save_LIBS
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18064 $as_echo "$ac_cv_search_connect" >&6; }
18065 ac_res=$ac_cv_search_connect
18066 if test "$ac_res" != no; then :
18067 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18073 $as_echo_n "checking for library containing inet_aton... " >&6; }
18074 if ${ac_cv_search_inet_aton+:} false; then :
18075 $as_echo_n "(cached) " >&6
18076 else
18077 ac_func_search_save_LIBS=$LIBS
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18084 #ifdef __cplusplus
18085 extern "C"
18086 #endif
18087 char inet_aton ();
18089 main ()
18091 return inet_aton ();
18093 return 0;
18095 _ACEOF
18096 for ac_lib in '' resolv; do
18097 if test -z "$ac_lib"; then
18098 ac_res="none required"
18099 else
18100 ac_res=-l$ac_lib
18101 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18103 if ac_fn_c_try_link "$LINENO"; then :
18104 ac_cv_search_inet_aton=$ac_res
18106 rm -f core conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext
18108 if ${ac_cv_search_inet_aton+:} false; then :
18109 break
18111 done
18112 if ${ac_cv_search_inet_aton+:} false; then :
18114 else
18115 ac_cv_search_inet_aton=no
18117 rm conftest.$ac_ext
18118 LIBS=$ac_func_search_save_LIBS
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18121 $as_echo "$ac_cv_search_inet_aton" >&6; }
18122 ac_res=$ac_cv_search_inet_aton
18123 if test "$ac_res" != no; then :
18124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18129 for ac_func in \
18130 getaddrinfo \
18131 getnameinfo \
18132 getnetbyname \
18133 getprotobyname \
18134 getprotobynumber \
18135 getservbyport \
18136 inet_addr \
18137 inet_network \
18138 inet_ntop \
18139 inet_pton \
18141 do :
18142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18145 cat >>confdefs.h <<_ACEOF
18146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18147 _ACEOF
18150 done
18153 case $host_os in
18154 darwin*|macosx*) ;;
18155 *) ac_save_LIBS=$LIBS
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18157 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18158 if ${ac_cv_search_clock_gettime+:} false; then :
18159 $as_echo_n "(cached) " >&6
18160 else
18161 ac_func_search_save_LIBS=$LIBS
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18165 /* Override any GCC internal prototype to avoid an error.
18166 Use char because int might match the return type of a GCC
18167 builtin and then its argument prototype would still apply. */
18168 #ifdef __cplusplus
18169 extern "C"
18170 #endif
18171 char clock_gettime ();
18173 main ()
18175 return clock_gettime ();
18177 return 0;
18179 _ACEOF
18180 for ac_lib in '' rt; do
18181 if test -z "$ac_lib"; then
18182 ac_res="none required"
18183 else
18184 ac_res=-l$ac_lib
18185 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18187 if ac_fn_c_try_link "$LINENO"; then :
18188 ac_cv_search_clock_gettime=$ac_res
18190 rm -f core conftest.err conftest.$ac_objext \
18191 conftest$ac_exeext
18192 if ${ac_cv_search_clock_gettime+:} false; then :
18193 break
18195 done
18196 if ${ac_cv_search_clock_gettime+:} false; then :
18198 else
18199 ac_cv_search_clock_gettime=no
18201 rm conftest.$ac_ext
18202 LIBS=$ac_func_search_save_LIBS
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18205 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18206 ac_res=$ac_cv_search_clock_gettime
18207 if test "$ac_res" != no; then :
18208 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18210 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18212 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18216 LIBS=$ac_save_LIBS
18218 esac
18220 if test "x$with_ldap" != "xno"
18221 then
18222 if ${LDAP_CFLAGS:+false} :; then :
18223 if ${PKG_CONFIG+:} false; then :
18224 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18228 if ${LDAP_LIBS:+false} :; then :
18229 if ${PKG_CONFIG+:} false; then :
18230 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18234 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18235 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18236 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18237 ac_save_CPPFLAGS=$CPPFLAGS
18238 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18239 for ac_header in ldap.h lber.h
18240 do :
18241 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18242 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18243 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18244 cat >>confdefs.h <<_ACEOF
18245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18246 _ACEOF
18250 done
18252 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18253 then
18254 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18256 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18258 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18259 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18260 $as_echo_n "(cached) " >&6
18261 else
18262 ac_check_lib_save_LIBS=$LIBS
18263 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18267 /* Override any GCC internal prototype to avoid an error.
18268 Use char because int might match the return type of a GCC
18269 builtin and then its argument prototype would still apply. */
18270 #ifdef __cplusplus
18271 extern "C"
18272 #endif
18273 char ldap_initialize ();
18275 main ()
18277 return ldap_initialize ();
18279 return 0;
18281 _ACEOF
18282 if ac_fn_c_try_link "$LINENO"; then :
18283 ac_cv_lib_ldap_r_ldap_initialize=yes
18284 else
18285 ac_cv_lib_ldap_r_ldap_initialize=no
18287 rm -f core conftest.err conftest.$ac_objext \
18288 conftest$ac_exeext conftest.$ac_ext
18289 LIBS=$ac_check_lib_save_LIBS
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18292 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18293 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18295 $as_echo_n "checking for ber_init in -llber... " >&6; }
18296 if ${ac_cv_lib_lber_ber_init+:} false; then :
18297 $as_echo_n "(cached) " >&6
18298 else
18299 ac_check_lib_save_LIBS=$LIBS
18300 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18304 /* Override any GCC internal prototype to avoid an error.
18305 Use char because int might match the return type of a GCC
18306 builtin and then its argument prototype would still apply. */
18307 #ifdef __cplusplus
18308 extern "C"
18309 #endif
18310 char ber_init ();
18312 main ()
18314 return ber_init ();
18316 return 0;
18318 _ACEOF
18319 if ac_fn_c_try_link "$LINENO"; then :
18320 ac_cv_lib_lber_ber_init=yes
18321 else
18322 ac_cv_lib_lber_ber_init=no
18324 rm -f core conftest.err conftest.$ac_objext \
18325 conftest$ac_exeext conftest.$ac_ext
18326 LIBS=$ac_check_lib_save_LIBS
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18329 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18330 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18332 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18334 else
18335 LDAP_LIBS=""
18338 else
18339 LDAP_LIBS=""
18342 else
18343 LDAP_LIBS=""
18346 ac_wine_check_funcs_save_LIBS="$LIBS"
18347 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18348 for ac_func in \
18349 ldap_count_references \
18350 ldap_first_reference \
18351 ldap_next_reference \
18352 ldap_parse_reference \
18353 ldap_parse_sort_control \
18354 ldap_parse_sortresponse_control \
18355 ldap_parse_vlv_control \
18356 ldap_parse_vlvresponse_control
18357 do :
18358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18361 cat >>confdefs.h <<_ACEOF
18362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18363 _ACEOF
18366 done
18368 LIBS="$ac_wine_check_funcs_save_LIBS"
18369 else
18370 LDAP_LIBS=""
18372 CPPFLAGS=$ac_save_CPPFLAGS
18373 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18374 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18377 if test "x$LDAP_LIBS" = "x"; then :
18378 case "x$with_ldap" in
18379 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18380 xno) ;;
18381 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18382 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18383 esac
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18388 $as_echo_n "checking for sched_setaffinity... " >&6; }
18389 if ${wine_cv_have_sched_setaffinity+:} false; then :
18390 $as_echo_n "(cached) " >&6
18391 else
18392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #define _GNU_SOURCE
18395 #include <sched.h>
18397 main ()
18399 sched_setaffinity(0, 0, 0);
18401 return 0;
18403 _ACEOF
18404 if ac_fn_c_try_link "$LINENO"; then :
18405 wine_cv_have_sched_setaffinity=yes
18406 else
18407 wine_cv_have_sched_setaffinity=no
18409 rm -f core conftest.err conftest.$ac_objext \
18410 conftest$ac_exeext conftest.$ac_ext
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18413 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18414 if test "$wine_cv_have_sched_setaffinity" = "yes"
18415 then
18417 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18422 $as_echo_n "checking for fallocate... " >&6; }
18423 if ${wine_cv_have_fallocate+:} false; then :
18424 $as_echo_n "(cached) " >&6
18425 else
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #define _GNU_SOURCE
18429 #include <fcntl.h>
18431 main ()
18433 fallocate(-1, 0, 0, 0);
18435 return 0;
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"; then :
18439 wine_cv_have_fallocate=yes
18440 else
18441 wine_cv_have_fallocate=no
18443 rm -f core conftest.err conftest.$ac_objext \
18444 conftest$ac_exeext conftest.$ac_ext
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18447 $as_echo "$wine_cv_have_fallocate" >&6; }
18448 if test "$wine_cv_have_fallocate" = "yes"
18449 then
18451 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18457 $as_echo_n "checking for inline... " >&6; }
18458 if ${ac_cv_c_inline+:} false; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18461 ac_cv_c_inline=no
18462 for ac_kw in inline __inline__ __inline; do
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 #ifndef __cplusplus
18466 typedef int foo_t;
18467 static $ac_kw foo_t static_foo () {return 0; }
18468 $ac_kw foo_t foo () {return 0; }
18469 #endif
18471 _ACEOF
18472 if ac_fn_c_try_compile "$LINENO"; then :
18473 ac_cv_c_inline=$ac_kw
18475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476 test "$ac_cv_c_inline" != no && break
18477 done
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18481 $as_echo "$ac_cv_c_inline" >&6; }
18483 case $ac_cv_c_inline in
18484 inline | yes) ;;
18486 case $ac_cv_c_inline in
18487 no) ac_val=;;
18488 *) ac_val=$ac_cv_c_inline;;
18489 esac
18490 cat >>confdefs.h <<_ACEOF
18491 #ifndef __cplusplus
18492 #define inline $ac_val
18493 #endif
18494 _ACEOF
18496 esac
18498 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18499 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18501 cat >>confdefs.h <<_ACEOF
18502 #define HAVE_FSBLKCNT_T 1
18503 _ACEOF
18507 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18508 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18510 cat >>confdefs.h <<_ACEOF
18511 #define HAVE_FSFILCNT_T 1
18512 _ACEOF
18517 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18518 #include <signal.h>
18520 if test "x$ac_cv_type_sigset_t" = xyes; then :
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_SIGSET_T 1
18524 _ACEOF
18529 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18531 if test "x$ac_cv_type_request_sense" = xyes; then :
18533 cat >>confdefs.h <<_ACEOF
18534 #define HAVE_REQUEST_SENSE 1
18535 _ACEOF
18541 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18542 #ifdef HAVE_SYS_SOCKET_H
18543 #include <sys/socket.h>
18544 #endif
18545 #ifdef HAVE_SYS_SOCKETVAR_H
18546 #include <sys/socketvar.h>
18547 #endif
18548 #ifdef HAVE_NET_ROUTE_H
18549 #include <net/route.h>
18550 #endif
18551 #ifdef HAVE_NETINET_IN_H
18552 #include <netinet/in.h>
18553 #endif
18554 #ifdef HAVE_NETINET_IN_SYSTM_H
18555 #include <netinet/in_systm.h>
18556 #endif
18557 #ifdef HAVE_NETINET_IP_H
18558 #include <netinet/ip.h>
18559 #endif
18560 #ifdef HAVE_NETINET_IN_PCB_H
18561 #include <netinet/in_pcb.h>
18562 #endif
18564 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_STRUCT_XINPGEN 1
18568 _ACEOF
18574 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18575 #include <link.h>
18576 #endif
18577 #ifdef HAVE_SYS_LINK_H
18578 #include <sys/link.h>
18579 #endif
18581 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_STRUCT_R_DEBUG 1
18585 _ACEOF
18589 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18590 #include <link.h>
18591 #endif
18592 #ifdef HAVE_SYS_LINK_H
18593 #include <sys/link.h>
18594 #endif
18596 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18598 cat >>confdefs.h <<_ACEOF
18599 #define HAVE_STRUCT_LINK_MAP 1
18600 _ACEOF
18606 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18607 #include <linux/input.h>
18608 #endif
18610 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18614 _ACEOF
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18621 $as_echo_n "checking for if_nameindex... " >&6; }
18622 if ${wine_cv_have_if_nameindex+:} false; then :
18623 $as_echo_n "(cached) " >&6
18624 else
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #ifdef HAVE_SYS_TYPES_H
18628 #include <sys/types.h>
18629 #endif
18630 #ifdef HAVE_SYS_SOCKET_H
18631 #include <sys/socket.h>
18632 #endif
18633 #ifdef HAVE_NET_IF_H
18634 # include <net/if.h>
18635 #endif
18637 main ()
18639 struct if_nameindex *p = if_nameindex(); return p->if_index;
18641 return 0;
18643 _ACEOF
18644 if ac_fn_c_try_link "$LINENO"; then :
18645 wine_cv_have_if_nameindex=yes
18646 else
18647 wine_cv_have_if_nameindex=no
18649 rm -f core conftest.err conftest.$ac_objext \
18650 conftest$ac_exeext conftest.$ac_ext
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18653 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18654 if test "$wine_cv_have_if_nameindex" = "yes"
18655 then
18657 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18662 $as_echo_n "checking for sigaddset... " >&6; }
18663 if ${wine_cv_have_sigaddset+:} false; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 #include <signal.h>
18670 main ()
18672 sigset_t set; sigaddset(&set,SIGTERM);
18674 return 0;
18676 _ACEOF
18677 if ac_fn_c_try_link "$LINENO"; then :
18678 wine_cv_have_sigaddset=yes
18679 else
18680 wine_cv_have_sigaddset=no
18682 rm -f core conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18686 $as_echo "$wine_cv_have_sigaddset" >&6; }
18687 if test "$wine_cv_have_sigaddset" = "yes"
18688 then
18690 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18696 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18697 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18698 $as_echo_n "(cached) " >&6
18699 else
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #include <netdb.h>
18704 main ()
18707 char *name=0;
18708 struct hostent he;
18709 struct hostent *result;
18710 char *buf=0;
18711 int bufsize=0;
18712 int errnr;
18713 char *addr=0;
18714 int addrlen=0;
18715 int addrtype=0;
18716 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18717 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18720 return 0;
18722 _ACEOF
18723 if ac_fn_c_try_link "$LINENO"; then :
18724 wine_cv_linux_gethostbyname_r_6=yes
18725 else
18726 wine_cv_linux_gethostbyname_r_6=no
18729 rm -f core conftest.err conftest.$ac_objext \
18730 conftest$ac_exeext conftest.$ac_ext
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18734 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18735 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18736 then
18738 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18742 if test "$ac_cv_header_linux_joystick_h" = "yes"
18743 then
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18745 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18746 if ${wine_cv_linux_joystick_22_api+:} false; then :
18747 $as_echo_n "(cached) " >&6
18748 else
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18752 #include <sys/ioctl.h>
18753 #include <sys/types.h>
18754 #include <linux/joystick.h>
18756 struct js_event blub;
18757 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18758 #error "no 2.2 header"
18759 #endif
18762 main ()
18764 /*empty*/
18766 return 0;
18768 _ACEOF
18769 if ac_fn_c_try_compile "$LINENO"; then :
18770 wine_cv_linux_joystick_22_api=yes
18771 else
18772 wine_cv_linux_joystick_22_api=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18778 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18779 if test "$wine_cv_linux_joystick_22_api" = "yes"
18780 then
18782 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18788 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18789 #ifdef HAVE_SYS_PARAM_H
18790 # include <sys/param.h>
18791 #endif
18792 #ifdef HAVE_SYS_MOUNT_H
18793 # include <sys/mount.h>
18794 #endif
18795 #ifdef HAVE_SYS_VFS_H
18796 # include <sys/vfs.h>
18797 #endif
18798 #ifdef HAVE_SYS_STATFS_H
18799 # include <sys/statfs.h>
18800 #endif
18802 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_STATFS_F_BFREE 1
18806 _ACEOF
18810 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18811 #ifdef HAVE_SYS_PARAM_H
18812 # include <sys/param.h>
18813 #endif
18814 #ifdef HAVE_SYS_MOUNT_H
18815 # include <sys/mount.h>
18816 #endif
18817 #ifdef HAVE_SYS_VFS_H
18818 # include <sys/vfs.h>
18819 #endif
18820 #ifdef HAVE_SYS_STATFS_H
18821 # include <sys/statfs.h>
18822 #endif
18824 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18835 #endif
18836 #ifdef HAVE_SYS_MOUNT_H
18837 # include <sys/mount.h>
18838 #endif
18839 #ifdef HAVE_SYS_VFS_H
18840 # include <sys/vfs.h>
18841 #endif
18842 #ifdef HAVE_SYS_STATFS_H
18843 # include <sys/statfs.h>
18844 #endif
18846 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18850 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18855 #ifdef HAVE_SYS_PARAM_H
18856 # include <sys/param.h>
18857 #endif
18858 #ifdef HAVE_SYS_MOUNT_H
18859 # include <sys/mount.h>
18860 #endif
18861 #ifdef HAVE_SYS_VFS_H
18862 # include <sys/vfs.h>
18863 #endif
18864 #ifdef HAVE_SYS_STATFS_H
18865 # include <sys/statfs.h>
18866 #endif
18868 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_STRUCT_STATFS_F_FFREE 1
18872 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18877 #ifdef HAVE_SYS_PARAM_H
18878 # include <sys/param.h>
18879 #endif
18880 #ifdef HAVE_SYS_MOUNT_H
18881 # include <sys/mount.h>
18882 #endif
18883 #ifdef HAVE_SYS_VFS_H
18884 # include <sys/vfs.h>
18885 #endif
18886 #ifdef HAVE_SYS_STATFS_H
18887 # include <sys/statfs.h>
18888 #endif
18890 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18892 cat >>confdefs.h <<_ACEOF
18893 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18894 _ACEOF
18898 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18899 #ifdef HAVE_SYS_PARAM_H
18900 # include <sys/param.h>
18901 #endif
18902 #ifdef HAVE_SYS_MOUNT_H
18903 # include <sys/mount.h>
18904 #endif
18905 #ifdef HAVE_SYS_VFS_H
18906 # include <sys/vfs.h>
18907 #endif
18908 #ifdef HAVE_SYS_STATFS_H
18909 # include <sys/statfs.h>
18910 #endif
18912 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18914 cat >>confdefs.h <<_ACEOF
18915 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18916 _ACEOF
18922 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18923 #include <sys/statvfs.h>
18924 #endif
18926 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18928 cat >>confdefs.h <<_ACEOF
18929 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18930 _ACEOF
18936 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18937 #include <dirent.h>
18938 #endif
18940 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18944 _ACEOF
18950 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18951 #ifdef HAVE_SYS_SOCKET_H
18952 # include <sys/socket.h>
18953 #endif
18954 #ifdef HAVE_SYS_UN_H
18955 # include <sys/un.h>
18956 #endif
18958 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18962 _ACEOF
18966 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18967 #ifdef HAVE_SYS_SOCKET_H
18968 # include <sys/socket.h>
18969 #endif
18970 #ifdef HAVE_SYS_UN_H
18971 # include <sys/un.h>
18972 #endif
18974 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18978 _ACEOF
18982 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18983 #ifdef HAVE_SYS_SOCKET_H
18984 # include <sys/socket.h>
18985 #endif
18986 #ifdef HAVE_SYS_UN_H
18987 # include <sys/un.h>
18988 #endif
18990 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18992 cat >>confdefs.h <<_ACEOF
18993 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18994 _ACEOF
19000 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19001 #ifdef HAVE_SCSI_SG_H
19002 #include <scsi/sg.h>
19003 #endif
19005 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_SCSIREQ_T_CMD 1
19009 _ACEOF
19013 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>
19014 #ifdef HAVE_SCSI_SG_H
19015 #include <scsi/sg.h>
19016 #endif
19018 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19022 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19030 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_SIGINFO_T_SI_FD 1
19034 _ACEOF
19040 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19041 #ifdef HAVE_SYS_MTIO_H
19042 #include <sys/mtio.h>
19043 #endif
19045 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19049 _ACEOF
19053 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19054 #ifdef HAVE_SYS_MTIO_H
19055 #include <sys/mtio.h>
19056 #endif
19058 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19062 _ACEOF
19066 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19067 #ifdef HAVE_SYS_MTIO_H
19068 #include <sys/mtio.h>
19069 #endif
19071 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19075 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19082 #include <getopt.h>
19083 #endif
19085 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_STRUCT_OPTION_NAME 1
19089 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19096 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19100 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT_ST_MTIM 1
19109 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19114 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19118 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19123 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_STAT_ST_CTIM 1
19127 _ACEOF
19131 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19132 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19136 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19141 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_STAT_ST_ATIM 1
19145 _ACEOF
19149 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19150 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19154 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19159 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19163 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19168 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19172 _ACEOF
19176 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19177 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19181 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19186 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19190 _ACEOF
19194 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19195 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19199 _ACEOF
19205 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
19206 #include <sys/types.h>
19207 #endif
19208 #ifdef HAVE_NETINET_IN_H
19209 #include <netinet/in.h>
19210 #endif
19212 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19216 _ACEOF
19222 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19223 #include <sys/types.h>
19224 #endif
19225 #ifdef HAVE_NETINET_IN_H
19226 #include <netinet/in.h>
19227 #endif
19228 #ifdef HAVE_RESOLV_H
19229 #include <resolv.h>
19230 #endif
19232 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19234 cat >>confdefs.h <<_ACEOF
19235 #define HAVE_STRUCT___RES_STATE 1
19236 _ACEOF
19242 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
19243 #include <resolv.h>
19244 #endif
19246 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19250 _ACEOF
19256 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19257 #include <sys/types.h>
19258 #endif
19259 #ifdef HAVE_NETINET_IN_H
19260 # include <netinet/in.h>
19261 #endif
19262 #ifdef HAVE_ARPA_NAMESER_H
19263 # include <arpa/nameser.h>
19264 #endif
19266 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_NS_MSG__MSG_PTR 1
19270 _ACEOF
19276 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19277 #include <sys/types.h>
19278 #endif
19279 #ifdef HAVE_NETINET_IN_H
19280 #include <netinet/in.h>
19281 #endif
19282 #ifdef HAVE_NETINET_IP_H
19283 #include <netinet/ip.h>
19284 #endif
19285 #ifdef HAVE_NETINET_IP_ICMP_H
19286 #include <netinet/ip_icmp.h>
19287 #endif
19288 #ifdef HAVE_NETINET_ICMP_VAR_H
19289 #include <netinet/icmp_var.h>
19290 #endif
19292 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19296 _ACEOF
19302 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19303 #include <sys/types.h>
19304 #endif
19305 #ifdef HAVE_ALIAS_H
19306 #include <alias.h>
19307 #endif
19308 #ifdef HAVE_SYS_SOCKET_H
19309 #include <sys/socket.h>
19310 #endif
19311 #ifdef HAVE_SYS_SOCKETVAR_H
19312 #include <sys/socketvar.h>
19313 #endif
19314 #ifdef HAVE_SYS_TIMEOUT_H
19315 #include <sys/timeout.h>
19316 #endif
19317 #ifdef HAVE_NETINET_IN_H
19318 #include <netinet/in.h>
19319 #endif
19320 #ifdef HAVE_NETINET_IN_SYSTM_H
19321 #include <netinet/in_systm.h>
19322 #endif
19323 #ifdef HAVE_NETINET_IP_H
19324 #include <netinet/ip.h>
19325 #endif
19326 #ifdef HAVE_NETINET_IP_VAR_H
19327 #include <netinet/ip_var.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IP_ICMP_H
19330 #include <netinet/ip_icmp.h>
19331 #endif
19332 #ifdef HAVE_NETINET_ICMP_VAR_H
19333 #include <netinet/icmp_var.h>
19334 #endif
19336 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19340 _ACEOF
19346 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19347 #include <sys/types.h>
19348 #endif
19349 #ifdef HAVE_SYS_SOCKETVAR_H
19350 #include <sys/socketvar.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IN_H
19353 #include <netinet/in.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IP_VAR_H
19356 #include <netinet/ip_var.h>
19357 #endif
19359 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19363 _ACEOF
19369 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
19370 #include <netinet/ip_var.h>
19371 #endif
19373 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19377 _ACEOF
19383 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19384 #include <sys/types.h>
19385 #endif
19386 #ifdef HAVE_SYS_SOCKETVAR_H
19387 #include <sys/socketvar.h>
19388 #endif
19389 #ifdef HAVE_NETINET_IN_H
19390 #include <netinet/in.h>
19391 #endif
19392 #ifdef HAVE_NETINET_TCP_H
19393 #include <netinet/tcp.h>
19394 #endif
19395 #ifdef HAVE_NETINET_TCP_VAR_H
19396 #include <netinet/tcp_var.h>
19397 #endif
19399 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19401 cat >>confdefs.h <<_ACEOF
19402 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19403 _ACEOF
19409 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
19410 #include <netinet/tcp_var.h>
19411 #endif
19413 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19415 cat >>confdefs.h <<_ACEOF
19416 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19417 _ACEOF
19423 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19424 #include <sys/types.h>
19425 #endif
19426 #ifdef HAVE_NETINET_IN_H
19427 #include <netinet/in.h>
19428 #endif
19429 #ifdef HAVE_NETINET_IP_VAR_H
19430 #include <netinet/ip_var.h>
19431 #endif
19432 #ifdef HAVE_NETINET_UDP_H
19433 #include <netinet/udp.h>
19434 #endif
19435 #ifdef HAVE_NETINET_UDP_VAR_H
19436 #include <netinet/udp_var.h>
19437 #endif
19439 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19441 cat >>confdefs.h <<_ACEOF
19442 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19443 _ACEOF
19449 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19450 #include <sys/types.h>
19451 #endif
19452 #ifdef HAVE_NET_IF_H
19453 # include <net/if.h>
19454 #endif
19456 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19460 _ACEOF
19466 ac_save_LIBS="$LIBS"
19467 LIBS="$LIBS -lm"
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19469 $as_echo_n "checking for isfinite... " >&6; }
19470 if ${ac_cv_have_isfinite+:} false; then :
19471 $as_echo_n "(cached) " >&6
19472 else
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 #define _GNU_SOURCE
19476 #include <math.h>
19478 main ()
19480 float f = 0.0; return isfinite(f)
19482 return 0;
19484 _ACEOF
19485 if ac_fn_c_try_link "$LINENO"; then :
19486 ac_cv_have_isfinite="yes"
19487 else
19488 ac_cv_have_isfinite="no"
19490 rm -f core conftest.err conftest.$ac_objext \
19491 conftest$ac_exeext conftest.$ac_ext
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19494 $as_echo "$ac_cv_have_isfinite" >&6; }
19495 if test "$ac_cv_have_isfinite" = "yes"
19496 then
19498 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19503 $as_echo_n "checking for isinf... " >&6; }
19504 if ${ac_cv_have_isinf+:} false; then :
19505 $as_echo_n "(cached) " >&6
19506 else
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #include <math.h>
19511 main ()
19513 float f = 0.0; return isinf(f)
19515 return 0;
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519 ac_cv_have_isinf="yes"
19520 else
19521 ac_cv_have_isinf="no"
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19527 $as_echo "$ac_cv_have_isinf" >&6; }
19528 if test "$ac_cv_have_isinf" = "yes"
19529 then
19531 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19536 $as_echo_n "checking for isnan... " >&6; }
19537 if ${ac_cv_have_isnan+:} false; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <math.h>
19544 main ()
19546 float f = 0.0; return isnan(f)
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_link "$LINENO"; then :
19552 ac_cv_have_isnan="yes"
19553 else
19554 ac_cv_have_isnan="no"
19556 rm -f core conftest.err conftest.$ac_objext \
19557 conftest$ac_exeext conftest.$ac_ext
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19560 $as_echo "$ac_cv_have_isnan" >&6; }
19561 if test "$ac_cv_have_isnan" = "yes"
19562 then
19564 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19568 for ac_func in \
19569 acosh \
19570 acoshf \
19571 asinh \
19572 asinhf \
19573 atanh \
19574 atanhf \
19575 cbrt \
19576 cbrtf \
19577 erf \
19578 erfc \
19579 erfcf \
19580 erff \
19581 exp2 \
19582 exp2f \
19583 expm1 \
19584 expm1f \
19585 fma \
19586 fmaf \
19587 ilogb \
19588 ilogbf \
19589 j0 \
19590 j1 \
19591 jn \
19592 lgamma \
19593 lgammaf \
19594 llrint \
19595 llrintf \
19596 llround \
19597 llroundf \
19598 log1p \
19599 log1pf \
19600 log2 \
19601 log2f \
19602 lrint \
19603 lrintf \
19604 lround \
19605 lroundf \
19606 nearbyint \
19607 nearbyintf \
19608 nexttoward \
19609 nexttowardf \
19610 remainder \
19611 remainderf \
19612 remquo \
19613 remquof \
19614 rint \
19615 rintf \
19616 round \
19617 roundf \
19618 tgamma \
19619 tgammaf \
19620 trunc \
19621 truncf \
19622 y0 \
19623 y1 \
19626 do :
19627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19630 cat >>confdefs.h <<_ACEOF
19631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19632 _ACEOF
19635 done
19637 LIBS="$ac_save_LIBS"
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19640 $as_echo_n "checking for __builtin_popcount... " >&6; }
19641 if ${ac_cv_have___builtin_popcount+:} false; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19645 /* end confdefs.h. */
19648 main ()
19650 return __builtin_popcount(1)
19652 return 0;
19654 _ACEOF
19655 if ac_fn_c_try_link "$LINENO"; then :
19656 ac_cv_have___builtin_popcount="yes"
19657 else
19658 ac_cv_have___builtin_popcount="no"
19660 rm -f core conftest.err conftest.$ac_objext \
19661 conftest$ac_exeext conftest.$ac_ext
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19664 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19665 if test "$ac_cv_have___builtin_popcount" = "yes"
19666 then
19668 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19673 $as_echo_n "checking for __clear_cache... " >&6; }
19674 if ${ac_cv_have___clear_cache+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19681 main ()
19683 __clear_cache((void*)0, (void*)0); return 0;
19685 return 0;
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 ac_cv_have___clear_cache="yes"
19690 else
19691 ac_cv_have___clear_cache="no"
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19697 $as_echo "$ac_cv_have___clear_cache" >&6; }
19698 if test "$ac_cv_have___clear_cache" = "yes"
19699 then
19701 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19706 case $host_cpu in
19707 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19708 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19709 if ${ac_cv_cpp_def___i386__+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #ifndef __i386__
19716 #endif
19717 _ACEOF
19718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19719 $EGREP "yes" >/dev/null 2>&1; then :
19720 ac_cv_cpp_def___i386__=yes
19721 else
19722 ac_cv_cpp_def___i386__=no
19724 rm -f conftest*
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19728 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19729 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19730 CFLAGS="$CFLAGS -D__i386__"
19731 LINTFLAGS="$LINTFLAGS -D__i386__"
19732 fi ;;
19733 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19734 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19735 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19736 $as_echo_n "(cached) " >&6
19737 else
19738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19740 #ifndef __x86_64__
19742 #endif
19743 _ACEOF
19744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19745 $EGREP "yes" >/dev/null 2>&1; then :
19746 ac_cv_cpp_def___x86_64__=yes
19747 else
19748 ac_cv_cpp_def___x86_64__=no
19750 rm -f conftest*
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19754 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19755 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19756 CFLAGS="$CFLAGS -D__x86_64__"
19757 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19758 fi ;;
19759 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19760 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19761 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19762 $as_echo_n "(cached) " >&6
19763 else
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766 #ifndef __sparc64__
19768 #endif
19769 _ACEOF
19770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19771 $EGREP "yes" >/dev/null 2>&1; then :
19772 ac_cv_cpp_def___sparc64__=yes
19773 else
19774 ac_cv_cpp_def___sparc64__=no
19776 rm -f conftest*
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19780 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19781 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19782 CFLAGS="$CFLAGS -D__sparc64__"
19783 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19784 fi ;;
19785 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19786 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19787 if ${ac_cv_cpp_def___sparc__+:} false; then :
19788 $as_echo_n "(cached) " >&6
19789 else
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #ifndef __sparc__
19794 #endif
19795 _ACEOF
19796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19797 $EGREP "yes" >/dev/null 2>&1; then :
19798 ac_cv_cpp_def___sparc__=yes
19799 else
19800 ac_cv_cpp_def___sparc__=no
19802 rm -f conftest*
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19806 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19807 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19808 CFLAGS="$CFLAGS -D__sparc__"
19809 LINTFLAGS="$LINTFLAGS -D__sparc__"
19810 fi ;;
19811 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19812 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19813 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818 #ifndef __powerpc64__
19820 #endif
19821 _ACEOF
19822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19823 $EGREP "yes" >/dev/null 2>&1; then :
19824 ac_cv_cpp_def___powerpc64__=yes
19825 else
19826 ac_cv_cpp_def___powerpc64__=no
19828 rm -f conftest*
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19832 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19833 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19834 CFLAGS="$CFLAGS -D__powerpc64__"
19835 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19836 fi ;;
19837 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19838 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19839 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #ifndef __powerpc__
19846 #endif
19847 _ACEOF
19848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19849 $EGREP "yes" >/dev/null 2>&1; then :
19850 ac_cv_cpp_def___powerpc__=yes
19851 else
19852 ac_cv_cpp_def___powerpc__=no
19854 rm -f conftest*
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19858 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19859 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19860 CFLAGS="$CFLAGS -D__powerpc__"
19861 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19862 fi ;;
19863 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19864 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19865 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19866 $as_echo_n "(cached) " >&6
19867 else
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #ifndef __aarch64__
19872 #endif
19873 _ACEOF
19874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19875 $EGREP "yes" >/dev/null 2>&1; then :
19876 ac_cv_cpp_def___aarch64__=yes
19877 else
19878 ac_cv_cpp_def___aarch64__=no
19880 rm -f conftest*
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19884 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19885 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19886 CFLAGS="$CFLAGS -D__aarch64__"
19887 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19888 fi ;;
19889 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19890 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19891 if ${ac_cv_cpp_def___arm__+:} false; then :
19892 $as_echo_n "(cached) " >&6
19893 else
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #ifndef __arm__
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___arm__=yes
19903 else
19904 ac_cv_cpp_def___arm__=no
19906 rm -f conftest*
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19910 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19911 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19912 CFLAGS="$CFLAGS -D__arm__"
19913 LINTFLAGS="$LINTFLAGS -D__arm__"
19914 fi ;;
19915 esac
19917 case $host_vendor in
19918 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19919 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19920 if ${ac_cv_cpp_def___sun__+:} false; then :
19921 $as_echo_n "(cached) " >&6
19922 else
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #ifndef __sun__
19927 #endif
19928 _ACEOF
19929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19930 $EGREP "yes" >/dev/null 2>&1; then :
19931 ac_cv_cpp_def___sun__=yes
19932 else
19933 ac_cv_cpp_def___sun__=no
19935 rm -f conftest*
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19939 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19940 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19941 CFLAGS="$CFLAGS -D__sun__"
19942 LINTFLAGS="$LINTFLAGS -D__sun__"
19943 fi ;;
19944 esac
19950 ac_config_commands="$ac_config_commands include/stamp-h"
19952 $as_echo_n "creating Makefile rules..." >&6
19954 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19955 OPENGL_LIBS = $OPENGL_LIBS
19956 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19957 IOKIT_LIBS = $IOKIT_LIBS
19958 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19959 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19960 CORESERVICES_LIBS = $CORESERVICES_LIBS
19961 APPKIT_LIBS = $APPKIT_LIBS
19962 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19963 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19964 SECURITY_LIBS = $SECURITY_LIBS
19965 COREAUDIO_LIBS = $COREAUDIO_LIBS
19966 OPENAL_LIBS = $OPENAL_LIBS
19967 OPENCL_LIBS = $OPENCL_LIBS
19968 QUICKTIME_LIBS = $QUICKTIME_LIBS
19969 CARBON_LIBS = $CARBON_LIBS
19970 METAL_LIBS = $METAL_LIBS
19971 PTHREAD_LIBS = $PTHREAD_LIBS
19972 X_CFLAGS = $X_CFLAGS
19973 X_PRE_LIBS = $X_PRE_LIBS
19974 X_LIBS = $X_LIBS
19975 X_EXTRA_LIBS = $X_EXTRA_LIBS
19976 PCAP_LIBS = $PCAP_LIBS
19977 XML2_CFLAGS = $XML2_CFLAGS
19978 XML2_LIBS = $XML2_LIBS
19979 XSLT_CFLAGS = $XSLT_CFLAGS
19980 XSLT_LIBS = $XSLT_LIBS
19981 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19982 INOTIFY_LIBS = $INOTIFY_LIBS
19983 DBUS_CFLAGS = $DBUS_CFLAGS
19984 DBUS_LIBS = $DBUS_LIBS
19985 HAL_CFLAGS = $HAL_CFLAGS
19986 HAL_LIBS = $HAL_LIBS
19987 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19988 GNUTLS_LIBS = $GNUTLS_LIBS
19989 SANE_CFLAGS = $SANE_CFLAGS
19990 SANE_LIBS = $SANE_LIBS
19991 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19992 GPHOTO2_LIBS = $GPHOTO2_LIBS
19993 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19994 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19995 RESOLV_LIBS = $RESOLV_LIBS
19996 LCMS2_CFLAGS = $LCMS2_CFLAGS
19997 LCMS2_LIBS = $LCMS2_LIBS
19998 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19999 FREETYPE_LIBS = $FREETYPE_LIBS
20000 Z_CFLAGS = $Z_CFLAGS
20001 Z_LIBS = $Z_LIBS
20002 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20003 PULSE_CFLAGS = $PULSE_CFLAGS
20004 PULSE_LIBS = $PULSE_LIBS
20005 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20006 GSTREAMER_LIBS = $GSTREAMER_LIBS
20007 ALSA_LIBS = $ALSA_LIBS
20008 OSS4_CFLAGS = $OSS4_CFLAGS
20009 OSS4_LIBS = $OSS4_LIBS
20010 UDEV_CFLAGS = $UDEV_CFLAGS
20011 UDEV_LIBS = $UDEV_LIBS
20012 UNWIND_CFLAGS = $UNWIND_CFLAGS
20013 UNWIND_LIBS = $UNWIND_LIBS
20014 SDL2_CFLAGS = $SDL2_CFLAGS
20015 SDL2_LIBS = $SDL2_LIBS
20016 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20017 FAUDIO_LIBS = $FAUDIO_LIBS
20018 CAPI20_CFLAGS = $CAPI20_CFLAGS
20019 CAPI20_LIBS = $CAPI20_LIBS
20020 CUPS_CFLAGS = $CUPS_CFLAGS
20021 CUPS_LIBS = $CUPS_LIBS
20022 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20023 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20024 KRB5_CFLAGS = $KRB5_CFLAGS
20025 KRB5_LIBS = $KRB5_LIBS
20026 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20027 GSSAPI_LIBS = $GSSAPI_LIBS
20028 JPEG_CFLAGS = $JPEG_CFLAGS
20029 JPEG_LIBS = $JPEG_LIBS
20030 PNG_CFLAGS = $PNG_CFLAGS
20031 PNG_LIBS = $PNG_LIBS
20032 TIFF_CFLAGS = $TIFF_CFLAGS
20033 TIFF_LIBS = $TIFF_LIBS
20034 MPG123_CFLAGS = $MPG123_CFLAGS
20035 MPG123_LIBS = $MPG123_LIBS
20036 KSTAT_LIBS = $KSTAT_LIBS
20037 PROCSTAT_LIBS = $PROCSTAT_LIBS
20038 NETAPI_CFLAGS = $NETAPI_CFLAGS
20039 NETAPI_LIBS = $NETAPI_LIBS
20040 VKD3D_CFLAGS = $VKD3D_CFLAGS
20041 VKD3D_LIBS = $VKD3D_LIBS
20042 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20043 DL_LIBS = $DL_LIBS
20044 POLL_LIBS = $POLL_LIBS
20045 RT_LIBS = $RT_LIBS
20046 LDAP_CFLAGS = $LDAP_CFLAGS
20047 LDAP_LIBS = $LDAP_LIBS
20052 wine_fn_append_rule "
20053 # Rules automatically generated by configure
20055 .INIT: Makefile
20056 .MAKEFILEDEPS:
20057 all: Makefile
20058 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20059 @./config.status Make.tmp Makefile
20060 depend: \$(MAKEDEP) dummy
20061 \$(MAKEDEP)"
20063 ac_config_links="$ac_config_links wine:tools/winewrapper"
20064 wine_fn_config_symlink wine
20065 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20066 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20067 wine_fn_config_symlink wine64
20070 wine_fn_config_makefile dlls/acledit enable_acledit
20071 wine_fn_config_makefile dlls/aclui enable_aclui
20072 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20073 wine_fn_config_makefile dlls/activeds enable_activeds
20074 wine_fn_config_makefile dlls/activeds/tests enable_tests
20075 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20076 wine_fn_config_makefile dlls/adsiid enable_adsiid
20077 wine_fn_config_makefile dlls/adsldp enable_adsldp
20078 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20079 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20080 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20081 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20082 wine_fn_config_makefile dlls/advpack enable_advpack
20083 wine_fn_config_makefile dlls/advpack/tests enable_tests
20084 wine_fn_config_makefile dlls/amsi enable_amsi
20085 wine_fn_config_makefile dlls/amstream enable_amstream
20086 wine_fn_config_makefile dlls/amstream/tests enable_tests
20087 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20090 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20107 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20112 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20113 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20119 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20122 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20142 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20154 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20166 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20167 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20207 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20218 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20220 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20270 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20274 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20279 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20286 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20297 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20303 wine_fn_config_makefile dlls/apphelp enable_apphelp
20304 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20305 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20306 wine_fn_config_makefile dlls/atl enable_atl
20307 wine_fn_config_makefile dlls/atl/tests enable_tests
20308 wine_fn_config_makefile dlls/atl100 enable_atl100
20309 wine_fn_config_makefile dlls/atl100/tests enable_tests
20310 wine_fn_config_makefile dlls/atl110 enable_atl110
20311 wine_fn_config_makefile dlls/atl80 enable_atl80
20312 wine_fn_config_makefile dlls/atl80/tests enable_tests
20313 wine_fn_config_makefile dlls/atl90 enable_atl90
20314 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20315 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20316 wine_fn_config_makefile dlls/atmlib enable_atmlib
20317 wine_fn_config_makefile dlls/authz enable_authz
20318 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20319 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20320 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20321 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20322 wine_fn_config_makefile dlls/avrt enable_avrt
20323 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20324 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20325 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20326 wine_fn_config_makefile dlls/browseui enable_browseui
20327 wine_fn_config_makefile dlls/browseui/tests enable_tests
20328 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20329 wine_fn_config_makefile dlls/cabinet enable_cabinet
20330 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20331 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20332 wine_fn_config_makefile dlls/cards enable_cards
20333 wine_fn_config_makefile dlls/cdosys enable_cdosys
20334 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20335 wine_fn_config_makefile dlls/clusapi enable_clusapi
20336 wine_fn_config_makefile dlls/combase enable_combase
20337 wine_fn_config_makefile dlls/combase/tests enable_tests
20338 wine_fn_config_makefile dlls/comcat enable_comcat
20339 wine_fn_config_makefile dlls/comcat/tests enable_tests
20340 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20341 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20342 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20343 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20344 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20345 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20346 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20347 wine_fn_config_makefile dlls/compstui enable_compstui
20348 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20349 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20350 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20351 wine_fn_config_makefile dlls/connect enable_connect
20352 wine_fn_config_makefile dlls/credui enable_credui
20353 wine_fn_config_makefile dlls/credui/tests enable_tests
20354 wine_fn_config_makefile dlls/crtdll enable_crtdll
20355 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20356 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20357 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20358 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20359 wine_fn_config_makefile dlls/cryptext enable_cryptext
20360 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20361 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20362 wine_fn_config_makefile dlls/cryptui enable_cryptui
20363 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20364 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20365 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20366 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20367 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20368 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20369 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20370 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20371 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20372 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20373 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20374 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20375 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20376 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20377 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20378 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20379 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20380 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20381 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20382 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20383 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20384 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20385 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20386 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20387 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20388 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20389 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20390 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20391 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20392 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20393 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20394 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20395 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20396 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20397 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20398 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20399 wine_fn_config_makefile dlls/d3dim enable_d3dim
20400 wine_fn_config_makefile dlls/d3drm enable_d3drm
20401 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20402 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20403 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20404 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20405 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20406 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20407 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20408 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20409 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20410 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20411 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20412 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20413 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20414 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20415 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20416 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20417 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20418 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20419 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20420 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20421 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20422 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20423 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20424 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20425 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20426 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20427 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20428 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20429 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20430 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20431 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20432 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20433 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20434 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20435 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20436 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20437 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20438 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20439 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20440 wine_fn_config_makefile dlls/davclnt enable_davclnt
20441 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20442 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20443 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20444 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20445 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20446 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20447 wine_fn_config_makefile dlls/ddraw enable_ddraw
20448 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20449 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20450 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20451 wine_fn_config_makefile dlls/devenum enable_devenum
20452 wine_fn_config_makefile dlls/devenum/tests enable_tests
20453 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20454 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20455 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20456 wine_fn_config_makefile dlls/difxapi enable_difxapi
20457 wine_fn_config_makefile dlls/dinput enable_dinput
20458 wine_fn_config_makefile dlls/dinput/tests enable_tests
20459 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20460 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20461 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20462 wine_fn_config_makefile dlls/dispex enable_dispex
20463 wine_fn_config_makefile dlls/dispex/tests enable_tests
20464 wine_fn_config_makefile dlls/display.drv16 enable_win16
20465 wine_fn_config_makefile dlls/dmband enable_dmband
20466 wine_fn_config_makefile dlls/dmband/tests enable_tests
20467 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20468 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20469 wine_fn_config_makefile dlls/dmime enable_dmime
20470 wine_fn_config_makefile dlls/dmime/tests enable_tests
20471 wine_fn_config_makefile dlls/dmloader enable_dmloader
20472 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20473 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20474 wine_fn_config_makefile dlls/dmscript enable_dmscript
20475 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20476 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20477 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20478 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20479 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20480 wine_fn_config_makefile dlls/dmusic enable_dmusic
20481 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20482 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20483 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20484 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20485 wine_fn_config_makefile dlls/dplay enable_dplay
20486 wine_fn_config_makefile dlls/dplayx enable_dplayx
20487 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20488 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20489 wine_fn_config_makefile dlls/dpnet enable_dpnet
20490 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20491 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20492 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20493 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20494 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20495 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20496 wine_fn_config_makefile dlls/drmclien enable_drmclien
20497 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20498 wine_fn_config_makefile dlls/dsound enable_dsound
20499 wine_fn_config_makefile dlls/dsound/tests enable_tests
20500 wine_fn_config_makefile dlls/dsquery enable_dsquery
20501 wine_fn_config_makefile dlls/dssenh enable_dssenh
20502 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20503 wine_fn_config_makefile dlls/dswave enable_dswave
20504 wine_fn_config_makefile dlls/dswave/tests enable_tests
20505 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20506 wine_fn_config_makefile dlls/dwrite enable_dwrite
20507 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20508 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20509 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20510 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20511 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20512 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20513 wine_fn_config_makefile dlls/dxgi enable_dxgi
20514 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20515 wine_fn_config_makefile dlls/dxguid enable_dxguid
20516 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20517 wine_fn_config_makefile dlls/esent enable_esent
20518 wine_fn_config_makefile dlls/evr enable_evr
20519 wine_fn_config_makefile dlls/evr/tests enable_tests
20520 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20521 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20522 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20527 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20533 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20536 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20562 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
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20573 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20574 wine_fn_config_makefile dlls/faultrep enable_faultrep
20575 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20576 wine_fn_config_makefile dlls/feclient enable_feclient
20577 wine_fn_config_makefile dlls/fltlib enable_fltlib
20578 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20579 wine_fn_config_makefile dlls/fntcache enable_fntcache
20580 wine_fn_config_makefile dlls/fontsub enable_fontsub
20581 wine_fn_config_makefile dlls/fusion enable_fusion
20582 wine_fn_config_makefile dlls/fusion/tests enable_tests
20583 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20584 wine_fn_config_makefile dlls/gameux enable_gameux
20585 wine_fn_config_makefile dlls/gameux/tests enable_tests
20586 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20587 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20588 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20589 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20590 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20591 wine_fn_config_makefile dlls/glu32 enable_glu32
20592 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20593 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20594 wine_fn_config_makefile dlls/hal enable_hal
20595 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20596 wine_fn_config_makefile dlls/hid enable_hid
20597 wine_fn_config_makefile dlls/hid/tests enable_tests
20598 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20599 wine_fn_config_makefile dlls/hlink enable_hlink
20600 wine_fn_config_makefile dlls/hlink/tests enable_tests
20601 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20602 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20603 wine_fn_config_makefile dlls/http.sys enable_http_sys
20604 wine_fn_config_makefile dlls/httpapi enable_httpapi
20605 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20606 wine_fn_config_makefile dlls/iccvid enable_iccvid
20607 wine_fn_config_makefile dlls/icmp enable_icmp
20608 wine_fn_config_makefile dlls/ieframe enable_ieframe
20609 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20610 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20611 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20612 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20613 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20614 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20615 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20616 wine_fn_config_makefile dlls/imm32 enable_imm32
20617 wine_fn_config_makefile dlls/imm32/tests enable_tests
20618 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20619 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20620 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20621 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20622 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20623 wine_fn_config_makefile dlls/infosoft enable_infosoft
20624 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20625 wine_fn_config_makefile dlls/initpki enable_initpki
20626 wine_fn_config_makefile dlls/inkobj enable_inkobj
20627 wine_fn_config_makefile dlls/inseng enable_inseng
20628 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20629 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20630 wine_fn_config_makefile dlls/iprop enable_iprop
20631 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20632 wine_fn_config_makefile dlls/itircl enable_itircl
20633 wine_fn_config_makefile dlls/itss enable_itss
20634 wine_fn_config_makefile dlls/itss/tests enable_tests
20635 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20636 wine_fn_config_makefile dlls/jscript enable_jscript
20637 wine_fn_config_makefile dlls/jscript/tests enable_tests
20638 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20639 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20640 wine_fn_config_makefile dlls/kerberos enable_kerberos
20641 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20642 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20643 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20644 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20645 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20646 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20647 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20648 wine_fn_config_makefile dlls/ksuser enable_ksuser
20649 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20650 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20651 wine_fn_config_makefile dlls/loadperf enable_loadperf
20652 wine_fn_config_makefile dlls/localspl enable_localspl
20653 wine_fn_config_makefile dlls/localspl/tests enable_tests
20654 wine_fn_config_makefile dlls/localui enable_localui
20655 wine_fn_config_makefile dlls/localui/tests enable_tests
20656 wine_fn_config_makefile dlls/lz32 enable_lz32
20657 wine_fn_config_makefile dlls/lz32/tests enable_tests
20658 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20659 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20660 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20661 wine_fn_config_makefile dlls/mapistub enable_mapistub
20662 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20663 wine_fn_config_makefile dlls/mcicda enable_mcicda
20664 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20665 wine_fn_config_makefile dlls/mciseq enable_mciseq
20666 wine_fn_config_makefile dlls/mciwave enable_mciwave
20667 wine_fn_config_makefile dlls/mf enable_mf
20668 wine_fn_config_makefile dlls/mf/tests enable_tests
20669 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20670 wine_fn_config_makefile dlls/mferror enable_mferror
20671 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20672 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20673 wine_fn_config_makefile dlls/mfplat enable_mfplat
20674 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20675 wine_fn_config_makefile dlls/mfplay enable_mfplay
20676 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20677 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20678 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20679 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20680 wine_fn_config_makefile dlls/midimap enable_midimap
20681 wine_fn_config_makefile dlls/mlang enable_mlang
20682 wine_fn_config_makefile dlls/mlang/tests enable_tests
20683 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20684 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20685 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20686 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20687 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20688 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20689 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20690 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20691 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20692 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20693 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20694 wine_fn_config_makefile dlls/mpr enable_mpr
20695 wine_fn_config_makefile dlls/mpr/tests enable_tests
20696 wine_fn_config_makefile dlls/mprapi enable_mprapi
20697 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20698 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20699 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20700 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20701 wine_fn_config_makefile dlls/msado15 enable_msado15
20702 wine_fn_config_makefile dlls/msado15/tests enable_tests
20703 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20704 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20705 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20706 wine_fn_config_makefile dlls/mscms enable_mscms
20707 wine_fn_config_makefile dlls/mscms/tests enable_tests
20708 wine_fn_config_makefile dlls/mscoree enable_mscoree
20709 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20710 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20711 wine_fn_config_makefile dlls/msctf enable_msctf
20712 wine_fn_config_makefile dlls/msctf/tests enable_tests
20713 wine_fn_config_makefile dlls/msctfp enable_msctfp
20714 wine_fn_config_makefile dlls/msdaps enable_msdaps
20715 wine_fn_config_makefile dlls/msdelta enable_msdelta
20716 wine_fn_config_makefile dlls/msdmo enable_msdmo
20717 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20718 wine_fn_config_makefile dlls/msdrm enable_msdrm
20719 wine_fn_config_makefile dlls/msftedit enable_msftedit
20720 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20721 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20722 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20723 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20724 wine_fn_config_makefile dlls/mshtml enable_mshtml
20725 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20726 wine_fn_config_makefile dlls/msi enable_msi
20727 wine_fn_config_makefile dlls/msi/tests enable_tests
20728 wine_fn_config_makefile dlls/msident enable_msident
20729 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20730 wine_fn_config_makefile dlls/msimsg enable_msimsg
20731 wine_fn_config_makefile dlls/msimtf enable_msimtf
20732 wine_fn_config_makefile dlls/msisip enable_msisip
20733 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20734 wine_fn_config_makefile dlls/msls31 enable_msls31
20735 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20736 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20737 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20738 wine_fn_config_makefile dlls/msports enable_msports
20739 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20740 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20741 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20742 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20743 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20744 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20745 wine_fn_config_makefile dlls/mstask enable_mstask
20746 wine_fn_config_makefile dlls/mstask/tests enable_tests
20747 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20748 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20749 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20750 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20751 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20752 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20753 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20754 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20755 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20756 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20757 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20758 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20759 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20760 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20761 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20762 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20763 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20764 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20765 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20766 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20767 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20768 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20769 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20770 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20771 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20772 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20773 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20774 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20775 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20776 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20777 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20778 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20780 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20782 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20783 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20784 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20785 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20786 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20787 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20788 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20789 wine_fn_config_makefile dlls/mswsock enable_mswsock
20790 wine_fn_config_makefile dlls/msxml enable_msxml
20791 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20792 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20793 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20794 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20795 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20796 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20797 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20798 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20799 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20800 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20801 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20802 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20803 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20804 wine_fn_config_makefile dlls/netprofm enable_netprofm
20805 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20806 wine_fn_config_makefile dlls/newdev enable_newdev
20807 wine_fn_config_makefile dlls/ninput enable_ninput
20808 wine_fn_config_makefile dlls/ninput/tests enable_tests
20809 wine_fn_config_makefile dlls/normaliz enable_normaliz
20810 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20811 wine_fn_config_makefile dlls/npptools enable_npptools
20812 wine_fn_config_makefile dlls/ntdll enable_ntdll
20813 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20814 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20815 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20816 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20817 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20818 wine_fn_config_makefile dlls/ntprint enable_ntprint
20819 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20820 wine_fn_config_makefile dlls/objsel enable_objsel
20821 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20822 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20823 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20824 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20825 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20826 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20827 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20828 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20829 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20830 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20831 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20832 wine_fn_config_makefile dlls/ole32 enable_ole32
20833 wine_fn_config_makefile dlls/ole32/tests enable_tests
20834 wine_fn_config_makefile dlls/oleacc enable_oleacc
20835 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20836 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20837 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20838 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20839 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20840 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20841 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20842 wine_fn_config_makefile dlls/oledlg enable_oledlg
20843 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20844 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20845 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20846 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20847 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20848 wine_fn_config_makefile dlls/opcservices enable_opcservices
20849 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20850 wine_fn_config_makefile dlls/openal32 enable_openal32
20851 wine_fn_config_makefile dlls/opencl enable_opencl
20852 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20853 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20854 wine_fn_config_makefile dlls/packager enable_packager
20855 wine_fn_config_makefile dlls/packager/tests enable_tests
20856 wine_fn_config_makefile dlls/pdh enable_pdh
20857 wine_fn_config_makefile dlls/pdh/tests enable_tests
20858 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20859 wine_fn_config_makefile dlls/pidgen enable_pidgen
20860 wine_fn_config_makefile dlls/powrprof enable_powrprof
20861 wine_fn_config_makefile dlls/printui enable_printui
20862 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20863 wine_fn_config_makefile dlls/propsys enable_propsys
20864 wine_fn_config_makefile dlls/propsys/tests enable_tests
20865 wine_fn_config_makefile dlls/psapi enable_psapi
20866 wine_fn_config_makefile dlls/psapi/tests enable_tests
20867 wine_fn_config_makefile dlls/pstorec enable_pstorec
20868 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20869 wine_fn_config_makefile dlls/qasf enable_qasf
20870 wine_fn_config_makefile dlls/qasf/tests enable_tests
20871 wine_fn_config_makefile dlls/qcap enable_qcap
20872 wine_fn_config_makefile dlls/qcap/tests enable_tests
20873 wine_fn_config_makefile dlls/qedit enable_qedit
20874 wine_fn_config_makefile dlls/qedit/tests enable_tests
20875 wine_fn_config_makefile dlls/qmgr enable_qmgr
20876 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20877 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20878 wine_fn_config_makefile dlls/quartz enable_quartz
20879 wine_fn_config_makefile dlls/quartz/tests enable_tests
20880 wine_fn_config_makefile dlls/query enable_query
20881 wine_fn_config_makefile dlls/qwave enable_qwave
20882 wine_fn_config_makefile dlls/qwave/tests enable_tests
20883 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20884 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20885 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20886 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20887 wine_fn_config_makefile dlls/regapi enable_regapi
20888 wine_fn_config_makefile dlls/resutils enable_resutils
20889 wine_fn_config_makefile dlls/riched20 enable_riched20
20890 wine_fn_config_makefile dlls/riched20/tests enable_tests
20891 wine_fn_config_makefile dlls/riched32 enable_riched32
20892 wine_fn_config_makefile dlls/riched32/tests enable_tests
20893 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20894 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20895 wine_fn_config_makefile dlls/rsabase enable_rsabase
20896 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20897 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20898 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20899 wine_fn_config_makefile dlls/rtutils enable_rtutils
20900 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20901 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20902 wine_fn_config_makefile dlls/samlib enable_samlib
20903 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20904 wine_fn_config_makefile dlls/sapi enable_sapi
20905 wine_fn_config_makefile dlls/sapi/tests enable_tests
20906 wine_fn_config_makefile dlls/sas enable_sas
20907 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20908 wine_fn_config_makefile dlls/sccbase enable_sccbase
20909 wine_fn_config_makefile dlls/schannel enable_schannel
20910 wine_fn_config_makefile dlls/schannel/tests enable_tests
20911 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20912 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20913 wine_fn_config_makefile dlls/scrobj enable_scrobj
20914 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20915 wine_fn_config_makefile dlls/scrrun enable_scrrun
20916 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20917 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20918 wine_fn_config_makefile dlls/secur32 enable_secur32
20919 wine_fn_config_makefile dlls/secur32/tests enable_tests
20920 wine_fn_config_makefile dlls/security enable_security
20921 wine_fn_config_makefile dlls/sensapi enable_sensapi
20922 wine_fn_config_makefile dlls/serialui enable_serialui
20923 wine_fn_config_makefile dlls/serialui/tests enable_tests
20924 wine_fn_config_makefile dlls/setupapi enable_setupapi
20925 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20926 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20927 wine_fn_config_makefile dlls/sfc enable_sfc
20928 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20929 wine_fn_config_makefile dlls/shcore enable_shcore
20930 wine_fn_config_makefile dlls/shcore/tests enable_tests
20931 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20932 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20933 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20934 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20935 wine_fn_config_makefile dlls/shell32 enable_shell32
20936 wine_fn_config_makefile dlls/shell32/tests enable_tests
20937 wine_fn_config_makefile dlls/shfolder enable_shfolder
20938 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20939 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20940 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20941 wine_fn_config_makefile dlls/slc enable_slc
20942 wine_fn_config_makefile dlls/slc/tests enable_tests
20943 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20944 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20945 wine_fn_config_makefile dlls/softpub enable_softpub
20946 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20947 wine_fn_config_makefile dlls/spoolss enable_spoolss
20948 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20949 wine_fn_config_makefile dlls/srclient enable_srclient
20950 wine_fn_config_makefile dlls/sspicli enable_sspicli
20951 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20952 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20953 wine_fn_config_makefile dlls/sti enable_sti
20954 wine_fn_config_makefile dlls/sti/tests enable_tests
20955 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20956 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20957 wine_fn_config_makefile dlls/strmbase enable_strmbase
20958 wine_fn_config_makefile dlls/strmdll enable_strmdll
20959 wine_fn_config_makefile dlls/strmiids enable_strmiids
20960 wine_fn_config_makefile dlls/svrapi enable_svrapi
20961 wine_fn_config_makefile dlls/sxs enable_sxs
20962 wine_fn_config_makefile dlls/sxs/tests enable_tests
20963 wine_fn_config_makefile dlls/system.drv16 enable_win16
20964 wine_fn_config_makefile dlls/t2embed enable_t2embed
20965 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20966 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20967 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20968 wine_fn_config_makefile dlls/taskschd enable_taskschd
20969 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20970 wine_fn_config_makefile dlls/tdh enable_tdh
20971 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20972 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20973 wine_fn_config_makefile dlls/traffic enable_traffic
20974 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20975 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20976 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20977 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20978 wine_fn_config_makefile dlls/tzres enable_tzres
20979 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20980 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20981 wine_fn_config_makefile dlls/uianimation enable_uianimation
20982 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20983 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20984 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20985 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20986 wine_fn_config_makefile dlls/unicows enable_unicows
20987 wine_fn_config_makefile dlls/updspapi enable_updspapi
20988 wine_fn_config_makefile dlls/url enable_url
20989 wine_fn_config_makefile dlls/urlmon enable_urlmon
20990 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20991 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20992 wine_fn_config_makefile dlls/user.exe16 enable_win16
20993 wine_fn_config_makefile dlls/user32 enable_user32
20994 wine_fn_config_makefile dlls/user32/tests enable_tests
20995 wine_fn_config_makefile dlls/userenv enable_userenv
20996 wine_fn_config_makefile dlls/userenv/tests enable_tests
20997 wine_fn_config_makefile dlls/usp10 enable_usp10
20998 wine_fn_config_makefile dlls/usp10/tests enable_tests
20999 wine_fn_config_makefile dlls/utildll enable_utildll
21000 wine_fn_config_makefile dlls/uuid enable_uuid
21001 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21002 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21003 wine_fn_config_makefile dlls/vbscript enable_vbscript
21004 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21005 wine_fn_config_makefile dlls/vcomp enable_vcomp
21006 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21007 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21008 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21009 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21010 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21011 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21012 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21013 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21014 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21015 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21016 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21017 wine_fn_config_makefile dlls/version enable_version
21018 wine_fn_config_makefile dlls/version/tests enable_tests
21019 wine_fn_config_makefile dlls/vga enable_vga
21020 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21021 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21022 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21023 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21024 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21025 wine_fn_config_makefile dlls/vssapi enable_vssapi
21026 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21027 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21028 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21029 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21030 wine_fn_config_makefile dlls/w32skrnl enable_win16
21031 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21032 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21033 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21034 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21035 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21036 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21037 wine_fn_config_makefile dlls/wdscore enable_wdscore
21038 wine_fn_config_makefile dlls/webservices enable_webservices
21039 wine_fn_config_makefile dlls/webservices/tests enable_tests
21040 wine_fn_config_makefile dlls/wer enable_wer
21041 wine_fn_config_makefile dlls/wer/tests enable_tests
21042 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21043 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21044 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21045 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21046 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21047 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21048 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21049 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21050 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21051 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21052 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21053 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21054 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21055 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21056 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21057 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21058 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21059 wine_fn_config_makefile dlls/wined3d enable_wined3d
21060 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21061 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21062 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21063 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21064 wine_fn_config_makefile dlls/winemapi enable_winemapi
21065 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21066 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21067 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21068 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21069 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21070 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21071 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21072 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21073 wine_fn_config_makefile dlls/wing32 enable_wing32
21074 wine_fn_config_makefile dlls/winhttp enable_winhttp
21075 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21076 wine_fn_config_makefile dlls/wininet enable_wininet
21077 wine_fn_config_makefile dlls/wininet/tests enable_tests
21078 wine_fn_config_makefile dlls/winmm enable_winmm
21079 wine_fn_config_makefile dlls/winmm/tests enable_tests
21080 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21081 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21082 wine_fn_config_makefile dlls/winscard enable_winscard
21083 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21084 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21085 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21086 wine_fn_config_makefile dlls/winsta enable_winsta
21087 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21088 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21089 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21090 wine_fn_config_makefile dlls/wintrust enable_wintrust
21091 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21092 wine_fn_config_makefile dlls/winusb enable_winusb
21093 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21094 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21095 wine_fn_config_makefile dlls/wlanui enable_wlanui
21096 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21097 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21098 wine_fn_config_makefile dlls/wmasf enable_wmasf
21099 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21100 wine_fn_config_makefile dlls/wmi enable_wmi
21101 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21102 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21103 wine_fn_config_makefile dlls/wmp enable_wmp
21104 wine_fn_config_makefile dlls/wmp/tests enable_tests
21105 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21106 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21107 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21108 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21109 wine_fn_config_makefile dlls/wow32 enable_win16
21110 wine_fn_config_makefile dlls/wpc enable_wpc
21111 wine_fn_config_makefile dlls/wpc/tests enable_tests
21112 wine_fn_config_makefile dlls/wpcap enable_wpcap
21113 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21114 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21115 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21116 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21117 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21118 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21119 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21120 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21121 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21122 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21123 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21124 wine_fn_config_makefile dlls/wuapi enable_wuapi
21125 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21126 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21127 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21128 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21129 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21130 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21131 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21132 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21133 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21134 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21135 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21136 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21137 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21138 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21139 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21140 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21141 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21142 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21143 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21144 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21145 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21146 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21147 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21148 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21149 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21150 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21151 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21152 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21153 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21154 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21155 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21156 wine_fn_config_makefile dlls/xmllite enable_xmllite
21157 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21158 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21159 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21160 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21161 wine_fn_config_makefile fonts enable_fonts
21162 wine_fn_config_makefile include enable_include
21163 wine_fn_config_makefile libs/port enable_port
21164 wine_fn_config_makefile libs/wine enable_wine
21165 wine_fn_config_makefile libs/wpp enable_wpp
21166 wine_fn_config_makefile loader enable_loader
21167 wine_fn_config_makefile nls enable_nls
21168 wine_fn_config_makefile po enable_po
21169 wine_fn_config_makefile programs/arp enable_arp
21170 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21171 wine_fn_config_makefile programs/attrib enable_attrib
21172 wine_fn_config_makefile programs/cabarc enable_cabarc
21173 wine_fn_config_makefile programs/cacls enable_cacls
21174 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21175 wine_fn_config_makefile programs/clock enable_clock
21176 wine_fn_config_makefile programs/cmd enable_cmd
21177 wine_fn_config_makefile programs/cmd/tests enable_tests
21178 wine_fn_config_makefile programs/conhost enable_conhost
21179 wine_fn_config_makefile programs/control enable_control
21180 wine_fn_config_makefile programs/cscript enable_cscript
21181 wine_fn_config_makefile programs/dism enable_dism
21182 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21183 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21184 wine_fn_config_makefile programs/eject enable_eject
21185 wine_fn_config_makefile programs/expand enable_expand
21186 wine_fn_config_makefile programs/explorer enable_explorer
21187 wine_fn_config_makefile programs/extrac32 enable_extrac32
21188 wine_fn_config_makefile programs/fc enable_fc
21189 wine_fn_config_makefile programs/find enable_find
21190 wine_fn_config_makefile programs/find/tests enable_tests
21191 wine_fn_config_makefile programs/findstr enable_findstr
21192 wine_fn_config_makefile programs/fsutil enable_fsutil
21193 wine_fn_config_makefile programs/hh enable_hh
21194 wine_fn_config_makefile programs/hostname enable_hostname
21195 wine_fn_config_makefile programs/icacls enable_icacls
21196 wine_fn_config_makefile programs/icinfo enable_icinfo
21197 wine_fn_config_makefile programs/iexplore enable_iexplore
21198 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21199 wine_fn_config_makefile programs/lodctr enable_lodctr
21200 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21201 wine_fn_config_makefile programs/mshta enable_mshta
21202 wine_fn_config_makefile programs/msidb enable_msidb
21203 wine_fn_config_makefile programs/msiexec enable_msiexec
21204 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21205 wine_fn_config_makefile programs/net enable_net
21206 wine_fn_config_makefile programs/netsh enable_netsh
21207 wine_fn_config_makefile programs/netstat enable_netstat
21208 wine_fn_config_makefile programs/ngen enable_ngen
21209 wine_fn_config_makefile programs/notepad enable_notepad
21210 wine_fn_config_makefile programs/oleview enable_oleview
21211 wine_fn_config_makefile programs/ping enable_ping
21212 wine_fn_config_makefile programs/plugplay enable_plugplay
21213 wine_fn_config_makefile programs/powershell enable_powershell
21214 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21215 wine_fn_config_makefile programs/progman enable_progman
21216 wine_fn_config_makefile programs/reg enable_reg
21217 wine_fn_config_makefile programs/reg/tests enable_tests
21218 wine_fn_config_makefile programs/regasm enable_regasm
21219 wine_fn_config_makefile programs/regedit enable_regedit
21220 wine_fn_config_makefile programs/regedit/tests enable_tests
21221 wine_fn_config_makefile programs/regini enable_regini
21222 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21223 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21224 wine_fn_config_makefile programs/rpcss enable_rpcss
21225 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21226 wine_fn_config_makefile programs/rundll32 enable_rundll32
21227 wine_fn_config_makefile programs/sc enable_sc
21228 wine_fn_config_makefile programs/schtasks enable_schtasks
21229 wine_fn_config_makefile programs/schtasks/tests enable_tests
21230 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21231 wine_fn_config_makefile programs/secedit enable_secedit
21232 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21233 wine_fn_config_makefile programs/services enable_services
21234 wine_fn_config_makefile programs/services/tests enable_tests
21235 wine_fn_config_makefile programs/shutdown enable_shutdown
21236 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21237 wine_fn_config_makefile programs/start enable_start
21238 wine_fn_config_makefile programs/subst enable_subst
21239 wine_fn_config_makefile programs/svchost enable_svchost
21240 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21241 wine_fn_config_makefile programs/taskkill enable_taskkill
21242 wine_fn_config_makefile programs/tasklist enable_tasklist
21243 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21244 wine_fn_config_makefile programs/termsv enable_termsv
21245 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21246 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21247 wine_fn_config_makefile programs/view enable_view
21248 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21249 wine_fn_config_makefile programs/whoami enable_whoami
21250 wine_fn_config_makefile programs/wineboot enable_wineboot
21251 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21252 wine_fn_config_makefile programs/winecfg enable_winecfg
21253 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21254 wine_fn_config_makefile programs/winedbg enable_winedbg
21255 wine_fn_config_makefile programs/winedevice enable_winedevice
21256 wine_fn_config_makefile programs/winefile enable_winefile
21257 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21258 wine_fn_config_makefile programs/winemine enable_winemine
21259 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21260 wine_fn_config_makefile programs/winepath enable_winepath
21261 wine_fn_config_makefile programs/winetest enable_winetest
21262 wine_fn_config_makefile programs/winevdm enable_win16
21263 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21264 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21265 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21266 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21267 wine_fn_config_makefile programs/winver enable_winver
21268 wine_fn_config_makefile programs/wmic enable_wmic
21269 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21270 wine_fn_config_makefile programs/wordpad enable_wordpad
21271 wine_fn_config_makefile programs/write enable_write
21272 wine_fn_config_makefile programs/wscript enable_wscript
21273 wine_fn_config_makefile programs/wscript/tests enable_tests
21274 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21275 wine_fn_config_makefile programs/wusa enable_wusa
21276 wine_fn_config_makefile programs/xcopy enable_xcopy
21277 wine_fn_config_makefile programs/xcopy/tests enable_tests
21278 wine_fn_config_makefile server enable_server
21279 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21280 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21281 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21282 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21283 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21284 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21285 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21286 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21287 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21290 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21291 wine_fn_append_file CONFIGURE_TARGETS "tags"
21292 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21293 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21294 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21295 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21296 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21297 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21299 if test "x$enable_tools" != xno
21300 then
21301 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21302 ac_config_commands="$ac_config_commands tools/makedep"
21306 ac_config_commands="$ac_config_commands Makefile"
21309 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21313 if test "x$enable_maintainer_mode" = xyes
21314 then
21315 wine_fn_append_rule "configure: configure.ac aclocal.m4
21316 autoconf --warnings=all
21317 include/config.h.in: include/stamp-h.in
21318 include/stamp-h.in: configure.ac aclocal.m4
21319 autoheader --warnings=all
21320 @echo timestamp > \$@"
21323 if test "x$enable_tools" != xno
21324 then
21325 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21326 @./config.status tools/makedep
21327 Makefile: tools/makedep$ac_exeext
21328 fonts: tools/sfnt2fon
21329 include: tools tools/widl"
21330 else
21331 wine_fn_append_rule "\$(MAKEDEP):
21332 @echo \"You need to run make in $TOOLSDIR first\" && false"
21335 if test -n "$with_wine64"
21336 then
21337 case "$with_wine64" in
21338 /*) reldir="" ;;
21339 *) reldir="../" ;;
21340 esac
21341 rm -f fonts server 2>/dev/null
21342 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21343 loader/wine64 loader/wine64-preloader:
21344 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21345 $with_wine64/loader/wine:
21346 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21347 $with_wine64/loader/wine-preloader:
21348 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21349 clean::
21350 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21351 else
21352 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21353 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21354 fonts \
21355 loader/wine.inf \
21356 loader/winebus.inf \
21357 loader/winehid.inf \
21358 nls \
21359 programs/msidb/msidb \
21360 programs/msiexec/msiexec \
21361 programs/notepad/notepad \
21362 programs/regedit/regedit \
21363 programs/regsvr32/regsvr32 \
21364 programs/wineboot/wineboot \
21365 programs/winecfg/winecfg \
21366 programs/wineconsole/wineconsole \
21367 programs/winedbg/winedbg \
21368 programs/winefile/winefile \
21369 programs/winemine/winemine \
21370 programs/winepath/winepath \
21371 server/wineserver"
21373 case $host_os in
21374 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21375 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21376 esac
21379 $as_echo " done" >&6
21380 cat >confcache <<\_ACEOF
21381 # This file is a shell script that caches the results of configure
21382 # tests run on this system so they can be shared between configure
21383 # scripts and configure runs, see configure's option --config-cache.
21384 # It is not useful on other systems. If it contains results you don't
21385 # want to keep, you may remove or edit it.
21387 # config.status only pays attention to the cache file if you give it
21388 # the --recheck option to rerun configure.
21390 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21392 # following values.
21394 _ACEOF
21396 # The following way of writing the cache mishandles newlines in values,
21397 # but we know of no workaround that is simple, portable, and efficient.
21398 # So, we kill variables containing newlines.
21399 # Ultrix sh set writes to stderr and can't be redirected directly,
21400 # and sets the high bit in the cache file unless we assign to the vars.
21402 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21403 eval ac_val=\$$ac_var
21404 case $ac_val in #(
21405 *${as_nl}*)
21406 case $ac_var in #(
21407 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21409 esac
21410 case $ac_var in #(
21411 _ | IFS | as_nl) ;; #(
21412 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21413 *) { eval $ac_var=; unset $ac_var;} ;;
21414 esac ;;
21415 esac
21416 done
21418 (set) 2>&1 |
21419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21420 *${as_nl}ac_space=\ *)
21421 # `set' does not quote correctly, so add quotes: double-quote
21422 # substitution turns \\\\ into \\, and sed turns \\ into \.
21423 sed -n \
21424 "s/'/'\\\\''/g;
21425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21426 ;; #(
21428 # `set' quotes correctly as required by POSIX, so do not add quotes.
21429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21431 esac |
21432 sort
21434 sed '
21435 /^ac_cv_env_/b end
21436 t clear
21437 :clear
21438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21439 t end
21440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21441 :end' >>confcache
21442 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21443 if test -w "$cache_file"; then
21444 if test "x$cache_file" != "x/dev/null"; then
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21446 $as_echo "$as_me: updating cache $cache_file" >&6;}
21447 if test ! -f "$cache_file" || test -h "$cache_file"; then
21448 cat confcache >"$cache_file"
21449 else
21450 case $cache_file in #(
21451 */* | ?:*)
21452 mv -f confcache "$cache_file"$$ &&
21453 mv -f "$cache_file"$$ "$cache_file" ;; #(
21455 mv -f confcache "$cache_file" ;;
21456 esac
21459 else
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21464 rm -f confcache
21466 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21467 # Let make expand exec_prefix.
21468 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21470 DEFS=-DHAVE_CONFIG_H
21472 ac_libobjs=
21473 ac_ltlibobjs=
21475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21476 # 1. Remove the extension, and $U if already installed.
21477 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21478 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21480 # will be set to the directory where LIBOBJS objects are built.
21481 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21482 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21483 done
21484 LIBOBJS=$ac_libobjs
21486 LTLIBOBJS=$ac_ltlibobjs
21490 : "${CONFIG_STATUS=./config.status}"
21491 ac_write_fail=0
21492 ac_clean_files_save=$ac_clean_files
21493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21496 as_write_fail=0
21497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21498 #! $SHELL
21499 # Generated by $as_me.
21500 # Run this file to recreate the current configuration.
21501 # Compiler output produced by configure, useful for debugging
21502 # configure, is in config.log if it exists.
21504 debug=false
21505 ac_cs_recheck=false
21506 ac_cs_silent=false
21508 SHELL=\${CONFIG_SHELL-$SHELL}
21509 export SHELL
21510 _ASEOF
21511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21512 ## -------------------- ##
21513 ## M4sh Initialization. ##
21514 ## -------------------- ##
21516 # Be more Bourne compatible
21517 DUALCASE=1; export DUALCASE # for MKS sh
21518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21519 emulate sh
21520 NULLCMD=:
21521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21522 # is contrary to our usage. Disable this feature.
21523 alias -g '${1+"$@"}'='"$@"'
21524 setopt NO_GLOB_SUBST
21525 else
21526 case `(set -o) 2>/dev/null` in #(
21527 *posix*) :
21528 set -o posix ;; #(
21529 *) :
21531 esac
21535 as_nl='
21537 export as_nl
21538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21542 # Prefer a ksh shell builtin over an external printf program on Solaris,
21543 # but without wasting forks for bash or zsh.
21544 if test -z "$BASH_VERSION$ZSH_VERSION" \
21545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21546 as_echo='print -r --'
21547 as_echo_n='print -rn --'
21548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21549 as_echo='printf %s\n'
21550 as_echo_n='printf %s'
21551 else
21552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21553 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21554 as_echo_n='/usr/ucb/echo -n'
21555 else
21556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21557 as_echo_n_body='eval
21558 arg=$1;
21559 case $arg in #(
21560 *"$as_nl"*)
21561 expr "X$arg" : "X\\(.*\\)$as_nl";
21562 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21563 esac;
21564 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21566 export as_echo_n_body
21567 as_echo_n='sh -c $as_echo_n_body as_echo'
21569 export as_echo_body
21570 as_echo='sh -c $as_echo_body as_echo'
21573 # The user is always right.
21574 if test "${PATH_SEPARATOR+set}" != set; then
21575 PATH_SEPARATOR=:
21576 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21577 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21578 PATH_SEPARATOR=';'
21583 # IFS
21584 # We need space, tab and new line, in precisely that order. Quoting is
21585 # there to prevent editors from complaining about space-tab.
21586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21587 # splitting by setting IFS to empty value.)
21588 IFS=" "" $as_nl"
21590 # Find who we are. Look in the path if we contain no directory separator.
21591 as_myself=
21592 case $0 in #((
21593 *[\\/]* ) as_myself=$0 ;;
21594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21595 for as_dir in $PATH
21597 IFS=$as_save_IFS
21598 test -z "$as_dir" && as_dir=.
21599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21600 done
21601 IFS=$as_save_IFS
21604 esac
21605 # We did not find ourselves, most probably we were run as `sh COMMAND'
21606 # in which case we are not to be found in the path.
21607 if test "x$as_myself" = x; then
21608 as_myself=$0
21610 if test ! -f "$as_myself"; then
21611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21612 exit 1
21615 # Unset variables that we do not need and which cause bugs (e.g. in
21616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21617 # suppresses any "Segmentation fault" message there. '((' could
21618 # trigger a bug in pdksh 5.2.14.
21619 for as_var in BASH_ENV ENV MAIL MAILPATH
21620 do eval test x\${$as_var+set} = xset \
21621 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21622 done
21623 PS1='$ '
21624 PS2='> '
21625 PS4='+ '
21627 # NLS nuisances.
21628 LC_ALL=C
21629 export LC_ALL
21630 LANGUAGE=C
21631 export LANGUAGE
21633 # CDPATH.
21634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21638 # ----------------------------------------
21639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21641 # script with STATUS, using 1 if that was 0.
21642 as_fn_error ()
21644 as_status=$1; test $as_status -eq 0 && as_status=1
21645 if test "$4"; then
21646 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21649 $as_echo "$as_me: error: $2" >&2
21650 as_fn_exit $as_status
21651 } # as_fn_error
21654 # as_fn_set_status STATUS
21655 # -----------------------
21656 # Set $? to STATUS, without forking.
21657 as_fn_set_status ()
21659 return $1
21660 } # as_fn_set_status
21662 # as_fn_exit STATUS
21663 # -----------------
21664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21665 as_fn_exit ()
21667 set +e
21668 as_fn_set_status $1
21669 exit $1
21670 } # as_fn_exit
21672 # as_fn_unset VAR
21673 # ---------------
21674 # Portably unset VAR.
21675 as_fn_unset ()
21677 { eval $1=; unset $1;}
21679 as_unset=as_fn_unset
21680 # as_fn_append VAR VALUE
21681 # ----------------------
21682 # Append the text in VALUE to the end of the definition contained in VAR. Take
21683 # advantage of any shell optimizations that allow amortized linear growth over
21684 # repeated appends, instead of the typical quadratic growth present in naive
21685 # implementations.
21686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21687 eval 'as_fn_append ()
21689 eval $1+=\$2
21691 else
21692 as_fn_append ()
21694 eval $1=\$$1\$2
21696 fi # as_fn_append
21698 # as_fn_arith ARG...
21699 # ------------------
21700 # Perform arithmetic evaluation on the ARGs, and store the result in the
21701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21702 # must be portable across $(()) and expr.
21703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21704 eval 'as_fn_arith ()
21706 as_val=$(( $* ))
21708 else
21709 as_fn_arith ()
21711 as_val=`expr "$@" || test $? -eq 1`
21713 fi # as_fn_arith
21716 if expr a : '\(a\)' >/dev/null 2>&1 &&
21717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21718 as_expr=expr
21719 else
21720 as_expr=false
21723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21724 as_basename=basename
21725 else
21726 as_basename=false
21729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21730 as_dirname=dirname
21731 else
21732 as_dirname=false
21735 as_me=`$as_basename -- "$0" ||
21736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21737 X"$0" : 'X\(//\)$' \| \
21738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21739 $as_echo X/"$0" |
21740 sed '/^.*\/\([^/][^/]*\)\/*$/{
21741 s//\1/
21744 /^X\/\(\/\/\)$/{
21745 s//\1/
21748 /^X\/\(\/\).*/{
21749 s//\1/
21752 s/.*/./; q'`
21754 # Avoid depending upon Character Ranges.
21755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21758 as_cr_digits='0123456789'
21759 as_cr_alnum=$as_cr_Letters$as_cr_digits
21761 ECHO_C= ECHO_N= ECHO_T=
21762 case `echo -n x` in #(((((
21763 -n*)
21764 case `echo 'xy\c'` in
21765 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21766 xy) ECHO_C='\c';;
21767 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21768 ECHO_T=' ';;
21769 esac;;
21771 ECHO_N='-n';;
21772 esac
21774 rm -f conf$$ conf$$.exe conf$$.file
21775 if test -d conf$$.dir; then
21776 rm -f conf$$.dir/conf$$.file
21777 else
21778 rm -f conf$$.dir
21779 mkdir conf$$.dir 2>/dev/null
21781 if (echo >conf$$.file) 2>/dev/null; then
21782 if ln -s conf$$.file conf$$ 2>/dev/null; then
21783 as_ln_s='ln -s'
21784 # ... but there are two gotchas:
21785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21787 # In both cases, we have to default to `cp -pR'.
21788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21789 as_ln_s='cp -pR'
21790 elif ln conf$$.file conf$$ 2>/dev/null; then
21791 as_ln_s=ln
21792 else
21793 as_ln_s='cp -pR'
21795 else
21796 as_ln_s='cp -pR'
21798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21799 rmdir conf$$.dir 2>/dev/null
21802 # as_fn_mkdir_p
21803 # -------------
21804 # Create "$as_dir" as a directory, including parents if necessary.
21805 as_fn_mkdir_p ()
21808 case $as_dir in #(
21809 -*) as_dir=./$as_dir;;
21810 esac
21811 test -d "$as_dir" || eval $as_mkdir_p || {
21812 as_dirs=
21813 while :; do
21814 case $as_dir in #(
21815 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21816 *) as_qdir=$as_dir;;
21817 esac
21818 as_dirs="'$as_qdir' $as_dirs"
21819 as_dir=`$as_dirname -- "$as_dir" ||
21820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21821 X"$as_dir" : 'X\(//\)[^/]' \| \
21822 X"$as_dir" : 'X\(//\)$' \| \
21823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21824 $as_echo X"$as_dir" |
21825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21826 s//\1/
21829 /^X\(\/\/\)[^/].*/{
21830 s//\1/
21833 /^X\(\/\/\)$/{
21834 s//\1/
21837 /^X\(\/\).*/{
21838 s//\1/
21841 s/.*/./; q'`
21842 test -d "$as_dir" && break
21843 done
21844 test -z "$as_dirs" || eval "mkdir $as_dirs"
21845 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21848 } # as_fn_mkdir_p
21849 if mkdir -p . 2>/dev/null; then
21850 as_mkdir_p='mkdir -p "$as_dir"'
21851 else
21852 test -d ./-p && rmdir ./-p
21853 as_mkdir_p=false
21857 # as_fn_executable_p FILE
21858 # -----------------------
21859 # Test if FILE is an executable regular file.
21860 as_fn_executable_p ()
21862 test -f "$1" && test -x "$1"
21863 } # as_fn_executable_p
21864 as_test_x='test -x'
21865 as_executable_p=as_fn_executable_p
21867 # Sed expression to map a string onto a valid CPP name.
21868 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21870 # Sed expression to map a string onto a valid variable name.
21871 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21874 exec 6>&1
21875 ## ----------------------------------- ##
21876 ## Main body of $CONFIG_STATUS script. ##
21877 ## ----------------------------------- ##
21878 _ASEOF
21879 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21882 # Save the log message, to keep $0 and so on meaningful, and to
21883 # report actual input values of CONFIG_FILES etc. instead of their
21884 # values after options handling.
21885 ac_log="
21886 This file was extended by Wine $as_me 5.4, which was
21887 generated by GNU Autoconf 2.69. Invocation command line was
21889 CONFIG_FILES = $CONFIG_FILES
21890 CONFIG_HEADERS = $CONFIG_HEADERS
21891 CONFIG_LINKS = $CONFIG_LINKS
21892 CONFIG_COMMANDS = $CONFIG_COMMANDS
21893 $ $0 $@
21895 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21898 _ACEOF
21900 case $ac_config_files in *"
21901 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21902 esac
21904 case $ac_config_headers in *"
21905 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21906 esac
21909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21910 # Files that config.status was made for.
21911 config_files="$ac_config_files"
21912 config_headers="$ac_config_headers"
21913 config_links="$ac_config_links"
21914 config_commands="$ac_config_commands"
21916 _ACEOF
21918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21919 ac_cs_usage="\
21920 \`$as_me' instantiates files and other configuration actions
21921 from templates according to the current configuration. Unless the files
21922 and actions are specified as TAGs, all are instantiated by default.
21924 Usage: $0 [OPTION]... [TAG]...
21926 -h, --help print this help, then exit
21927 -V, --version print version number and configuration settings, then exit
21928 --config print configuration, then exit
21929 -q, --quiet, --silent
21930 do not print progress messages
21931 -d, --debug don't remove temporary files
21932 --recheck update $as_me by reconfiguring in the same conditions
21933 --file=FILE[:TEMPLATE]
21934 instantiate the configuration file FILE
21935 --header=FILE[:TEMPLATE]
21936 instantiate the configuration header FILE
21938 Configuration files:
21939 $config_files
21941 Configuration headers:
21942 $config_headers
21944 Configuration links:
21945 $config_links
21947 Configuration commands:
21948 $config_commands
21950 Report bugs to <wine-devel@winehq.org>.
21951 Wine home page: <https://www.winehq.org>."
21953 _ACEOF
21954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21955 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21956 ac_cs_version="\\
21957 Wine config.status 5.4
21958 configured by $0, generated by GNU Autoconf 2.69,
21959 with options \\"\$ac_cs_config\\"
21961 Copyright (C) 2012 Free Software Foundation, Inc.
21962 This config.status script is free software; the Free Software Foundation
21963 gives unlimited permission to copy, distribute and modify it."
21965 ac_pwd='$ac_pwd'
21966 srcdir='$srcdir'
21967 test -n "\$AWK" || AWK=awk
21968 _ACEOF
21970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21971 # The default lists apply if the user does not specify any file.
21972 ac_need_defaults=:
21973 while test $# != 0
21975 case $1 in
21976 --*=?*)
21977 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21978 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21979 ac_shift=:
21981 --*=)
21982 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21983 ac_optarg=
21984 ac_shift=:
21987 ac_option=$1
21988 ac_optarg=$2
21989 ac_shift=shift
21991 esac
21993 case $ac_option in
21994 # Handling of the options.
21995 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21996 ac_cs_recheck=: ;;
21997 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21998 $as_echo "$ac_cs_version"; exit ;;
21999 --config | --confi | --conf | --con | --co | --c )
22000 $as_echo "$ac_cs_config"; exit ;;
22001 --debug | --debu | --deb | --de | --d | -d )
22002 debug=: ;;
22003 --file | --fil | --fi | --f )
22004 $ac_shift
22005 case $ac_optarg in
22006 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22007 '') as_fn_error $? "missing file argument" ;;
22008 esac
22009 as_fn_append CONFIG_FILES " '$ac_optarg'"
22010 ac_need_defaults=false;;
22011 --header | --heade | --head | --hea )
22012 $ac_shift
22013 case $ac_optarg in
22014 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22015 esac
22016 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22017 ac_need_defaults=false;;
22018 --he | --h)
22019 # Conflict between --help and --header
22020 as_fn_error $? "ambiguous option: \`$1'
22021 Try \`$0 --help' for more information.";;
22022 --help | --hel | -h )
22023 $as_echo "$ac_cs_usage"; exit ;;
22024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22025 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22026 ac_cs_silent=: ;;
22028 # This is an error.
22029 -*) as_fn_error $? "unrecognized option: \`$1'
22030 Try \`$0 --help' for more information." ;;
22032 *) as_fn_append ac_config_targets " $1"
22033 ac_need_defaults=false ;;
22035 esac
22036 shift
22037 done
22039 ac_configure_extra_args=
22041 if $ac_cs_silent; then
22042 exec 6>/dev/null
22043 ac_configure_extra_args="$ac_configure_extra_args --silent"
22046 _ACEOF
22047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22048 if \$ac_cs_recheck; then
22049 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22050 shift
22051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22052 CONFIG_SHELL='$SHELL'
22053 export CONFIG_SHELL
22054 exec "\$@"
22057 _ACEOF
22058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22059 exec 5>>config.log
22061 echo
22062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22063 ## Running $as_me. ##
22064 _ASBOX
22065 $as_echo "$ac_log"
22066 } >&5
22068 _ACEOF
22069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22071 # INIT-COMMANDS
22073 wine_fn_output_makedep ()
22075 as_dir=tools; as_fn_mkdir_p
22076 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22078 wine_fn_output_makefile ()
22080 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22081 `cat $wine_rules_file`
22082 _WINE_EOF
22083 as_fn_error $? "could not create Makefile" "$LINENO" 5
22086 _ACEOF
22088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22090 # Handling of arguments.
22091 for ac_config_target in $ac_config_targets
22093 case $ac_config_target in
22094 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22095 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22096 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22097 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22098 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22099 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22100 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22102 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22103 esac
22104 done
22107 # If the user did not use the arguments to specify the items to instantiate,
22108 # then the envvar interface is used. Set only those that are not.
22109 # We use the long form for the default assignment because of an extremely
22110 # bizarre bug on SunOS 4.1.3.
22111 if $ac_need_defaults; then
22112 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22113 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22114 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22115 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22118 # Have a temporary directory for convenience. Make it in the build tree
22119 # simply because there is no reason against having it here, and in addition,
22120 # creating and moving files from /tmp can sometimes cause problems.
22121 # Hook for its removal unless debugging.
22122 # Note that there is a small window in which the directory will not be cleaned:
22123 # after its creation but before its name has been assigned to `$tmp'.
22124 $debug ||
22126 tmp= ac_tmp=
22127 trap 'exit_status=$?
22128 : "${ac_tmp:=$tmp}"
22129 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22131 trap 'as_fn_exit 1' 1 2 13 15
22133 # Create a (secure) tmp directory for tmp files.
22136 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22137 test -d "$tmp"
22138 } ||
22140 tmp=./conf$$-$RANDOM
22141 (umask 077 && mkdir "$tmp")
22142 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22143 ac_tmp=$tmp
22145 # Set up the scripts for CONFIG_FILES section.
22146 # No need to generate them if there are no CONFIG_FILES.
22147 # This happens for instance with `./config.status config.h'.
22148 if test -n "$CONFIG_FILES"; then
22151 ac_cr=`echo X | tr X '\015'`
22152 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22153 # But we know of no other shell where ac_cr would be empty at this
22154 # point, so we can use a bashism as a fallback.
22155 if test "x$ac_cr" = x; then
22156 eval ac_cr=\$\'\\r\'
22158 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22159 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22160 ac_cs_awk_cr='\\r'
22161 else
22162 ac_cs_awk_cr=$ac_cr
22165 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22166 _ACEOF
22170 echo "cat >conf$$subs.awk <<_ACEOF" &&
22171 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22172 echo "_ACEOF"
22173 } >conf$$subs.sh ||
22174 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22175 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22176 ac_delim='%!_!# '
22177 for ac_last_try in false false false false false :; do
22178 . ./conf$$subs.sh ||
22179 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22181 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22182 if test $ac_delim_n = $ac_delim_num; then
22183 break
22184 elif $ac_last_try; then
22185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22186 else
22187 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22189 done
22190 rm -f conf$$subs.sh
22192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22193 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22194 _ACEOF
22195 sed -n '
22197 s/^/S["/; s/!.*/"]=/
22200 s/^[^!]*!//
22201 :repl
22202 t repl
22203 s/'"$ac_delim"'$//
22204 t delim
22207 s/\(.\{148\}\)..*/\1/
22208 t more1
22209 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22212 b repl
22213 :more1
22214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22217 s/.\{148\}//
22218 t nl
22219 :delim
22221 s/\(.\{148\}\)..*/\1/
22222 t more2
22223 s/["\\]/\\&/g; s/^/"/; s/$/"/
22226 :more2
22227 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22230 s/.\{148\}//
22231 t delim
22232 ' <conf$$subs.awk | sed '
22233 /^[^""]/{
22235 s/\n//
22237 ' >>$CONFIG_STATUS || ac_write_fail=1
22238 rm -f conf$$subs.awk
22239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22240 _ACAWK
22241 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22242 for (key in S) S_is_set[key] = 1
22243 FS = "\a"
22247 line = $ 0
22248 nfields = split(line, field, "@")
22249 substed = 0
22250 len = length(field[1])
22251 for (i = 2; i < nfields; i++) {
22252 key = field[i]
22253 keylen = length(key)
22254 if (S_is_set[key]) {
22255 value = S[key]
22256 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22257 len += length(value) + length(field[++i])
22258 substed = 1
22259 } else
22260 len += 1 + keylen
22263 print line
22266 _ACAWK
22267 _ACEOF
22268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22269 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22270 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22271 else
22273 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22274 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22275 _ACEOF
22277 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22278 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22279 # trailing colons and then remove the whole line if VPATH becomes empty
22280 # (actually we leave an empty line to preserve line numbers).
22281 if test "x$srcdir" = x.; then
22282 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22284 s///
22285 s/^/:/
22286 s/[ ]*$/:/
22287 s/:\$(srcdir):/:/g
22288 s/:\${srcdir}:/:/g
22289 s/:@srcdir@:/:/g
22290 s/^:*//
22291 s/:*$//
22293 s/\(=[ ]*\).*/\1/
22295 s/\n//
22296 s/^[^=]*=[ ]*$//
22300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22301 fi # test -n "$CONFIG_FILES"
22303 # Set up the scripts for CONFIG_HEADERS section.
22304 # No need to generate them if there are no CONFIG_HEADERS.
22305 # This happens for instance with `./config.status Makefile'.
22306 if test -n "$CONFIG_HEADERS"; then
22307 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22308 BEGIN {
22309 _ACEOF
22311 # Transform confdefs.h into an awk script `defines.awk', embedded as
22312 # here-document in config.status, that substitutes the proper values into
22313 # config.h.in to produce config.h.
22315 # Create a delimiter string that does not exist in confdefs.h, to ease
22316 # handling of long lines.
22317 ac_delim='%!_!# '
22318 for ac_last_try in false false :; do
22319 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22320 if test -z "$ac_tt"; then
22321 break
22322 elif $ac_last_try; then
22323 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22324 else
22325 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22327 done
22329 # For the awk script, D is an array of macro values keyed by name,
22330 # likewise P contains macro parameters if any. Preserve backslash
22331 # newline sequences.
22333 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22334 sed -n '
22335 s/.\{148\}/&'"$ac_delim"'/g
22336 t rset
22337 :rset
22338 s/^[ ]*#[ ]*define[ ][ ]*/ /
22339 t def
22341 :def
22342 s/\\$//
22343 t bsnl
22344 s/["\\]/\\&/g
22345 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22346 D["\1"]=" \3"/p
22347 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22349 :bsnl
22350 s/["\\]/\\&/g
22351 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22352 D["\1"]=" \3\\\\\\n"\\/p
22353 t cont
22354 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22355 t cont
22357 :cont
22359 s/.\{148\}/&'"$ac_delim"'/g
22360 t clear
22361 :clear
22362 s/\\$//
22363 t bsnlc
22364 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22366 :bsnlc
22367 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22368 b cont
22369 ' <confdefs.h | sed '
22370 s/'"$ac_delim"'/"\\\
22371 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22374 for (key in D) D_is_set[key] = 1
22375 FS = "\a"
22377 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22378 line = \$ 0
22379 split(line, arg, " ")
22380 if (arg[1] == "#") {
22381 defundef = arg[2]
22382 mac1 = arg[3]
22383 } else {
22384 defundef = substr(arg[1], 2)
22385 mac1 = arg[2]
22387 split(mac1, mac2, "(") #)
22388 macro = mac2[1]
22389 prefix = substr(line, 1, index(line, defundef) - 1)
22390 if (D_is_set[macro]) {
22391 # Preserve the white space surrounding the "#".
22392 print prefix "define", macro P[macro] D[macro]
22393 next
22394 } else {
22395 # Replace #undef with comments. This is necessary, for example,
22396 # in the case of _POSIX_SOURCE, which is predefined and required
22397 # on some systems where configure will not decide to define it.
22398 if (defundef == "undef") {
22399 print "/*", prefix defundef, macro, "*/"
22400 next
22404 { print }
22405 _ACAWK
22406 _ACEOF
22407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22408 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22409 fi # test -n "$CONFIG_HEADERS"
22412 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22413 shift
22414 for ac_tag
22416 case $ac_tag in
22417 :[FHLC]) ac_mode=$ac_tag; continue;;
22418 esac
22419 case $ac_mode$ac_tag in
22420 :[FHL]*:*);;
22421 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22422 :[FH]-) ac_tag=-:-;;
22423 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22424 esac
22425 ac_save_IFS=$IFS
22426 IFS=:
22427 set x $ac_tag
22428 IFS=$ac_save_IFS
22429 shift
22430 ac_file=$1
22431 shift
22433 case $ac_mode in
22434 :L) ac_source=$1;;
22435 :[FH])
22436 ac_file_inputs=
22437 for ac_f
22439 case $ac_f in
22440 -) ac_f="$ac_tmp/stdin";;
22441 *) # Look for the file first in the build tree, then in the source tree
22442 # (if the path is not absolute). The absolute path cannot be DOS-style,
22443 # because $ac_f cannot contain `:'.
22444 test -f "$ac_f" ||
22445 case $ac_f in
22446 [\\/$]*) false;;
22447 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22448 esac ||
22449 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22450 esac
22451 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22452 as_fn_append ac_file_inputs " '$ac_f'"
22453 done
22455 # Let's still pretend it is `configure' which instantiates (i.e., don't
22456 # use $as_me), people would be surprised to read:
22457 # /* config.h. Generated by config.status. */
22458 configure_input='Generated from '`
22459 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22460 `' by configure.'
22461 if test x"$ac_file" != x-; then
22462 configure_input="$ac_file. $configure_input"
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22464 $as_echo "$as_me: creating $ac_file" >&6;}
22466 # Neutralize special characters interpreted by sed in replacement strings.
22467 case $configure_input in #(
22468 *\&* | *\|* | *\\* )
22469 ac_sed_conf_input=`$as_echo "$configure_input" |
22470 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22471 *) ac_sed_conf_input=$configure_input;;
22472 esac
22474 case $ac_tag in
22475 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22477 esac
22479 esac
22481 ac_dir=`$as_dirname -- "$ac_file" ||
22482 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22483 X"$ac_file" : 'X\(//\)[^/]' \| \
22484 X"$ac_file" : 'X\(//\)$' \| \
22485 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22486 $as_echo X"$ac_file" |
22487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22488 s//\1/
22491 /^X\(\/\/\)[^/].*/{
22492 s//\1/
22495 /^X\(\/\/\)$/{
22496 s//\1/
22499 /^X\(\/\).*/{
22500 s//\1/
22503 s/.*/./; q'`
22504 as_dir="$ac_dir"; as_fn_mkdir_p
22505 ac_builddir=.
22507 case "$ac_dir" in
22508 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22510 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22511 # A ".." for each directory in $ac_dir_suffix.
22512 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22513 case $ac_top_builddir_sub in
22514 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22515 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22516 esac ;;
22517 esac
22518 ac_abs_top_builddir=$ac_pwd
22519 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22520 # for backward compatibility:
22521 ac_top_builddir=$ac_top_build_prefix
22523 case $srcdir in
22524 .) # We are building in place.
22525 ac_srcdir=.
22526 ac_top_srcdir=$ac_top_builddir_sub
22527 ac_abs_top_srcdir=$ac_pwd ;;
22528 [\\/]* | ?:[\\/]* ) # Absolute name.
22529 ac_srcdir=$srcdir$ac_dir_suffix;
22530 ac_top_srcdir=$srcdir
22531 ac_abs_top_srcdir=$srcdir ;;
22532 *) # Relative name.
22533 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22534 ac_top_srcdir=$ac_top_build_prefix$srcdir
22535 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22536 esac
22537 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22540 case $ac_mode in
22543 # CONFIG_FILE
22546 _ACEOF
22548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22549 # If the template does not know about datarootdir, expand it.
22550 # FIXME: This hack should be removed a few years after 2.60.
22551 ac_datarootdir_hack=; ac_datarootdir_seen=
22552 ac_sed_dataroot='
22553 /datarootdir/ {
22557 /@datadir@/p
22558 /@docdir@/p
22559 /@infodir@/p
22560 /@localedir@/p
22561 /@mandir@/p'
22562 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22563 *datarootdir*) ac_datarootdir_seen=yes;;
22564 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22566 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22567 _ACEOF
22568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22569 ac_datarootdir_hack='
22570 s&@datadir@&$datadir&g
22571 s&@docdir@&$docdir&g
22572 s&@infodir@&$infodir&g
22573 s&@localedir@&$localedir&g
22574 s&@mandir@&$mandir&g
22575 s&\\\${datarootdir}&$datarootdir&g' ;;
22576 esac
22577 _ACEOF
22579 # Neutralize VPATH when `$srcdir' = `.'.
22580 # Shell code in configure.ac might set extrasub.
22581 # FIXME: do we really want to maintain this feature?
22582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22583 ac_sed_extra="$ac_vpsub
22584 $extrasub
22585 _ACEOF
22586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22588 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22589 s|@configure_input@|$ac_sed_conf_input|;t t
22590 s&@top_builddir@&$ac_top_builddir_sub&;t t
22591 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22592 s&@srcdir@&$ac_srcdir&;t t
22593 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22594 s&@top_srcdir@&$ac_top_srcdir&;t t
22595 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22596 s&@builddir@&$ac_builddir&;t t
22597 s&@abs_builddir@&$ac_abs_builddir&;t t
22598 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22599 $ac_datarootdir_hack
22601 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22602 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22604 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22605 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22606 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22607 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22609 which seems to be undefined. Please make sure it is defined" >&5
22610 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22611 which seems to be undefined. Please make sure it is defined" >&2;}
22613 rm -f "$ac_tmp/stdin"
22614 case $ac_file in
22615 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22616 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22617 esac \
22618 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22622 # CONFIG_HEADER
22624 if test x"$ac_file" != x-; then
22626 $as_echo "/* $configure_input */" \
22627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22628 } >"$ac_tmp/config.h" \
22629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22630 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22632 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22633 else
22634 rm -f "$ac_file"
22635 mv "$ac_tmp/config.h" "$ac_file" \
22636 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22638 else
22639 $as_echo "/* $configure_input */" \
22640 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22641 || as_fn_error $? "could not create -" "$LINENO" 5
22646 # CONFIG_LINK
22649 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22651 else
22652 # Prefer the file from the source tree if names are identical.
22653 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22654 ac_source=$srcdir/$ac_source
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22658 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22660 if test ! -r "$ac_source"; then
22661 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22663 rm -f "$ac_file"
22665 # Try a relative symlink, then a hard link, then a copy.
22666 case $ac_source in
22667 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22668 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22669 esac
22670 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22671 ln "$ac_source" "$ac_file" 2>/dev/null ||
22672 cp -p "$ac_source" "$ac_file" ||
22673 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22676 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22677 $as_echo "$as_me: executing $ac_file commands" >&6;}
22679 esac
22682 case $ac_file$ac_mode in
22683 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22684 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22685 "Makefile":C) wine_fn_output_makefile Makefile ;;
22687 esac
22688 done # for ac_tag
22691 as_fn_exit 0
22692 _ACEOF
22693 ac_clean_files=$ac_clean_files_save
22695 test $ac_write_fail = 0 ||
22696 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22699 # configure is writing to config.log, and then calls config.status.
22700 # config.status does its own redirection, appending to config.log.
22701 # Unfortunately, on DOS this fails, as config.log is still kept open
22702 # by configure, so config.status won't be able to write to it; its
22703 # output is simply discarded. So we exec the FD to /dev/null,
22704 # effectively closing config.log, so it can be properly (re)opened and
22705 # appended to by config.status. When coming back to configure, we
22706 # need to make the FD available again.
22707 if test "$no_create" != yes; then
22708 ac_cs_success=:
22709 ac_config_status_args=
22710 test "$silent" = yes &&
22711 ac_config_status_args="$ac_config_status_args --quiet"
22712 exec 5>/dev/null
22713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22714 exec 5>>config.log
22715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22716 # would make configure fail if this is the last instruction.
22717 $ac_cs_success || as_fn_exit 1
22719 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22721 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22725 if test "$no_create" = "yes"
22726 then
22727 exit 0
22730 ac_save_IFS="$IFS"
22731 if test "x$wine_notices" != x; then
22732 echo >&6
22733 IFS="|"
22734 for msg in $wine_notices; do
22735 IFS="$ac_save_IFS"
22736 if ${msg:+false} :; then :
22738 else
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22740 $as_echo "$as_me: $msg" >&6;}
22742 done
22744 IFS="|"
22745 for msg in $wine_warnings; do
22746 IFS="$ac_save_IFS"
22747 if ${msg:+false} :; then :
22749 else
22750 echo >&2
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22752 $as_echo "$as_me: WARNING: $msg" >&2;}
22754 done
22755 IFS="$ac_save_IFS"
22757 $as_echo "
22758 $as_me: Finished. Do '${ac_make}' to compile Wine.
22759 " >&6